/* Tokens, body type and the phone screen mirror apps/senior (ParasolTheme.kt,
   HomeScreen.kt, HomeTile.kt), so the mockup reads as a screenshot. Keep
   them in step. Sora is the page's display face only; the app has none. */
/* Plus Jakarta Sans and Sora (OFL, fonts/OFL.txt), self-hosted so
   opening the page sends nothing to Google. Polish needs latin-ext. */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/jakarta-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/jakarta-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url('fonts/sora-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url('fonts/sora-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  color-scheme: light;
  --pine: #123a2e;
  --on-pine: #b9cfc7;
  --pine-line: #2f5a4c;
  --apricot: #e8834a;
  --apricot-deep: #ad5525;
  --apricot-fill: #fdf3ec;
  --apricot-line: #f0d9c9;
  --body-strong: #3f5f55;
  --muted: #6c8b80;
  --border: #e4ebe7;
  --border-strong: #cfe0d8;
  --surface: #ffffff;
  --surface-alt: #f7faf8;
  --font: 'Plus Jakarta Sans', system-ui, sans-serif;
  --display: 'Sora', 'Plus Jakarta Sans', system-ui, sans-serif;
  --inset: clamp(8px, 1vw, 14px);
  --panel-radius: clamp(26px, 3.2vw, 44px);
  --section-gap: clamp(72px, 9vw, 136px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-tap-highlight-color: transparent; }
a, button, label, summary { touch-action: manipulation; }
body { margin: 0; font-family: var(--font); font-weight: 500; color: var(--pine); background: var(--surface); font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 0.2em; }
/* Apricot is under 3:1 on the light panels; the pine panel switches back to it. */
:focus-visible { outline: 3px solid var(--apricot-deep); outline-offset: 3px; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[id] { scroll-margin-top: 24px; }

.skip { position: absolute; left: 16px; top: -100px; padding: 12px 20px; background: var(--pine); color: var(--surface); border-radius: 14px; z-index: 10; }
.skip:focus { top: 16px; }
.wrap { max-width: 1280px; margin: 0 auto; padding-inline: clamp(18px, 4vw, 56px); }
.ico.ico--thin { stroke-width: 2; }
.ico { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.display { font-family: var(--display); font-weight: 700; font-size: clamp(30px, 4vw, 56px); line-height: 1.1; letter-spacing: -0.045em; }

/* Header and hero are one panel, split only so the header stays outside <main>. */
.top { margin: var(--inset) var(--inset) 0; border-radius: var(--panel-radius) var(--panel-radius) 0 0; background: var(--apricot-fill); }
.top__in { display: flex; align-items: center; justify-content: space-between; min-height: clamp(72px, 7vw, 96px); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 26px; letter-spacing: -0.04em; text-decoration: none; }
.logo svg { width: 30px; height: 30px; }
.top .link { font-weight: 700; text-decoration: none; padding: 10px 18px; border: 1.5px solid var(--apricot-line); border-radius: 999px; transition: border-color 150ms ease; }
.top .link:hover { border-color: var(--pine); }

.hero-panel { margin: 0 var(--inset); border-radius: 0 0 var(--panel-radius) var(--panel-radius); background: var(--apricot-fill); overflow: hidden; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 40px clamp(40px, 7vw, 120px); padding-block: clamp(16px, 2.4vw, 32px) clamp(40px, 5vw, 72px); }
.hero h1 { font-family: var(--display); font-weight: 700; font-size: clamp(36px, 4.9vw, 72px); line-height: 1.08; letter-spacing: -0.045em; text-wrap: wrap; }
.hero__copy p { margin-top: clamp(20px, 2.2vw, 30px); color: var(--body-strong); font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; max-width: 40ch; }
.cta { margin-top: clamp(26px, 3vw, 40px); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; color: var(--body-strong); font-size: 16px; }
/* Google's badge rules: official artwork only, unmodified, linked to the
   listing, with clear space of at least a quarter of its height around it. */
.badge { display: inline-block; line-height: 0; border-radius: 8px; }
.badge img { display: block; height: 60px; width: auto; }

/* The disc is the logo's canopy seen head-on. */
.hero__stage { position: relative; isolation: isolate; padding-inline: clamp(24px, 5vw, 80px); }
.hero__stage::before { content: ''; position: absolute; z-index: -1; left: 50%; top: 50%; width: 132%; max-width: 100%; aspect-ratio: 1; translate: -50% -42%; border-radius: 50%; background: var(--pine); }
@media (max-width: 720px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero__stage { justify-self: center; margin-top: 8px; }
}

/* The screen is laid out at Android dp (360 × 780, a common phone) and
   zoomed into the bezel, so every size inside it is the app's own value. */
.device { --zoom: 0.78; position: relative; padding: 7px; border-radius: 38px; background: #171c1a; box-shadow: 0 30px 60px -20px rgb(8 30 23 / 0.6); }
.screen { zoom: var(--zoom); width: 360px; height: 780px; border-radius: 44px; overflow: hidden; background: #fff; display: flex; flex-direction: column; font-family: var(--font); font-weight: 800; color: var(--pine); }
.status { flex: none; height: 32px; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; font: 500 14px/1 system-ui, sans-serif; color: #1b1f1e; position: relative; }
.status::after { content: ''; position: absolute; left: 50%; top: 9px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: #171c1a; }
.status svg { width: 15px; height: 15px; fill: #1b1f1e; }
.status span:last-child { display: flex; gap: 5px; align-items: center; }
.home { flex: 1; display: flex; flex-direction: column; padding: 14px 20px 0; min-height: 0; }
.home__date { font-size: 17px; line-height: 1.35; letter-spacing: 0.06em; color: var(--body-strong); }
.home__hello { margin-top: 4px; font-size: 30px; line-height: 1.3; letter-spacing: -0.04em; }
.home__tiles { flex: 1; min-height: 0; margin-top: 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(0, 1fr); gap: 12px; }
.app-tile { position: relative; border: 1.5px solid var(--pine); border-radius: 18px; padding: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; font-size: 19px; line-height: 1.3; letter-spacing: -0.02em; }
.app-tile svg { width: 38px; height: 38px; }
.app-tile__badge { position: absolute; top: 8px; right: 8px; padding: 2px 8px; border-radius: 10px; background: var(--pine); color: var(--surface); font-size: 15px; line-height: 21px; }
.home__more { margin-block: 12px 12px; min-height: 44px; padding: 14px; border: 1px solid var(--border); border-radius: 18px; display: flex; align-items: center; gap: 14px; font-size: 22px; line-height: 1.3; letter-spacing: -0.02em; }
.home__more svg:first-child { width: 34px; height: 34px; }
.home__more span { flex: 1; }
.home__more svg:last-child { width: 24px; height: 24px; stroke-width: 2.6; }
.navbar { flex: none; height: 24px; display: grid; place-items: center; }
.navbar::before { content: ''; width: 108px; height: 4px; border-radius: 2px; background: #1b1f1e; }

.same { padding-top: var(--section-gap); }
/* Outlined like the launcher's own tiles. */
.facts { margin-top: clamp(28px, 3.6vw, 52px); display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 16px); }
.facts li { grid-column: span 2; display: flex; flex-direction: column; justify-content: space-between; gap: clamp(28px, 5vw, 72px); padding: clamp(22px, 2.6vw, 36px); border: 1.5px solid var(--pine); border-radius: 28px; }
.facts .fact--wide { grid-column: span 3; }
.facts__ico { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: var(--pine); color: var(--surface); }
.facts__ico .ico { width: 30px; height: 30px; }
.facts h3, .steps h3 { font-size: clamp(21px, 1.9vw, 26px); line-height: 1.25; font-weight: 800; letter-spacing: -0.03em; }
.facts p, .steps p { margin-top: 6px; color: var(--body-strong); font-size: 18px; line-height: 1.55; max-width: 44ch; }
.dens { display: flex; align-items: flex-end; gap: clamp(12px, 2vw, 28px); }
.dens span { display: grid; justify-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 22px; line-height: 1; letter-spacing: -0.03em; }
.dens svg { width: clamp(48px, 5.4vw, 72px); height: auto; fill: var(--pine); }
.dens .frame { fill: none; stroke: var(--border-strong); stroke-width: 2; }
.sizes { display: flex; align-items: baseline; gap: clamp(14px, 2vw, 28px); font-family: var(--display); font-weight: 700; line-height: 1; letter-spacing: -0.05em; }
.sizes span:nth-child(1) { font-size: clamp(34px, 3.6vw, 52px); color: var(--muted); }
.sizes span:nth-child(2) { font-size: clamp(52px, 5.6vw, 80px); color: var(--body-strong); }
.sizes span:nth-child(3) { font-size: clamp(76px, 8.4vw, 120px); }
@media (max-width: 900px) { .facts li, .facts .fact--wide { grid-column: span 6; } .facts li { gap: 28px; } }

.start-panel { margin: var(--section-gap) var(--inset) 0; padding-block: clamp(48px, 7vw, 104px); border-radius: var(--panel-radius); background: var(--pine); color: var(--surface); }
.start-panel :focus-visible { outline-color: var(--apricot); }
.start { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: start; gap: 48px clamp(40px, 7vw, 112px); }
.start__intro > p { margin-top: clamp(16px, 1.8vw, 24px); color: var(--on-pine); font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; max-width: 30ch; }
.start-panel .cta { color: var(--on-pine); }
.steps { counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: clamp(64px, 8vw, 112px) minmax(0, 1fr); align-items: center; gap: clamp(16px, 2.4vw, 32px); padding-block: clamp(22px, 2.6vw, 34px); border-top: 1.5px solid var(--pine-line); }
.steps li:first-child { padding-top: 0; border-top: 0; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before { content: counter(s); font-family: var(--display); font-weight: 700; font-size: clamp(64px, 7.4vw, 108px); line-height: 0.9; letter-spacing: -0.05em; color: var(--apricot); }
.steps h3 { font-size: clamp(22px, 2.2vw, 30px); }
.steps p { color: var(--on-pine); }
@media (max-width: 860px) { .start { grid-template-columns: minmax(0, 1fr); } }

.site-footer { margin: var(--inset); border-radius: var(--panel-radius); background: var(--surface-alt); color: var(--body-strong); font-size: 16px; }
.site-footer a:hover { color: var(--apricot-deep); }
.site-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 32px 48px; padding-block: clamp(40px, 5vw, 64px) 32px; }
.site-footer__brand { display: flex; flex-direction: column; gap: 10px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 12px 32px; font-weight: 700; color: var(--pine); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 20px 32px; border-top: 1px solid var(--border); font-size: 14px; }

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