/* Landing page only. Legal pages keep style.css. */
@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 500; font-display: swap; src: url(/assets/jakarta-Medium.woff) format('woff'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 700 800; font-display: swap; src: url(/assets/jakarta-Bold.woff) format('woff'); }

:root {
    --bg: #1A0F1C; --text: #FFF6EF; --muted: #DCCAC4; --line: rgba(255, 236, 224, .1);
    --coral: #FF8A63; --peach: #FFD9B8; --plum: #5B2550;
    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { background: var(--bg); }
body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text); background: var(--bg); line-height: 1.55; font-weight: 500;
    -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
ul { list-style: none; }
a { color: var(--coral); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 3px solid var(--peach); outline-offset: 4px; border-radius: 8px; }
p, li { color: var(--muted); font-size: 18px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--peach); color: var(--plum); padding: 8px 14px; border-radius: 8px; z-index: 20; }
.skip:focus { left: 8px; }

/* page: soft glows down the whole length, clipped so nothing scrolls sideways */
.page {
    position: relative; overflow: hidden; overflow: clip;
    background:
        radial-gradient(55% 1400px at 85% 0, rgba(255, 138, 99, .34), transparent 70%),
        radial-gradient(60% 1400px at 0 22%, rgba(130, 50, 110, .5), transparent 70%),
        radial-gradient(55% 1400px at 100% 45%, rgba(255, 138, 99, .2), transparent 70%),
        radial-gradient(60% 1400px at 0 68%, rgba(130, 50, 110, .45), transparent 70%),
        radial-gradient(70% 1200px at 50% 100%, rgba(255, 138, 99, .28), transparent 70%),
        var(--bg);
}

/* the streak */
.streak { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; overflow: visible; }
.streak use { fill: none; stroke: url(#sg); vector-effect: non-scaling-stroke; stroke-linecap: round; }
.s-halo { stroke-width: 90px; opacity: .07; }
.s-glow { stroke-width: 22px; opacity: .22; }
.s-core { stroke-width: 4px; opacity: .95; }
@media (max-width: 700px) {
    .s-halo { stroke-width: 50px; }
    .s-glow { stroke-width: 14px; }
    .s-core { stroke-width: 3px; }
}

/* nav */
.nav {
    position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between;
    padding: 14px clamp(20px, 5vw, 64px);
    background: rgba(26, 15, 28, .7); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 22px; letter-spacing: -.03em; }
.brand:hover { text-decoration: none; }
.brand img { border-radius: 22%; }
.nav nav { display: flex; gap: 24px; }
.nav nav a { color: var(--text); font-size: 15px; }

main, .foot { position: relative; z-index: 1; }

/* the one headline pattern: verb-led, huge, heavy, key phrase in coral */
.hl {
    font-weight: 800; text-transform: uppercase; color: var(--text);
    font-size: clamp(42px, 8.6vw, 124px); line-height: .9; letter-spacing: -.045em;
    text-wrap: balance;
}
.hl em { display: block; font-style: normal; color: var(--coral); text-shadow: 0 0 60px rgba(255, 138, 99, .45); }
.eyebrow { color: var(--peach); font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; }

/* CTA */
.cta { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 20px; margin-top: 32px; }
.badge { display: inline-block; border-radius: 10px; transition: transform 160ms var(--ease-out); }
.badge:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .badge:hover { transform: translateY(-2px); } .badge:hover:active { transform: translateY(-2px) scale(.97); } }
.badge img { width: 150px; height: 50px; }
.soon { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--peach); font-weight: 700; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); animation: pulse 2.4s ease-out infinite; }

/* phone frame drawn around raw captures */
.phone {
    position: relative; width: 300px; max-width: 70vw; padding: 10px;
    background: #0B080C; border-radius: 50px;
    box-shadow: inset 0 0 0 1.5px #3B3039, 0 0 0 1px #2A2128, 0 60px 100px -30px rgba(0, 0, 0, .8);
}
.screen { position: relative; display: block; border-radius: 40px; overflow: hidden; }
.screen::after { /* Dynamic Island */
    content: ""; position: absolute; top: 2.4%; left: 50%; transform: translateX(-50%);
    width: 30%; height: 3.4%; border-radius: 99px; background: #000;
}
/* cropped phone: only the top of the screen, fading out */
.phone.crop { padding-bottom: 0; border-radius: 50px 50px 0 0; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.phone.crop .screen { aspect-ratio: 640 / 900; border-radius: 40px 40px 0 0; }
.phone.crop img { width: 100%; }
/* cropped from the top: screen continues below the fold of the frame */
.phone.crop-top .screen { aspect-ratio: 640 / 1000; }
.phone.crop-top { -webkit-mask-image: linear-gradient(#000 75%, transparent); mask-image: linear-gradient(#000 75%, transparent); }
.tilt-r { transform: rotate(6deg); }
.tilt-l { transform: rotate(-6deg); }

/* cards cut from real screens */
.fly, .out { position: absolute; z-index: 3; border-radius: 26px; overflow: hidden; box-shadow: 0 40px 70px -24px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .06); }
.fly img, .out img { width: 100%; }

/* hero */
.hero { text-align: center; padding: clamp(40px, 6vw, 80px) 20px 0; }
.hero-icon { margin: 0 auto 22px; width: clamp(84px, 9vw, 112px); border-radius: 23%; box-shadow: 0 20px 60px -10px rgba(255, 138, 99, .55); }
.hero .hl { font-size: clamp(54px, 13.4vw, 190px); }
.lede { max-width: 34em; margin: 26px auto 0; font-size: clamp(18px, 1.6vw, 21px); color: #EADBD4; }

.stage { position: relative; max-width: 1180px; height: 700px; margin: 40px auto 0; }
.hero-phone { position: absolute; left: 50%; top: 20px; width: 320px; transform: translateX(-50%); z-index: 2; }
.far { z-index: 1; filter: blur(3px) saturate(.9); opacity: .75; }
.mid { z-index: 2; filter: blur(1px); }
.near { z-index: 3; }
.f-wall    { width: 250px; left: 4%;  top: 60px;  transform: rotate(-10deg); }
.f-zones   { width: 300px; right: 2%; top: 30px;  transform: rotate(8deg); }
.f-end     { width: 190px; right: 12%; top: 470px; transform: rotate(-8deg); border-radius: 30px; }
.f-outlook { width: 340px; left: 13%; top: 250px; transform: rotate(-5deg) translateZ(0); }
.f-trigger { width: 300px; left: 6%;  top: 520px; transform: rotate(4deg); }
.f-week    { width: 380px; right: 8%; top: 220px; transform: rotate(5deg); }
.f-feeling { width: 330px; right: 19%; top: 600px; transform: rotate(-3deg); z-index: 4; }
.js .fly { animation: pop 600ms var(--ease-out) backwards; }
.js .f-outlook { animation-delay: 80ms; } .js .f-week { animation-delay: 140ms; } .js .f-feeling { animation-delay: 200ms; }
.js .f-trigger { animation-delay: 240ms; } .js .f-end { animation-delay: 280ms; } .js .f-zones, .js .f-wall { animation-delay: 320ms; }

/* feature sections */
.sec {
    display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px;
    max-width: 1220px; margin: 0 auto; padding: clamp(64px, 8vw, 120px) clamp(20px, 5vw, 64px);
}
.sec.flip .copy { order: 2; }
.copy p:not(.eyebrow) { margin-top: 26px; max-width: 30em; text-shadow: 0 0 10px var(--bg), 0 0 4px var(--bg); }
.copy.center { text-align: center; grid-column: 1 / -1; }
.copy.center p:not(.eyebrow) { margin-left: auto; margin-right: auto; }
.art { position: relative; display: grid; place-items: center; min-height: 620px; }

/* where */
.out-zones { width: 118%; max-width: 480px; left: -4%; bottom: 70px; transform: rotate(-4deg); border-radius: 20px; }
.bubble {
    position: absolute; z-index: 4; top: 30px; left: 0; padding: 18px 24px; border-radius: 28px 28px 28px 6px;
    background: var(--peach); color: #3A1730; font-weight: 800; font-size: 22px; line-height: 1.15; letter-spacing: -.02em;
    box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .6); transform: rotate(-4deg);
}

/* attack */
.s-attack .art { grid-column: 1 / -1; min-height: 0; padding-top: 30px; }
.s-attack .phone { width: 360px; }
.banner {
    position: absolute; z-index: 4; top: 64%; left: 50%; width: min(1100px, 130vw); transform: translateX(-50%) rotate(-4deg);
    display: flex; justify-content: center; flex-wrap: nowrap; gap: 0 28px; padding: 18px 20px;
    background: var(--coral); color: #2A0F22; font-weight: 800; font-size: clamp(18px, 2.4vw, 32px);
    text-transform: uppercase; letter-spacing: -.01em; white-space: nowrap; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7);
}
.banner span + span::before { content: "•"; margin-right: 28px; opacity: .55; }
.out-end { width: 250px; right: calc(50% - 360px); top: 120px; transform: rotate(7deg); border-radius: 36px; z-index: 5; }

/* triggers */
.pill, .outlooks li {
    display: inline-block; border-radius: 999px; font-weight: 800; letter-spacing: -.02em; text-transform: uppercase;
}
.pill {
    position: absolute; z-index: 4; top: 0; right: 0; padding: 16px 28px; font-size: clamp(20px, 2.4vw, 30px);
    background: #fff; color: #3A1730; box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .6); transform: rotate(5deg);
}
.pill span { color: #C34E2A; }
.out-trigger { width: 112%; max-width: 440px; right: -6%; top: 52%; transform: rotate(4deg); border-radius: 20px; }

/* month */
.outlooks { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.outlooks li { padding: 14px 24px; font-size: clamp(17px, 1.8vw, 22px); color: #22121F; }
.o-easing { background: #A9C7A0; transform: rotate(-3deg); }
.o-watch { background: #F2C276; transform: rotate(2deg); }
.o-sensitive { background: var(--coral); transform: rotate(-2deg); }
.out-summary { width: 112%; max-width: 470px; left: -2%; top: 46%; transform: rotate(-5deg); }

/* report */
.s-report .art { grid-column: 1 / -1; min-height: 0; padding: 50px 0 130px; }
.paper { width: min(820px, 100%); background: #fff; border-radius: 14px; overflow: hidden; transform: rotate(-2.5deg); box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .8); }
.out-report { width: min(600px, 74%); right: 10%; bottom: 20px; transform: rotate(3deg); border-radius: 16px; }
.pill-pdf { top: 0; left: 8%; right: auto; transform: rotate(-4deg); background: var(--peach); }

/* tiles: bento, icon chips, real Settings rows on the wide ones */
.s-more { gap: 56px; }
.tiles {
    grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
    grid-template-areas: "health health remind" "days weather weather" "recap recap sync";
}
.tiles li {
    position: relative; display: flex; flex-direction: column; gap: 8px; padding: 28px; border-radius: 28px; font-size: 16px;
    background: rgba(40, 24, 42, .82); border: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.tiles b { color: var(--text); font-size: 21px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.t-health { grid-area: health; background: linear-gradient(135deg, rgba(91, 37, 80, .9), rgba(40, 24, 42, .85)); }
.t-remind { grid-area: remind; } .t-days { grid-area: days; } .t-weather { grid-area: weather; }
.t-recap { grid-area: recap; } .t-sync { grid-area: sync; }
.tiles .t-hot { background: var(--coral); border-color: transparent; color: #2A0F22; }
.t-hot b { color: #1E0A18; }
.chip { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 10px; border-radius: 15px; background: var(--coral); box-shadow: 0 10px 24px -8px rgba(255, 138, 99, .7); }
.chip svg { width: 26px; height: 26px; fill: none; stroke: #2A0F22; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.t-hot .chip { background: #2A0F22; box-shadow: none; }
.t-hot .chip svg { stroke: var(--peach); }
.tiles .t-wide { min-height: 220px; padding-right: 52%; justify-content: center; }
.row { position: absolute; right: 22px; top: 50%; width: 46%; border-radius: 18px; overflow: hidden; transform: translateY(-50%) rotate(-3deg); box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .7); }
.t-weather .row { transform: translateY(-50%) rotate(3deg); }

/* privacy */
.nevers { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.nevers li {
    padding: 10px 18px; border-radius: 999px; border: 2px solid var(--coral); color: var(--text);
    font-weight: 800; font-size: clamp(16px, 1.6vw, 20px); text-transform: uppercase; letter-spacing: -.01em;
}
.s-privacy .art { min-height: 560px; }
.out-never { width: 118%; max-width: 470px; right: -8%; bottom: 60px; transform: rotate(4deg); }

/* closing */
.final { position: relative; text-align: center; padding: clamp(90px, 12vw, 170px) 20px 90px; }
.final-icon { margin: 0 auto 30px; width: clamp(110px, 12vw, 140px); border-radius: 23%; box-shadow: 0 0 0 10px rgba(255, 138, 99, .12), 0 30px 90px -10px rgba(255, 138, 99, .7); }
.final .hl { font-size: clamp(54px, 12vw, 170px); }
.disclaimer { max-width: 36em; margin: 44px auto 0; font-size: 14px; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 36px clamp(20px, 5vw, 64px) 44px; display: grid; gap: 14px; justify-items: center; text-align: center; background: rgba(26, 15, 28, .6); }
.foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; }
.foot nav a { color: var(--text); font-size: 15px; }
.foot p { font-size: 12px; max-width: 46em; }

/* motion: one curve, small distances, each thing once (Emil Kowalski's rules) */
/* sections: copy, then art, rise 16px as they come into view; tiles stagger */
.js .reveal > :not(.tiles), .js .tiles > li { opacity: 0; transform: translateY(16px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
.js .reveal > :nth-child(2), .js .tiles > li:nth-child(1) { transition-delay: 80ms; }
.js .reveal > :nth-child(3), .js .tiles > li:nth-child(2) { transition-delay: 140ms; }
.js .reveal > :nth-child(4), .js .tiles > li:nth-child(3) { transition-delay: 200ms; } .js .tiles > li:nth-child(4) { transition-delay: 260ms; }
.js .tiles > li:nth-child(5) { transition-delay: 320ms; } .js .tiles > li:nth-child(6) { transition-delay: 380ms; }
.js .reveal.in > :not(.tiles), .js .reveal.in .tiles > li { opacity: 1; transform: none; }
/* stickers land a beat after their section; the three outlooks follow one another */
.js .reveal .pill, .js .reveal .bubble, .js .reveal .banner, .js .reveal .outlooks li { opacity: 0; scale: .96; transition: opacity 400ms var(--ease-out) 240ms, scale 400ms var(--ease-out) 240ms; }
.js .reveal .outlooks li:nth-child(2) { transition-delay: 300ms; } .js .reveal .outlooks li:nth-child(3) { transition-delay: 360ms; }
.js .reveal.in .pill, .js .reveal.in .bubble, .js .reveal.in .banner, .js .reveal.in .outlooks li { opacity: 1; scale: 1; }
@keyframes pop { from { opacity: 0; scale: .96; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 138, 99, .6); } 80%, 100% { box-shadow: 0 0 0 10px rgba(255, 138, 99, 0); } }
/* scroll-linked, no JS: the streak draws itself down the page just ahead of the reader,
   and the hero cards drift up at depth-based rates. Browsers without scroll timelines get the static page. */
@supports (animation-timeline: scroll()) {
    .js .streak {
        -webkit-mask: linear-gradient(#000 calc(100% - 300px), transparent) top / 100% 100% no-repeat;
        mask: linear-gradient(#000 calc(100% - 300px), transparent) top / 100% 100% no-repeat;
        animation: draw linear both; animation-timeline: scroll(root);
    }
    .js .near, .js .mid, .js .far { animation: pop 600ms var(--ease-out) backwards, drift linear both; animation-timeline: auto, scroll(root); animation-range: normal, 0 800px; }
    .js .f-outlook { animation-delay: 80ms, 0s; } .js .f-week { animation-delay: 140ms, 0s; } .js .f-feeling { animation-delay: 200ms, 0s; }
    .js .f-trigger { animation-delay: 240ms, 0s; } .js .f-end { animation-delay: 280ms, 0s; } .js .f-zones, .js .f-wall { animation-delay: 320ms, 0s; }
    .near { --d: -56px; } .mid { --d: -32px; } .far { --d: -14px; }
}
@keyframes draw { from { -webkit-mask-size: 100% calc(100vh + 120px); mask-size: 100% calc(100vh + 120px); } to { -webkit-mask-size: 100% calc(100% + 300px); mask-size: 100% calc(100% + 300px); } }
@keyframes drift { to { translate: 0 var(--d); } }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .js .reveal > *, .js .tiles > li, .js .reveal .pill, .js .reveal .bubble, .js .reveal .banner, .js .reveal .outlooks li { opacity: 1; transform: none; scale: none; }
}

/* tablet */
@media (max-width: 960px) {
    .sec { grid-template-columns: 1fr; gap: 30px; }
    .sec.flip .copy { order: 0; }
    .copy { text-align: center; }
    .copy p:not(.eyebrow) { margin-left: auto; margin-right: auto; }
    .outlooks, .nevers { justify-content: center; }
    .stage { height: 640px; }
    /* fade the streak behind paragraphs where it crosses centred copy */
    .lede, .copy p:not(.eyebrow), .disclaimer { position: relative; z-index: 0; }
    .lede::before, .copy p:not(.eyebrow)::before, .disclaimer::before {
        content: ""; position: absolute; inset: -14px -16px; z-index: -1; border-radius: 30px;
        background: rgba(26, 15, 28, .84); filter: blur(14px);
    }
    .f-wall { left: 0; } .f-outlook { left: 2%; } .f-trigger { left: 0; }
    .f-week { right: 0; } .f-feeling { right: 6%; } .f-zones { right: -4%; }
}

/* phone width: stage scales off its own width */
@media (max-width: 640px) {
    p, li { font-size: 17px; }
    .hl { font-size: 12vw; }
    .f-trigger { display: none; }
    .stage { height: 580px; margin-top: 76px; }
    .hero-phone { width: 230px; top: 50px; }
    .f-wall, .f-zones { display: none; }
    .f-outlook { width: 58%; left: -2%; top: 10px; }
    .f-week    { width: 62%; right: -3%; top: 200px; }
    .f-trigger { width: 54%; left: -2%; top: 330px; }
    .f-feeling { width: 66%; right: 2%; top: 430px; }
    .f-end     { width: 36%; right: -1%; top: 30px; }
    .art { min-height: 0; padding: 20px 0 40px; }
    .phone { width: 250px; }
    .s-attack .phone { width: 270px; }
    .bubble { font-size: 18px; padding: 14px 18px; top: 0; left: 0; }
    .out-zones { width: 96%; left: 2%; bottom: 20px; }
    .pill { font-size: 18px; padding: 12px 20px; right: 0; top: 0; }
    .out-trigger { width: 92%; right: 0; top: 54%; }
    .out-summary { width: 92%; left: 0; top: auto; bottom: 10px; }
    .banner { top: 66%; gap: 0 14px; padding: 12px; font-size: 17px; }
    .banner span + span::before { margin-right: 14px; }
    .banner span:last-child { display: none; }
    .out-end { width: 46%; right: 0; top: 70px; }
    .s-report .art { padding-bottom: 110px; }
    .out-report { width: 96%; right: 0; bottom: 14px; }
    .pill-pdf { left: 0; right: auto; top: -6px; max-width: 100%; font-size: 15px; padding: 11px 16px; white-space: normal; }
    .paper { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
    .tiles { grid-template-columns: 1fr 1fr; gap: 12px; grid-template-areas: "health health" "remind days" "weather sync" "recap recap"; }
    .tiles li { padding: 20px 18px; font-size: 15px; border-radius: 24px; }
    .tiles b { font-size: 18px; }
    .chip { width: 42px; height: 42px; border-radius: 13px; margin-bottom: 6px; }
    .tiles .t-wide { min-height: 0; padding-right: 18px; justify-content: flex-start; }
    .row { position: static; width: calc(100% + 12px); margin: 12px -6px 0; transform: rotate(-2deg); border-radius: 14px; }
    .t-weather .row { display: none; }
    .s-privacy .art { min-height: 0; }
    .out-never { width: 94%; right: 2%; bottom: 30px; }
}

/* ---------- shared: guides, more apps, guide page template ---------- */
.nav nav a, .foot nav a { display: inline-flex; align-items: center; min-height: 44px; }
.nav nav a:focus-visible, .foot nav a:focus-visible { outline-offset: 2px; }
.foot .brand { text-decoration: none; }

.wrap-sec { position: relative; z-index: 1; max-width: 1220px; margin: 0 auto; padding: clamp(56px, 7vw, 100px) clamp(20px, 5vw, 64px) 0; }
.wrap-sec + .wrap-sec { padding-top: clamp(48px, 6vw, 80px); }
.sec-h { color: var(--text); font-weight: 800; text-transform: uppercase; font-size: clamp(32px, 4.6vw, 56px); line-height: .95; letter-spacing: -.045em; margin-bottom: 28px; }

/* guide cards: title, then description on its own line */
.g-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 14px; }
.g-card {
    position: relative; display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 22px 56px 22px 24px; border-radius: 24px;
    background: rgba(40, 24, 42, .82); border: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    transition: transform 200ms var(--ease-out), border-color 200ms var(--ease-out);
}
.g-card b { color: var(--text); font-size: 19px; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; }
.g-card span { color: var(--muted); font-size: 15px; line-height: 1.45; }
.g-card::after { content: "→"; position: absolute; right: 22px; top: 22px; color: var(--coral); font-weight: 800; font-size: 20px; transition: translate 200ms var(--ease-out); }
.g-card:hover { text-decoration: none; border-color: rgba(255, 138, 99, .55); transform: translateY(-2px); }
.g-card:hover::after { translate: 4px 0; }
.g-card:focus-visible { outline: 3px solid var(--peach); outline-offset: 3px; border-radius: 24px; }

/* more apps: icon cards, the App Store link covers the card, the site link sits on top */
.app-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.app-card {
    position: relative; display: grid; grid-template-columns: 64px 1fr; column-gap: 18px; align-content: start; padding: 24px; border-radius: 28px;
    background: rgba(40, 24, 42, .82); border: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    transition: transform 200ms var(--ease-out), border-color 200ms var(--ease-out);
}
.app-card img { grid-row: 1 / 3; width: 64px; height: 64px; border-radius: 23%; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .7); }
.app-card h3 { align-self: end; color: var(--text); font-size: 21px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.app-card p { font-size: 15px; line-height: 1.45; }
.app-main { color: var(--text); }
.app-main::after { content: ""; position: absolute; inset: 0; border-radius: 28px; }
.app-main:hover { text-decoration: none; }
.app-main:focus-visible { outline: none; }
.app-main:focus-visible::after { outline: 3px solid var(--peach); outline-offset: 3px; }
.app-card:hover { border-color: rgba(255, 138, 99, .55); transform: translateY(-2px); }
.app-meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; margin-top: 16px; padding-top: 6px; border-top: 1px solid var(--line); }
.app-store { color: var(--coral); font-weight: 800; font-size: 14px; }
.app-store::after { content: " →"; }
.app-site { position: relative; z-index: 2; display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: 13px; }
.app-site:hover { color: var(--coral); }
.apps-also { margin-top: 18px; font-size: 15px; }
.apps-also a { font-weight: 700; }

/* guide pages */
.g-main { position: relative; z-index: 1; padding: 0 clamp(20px, 5vw, 64px); }
.g-hero, .prose { max-width: 680px; margin: 0 auto; }
.g-hero { padding: clamp(48px, 8vw, 104px) 0 8px; }
.g-title { color: var(--text); font-weight: 800; text-transform: uppercase; font-size: clamp(38px, 6.4vw, 72px); line-height: .94; letter-spacing: -.045em; text-wrap: balance; }
.g-byline { margin-top: 22px; font-size: 14px; }
.g-byline a { font-weight: 700; }
.notice { margin-top: 22px; padding: 14px 18px; border-radius: 18px; border: 1px solid rgba(255, 138, 99, .35); background: rgba(40, 24, 42, .82); }
.notice p { font-size: 15px; }
.notice strong { color: var(--peach); }
.answer { margin-top: 26px; padding: 22px 24px; border-radius: 24px; border-left: 4px solid var(--coral); background: linear-gradient(135deg, rgba(91, 37, 80, .9), rgba(40, 24, 42, .85)); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.answer p { color: #F3E4DC; font-size: clamp(17px, 1.5vw, 19px); }
.answer a, .prose a, .g-cta a, .notice a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 138, 99, .5); }

.prose { padding: 16px 0 56px; }
.prose > p, .prose > ul, .prose > ol { margin-top: 16px; }
.prose p, .prose li { font-size: 17px; line-height: 1.65; }
.prose h2 { color: var(--text); font-size: clamp(24px, 3vw, 30px); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; margin: 52px 0 4px; }
.prose h3 { color: var(--text); font-size: 19px; font-weight: 800; letter-spacing: -.01em; margin: 28px 0 0; }
.prose strong { color: var(--text); }
.prose ul > li { position: relative; padding-left: 24px; margin-top: 10px; }
.prose ul > li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.prose ol { counter-reset: step; list-style: none; }
.prose ol > li { counter-increment: step; position: relative; padding-left: 44px; margin-top: 14px; }
.prose ol > li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--coral); color: #2A0F22; font-weight: 800; font-size: 15px; line-height: 1; }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 18px; border-radius: 20px; border: 1px solid var(--line); background: rgba(40, 24, 42, .82); }
.table-wrap table { width: 100%; min-width: 620px; border-collapse: collapse; }
.table-wrap th, .table-wrap td { text-align: left; vertical-align: top; padding: 14px 16px; font-size: 15px; line-height: 1.45; }
.table-wrap th { color: var(--peach); background: rgba(91, 37, 80, .55); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.table-wrap td { color: var(--muted); border-top: 1px solid var(--line); }
.table-wrap td:first-child { color: var(--text); font-weight: 800; }
.table-wrap:focus-visible { outline: 3px solid var(--peach); outline-offset: 3px; }

.faq { margin-top: 12px; border-radius: 20px; border: 1px solid var(--line); background: rgba(40, 24, 42, .82); }
.prose h2 + .faq { margin-top: 18px; }
.faq summary { position: relative; display: block; list-style: none; cursor: pointer; min-height: 44px; padding: 18px 56px 18px 22px; color: var(--text); font-weight: 800; font-size: 17px; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 138, 99, .16); color: var(--coral); font-size: 20px; line-height: 1; transition: rotate 200ms var(--ease-out); }
.faq[open] summary::after { rotate: 45deg; }
.faq summary:focus-visible { outline: 3px solid var(--peach); outline-offset: 2px; border-radius: 20px; }
.faq > p { padding: 0 22px 20px; }
.faq > p + p { padding-top: 0; margin-top: -8px; }

.g-cta { position: relative; max-width: 760px; margin: 0 auto; padding: clamp(32px, 5vw, 52px) clamp(22px, 5vw, 52px); border-radius: 36px; text-align: center; background: linear-gradient(150deg, rgba(91, 37, 80, .95), rgba(40, 24, 42, .92)); border: 1px solid var(--line); box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .8); }
.g-cta img { margin: 0 auto 20px; width: 96px; height: 96px; border-radius: 23%; box-shadow: 0 0 0 8px rgba(255, 138, 99, .12), 0 24px 60px -10px rgba(255, 138, 99, .6); }
.g-cta h2 { color: var(--text); font-weight: 800; text-transform: uppercase; font-size: clamp(30px, 4.4vw, 46px); line-height: .95; letter-spacing: -.045em; }
.g-cta .soon { margin-top: 18px; padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(255, 138, 99, .4); background: rgba(26, 15, 28, .5); }
.g-cta-link { margin-top: 14px; font-size: 15px; }
.g-cta-link a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.med { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.med p { font-size: 14px; max-width: 40em; margin: 0 auto; }
.med p + p { margin-top: 8px; }
.med strong { color: var(--text); }
.g-after { padding-bottom: clamp(56px, 7vw, 100px); }
.g-after .wrap-sec { padding-left: 0; padding-right: 0; }

/* printable diary: a white sheet on the dark page */
.print-btn { font: inherit; font-weight: 800; font-size: 15px; min-height: 44px; padding: 10px 20px; margin: 0 14px 8px 0; border: 0; border-radius: 999px; background: var(--coral); color: #2A0F22; cursor: pointer; }
.print-btn:focus-visible { outline: 3px solid var(--peach); outline-offset: 3px; }
.prose .sheet-wrap { margin-top: 20px; padding: 18px; border-radius: 20px; background: #fff; }
.prose .sheet h2 { color: #1A1A1A; font-size: 20px; margin: 0 0 8px; }
.prose .sheet .meta { flex-wrap: wrap; gap: 6px 28px; }
.prose .sheet table { width: 100%; border-collapse: collapse; }
.prose .sheet th, .prose .sheet td { color: #2B2B2B; text-align: left; vertical-align: top; }
.prose .sheet .foot-note { line-height: 1.4; }

@media (max-width: 900px) {
    .app-cards { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .nav nav { gap: 14px; }
    .app-card { padding: 20px; }
    .g-card { padding: 20px 52px 20px 20px; }
    .faq summary { padding: 16px 52px 16px 18px; }
    .faq > p { padding: 0 18px 18px; }
}
.g-cards > li:last-child:nth-child(3n+1) { grid-column: 1 / -1; }
main > .wrap-sec:last-child { padding-bottom: clamp(56px, 7vw, 100px); }
