/* Hearth — hearthapps.com
   One stylesheet for every page. No build step. */

:root {
  --ink: #1D1D1F;
  --ink-2: #424245;
  --muted: #6E6E73;
  --faint: #86868B;
  --ground: #FBFBFD;
  --panel: #F5F5F7;
  --card: #FFFFFF;
  --hair: rgba(0, 0, 0, .08);
  --link: #0066CC;
  --link-hover: #004C99;
  --ease: cubic-bezier(.2, .8, .2, 1);

  --ink-strong: #000000;
  --nav-bg: rgba(251, 251, 253, .72);
  --chip: rgba(0, 0, 0, .05);
  --rule: #D2D2D7;
  --rule-2: #E8E8ED;
  --hover: #ECECF0;
  --body: #333336;
  --contact-bg: #1D1D1F;
  --store-bg: #000000;
  --store-ring: transparent;
  --soon-bg: #E8E8ED;
  --scr: #F2F2F7; --scr-warm: #FAF7F5; --scr-card: #FFFFFF; --scr-track: #ECECF0;
  --scr-bar: rgba(255, 255, 255, .72); --scr-tab: #C7C7CC; --pop: rgba(255, 255, 255, .82); --phone-ring: transparent;
  --pos: #167A52; --pos-bg: #DDF3E8; --neg: #C0392B; --neg-bg: #FDE7E5;

  --bigtable: #D9472B;  --bigtable-ink: #C0391F;  --bigtable-tint: #FDE3DC;  --bigtable-wash: #FFF6F3;
  --suffice: #1E9E6A;   --suffice-ink: #167A52;   --suffice-tint: #DDF3E8;
  --sated: #E8650F;     --sated-ink: #B44A06;     --sated-tint: #FFE9D2;    --sated-wash: #FFF8EE;
  --caloma: #E0284F;    --caloma-ink: #C21E43;    --caloma-tint: #FDE0E7;
  --hearken: #0A7AFF;   --hearken-ink: #0060D6;   --hearken-tint: #DCEAFF;  --hearken-wash: #F2F7FF;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", sans-serif;
  --font-round: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, sans-serif;
  color-scheme: light;
}

/* Dark appearance: the toggle sets data-theme; without JavaScript the system setting decides. */
:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #F5F5F7;
  --ink-2: #D2D2D7;
  --muted: #A1A1A6;
  --faint: #8E8E93;
  --ground: #000000;
  --panel: #161617;
  --card: #1C1C1E;
  --hair: rgba(255, 255, 255, .12);
  --link: #2997FF;
  --link-hover: #6BB8FF;
  --ink-strong: #FFFFFF;
  --nav-bg: rgba(22, 22, 23, .72);
  --chip: rgba(255, 255, 255, .1);
  --rule: #3A3A3C;
  --rule-2: #2C2C2E;
  --hover: #2C2C2E;
  --body: #D2D2D7;
  --contact-bg: #1C1C1E;
  --store-bg: #000000;
  --store-ring: #8E8E93;
  --soon-bg: #2C2C2E;
  --scr: #000000; --scr-warm: #0E0B0A; --scr-card: #1C1C1E; --scr-track: #2C2C2E;
  --scr-bar: rgba(44, 44, 46, .72); --scr-tab: #48484A; --pop: rgba(44, 44, 46, .82); --phone-ring: rgba(255, 255, 255, .1);
  --pos: #30D158; --pos-bg: rgba(48, 209, 88, .16); --neg: #FF6961; --neg-bg: rgba(255, 105, 97, .16);
  --bigtable-ink: #FF7A5C; --bigtable-tint: rgba(217, 71, 43, .22); --bigtable-wash: #140A08;
  --suffice-ink: #3DD68C;  --suffice-tint: rgba(30, 158, 106, .22);
  --sated-ink: #FFA04D;    --sated-tint: rgba(232, 101, 15, .22);   --sated-wash: #140D06;
  --caloma-ink: #FF6B8A;   --caloma-tint: rgba(224, 40, 79, .22);
  --hearken-ink: #5AAEFF;  --hearken-tint: rgba(10, 122, 255, .22); --hearken-wash: #07101C;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --ink: #F5F5F7;
    --ink-2: #D2D2D7;
    --muted: #A1A1A6;
    --faint: #8E8E93;
    --ground: #000000;
    --panel: #161617;
    --card: #1C1C1E;
    --hair: rgba(255, 255, 255, .12);
    --link: #2997FF;
    --link-hover: #6BB8FF;
    --ink-strong: #FFFFFF;
    --nav-bg: rgba(22, 22, 23, .72);
    --chip: rgba(255, 255, 255, .1);
    --rule: #3A3A3C;
    --rule-2: #2C2C2E;
    --hover: #2C2C2E;
    --body: #D2D2D7;
    --contact-bg: #1C1C1E;
    --store-bg: #000000;
    --store-ring: #8E8E93;
    --soon-bg: #2C2C2E;
    --scr: #000000; --scr-warm: #0E0B0A; --scr-card: #1C1C1E; --scr-track: #2C2C2E;
    --scr-bar: rgba(44, 44, 46, .72); --scr-tab: #48484A; --pop: rgba(44, 44, 46, .82); --phone-ring: rgba(255, 255, 255, .1);
    --pos: #30D158; --pos-bg: rgba(48, 209, 88, .16); --neg: #FF6961; --neg-bg: rgba(255, 105, 97, .16);
    --bigtable-ink: #FF7A5C; --bigtable-tint: rgba(217, 71, 43, .22); --bigtable-wash: #140A08;
    --suffice-ink: #3DD68C;  --suffice-tint: rgba(30, 158, 106, .22);
    --sated-ink: #FFA04D;    --sated-tint: rgba(232, 101, 15, .22);   --sated-wash: #140D06;
    --caloma-ink: #FF6B8A;   --caloma-tint: rgba(224, 40, 79, .22);
    --hearken-ink: #5AAEFF;  --hearken-tint: rgba(10, 122, 255, .22); --hearken-wash: #07101C;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; }
a { color: var(--link); }
a:hover { color: var(--link-hover); }
h1, h2, h3, h4, p { margin: 0; }
:focus-visible { outline: 3px solid #0071E3; outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--ground); padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; color: var(--ground); }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.wrap-narrow { max-width: 1120px; margin: 0 auto; padding: 0 32px; }

/* ---------- Mark ---------- */
.petal { transform-box: fill-box; transform-origin: 50% 100%; }
.mark-live .petal, .brand:hover .petal { animation: flick 2.8s ease-in-out infinite; }
.petal-2 { animation-delay: -.9s !important; } .petal-3 { animation-delay: -1.7s !important; }
.petal-4 { animation-delay: -2.4s !important; } .petal-5 { animation-delay: -1.2s !important; }
@keyframes flick { 0%, 100% { transform: scaleY(1) skewX(0); } 35% { transform: scaleY(1.07) skewX(-2.5deg); } 70% { transform: scaleY(.96) skewX(2deg); } }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: var(--nav-bg); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--hair); }
.nav-in { height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); font-family: var(--font-round); font-weight: 700; font-size: 21px; letter-spacing: -.02em; }
.brand:hover { color: var(--ink); }
.links { display: flex; gap: 28px; align-items: center; }
.links a { color: var(--ink); text-decoration: none; font-size: 13px; opacity: .82; transition: opacity .2s; }
.links a:hover, .links a[aria-current="page"] { opacity: 1; color: var(--ink); }
.links a[aria-current="page"] { font-weight: 600; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 12px; align-items: center; justify-content: center; color: var(--ink); cursor: pointer; }
.menu-btn .i-close { display: none; }
.nav.open .menu-btn .i-open { display: none; }
.nav.open .menu-btn .i-close { display: block; }
.sheet { display: none; }
.nav-right { display: flex; align-items: center; gap: 20px; }
.theme-btn { width: 44px; height: 44px; margin: 0 -8px 0 -4px; border: 0; border-radius: 50%; background: transparent; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s; }
.theme-btn:hover { background: var(--chip); }
.theme-btn svg { transition: transform .6s var(--ease); }
.theme-btn:hover svg { transform: rotate(-20deg); }
.theme-btn .i-sun { display: none; }
:root[data-theme="dark"] .theme-btn .i-sun { display: block; }
:root[data-theme="dark"] .theme-btn .i-moon { display: none; }

/* App icons: each has a light and a dark rendering; show the one for the current appearance. */
.ic-d { display: none !important; }
:root[data-theme="dark"] .ic-l { display: none !important; }
:root[data-theme="dark"] .ic-d { display: block !important; outline: 1px solid rgba(255, 255, 255, .1); outline-offset: -1px; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .ic-l { display: none !important; }
  :root:not([data-theme]) .ic-d { display: block !important; }
}
:root[data-theme="dark"] .glow { opacity: .38; }
:root[data-theme="dark"] .dark { background: #0B0B0C; }

/* The theme switch reveals the new appearance in a circle from the button (site.js). */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 22px; border-radius: 980px; font-size: 17px; text-decoration: none; font-weight: 500; transition: transform .35s var(--ease), background .2s, box-shadow .35s; }
.btn:hover { transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: var(--ground); }
.btn-dark:hover { color: var(--ground); background: var(--ink-strong); box-shadow: 0 12px 30px rgba(0, 0, 0, .18); }
.btn-ghost { color: var(--link); padding: 0 10px; }
.store { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; border-radius: 14px; background: var(--store-bg); color: #fff; box-shadow: inset 0 0 0 1px var(--store-ring); text-decoration: none; font-size: 15px; font-weight: 600; transition: transform .35s var(--ease); }
.store:hover { color: #fff; transform: translateY(-2px); }
.store small { display: block; font-size: 10px; font-weight: 500; opacity: .8; letter-spacing: .02em; }
.store span { line-height: 1.15; }
.store.beta { background: linear-gradient(180deg, #2E9BFF, #0A6CF0); box-shadow: none; }
.store.beta:hover { color: #fff; box-shadow: 0 12px 26px -10px rgba(10, 108, 240, .6); }
.store.soon { background: var(--soon-bg); color: var(--ink-2); box-shadow: none; cursor: default; }
.store.soon:hover { transform: none; color: var(--ink-2); }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: clip; padding: 96px 0 72px; text-align: center; }
.hero-mark { display: inline-flex; color: var(--ink); margin-bottom: 22px; animation: rise-in 1.2s var(--ease) both; filter: drop-shadow(0 18px 30px rgba(245, 124, 7, .35)); }
.eyebrow { font-size: 17px; font-weight: 600; letter-spacing: -.01em; color: var(--muted); margin: 0 0 14px; }
.h1 { font-size: clamp(44px, 7.4vw, 96px); line-height: 1.02; letter-spacing: -.045em; font-weight: 700; margin: 0 auto; max-width: 15ch; }
.grad { background: linear-gradient(90deg, #F08A12 0%, #D9472B 24%, #E0284F 46%, #7A5AF0 66%, #0A7AFF 82%, #1E9E6A 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shift 9s ease-in-out infinite alternate; }
.lede { font-size: clamp(19px, 2.1vw, 24px); line-height: 1.42; color: var(--muted); max-width: 34em; margin: 28px auto 0; letter-spacing: -.01em; }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.glow { position: absolute; inset: -10% -20% auto; height: 520px; pointer-events: none; filter: blur(70px); opacity: .5; z-index: -1; }
.glow span { position: absolute; width: 300px; height: 300px; border-radius: 50%; animation: drift 18s ease-in-out infinite alternate; }

.orbit { position: relative; height: 300px; max-width: 880px; margin: 64px auto 0; }
.orb { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); font-size: 14px; font-weight: 500; animation: rise-in 1.1s var(--ease) both; }
.orb:hover { color: var(--ink); }
.orb img { border-radius: 23%; box-shadow: 0 24px 50px -16px var(--glow), 0 2px 6px rgba(0, 0, 0, .08); transition: transform .5s var(--ease); }
.orb:hover img { transform: scale(1.08) translateY(-6px); }
.bob { animation: bob 6s ease-in-out infinite; }

/* ---------- Ticker ---------- */
.ticker { border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); background: var(--card); overflow: hidden; padding: 22px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.track { display: flex; gap: 56px; width: max-content; animation: marquee 48s linear infinite; }
.track span { font-size: 22px; font-weight: 600; letter-spacing: -.02em; color: var(--faint); white-space: nowrap; }
.track b { color: var(--ink); font-weight: 600; }

/* ---------- Sections ---------- */
.sec { padding: 128px 0; }
.h2 { font-size: clamp(36px, 5vw, 64px); line-height: 1.05; letter-spacing: -.04em; font-weight: 700; }
.h2 .soft { color: var(--faint); }
.sub { font-size: clamp(19px, 1.8vw, 22px); line-height: 1.45; color: var(--muted); margin-top: 20px; max-width: 36em; letter-spacing: -.01em; }

.suite { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-top: 56px; }
.tile { background: var(--card); border-radius: 28px; padding: 28px 22px 26px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 12px; box-shadow: 0 1px 2px rgba(0, 0, 0, .04); transition: transform .5s var(--ease), box-shadow .5s; }
.tile:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .22); color: var(--ink); }
.tile img { border-radius: 15px; }
.tile h3 { margin-top: 6px; font-size: 22px; letter-spacing: -.02em; }
.tile p { font-size: 15px; line-height: 1.4; color: var(--muted); }
.tile .q { font-size: 13px; font-weight: 600; margin-top: auto; padding-top: 10px; }

/* ---------- App chapters ---------- */
.app { padding: 120px 0; position: relative; scroll-margin-top: 52px; }
.app-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 72px; align-items: center; }
.app-grid.flip .copy { order: 2; }
.app-head { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.app-head img { border-radius: 17px; box-shadow: 0 14px 30px -12px var(--glow); }
.app-name { font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
.app-kind { font-size: 15px; color: var(--muted); margin-top: 2px; }
.feats { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 32px; }
.feats li { display: flex; flex-direction: column; gap: 8px; }
.feats strong { font-size: 17px; letter-spacing: -.01em; }
.feats span { font-size: 15px; line-height: 1.45; color: var(--muted); }
.ficon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.app-ctas { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 40px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.chip { font-size: 12px; font-weight: 600; padding: 6px 11px; border-radius: 999px; background: var(--chip); color: var(--ink-2); }
.disclaimer { font-size: 12px; color: var(--muted); margin-top: 20px; line-height: 1.5; }

/* ---------- Device mockups ---------- */
.stage { position: relative; display: flex; justify-content: center; padding: 20px 0; }
.halo { position: absolute; width: 420px; height: 420px; max-width: 100%; border-radius: 50%; filter: blur(60px); opacity: .38; top: 50%; left: 50%; transform: translate(-50%, -50%); animation: pulse 8s ease-in-out infinite; }
.phone { position: relative; width: 300px; height: 640px; border-radius: 54px; background: #0B0B0D; padding: 11px; box-shadow: 0 60px 100px -40px rgba(0, 0, 0, .45), inset 0 0 0 2px #2A2A2E, 0 0 0 1px var(--phone-ring); animation: float 7s ease-in-out infinite; }
.screen { width: 100%; height: 100%; border-radius: 44px; overflow: hidden; background: var(--scr); position: relative; font-size: 12px; color: var(--ink); }
.island { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 92px; height: 27px; border-radius: 20px; background: #000; z-index: 3; }
.scr-pad { padding: 52px 16px 16px; display: flex; flex-direction: column; gap: 10px; height: 100%; }
.card { background: var(--scr-card); border-radius: 18px; padding: 12px 14px; }
.scr-title { font-size: 26px; font-weight: 700; letter-spacing: -.03em; margin: 4px 2px 2px; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.muted { color: #8A8A8E; }
.label { font-size: 10px; font-weight: 700; letter-spacing: .05em; color: #8A8A8E; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }
.day { flex: 1; text-align: center; padding: 7px 0; border-radius: 12px; background: var(--scr-card); color: #8A8A8E; }
.day b { color: var(--ink); }
.day.on { background: var(--bigtable); color: #fff; }
.day.on b { color: #fff; }
.bar { height: 6px; border-radius: 3px; background: var(--scr-track); margin-top: 4px; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 3px; transform-origin: left; }
.pill { padding: 3px 8px; border-radius: 9px; font-weight: 600; }
.tabbar { position: absolute; left: 16px; right: 16px; bottom: 14px; height: 52px; border-radius: 26px; background: var(--scr-bar); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 6px 20px rgba(0, 0, 0, .08); display: flex; align-items: center; justify-content: space-around; }
.tabbar i { display: block; width: 22px; height: 22px; border-radius: 7px; background: var(--scr-tab); }
.pop { position: absolute; background: var(--pop); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-radius: 20px; padding: 14px 16px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .25); font-size: 13px; z-index: 4; animation: float 7s ease-in-out infinite; animation-delay: -3s; }
.in-view .ring { animation: ring-fill 2.2s var(--ease) both .3s; }
.in-view .bar i { animation: bar-fill 1.6s var(--ease) both .5s; }

/* ---------- Principles ---------- */
.dark { background: #000; color: #F5F5F7; }
.dark .sub { color: #A1A1A6; }
.principles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 64px; }
.pr { background: #1C1C1E; border-radius: 28px; padding: 30px 26px; display: flex; flex-direction: column; gap: 14px; transition: background .4s, transform .5s var(--ease); }
.pr:hover { background: #242427; transform: translateY(-6px); }
.pr h3 { font-size: 21px; letter-spacing: -.02em; }
.pr p { font-size: 15px; line-height: 1.5; color: #A1A1A6; }
.devices { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 56px; list-style: none; padding: 0; }
.devices li { border: 1px solid #3A3A3C; border-radius: 999px; padding: 10px 18px; font-size: 14px; color: #D2D2D7; }

/* ---------- Closing ---------- */
.close { text-align: center; padding: 140px 0 120px; }
.close .sub { margin-left: auto; margin-right: auto; }
.close-icons { display: flex; justify-content: center; gap: 18px; margin-bottom: 40px; }
.close-icons img { width: 68px; height: 68px; border-radius: 16px; animation: wave 3.2s ease-in-out infinite; }

/* ---------- Footer ---------- */
.foot { background: var(--panel); padding: 40px 0 48px; font-size: 12px; color: var(--muted); border-top: 1px solid var(--hair); }
.foot-brand { display: flex; align-items: center; gap: 8px; color: var(--ink); font-family: var(--font-round); font-weight: 700; font-size: 17px; margin-bottom: 24px; }
.foot-brand small { font-family: var(--font); font-weight: 400; font-size: 13px; color: var(--muted); margin-left: 6px; }
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-bottom: 28px; border-bottom: 1px solid var(--rule); }
.foot h2 { margin: 0 0 10px; font-size: 12px; color: var(--ink); font-weight: 600; }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.foot a { color: var(--ink-2); text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 18px; line-height: 1.5; }

/* ---------- Support ---------- */
.page-hero { padding: 96px 0 56px; text-align: center; }
.page-hero .h1 { animation: rise-in 1s var(--ease) both; max-width: none; }
.page-hero .lede { animation: rise-in 1s var(--ease) both .1s; }
.help-apps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.help-app { background: var(--card); border-radius: 24px; padding: 22px 18px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 1px 2px rgba(0, 0, 0, .04); transition: transform .45s var(--ease), box-shadow .45s; animation: rise-in .9s var(--ease) both; }
.help-app:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -24px rgba(0, 0, 0, .22); }
.help-app img { border-radius: 12px; }
.help-app h2 { margin-top: 6px; font-size: 19px; letter-spacing: -.02em; }
.help-app p { font-size: 14px; color: var(--muted); line-height: 1.4; }
.help-app a { font-size: 14px; font-weight: 500; text-decoration: none; margin-top: auto; padding-top: 6px; }
.faq-sec { padding: 96px 0 40px; }
.faq-title { font-size: clamp(32px, 4vw, 48px); letter-spacing: -.035em; margin: 0 0 28px; font-weight: 700; }
.faq { background: var(--card); border-radius: 24px; overflow: hidden; box-shadow: 0 1px 2px rgba(0, 0, 0, .04); }
.faq details { border-top: 1px solid var(--rule-2); }
.faq details:first-child { border-top: 0; }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 28px; font-size: 19px; font-weight: 600; letter-spacing: -.015em; cursor: pointer; min-height: 64px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:focus-visible { outline-offset: -3px; }
.tag { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-right: 8px; }
.plus { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--panel); display: flex; align-items: center; justify-content: center; transition: transform .45s var(--ease), background .3s, color .3s; }
.faq details[open] .plus { transform: rotate(45deg); background: var(--ink); color: var(--ground); }
.answer { padding: 0 28px 24px; font-size: 17px; line-height: 1.55; color: var(--ink-2); max-width: 46em; }
.faq details[open] .answer { animation: open .5s var(--ease) both; }
.contact { margin: 96px 0 120px; border-radius: 32px; padding: 56px; background: var(--contact-bg); color: #F5F5F7; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.contact h2 { font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -.035em; line-height: 1.08; }
.contact p { color: #A1A1A6; font-size: 17px; line-height: 1.5; margin-top: 14px; }
.contact ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 15px; color: #D2D2D7; }
.mail { display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; border-radius: 980px; background: #fff; color: #1D1D1F; text-decoration: none; font-weight: 600; font-size: 17px; margin-top: 26px; transition: transform .35s var(--ease); }
.mail:hover { color: #1D1D1F; transform: translateY(-2px); }

/* ---------- Legal ---------- */
.legal-hero { padding: 88px 0 48px; }
.kicker { font-size: 17px; font-weight: 600; color: var(--link); margin: 0 0 10px; animation: rise-in .9s var(--ease) both; }
.legal-hero .h1 { margin: 0; max-width: none; font-size: clamp(44px, 6vw, 76px); animation: rise-in .9s var(--ease) both .05s; }
.meta { color: var(--muted); font-size: 15px; margin-top: 18px; animation: rise-in .9s var(--ease) both .1s; }
.brief { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.bc { background: var(--card); border-radius: 24px; padding: 26px; box-shadow: 0 1px 2px rgba(0, 0, 0, .04); animation: rise-in .9s var(--ease) both; }
.bc h2 { margin: 12px 0 6px; font-size: 19px; letter-spacing: -.02em; }
.bc p { font-size: 15px; line-height: 1.5; color: var(--muted); }
.bc svg { color: var(--link); }
.legal-icons { display: flex; gap: 10px; margin-top: 28px; }
.legal-icons img { border-radius: 10px; animation: rise-in .8s var(--ease) both; }
.layout { display: flex; flex-wrap: wrap; gap: 56px; padding: 64px 0 120px; align-items: flex-start; }
.toc { flex: 1 1 220px; max-width: 260px; font-size: 14px; position: sticky; top: 76px; }
.toc h2 { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.toc a { display: block; padding: 8px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; transition: background .2s; }
.toc a:hover, .toc a.active { background: var(--hover); color: var(--ink); }
.doc { flex: 999 1 560px; min-width: 0; font-size: 17px; line-height: 1.6; }
.doc section { margin-bottom: 48px; scroll-margin-top: 72px; }
.doc h2 { font-size: 30px; letter-spacing: -.03em; line-height: 1.15; margin: 0 0 14px; }
.doc h3 { font-size: 21px; letter-spacing: -.02em; margin: 32px 0 8px; display: flex; align-items: center; gap: 12px; scroll-margin-top: 72px; }
.doc h3 img { border-radius: 9px; }
.doc p { margin: 0 0 14px; color: var(--body); }
.doc ul { margin: 0 0 16px; padding-left: 22px; color: var(--body); }
.doc li { margin-bottom: 6px; }
.table-box { overflow-x: auto; background: var(--card); border-radius: 20px; box-shadow: 0 1px 2px rgba(0, 0, 0, .04); margin: 8px 0 18px; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
.table th, .table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--rule-2); vertical-align: top; }
.table th { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; }
.table tr:last-child td { border-bottom: 0; }
.table td:first-child { font-weight: 600; white-space: nowrap; }
.callout { background: var(--card); border-radius: 20px; padding: 22px 24px; box-shadow: 0 1px 2px rgba(0, 0, 0, .04); margin: 0 0 16px; }
.callout strong { display: block; margin-bottom: 4px; }
.fine { font-size: 15px; color: var(--ink-2); }

/* ---------- Beta ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: none; }
.step { background: var(--card); border-radius: 28px; padding: 30px 28px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; box-shadow: 0 1px 2px rgba(0, 0, 0, .04); animation: rise-in .9s var(--ease) both; }
.step-n { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; color: #fff; background: linear-gradient(160deg, #FFC94A, #F57C07); box-shadow: 0 10px 22px -8px rgba(245, 124, 7, .6); }
.step h3 { font-size: 22px; letter-spacing: -.02em; margin-top: 6px; }
.step p { font-size: 16px; line-height: 1.5; color: var(--muted); }
.step .btn { margin-top: auto; }
.beta-sec { padding-top: 96px; }
.beta-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.beta-card { background: var(--card); border-radius: 28px; padding: 26px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; box-shadow: 0 1px 2px rgba(0, 0, 0, .04); transition: transform .5s var(--ease), box-shadow .5s; }
.beta-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .22); }
.beta-card-head { width: 100%; display: flex; align-items: flex-start; justify-content: space-between; }
.beta-card-head img { border-radius: 13px; }
.beta-card h3 { font-size: 22px; letter-spacing: -.02em; margin-top: 6px; }
.beta-card p { font-size: 15px; line-height: 1.45; color: var(--muted); margin-bottom: 8px; }
.beta-card .store { margin-top: auto; }
.beta-tag { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: rgba(10, 122, 255, .12); color: var(--hearken-ink); }
.beta-tag.live { background: rgba(30, 158, 106, .14); color: var(--suffice-ink); }
.beta-tag.soon { background: var(--chip); color: var(--muted); }
.know { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.know-item { background: var(--card); border-radius: 24px; padding: 26px 28px; box-shadow: 0 1px 2px rgba(0, 0, 0, .04); }
.know-item h3 { font-size: 19px; letter-spacing: -.02em; margin-bottom: 8px; }
.know-item p { font-size: 16px; line-height: 1.55; color: var(--muted); }
@media (max-width: 860px) { .steps, .know { grid-template-columns: minmax(0, 1fr); } .beta-sec { padding-top: 72px; } }

/* ---------- 404 ---------- */
.lost { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 18px; padding: 80px 20px; }

/* ---------- Motion ---------- */
@keyframes shift { to { background-position: 100% 0; } }
@keyframes rise-in { from { opacity: 0; transform: translateY(40px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(80px, 40px) scale(1.25); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-14px) rotate(.4deg); } }
@keyframes pulse { 0%, 100% { transform: translate(-50%, -50%) scale(1); } 50% { transform: translate(-50%, -50%) scale(1.15); } }
@keyframes wave { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes rise { from { opacity: 0; transform: translateY(60px); } to { opacity: 1; transform: none; } }
@keyframes zoom { from { opacity: 0; transform: scale(.86) translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes ring-fill { from { stroke-dashoffset: var(--len); } }
@keyframes bar-fill { from { transform: scaleX(0); } }
@keyframes open { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* Scroll reveals: native scroll-driven animations where supported,
   IntersectionObserver fallback (site.js adds .js-io) elsewhere.
   Without JS everything is simply visible. */
@supports (animation-timeline: view()) {
  .reveal, .tile, .pr, .doc section { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% cover 25%; }
  .reveal-zoom { animation: zoom linear both; animation-timeline: view(); animation-range: entry 0% cover 35%; }
}
.js-io .reveal, .js-io .tile, .js-io .pr, .js-io .reveal-zoom, .js-io .doc section { opacity: 0; transform: translateY(48px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js-io .reveal-zoom { transform: scale(.9) translateY(40px); }
.js-io .in-view.reveal, .js-io .in-view.tile, .js-io .in-view.pr, .js-io .in-view.reveal-zoom, .js-io .doc section.in-view { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js-io .reveal, .js-io .tile, .js-io .pr, .js-io .reveal-zoom, .js-io .doc section { opacity: 1; transform: none; }
}

/* ---------- Tablet ---------- */
@media (max-width: 1060px) {
  .suite { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-grid { gap: 40px; }
  .help-apps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .links { display: none; }
  .menu-btn { display: inline-flex; }
  .nav-right { gap: 0; }
  .theme-btn { margin: 0; }
  .nav.open .sheet { display: block; border-top: 1px solid var(--hair); padding: 8px 32px 24px; animation: open .35s var(--ease) both; }
  .sheet a { display: block; padding: 14px 0; font-size: 24px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--hair); }
  .app-grid { grid-template-columns: minmax(0, 1fr); }
  .app-grid.flip .copy { order: 0; }
  .app { padding: 88px 0; }
  .sec { padding: 96px 0; }
  .orbit { height: auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 28px 30px; margin-top: 56px; }
  .orb { position: static; }
  .orb img { width: 76px; height: 76px; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brief { grid-template-columns: minmax(0, 1fr); }
  .toc { max-width: none; position: static; }
  .toc ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .layout { gap: 32px; }
  .contact { grid-template-columns: minmax(0, 1fr); padding: 40px; }
}

/* ---------- Phone ---------- */
@media (max-width: 560px) {
  .wrap, .wrap-narrow { padding: 0 20px; }
  .nav.open .sheet { padding: 8px 20px 24px; }
  .hero { padding: 64px 0 48px; }
  .suite { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .tile { padding: 22px 18px; border-radius: 24px; }
  .feats { grid-template-columns: minmax(0, 1fr); }
  .principles { grid-template-columns: minmax(0, 1fr); }
  .phone { width: 284px; height: 606px; border-radius: 50px; }
  .screen { border-radius: 40px; }
  .pop { display: none; }
  .track span { font-size: 18px; }
  .close-icons { gap: 10px; }
  .close-icons img { width: 52px; height: 52px; border-radius: 12px; }
  .help-apps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq summary { padding: 20px; font-size: 17px; }
  .answer { padding: 0 20px 22px; font-size: 16px; }
  .contact { padding: 32px 24px; border-radius: 26px; }
  .page-hero { padding: 64px 0 40px; }
  .legal-hero { padding: 56px 0 32px; }
  .doc { font-size: 16px; }
  .doc h2 { font-size: 26px; }
  .toc ol { grid-template-columns: minmax(0, 1fr); }
}
