/* Eggcellent landing — static site */
:root { --cream: #FFFDF7; --ink: #0F1419; --muted: #52525B; --dim: #A1A1AA; --yellow: #F5B935; --gold: #B07C10; --line: #F0EAD9; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--gold); }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; display: flex; justify-content: center; padding: 0 20px; background: rgba(255,253,247,0.82); backdrop-filter: blur(14px); border-bottom: 1px solid #F2EBDA; }
.site-header > div { width: 100%; max-width: 1120px; display: flex; align-items: center; gap: 20px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand img { width: 32px; height: 32px; border-radius: 9px; display: block; }
.brand span { font-weight: 800; font-size: 17px; letter-spacing: -0.02em; }
.site-header nav { display: flex; align-items: center; gap: 4px 24px; font-size: 14px; font-weight: 500; }
.site-header nav a { color: var(--muted); }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: var(--ink); }

/* hero */
.hero { display: flex; flex-direction: column; align-items: center; text-align: center; padding: clamp(56px, 14vw, 112px) 20px 0; }
.hero h1 { margin: 0; max-width: 16ch; font-weight: 800; font-size: clamp(38px, 10vw, 68px); line-height: 1.02; letter-spacing: -0.035em; text-wrap: balance; }
.eyebrow { margin: 22px 0 0; font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.hero .lede { margin: 10px 0 0; max-width: 32ch; font-size: clamp(16px, 4.4vw, 19px); line-height: 1.5; color: var(--muted); text-wrap: pretty; }
.hero .note { margin: 16px 0 0; font-size: 14px; color: var(--muted); }
.rise { animation: rise 0.8s cubic-bezier(.2,.7,.2,1) both; }
.rise-2 { animation-delay: 0.06s; }
.rise-3 { animation-delay: 0.1s; }
.rise-4 { animation-delay: 0.16s; }
.rise-5 { animation-delay: 0.22s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* store buttons */
.stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; padding: 32px 0 0; }
.store-btn { display: flex; align-items: center; gap: 11px; min-height: 56px; padding: 0 24px; border-radius: 14px; background: var(--ink); color: #fff; text-align: left; transition: transform .2s, background .2s, opacity .2s; }
.store-btn:hover { background: #22282F; color: #fff; transform: translateY(-2px); }
.store-btn svg { display: block; flex: 0 0 auto; }
.store-btn .lines { display: flex; flex-direction: column; }
.store-btn .small { font-size: 11px; letter-spacing: 0.04em; color: var(--dim); }
.store-btn .big { font-size: 17px; font-weight: 800; letter-spacing: -0.01em; color: #fff; }
.store-btn.soon { background: transparent; border: 1px solid #E4DBC5; cursor: default; }
.store-btn.soon:hover { background: transparent; transform: none; }
.store-btn.soon .small { color: #52525B; }
.store-btn.soon .big { color: var(--ink); }
.store-btn.soon svg { opacity: 0.5; }

/* marquee: drifts on its own, and can be dragged, swiped or wheeled by hand */
.marquee { overflow-x: auto; overflow-y: hidden; padding: clamp(48px, 11vw, 88px) 0 clamp(8px, 2vw, 16px); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); overscroll-behavior-x: contain; scrollbar-width: none; -ms-overflow-style: none; cursor: grab; }
.marquee::-webkit-scrollbar { display: none; }
.marquee.is-dragging { cursor: grabbing; }
.marquee-track { display: flex; width: max-content; gap: 28px; padding: 0 14px; }
.marquee .phone { user-select: none; -webkit-user-select: none; }
.marquee img { -webkit-user-drag: none; }

/* iPhone frame */
.phone { position: relative; flex: 0 0 auto; width: 202px; aspect-ratio: 1206 / 2622; }
.phone .key { position: absolute; width: 1.1%; background: linear-gradient(90deg, #4A4A4F, #B4B4BA); }
.phone .key.left { left: -0.9%; border-radius: 1.6px 0 0 1.6px; }
.phone .key.right { right: -0.9%; background: linear-gradient(270deg, #4A4A4F, #B4B4BA); border-radius: 0 1.6px 1.6px 0; }
.phone-body { position: relative; height: 100%; padding: 1.15%; border-radius: 16% / 7.36%; background: linear-gradient(100deg, #5F5F64 0%, #C9C9CE 6%, #F3F3F6 14%, #A9A9AF 30%, #8E8E93 50%, #B9B9BF 70%, #EDEDF0 86%, #9C9CA2 94%, #56565B 100%); box-shadow: 0 0 0 0.5px rgba(15,20,25,0.35), 0 40px 60px -30px rgba(15,20,25,0.5); }
.phone-bezel { height: 100%; padding: 2.3%; border-radius: 15% / 6.9%; background: #08080A; box-shadow: inset 0 0 0 0.5px rgba(255,255,255,0.14); }
.phone-screen { position: relative; height: 100%; border-radius: 13% / 5.98%; overflow: hidden; background: #fff; }
.phone-screen img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.phone-screen .sheen { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(112deg, rgba(255,255,255,0.34) 0%, rgba(255,255,255,0.1) 16%, rgba(255,255,255,0) 34%, rgba(255,255,255,0) 100%); }

/* features */
.features { display: flex; flex-direction: column; align-items: center; padding: clamp(64px, 15vw, 120px) 20px; scroll-margin-top: 72px; }
.features h2 { margin: 0 0 clamp(32px, 7vw, 56px); font-weight: 800; font-size: clamp(30px, 8vw, 44px); letter-spacing: -0.03em; text-align: center; }
.grid { width: 100%; max-width: 1120px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 32px -22px rgba(15,20,25,0.35); }
.card .num { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 11px; background: var(--yellow); font-weight: 800; font-size: 15px; color: var(--ink); }
.card h3 { margin: 0; font-weight: 800; font-size: 19px; letter-spacing: -0.02em; text-wrap: balance; }
.card p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }
@supports (animation-timeline: view()) {
  .reveal { animation: rise 0.7s cubic-bezier(.2,.7,.2,1) both; animation-timeline: view(); animation-range: entry 4% cover 24%; }
}

/* cta */
.cta { background: var(--yellow); padding: clamp(64px, 14vw, 104px) 20px; display: flex; justify-content: center; }
.cta > div { width: 100%; max-width: 720px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.cta h2 { margin: 0; font-weight: 800; font-size: clamp(30px, 8vw, 48px); line-height: 1.08; letter-spacing: -0.03em; text-wrap: balance; }
.cta p { margin: 0; font-size: clamp(16px, 4vw, 19px); line-height: 1.5; opacity: 0.72; text-wrap: pretty; }
.cta .store-btn { margin-top: 16px; padding: 0 28px; }
.cta .fine { margin: 0; font-size: 14px; opacity: 0.6; }

/* footer */
.site-footer { background: var(--ink); color: var(--dim); padding: 56px 20px 32px; display: flex; justify-content: center; }
.site-footer > div { width: 100%; max-width: 1120px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px 48px; }
.site-footer .brand span { color: #fff; font-size: 15px; }
.site-footer .col { display: flex; flex-direction: column; gap: 10px; }
.site-footer h4 { margin: 0 0 2px; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; }
.site-footer a { font-size: 14px; color: var(--dim); }
.site-footer a:hover { color: #fff; }
.site-footer .about { display: flex; flex-direction: column; gap: 12px; max-width: 34ch; }
.site-footer .about p { margin: 0; font-size: 14px; line-height: 1.55; color: #71717A; }
.site-footer .copy { margin: 0; grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid #22282F; font-size: 13px; color: #71717A; }

/* article pages */
.page { flex: 1; display: flex; justify-content: center; padding: clamp(48px, 11vw, 88px) 20px clamp(64px, 14vw, 104px); }
.page article { width: 100%; max-width: 680px; min-width: 0; }
.page h1 { margin: 0; font-weight: 800; font-size: clamp(32px, 8.5vw, 52px); line-height: 1.05; letter-spacing: -0.035em; }
.page .stamp { margin: 14px 0 0; font-size: 14px; color: var(--dim); }
.page .lede { margin: 32px 0 0; font-size: 17px; line-height: 1.6; color: #3F3F46; text-wrap: pretty; }
.page section { display: flex; flex-direction: column; gap: 10px; padding: 28px 0 0; }
.page section h2 { margin: 0; font-weight: 800; font-size: 21px; letter-spacing: -0.02em; }
.page section p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.page section a { color: var(--gold); font-weight: 500; }
.page section strong { color: var(--ink); font-weight: 800; }
.page section ul { display: flex; flex-direction: column; gap: 10px; margin: 0; padding-left: 20px; }
.page section li { font-size: 16px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.page section li::marker { color: var(--dim); }
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.table-wrap table { width: 100%; min-width: 460px; border-collapse: collapse; }
.table-wrap th, .table-wrap td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.table-wrap th { font-weight: 800; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.table-wrap tr:last-child td { border-bottom: 0; }
.qa { display: flex; flex-direction: column; gap: 12px; padding: 36px 0 0; }
.qa > div { display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px; }
.qa h2 { margin: 0; font-weight: 800; font-size: 18px; letter-spacing: -0.02em; }
.qa p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.box { display: flex; flex-direction: column; gap: 8px; margin-top: 40px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.box h2 { margin: 0; font-weight: 800; font-size: 17px; letter-spacing: -0.02em; }
.box p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted); }
.box a { color: var(--gold); font-weight: 500; }
.box-yellow { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 40px; padding: 28px; background: var(--yellow); border-radius: 18px; }
.box-yellow h2 { margin: 0; font-weight: 800; font-size: 24px; letter-spacing: -0.025em; }
.box-yellow p { margin: 0; font-size: 16px; line-height: 1.55; opacity: 0.75; text-wrap: pretty; }
.mail-btn { display: flex; align-items: center; min-height: 48px; margin-top: 4px; padding: 0 22px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 800; letter-spacing: -0.01em; transition: transform .2s, opacity .2s; }
.mail-btn:hover { color: #fff; opacity: 0.9; transform: translateY(-2px); }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; } }
