/* WorkFu — shared styles. Brand carried over from BrainFu: Syne + DM Sans, near-black, neon highlights. */
:root {
  color-scheme: dark;
  --bg: #111111; --bg2: #0a0a0a; --card: #161616;
  --line: #222222; --line2: #2a2a2a;
  --text: #f5f5f5; --muted: #bbbbbb; --dim: #8a8a8a; --faint: #5a5a5a;
  --yellow: #f5ff00; --laser: #00d4ff; --acid: #7fff00; --orange: #ff6b00; --coral: #ff4d4d; --purple: #7b6fd8;
  --display: 'Syne', system-ui, sans-serif; --body: 'DM Sans', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.55 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; letter-spacing: -0.01em; line-height: 1; margin: 0; }
.wrap { max-width: 64rem; margin: 0 auto; padding: 0 24px; }
.y { color: var(--yellow); }
.kicker { font: 700 0.75rem var(--body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); margin: 0 0 20px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 40; background: rgba(17, 17, 17, 0.85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 6px; text-decoration: none; }
.logo-text { font: 800 1.6rem/1 var(--display); letter-spacing: -0.02em; }
.logo-text span { color: var(--yellow); }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { font-size: 0.875rem; color: var(--muted); text-decoration: none; }
.nav-links a:hover { color: #fff; }

/* buttons */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--yellow); color: #111 !important; font: 700 1rem var(--body); border: 0; border-radius: 12px; padding: 12px 20px; text-decoration: none; cursor: pointer; transition: background 0.15s, transform 0.15s; }
.btn:hover { background: #fff; transform: translateY(-1px); }
.btn-sm { padding: 8px 16px; font-size: 0.875rem; border-radius: 10px; }
.btn-lg { padding: 16px 28px; font-size: 1.0625rem; border-radius: 14px; }
.btn-block { width: 100%; }
.nav-links a.btn { color: #111; }



@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* hero */
.hero { padding: 104px 0 112px; text-align: center; background: radial-gradient(ellipse at 50% 0%, rgba(245, 255, 0, 0.09), transparent 62%); }
h1.display { font-size: clamp(2.6rem, 7vw, 5.6rem); line-height: 0.95; text-wrap: balance; }
.lead { font-size: 1.1875rem; color: var(--muted); max-width: 46rem; margin: 28px auto 36px; text-wrap: balance; }
.cta-row { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.cta-note { font-size: 0.875rem; color: var(--dim); }
.chip { font: 700 0.8125rem var(--body); color: var(--muted); background: var(--bg2); border: 1px solid var(--line2); border-radius: 999px; padding: 7px 14px; cursor: pointer; transition: border-color 0.15s, color 0.15s, background 0.15s; }
.chip:hover { color: #fff; border-color: var(--faint); }
.chip[aria-pressed="true"] { background: var(--yellow); color: #111; border-color: var(--yellow); }


/* why — yellow band */
.yellow { background: var(--yellow); color: #111; padding: 80px 0; }
.yellow h2 { font-size: clamp(2rem, 5vw, 3.4rem); text-align: center; margin-bottom: 48px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: #111; color: var(--text); border-radius: 16px; padding: 20px 24px 24px; }
.card .ico { display: block; width: 64px; height: 64px; margin: 4px 0 14px; overflow: visible; transform: rotate(var(--r)); transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); }
.card:hover .ico { transform: rotate(0deg) scale(1.06); }
.card .ico-back { transition: transform 0.3s; }
.card:hover .ico-back { transform: translate(2px, 2px); }
.card h3 { font-size: 1.2rem; line-height: 1.1; margin-bottom: 8px; }
.card p { font-size: 0.875rem; color: var(--muted); margin: 0; }

/* quote */
.quote { border-top: 1px solid var(--line); padding: 72px 0 40px; text-align: center; }
.quote blockquote { font: 800 clamp(1.9rem, 5vw, 3.4rem)/1.08 var(--display); letter-spacing: -0.01em; margin: 0 auto; max-width: 46rem; }

/* founder */
.founder { background: #1d1b37; padding: 72px 0; }
.founder .wrap { max-width: 52rem; display: flex; align-items: center; gap: 44px; }
.avatar-wrap { position: relative; flex: none; }
.avatar { display: block; width: 132px; height: 132px; border-radius: 50%; object-fit: cover; border: 3px solid var(--yellow); }
.said-wrap h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); line-height: 1.08; margin: 0 0 16px; text-wrap: balance; }
.said { font: 400 1rem/1.65 var(--body); color: var(--muted); margin: 0; }
.said u { text-decoration: none; background: linear-gradient(transparent 62%, rgba(245, 255, 0, 0.35) 62%); }

/* toolkit lead-in */
.toolkit { border-top: 1px solid var(--line); padding: 88px 0 96px; }
.toolkit .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.toolkit h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 20px; }
.toolkit p { color: var(--muted); font-size: 1.0625rem; max-width: 30rem; margin: 0 0 28px; }
.sheets { position: relative; height: 560px; container-type: inline-size; }
.sheet { position: absolute; width: 44%; aspect-ratio: 0.77; background: #f5f5f5; color: #111; border-radius: 10px; padding: 3.2cqw; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5); transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }
.sheet::before { content: ""; display: block; height: 6px; width: 40%; border-radius: 3px; background: var(--c); margin-bottom: 12px; }
.sheet h4 { font-size: 2.7cqw; line-height: 1.1; margin-bottom: 3cqw; }
.sheet i { display: block; height: 2px; background: #d9d9d9; margin: 10px 0; }
.sheet i:nth-of-type(3n) { width: 70%; }
.s1 { left: 0; top: 20px; transform: rotate(-5deg); --c: var(--laser); }
.s2 { left: 5%; top: 92px; transform: rotate(2deg); --c: var(--coral); }
.s3 { left: 10%; top: 164px; transform: rotate(-2deg); --c: var(--acid); }
.s4 { left: 15%; top: 236px; transform: rotate(4deg); --c: var(--purple); }
.sheets:hover .s1 { transform: rotate(-8deg) translate(-10px, -6px); }
.sheets:hover .s2 { transform: rotate(4deg) translateX(6px); }
.sheets:hover .s3 { transform: rotate(-4deg) translateX(10px); }
.sheets:hover .s4 { transform: rotate(7deg) translate(14px, 6px); }

/* phone mockup (sized in em, scaled by the container) */
.phone { position: absolute; right: 0; top: 56px; width: 44cqw; font-size: 2.2cqw; aspect-ratio: 9 / 18.6; z-index: 6; padding: 0.55em; border-radius: 3.3em; background: #0a0a0a; border: 0.22em solid #2c2c2c; box-shadow: 0 2em 4em rgba(0, 0, 0, 0.6); transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }
.sheets:hover .phone { transform: translateY(-0.6em) rotate(1.5deg); }
.screen { position: relative; height: 100%; border-radius: 2.8em; background: var(--bg); overflow: hidden; display: flex; flex-direction: column; padding: 0.9em 1.1em 1em; }
.notch { position: absolute; top: 0.7em; left: 50%; width: 5.4em; height: 1.4em; margin-left: -2.7em; border-radius: 1em; background: #000; }
.status { display: flex; justify-content: space-between; font: 700 0.62em var(--body); color: var(--muted); padding: 0 0.6em; height: 1.8em; align-items: center; }
.app-head { display: flex; align-items: center; gap: 0.5em; margin: 1.4em 0 1em; }
.app-head b { display: block; font: 800 1.25em/1 var(--display); }
.app-head small { color: var(--dim); font-size: 0.72em; }
.menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55em; }
.menu li { display: grid; grid-template-columns: 1.7em 1fr auto; align-items: center; gap: 0.6em; padding: 0.75em 0.7em; border-radius: 1em; background: #1b1b1b; border: 0.08em solid #262626; transition: background 0.2s, border-color 0.2s; }
.menu i { display: grid; place-items: center; width: 1.7em; height: 1.7em; border-radius: 0.5em; background: var(--c); color: #111; font: 800 0.8em var(--display); font-style: normal; }
.menu span { font: 700 0.88em/1.15 var(--display); }
.menu em { color: var(--faint); font-style: normal; font-size: 1.1em; }
.menu li:hover { background: #242424; border-color: var(--c); }
.menu-full { gap: 0.2em; }
.menu-full li { padding: 0.32em 0.6em; border-radius: 0.8em; }
.menu-full span { font-size: 0.78em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* mini-course screen on the mockup */
.vid { position: absolute; left: 1%; bottom: 7%; width: 58cqw; font-size: 2.3cqw; z-index: 5; padding: 0.3em; border-radius: 1.1em; background: #0a0a0a; border: 0.18em solid #2c2c2c; transform: rotate(-2.5deg); transition: transform 0.3s; }
.vid::after { content: ""; position: absolute; left: -4%; right: -4%; bottom: -0.95em; height: 0.6em; border-radius: 0 0 1em 1em; background: #2c2c2c; }
.sheets:hover .vid { transform: rotate(-4deg) translateY(-0.4em); }
.vid-screen { border-radius: 0.8em; background: var(--bg); overflow: hidden; }
.vid-top { display: flex; align-items: center; gap: 0.5em; padding: 0.55em 0.8em; border-bottom: 0.08em solid #262626; }
.vid-top b { font: 800 0.85em/1 var(--display); }
.vid-dot { width: 0.7em; height: 0.7em; border-radius: 50%; background: var(--yellow); }
.vid-main { display: grid; grid-template-columns: 1.45fr 1fr; }
.vid-player { position: relative; display: flex; align-items: center; gap: 0.7em; padding: 0.8em 0.8em 1.6em; background: var(--yellow); color: #111; }
.vid-player img { flex: none; width: 4.2em; height: 4.2em; border-radius: 50%; object-fit: cover; border: 0.18em solid #111; }
.vid-player b { font: 800 0.88em/1.12 var(--display); letter-spacing: -0.01em; }
.vid .play { position: absolute; top: 3.3em; left: 3.5em; width: 1.7em; height: 1.7em; border-radius: 50%; background: #111; border: 0.12em solid var(--yellow); }
.vid .play::after { content: ""; position: absolute; left: 0.5em; top: 0.33em; border-left: 0.55em solid var(--yellow); border-top: 0.37em solid transparent; border-bottom: 0.37em solid transparent; }
.vid-bar { position: absolute; left: 0.8em; right: 0.8em; bottom: 0.6em; height: 0.28em; border-radius: 1em; background: rgba(17, 17, 17, 0.25); }
.vid-bar i { display: block; width: 38%; height: 100%; border-radius: 1em; background: #111; }
.vid-mods { list-style: none; margin: 0; padding: 0.4em 0.4em; display: grid; align-content: space-between; gap: 0.15em; background: #161616; }
.vid-mods li { display: flex; align-items: center; gap: 0.5em; padding: 0.3em 0.4em; border-radius: 0.5em; font: 700 0.72em/1.1 var(--display); color: var(--muted); white-space: nowrap; overflow: hidden; }
.vid-mods li.on { background: #262626; color: var(--text); }
.vid-mods i { flex: none; display: grid; place-items: center; width: 1.6em; height: 1.6em; border-radius: 0.4em; background: #2a2a2a; color: var(--text); font: 800 0.9em var(--display); font-style: normal; }
.vid-mods li.on i { background: var(--yellow); color: #111; }
.home-bar { margin: auto auto 0; width: 6em; height: 0.28em; border-radius: 1em; background: #3a3a3a; }
/* hover a menu row, lift the matching sheet */
.sheets:has(.menu li:nth-child(1):hover) .s1 { transform: rotate(-9deg) translate(-12px, -10px); }
.sheets:has(.menu li:nth-child(2):hover) .s2 { transform: rotate(4deg) translate(-6px, -10px); }
.sheets:has(.menu li:nth-child(3):hover) .s3 { transform: rotate(-4deg) translate(-4px, -10px); }
.sheets:has(.menu li:nth-child(4):hover) .s4 { transform: rotate(7deg) translate(-4px, -10px); }

/* mockup reused on the sales page */
.sale .sheets-sale { max-width: 440px; height: auto; aspect-ratio: 440 / 470; margin: 8px auto 56px; }

/* sales page */
.sale { padding: 56px 0 88px; }
.sale .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; align-items: start; }
.sale h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 0.95; }
.tagline { font-size: 1.1875rem; color: var(--muted); margin: 22px 0 18px; max-width: 36rem; }
.stars { color: var(--yellow); letter-spacing: 3px; font-size: 1.2rem; }
.note { color: var(--text); font-weight: 500; margin: 8px 0 0; }
.pill { display: inline-block; font: 700 0.7rem var(--body); letter-spacing: 0.08em; text-transform: uppercase; color: #111; background: var(--laser); border-radius: 999px; padding: 4px 12px; margin-bottom: 18px; }
.block { margin-top: 64px; }
.block-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.block h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
.block h3.sub { font-size: clamp(1.15rem, 2.4vw, 1.5rem); color: var(--yellow); margin: 4px 0 18px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.checks li { display: grid; grid-template-columns: 28px 1fr; gap: 6px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.checks li::before { content: "✓"; color: var(--acid); font-weight: 700; }
.checks li b { color: var(--text); font-weight: 700; }
.checks li b.y { color: var(--yellow); }
.checks.go li::before { content: "→"; color: var(--laser); }
.legal { margin-top: 40px; font-size: 0.8125rem; color: var(--dim); }
.buy { position: sticky; top: 168px; margin-top: 76px; }
.buy-card { position: relative; background: var(--card); border: 1px solid var(--line2); border-radius: 22px; padding: 26px; }
.prod { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.prod .ico { width: 44px; height: 44px; border-radius: 10px; background: var(--yellow); display: grid; place-items: center; flex: none; }
.prod b { display: block; font-size: 0.95rem; }
.prod small { color: var(--dim); font-size: 0.8125rem; }
.price-row { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 22px; }
.price { font: 800 2.8rem/1 var(--display); }
.price-row span:not(.price) { color: var(--dim); font-size: 0.875rem; }
.buy-card .fine { color: var(--dim); font-size: 0.875rem; margin: 0 0 22px; }
.buy-card .btn { margin-bottom: 18px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 0.875rem; color: var(--muted); }
.ticks li::before { content: "✓"; color: var(--acid); font-weight: 700; margin-right: 10px; }
.support { margin-top: 18px; font-size: 0.875rem; color: var(--dim); text-align: center; }
.support a { color: var(--muted); }
details { border-top: 1px solid var(--line); padding: 20px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; font: 700 1.125rem/1.2 var(--display); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--yellow); font-size: 1.5rem; line-height: 1; transition: transform 0.2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 14px 0 0; color: var(--muted); max-width: 40rem; }

.thanks { padding: 56px 0 96px; text-align: center; }
.thanks h1.display { font-size: clamp(3rem, 9vw, 6rem); }
.thanks .lead { margin: 20px auto 32px; }
.thanks .cta-note { margin: 18px 0 0; }
.thanks .cta-note a { color: var(--muted); }

/* forms + account pages */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.authform { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 34rem; margin: 0 auto; }
.authform input { flex: 1 1 14rem; min-width: 0; background: var(--bg2); color: var(--text); border: 1px solid var(--line2); border-radius: 12px; padding: 14px 16px; font: 500 1rem var(--body); }
.authform input:focus { outline: 2px solid var(--yellow); outline-offset: 1px; border-color: transparent; }
.form-msg { min-height: 1.5em; margin: 14px 0 0; color: var(--muted); font-size: 0.9375rem; }
.auth, .appwrap { padding: 56px 0 96px; }
.auth { text-align: center; }
.auth h1 { font-size: clamp(2.4rem, 7vw, 4.4rem); line-height: 0.98; }
.auth .lead { margin: 18px auto 28px; max-width: 32rem; }
.auth [hidden], .kit-grid[hidden] { display: none; }
.linklike { background: none; border: 0; padding: 0; color: var(--muted); font: 500 0.9375rem var(--body); text-decoration: underline; text-decoration-color: var(--yellow); text-underline-offset: 3px; cursor: pointer; }
.linklike:hover { color: #fff; }
#c-code { letter-spacing: 0.25em; font-weight: 700; text-align: center; flex: 0 1 9rem; }
.thanks-resend { margin: 36px auto 8px; }
.app-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.app-top h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
.backlink { color: var(--muted); text-decoration: none; text-transform: none; letter-spacing: 0; font-size: 0.9375rem; }
.backlink:hover { color: #fff; }
.tile-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.tile { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 24px 24px 26px; min-height: 230px; text-decoration: none; color: var(--text);
  background: var(--card); border: 1px solid var(--line2); border-radius: 22px; transition: border-color 0.2s, transform 0.2s, background 0.2s; }
.tile:hover, .tile:focus-visible { border-color: var(--yellow); transform: translateY(-3px); background: #1b1b1b; outline: none; }
.tile h2 { font-size: 1.9rem; }
.tile p { margin: 4px 0 18px; color: var(--muted); font-size: 0.9375rem; }
.tile .tagpill, .tile .tile-go { margin-top: auto; }
.tile-go { font-weight: 700; color: var(--yellow); }
.a2hs-row { margin: 28px 0 0; }
.soon-card { max-width: 34rem; background: var(--card); border: 1px solid var(--line2); border-radius: 22px; padding: 28px; }
.soon-card h2 { font-size: 1.9rem; margin-bottom: 8px; }
.soon-card p { color: var(--muted); margin: 0 0 18px; }
.soon-card[hidden], .tile-grid[hidden], .tile[hidden], .a2hs-row[hidden] { display: none; }

/* add-to-home-screen modal */
dialog.a2hs { width: min(30rem, calc(100vw - 32px)); max-height: calc(100vh - 48px); overflow: auto; margin: auto; padding: 28px 26px 24px; color: var(--text);
  background: #1d1b37; border: 1px solid var(--line2); border-radius: 22px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); }
dialog.a2hs::backdrop { background: rgba(0, 0, 0, 0.72); }
.a2hs-close { position: absolute; top: 10px; right: 12px; margin: 0; }
.a2hs-close button { font: 400 1.8rem/1 var(--body); color: var(--muted); background: none; border: 0; cursor: pointer; width: 40px; height: 40px; border-radius: 10px; }
.a2hs-close button:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.a2hs h2 { font-size: 1.5rem; line-height: 1.1; margin: 0 40px 10px 0; }
.a2hs-lead { margin: 0 0 16px; color: var(--muted); }
.a2hs-tabs { display: flex; gap: 8px; margin-bottom: 18px; }
.a2hs-steps { list-style: none; counter-reset: s; margin: 0 0 16px; padding: 0; display: grid; gap: 12px; }
.a2hs-steps li { counter-increment: s; display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; color: var(--text); }
.a2hs-steps li::before { content: counter(s); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--yellow); color: #111; font: 800 0.9rem var(--display); }
.a2hs-steps[hidden] { display: none; }
.a2hs .gl { vertical-align: -3px; margin: 0 2px; color: var(--laser); }
.a2hs-note { margin: 18px 0 0; font-size: 0.875rem; color: var(--dim); }

.kit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.kit-card { background: var(--card); border: 1px solid var(--line2); border-radius: 20px; padding: 22px 22px 26px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.kit-card h2 { font-size: 1.3rem; line-height: 1.1; }
.kit-card p { margin: 4px 0 14px; color: var(--muted); font-size: 0.9375rem; }
.kit-card .btn, .kit-card .tagpill { margin-top: auto; }
.kit-card.soon { opacity: 0.85; }
.tagpill { display: inline-block; font: 700 0.72rem var(--body); letter-spacing: 0.08em; text-transform: uppercase; color: #111; background: var(--laser); border-radius: 999px; padding: 6px 14px; }

/* legal + support pages */
.doc { padding: 56px 0 96px; }
.doc .wrap { max-width: 46rem; }
.doc h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); margin-bottom: 8px; }
.doc-date { color: var(--dim); font-size: 0.875rem; margin: 0 0 28px; }
.doc-lead { font-size: 1.1875rem; color: var(--muted); margin: 18px 0 8px; }
.doc h2 { font-size: 1.3rem; margin: 36px 0 10px; }
.doc p { color: var(--muted); margin: 0 0 14px; }
.doc a { color: var(--text); text-decoration-color: var(--yellow); text-underline-offset: 3px; }
.doc a.btn { color: #111; text-decoration: none; }
.doc details { margin: 0; }

/* footer */
.foot .wrap.def { display: flex; align-items: center; justify-content: flex-start; gap: 28px; margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 0.9375rem; }
.def-text { max-width: 40rem; }
.def p { margin: 0; }
.def-word { color: var(--text); margin-bottom: 8px !important; }
.def-word b { font: 800 1.25rem var(--display); }
.def-word i { color: var(--dim); font-size: 0.875rem; margin-left: 6px; }
.def ol { margin: 0 0 10px; padding-left: 1.25rem; }
.def li { margin: 3px 0; }
.def li::marker { color: var(--yellow); font-weight: 700; }
.han { color: var(--yellow); font-weight: 700; margin-right: 4px; }
.def-use { color: var(--dim); }

.foot { border-top: 1px solid var(--line); padding: 32px 0; color: var(--dim); font-size: 0.875rem; }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; justify-content: space-between; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot a { text-decoration: none; color: var(--muted); }
.foot a:hover { color: #fff; }

@media (max-width: 480px) {
  .foot .wrap.def { gap: 14px; }
  .logo-text { font-size: 1.35rem; }
  .nav .wrap { padding: 0 16px; }
  .nav .btn-sm { padding: 8px 12px; }
}

@media (max-width: 560px) {
  /* dashboard: all four tiles on one phone screen (2x2, compact) */
  .appwrap { padding: 20px 0 40px; }
  .app-top { margin-bottom: 16px; align-items: center; }
  .app-top h1 { font-size: 1.55rem; white-space: nowrap; }
  .app-top .chip { white-space: nowrap; padding: 6px 12px; font-size: 0.75rem; flex: none; }
  .app-top .kicker { margin-bottom: 8px; }
  .tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .tile { min-height: 0; padding: 12px 14px 16px; border-radius: 18px; gap: 0; }
  .tile h2 { font-size: clamp(0.85rem, 3.9vw, 1.05rem); }
  .tile p { font-size: 0.78rem; line-height: 1.3; margin: 4px 0 10px; }
  .tile .tagpill { font-size: 0.58rem; padding: 4px 9px; letter-spacing: 0.05em; }
  .tile-go { font-size: 0.8rem; }
  .a2hs-row { margin-top: 18px; }
  .soon-card { padding: 20px; }
}
@media (max-width: 360px) {
  .app-top h1 { font-size: 1.3rem; }
  .app-top .chip { padding: 5px 10px; }
}
@media (max-width: 560px) and (max-height: 700px) {
  .tile p { margin-bottom: 8px; }
}
/* keep clear of the notch / home bar when installed */
.nav { padding-top: env(safe-area-inset-top); }
body { padding-bottom: env(safe-area-inset-bottom); }

@media (max-width: 820px) {
  .toolkit .wrap { grid-template-columns: 1fr; gap: 40px; }
  .founder .wrap { flex-direction: column; text-align: center; gap: 36px; }
  .hero { padding: 64px 0 72px; }
  .cards { grid-template-columns: 1fr; }
  .sheets { max-width: 420px; margin: 24px auto 0; width: 100%; }
  .sale .wrap { grid-template-columns: 1fr; gap: 56px; }
  .buy { position: static; margin-top: 32px; }
  .nav-links .hide-s { display: none; }
}
