@font-face {
  font-family: "Google Sans Flex";
  src: url("/assets/fonts/google-sans-flex.woff2") format("woff2");
  font-weight: 1 1000;
  font-stretch: 75% 115%;
  font-display: swap;
}

/* The app's generated Iris dark scheme (ColorGeneration.kt): the default look */
:root {
  --primary: #C4BADE; --on-primary: #2B2145;
  --primary-container: #403168; --on-primary-container: #E1DCEF;
  --secondary: #DDBFE0; --secondary-container: #5B3B5E; --on-secondary-container: #EAE0EB;
  --tertiary: #E5C1B8; --tertiary-container: #623F37; --on-tertiary-container: #EDE1DE;
  --bg: #0E0D12; --low: #17151E; --sc: #1C1924; --high: #282433; --highest: #322D3F;
  --on: #E3E1EA; --onv: #C8C3D5; --outline: #938CA6; --ov: #463F5A;
  --success: #30D158; --error: #FF453A;
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  background: var(--bg); color: var(--on);
  font-family: "Google Sans Flex", system-ui, sans-serif; font-optical-sizing: auto;
  font-variation-settings: "ROND" 50, "GRAD" 20;
  font-size: 16px; line-height: 24px; letter-spacing: .5px;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 600px) { .wrap { padding: 0 32px; } }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 8px; }

.icon {
  font-family: "Material Symbols Rounded"; font-weight: normal; font-style: normal; font-size: 24px; line-height: 1;
  display: inline-block; white-space: nowrap; letter-spacing: 0; font-feature-settings: "liga";
  font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24;
}

/* Type: the app's display sculpt (round 70) for headings, body sculpt for text */
.display, .headline, .title { font-variation-settings: "ROND" 70, "GRAD" 0; color: var(--on); letter-spacing: 0; }
.display { font-size: clamp(40px, 6vw, 60px); line-height: 1.08; font-weight: 700; letter-spacing: -.5px; }
.display em { font-style: normal; color: var(--primary); }
.headline { font-size: clamp(28px, 3.6vw, 36px); line-height: 1.2; font-weight: 700; }
.title { font-size: 22px; line-height: 28px; font-weight: 600; }
.muted { color: var(--onv); }

/* Wordmark, as Type.kt builds it: wght 700, round 70, grade 30, slant -5, beside the Rollo mark */
.wordmark { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--on); }
.wordmark svg { width: 30px; height: 30px; fill: currentColor; shape-rendering: crispEdges; }
.wordmark span { font-size: 22px; line-height: 28px; font-weight: 700; letter-spacing: -.5px; font-variation-settings: "ROND" 70, "GRAD" 30, "slnt" -5, "opsz" 22; white-space: nowrap; }
.wordmark.lg svg { width: 40px; height: 40px; }
.wordmark.lg span { font-size: 32px; line-height: 36px; letter-spacing: -.8px; }

/* What's new strip */
.news { display: flex; justify-content: center; align-items: center; gap: 8px; min-height: 40px; padding: 8px 16px; background: var(--primary-container); color: var(--on-primary-container); text-decoration: none; font-size: 14px; line-height: 20px; font-weight: 600; text-align: center; }
.news .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); flex: none; }
.news .icon { font-size: 18px; }
.news:hover .t { text-decoration: underline; text-underline-offset: 3px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.bar { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.bar nav { display: flex; align-items: center; gap: 4px; }
.bar nav a.link { text-decoration: none; height: 40px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 20px; color: var(--onv); font-size: 14px; font-weight: 500; letter-spacing: .1px; }
.bar nav a.link:hover, .bar nav a.link[aria-current="page"] { color: var(--on); background: var(--high); }
@media (max-width: 719px) { .bar nav a.link { display: none; } }

/* Buttons: the app's AppGroupButton (pill, titleMedium bold) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 20px; border-radius: 20px; border: 0; background: var(--primary); color: var(--on-primary); text-decoration: none; font: inherit; font-size: 14px; font-weight: 600; letter-spacing: .1px; cursor: pointer; transition: transform 100ms cubic-bezier(.4,0,.2,1), filter 150ms; }
.btn:hover { filter: brightness(1.07); }
.btn:active { transform: scale(.96); }
.btn-play { height: 64px; padding: 0 28px 0 22px; border-radius: 32px; gap: 14px; font-size: 17px; font-weight: 700; font-variation-settings: "ROND" 70; letter-spacing: 0; }
.btn-play svg { width: 26px; height: 28px; }
.btn-play span { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.btn-play small { font-size: 12px; font-weight: 600; opacity: .8; letter-spacing: .3px; }

/* M3 assist chips: 32dp, 8dp corners, 1dp outline, 18dp leading icon */
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 16px 0 8px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--ov); color: var(--on); font-size: 14px; line-height: 20px; font-weight: 500; letter-spacing: .1px; }
.chip .icon { font-size: 18px; color: var(--primary); }

/* Hero */
.hero { display: grid; gap: 40px; padding: 24px 0 64px; align-items: center; }
@media (min-width: 900px) { .hero { grid-template-columns: 1.1fr .9fr; gap: 48px; padding: 8px 0 72px; } }
.hero .kicker { font-size: 18px; line-height: 26px; color: var(--onv); }
.hero .display { margin-top: 12px; }
.hero .lead { font-size: 19px; line-height: 29px; color: var(--onv); margin-top: 20px; max-width: 30em; }
.hero .cta { margin-top: 32px; }
.hero .chips { margin-top: 24px; }
.hero-visual { display: grid; justify-items: center; }
.hero-visual .rollo { width: 290px; margin: -110px 0 -33px; position: relative; z-index: 2; pointer-events: none; } /* feet on row 40 of a 45-cell canvas */

/* Sections */
section { padding: 72px 0; }
.sec-head { margin-bottom: 32px; max-width: 42em; }
.sec-head .muted { margin-top: 10px; font-size: 17px; line-height: 26px; }

/* Meters */
.meters { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .meters { grid-template-columns: 1fr 1fr; gap: 48px; } }
.meter-card { border-radius: 28px; padding: 32px; background: var(--primary-container); color: var(--on-primary-container); }
.meter-card .lbl { font-size: 14px; font-weight: 700; opacity: .8; }
.meter-card .num { font-size: clamp(72px, 11vw, 112px); line-height: 1; font-weight: 700; font-variation-settings: "wdth" 115, "ROND" 70; letter-spacing: -2px; margin-top: 8px; font-variant-numeric: tabular-nums; }
.meter-card .num small { font-size: .38em; letter-spacing: 0; opacity: .8; }
.meter-card .cmp { margin-top: 12px; font-size: 17px; font-weight: 600; min-height: 26px; }

/* Screens carousel */
.carousel { display: flex; gap: 32px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 16px 24px; margin: 0 -16px; scrollbar-width: none; }
.carousel::-webkit-scrollbar { display: none; }
@media (min-width: 600px) { .carousel { padding: 8px 32px 24px; margin: 0 -32px; } }
.shot { scroll-snap-align: center; display: grid; gap: 16px; justify-items: center; flex: none; }
.shot figcaption { width: 300px; text-align: center; }
.shot figcaption b { display: block; color: var(--on); font-size: 16px; line-height: 24px; font-weight: 600; letter-spacing: .15px; }
.shot figcaption span { display: block; color: var(--onv); font-size: 14px; line-height: 20px; margin-top: 2px; }
.carousel-nav { display: flex; gap: 4px; justify-content: center; }
.carousel-nav button { width: 48px; height: 48px; border: 0; background: var(--high); color: var(--on); cursor: pointer; display: grid; place-items: center; border-radius: 24px 8px 8px 24px; }
.carousel-nav button + button { border-radius: 8px 24px 24px 8px; }
.carousel-nav button:hover { background: var(--highest); }

/* Grouped list cards (AppListItemCard): 28 outer / 8 inner, 4dp seams */
.list { display: grid; gap: 4px; padding: 0; list-style: none; }
.list > * { background: var(--high); border-radius: 8px; display: flex; align-items: center; gap: 16px; padding: 12px 16px; min-height: 64px; color: var(--on); text-decoration: none; }
.list > :first-child { border-top-left-radius: 28px; border-top-right-radius: 28px; }
.list > :last-child { border-bottom-left-radius: 28px; border-bottom-right-radius: 28px; }
.list .icon.lead { font-size: 28px; color: var(--primary); flex: none; }
.list .txt { flex: 1; min-width: 0; }
.list b { display: block; font-size: 16px; line-height: 24px; font-weight: 600; letter-spacing: .15px; }
.list .txt span { display: block; font-size: 14px; line-height: 20px; color: var(--onv); }
.list .chev { color: var(--onv); }
.list button { font: inherit; border: 0; cursor: pointer; text-align: left; width: 100%; }
.list button:hover, .list a:hover { background: var(--highest); }

/* Rollo */
.rollo-band { display: grid; gap: 16px; align-items: center; background: var(--low); border-radius: 28px; padding: 32px; overflow: hidden; }
@media (min-width: 800px) { .rollo-band { grid-template-columns: 280px 1fr; padding: 40px 48px; gap: 40px; } }
.rollo-band .rollo { width: 280px; justify-self: center; margin: -36px 0 -44px; }
.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border-radius: 6px; background: var(--tertiary-container); color: var(--on-tertiary-container); font-size: 12px; font-weight: 700; letter-spacing: .5px; }
.rollo-band p { color: var(--onv); margin-top: 12px; max-width: 36em; font-size: 17px; line-height: 26px; }
.chat { display: grid; gap: 10px; margin-top: 20px; max-width: 440px; }
.chat .me { justify-self: end; background: var(--primary); color: var(--on-primary); padding: 8px 16px; border-radius: 22px; font-size: 16px; line-height: 24px; font-weight: 600; }
.chat .him { color: var(--on); font-size: 16px; line-height: 24px; }

/* Privacy */
.privacy { display: grid; gap: 24px; }
@media (min-width: 900px) { .privacy { grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; } }
.text-link { display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 12px; margin-left: -12px; border-radius: 20px; color: var(--primary); text-decoration: none; font-weight: 600; font-size: 14px; letter-spacing: .1px; }
.text-link:hover { background: color-mix(in srgb, var(--primary) 10%, transparent); }
.text-link .icon { font-size: 18px; }
.privacy .text-link { margin-top: 16px; }

/* My story: the app's About screen */
.about { max-width: 640px; margin: 0 auto; display: grid; justify-items: center; text-align: center; }
.about .rollo { width: 240px; margin: -96px 0 -28px; pointer-events: none; }
.about h2 { font-size: 28px; line-height: 36px; font-weight: 700; }
.about .role { color: var(--onv); }
.about .jstat { margin-top: 4px; font-size: 14px; color: var(--onv); }
.story-card { margin-top: 24px; text-align: left; border-radius: 28px; padding: 24px; background: color-mix(in srgb, var(--primary-container) 35%, var(--bg)); display: grid; gap: 16px; }
.story-card p { font-size: 22px; line-height: 28px; font-weight: 700; color: var(--primary); font-variation-settings: "wdth" 115, "ROND" 70; letter-spacing: 0; }
.story-card .link { color: var(--secondary); text-decoration: underline; text-underline-offset: 4px; }
.helped { width: 100%; text-align: left; margin-top: 24px; }
.helped h3 { font-size: 24px; line-height: 32px; font-weight: 700; margin-bottom: 16px; font-variation-settings: "ROND" 70; }

/* Reference sheet (RefInfoSheet) */
dialog.sheet { border: 0; padding: 0; margin: auto auto 0; width: min(560px, 100%); max-height: 90vh; background: var(--low); color: var(--on); border-radius: 28px 28px 0 0; }
@media (min-width: 600px) { dialog.sheet { margin: auto; border-radius: 28px; } }
dialog.sheet::backdrop { background: rgba(0,0,0,.55); }
.sheet-in { padding: 12px 24px 24px; display: grid; gap: 16px; }
.sheet .handle { width: 32px; height: 4px; border-radius: 2px; background: var(--onv); opacity: .4; justify-self: center; }
.sheet h4 { font-size: 22px; line-height: 28px; font-weight: 700; font-variation-settings: "ROND" 70; }
.sheet .cover img { height: 220px; width: auto; border-radius: 12px; }
.sheet blockquote { font-size: 20px; line-height: 28px; font-weight: 700; font-variation-settings: "wdth" 115, "ROND" 70; color: var(--on); letter-spacing: 0; }
.sheet blockquote mark { background: var(--primary); color: var(--on-primary); padding: 0 4px; border-radius: 4px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.sheet p { color: var(--onv); }
.sheet .row { display: flex; gap: 8px; }
.sheet .row .btn { flex: 1; height: 48px; border-radius: 24px; }
.sheet .row .btn.tonal { background: var(--high); color: var(--on); }

/* Our journey: the app's release section */
.releases { display: grid; }
.release { padding: 28px 0 32px; border-top: 1px solid var(--ov); }
.release:first-child { border-top: 0; padding-top: 0; }
.rel-top { display: flex; align-items: center; justify-content: space-between; }
.phase { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 8px; background: var(--primary-container); color: var(--on-primary-container); font-size: 14px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; font-variation-settings: "wdth" 75, "ROND" 50; }
.phase.later { background: var(--high); color: var(--onv); }
.rel-date { font-size: 14px; font-weight: 500; color: var(--onv); }
.rel-v { font-size: clamp(36px, 5vw, 45px); line-height: 1.15; font-weight: 700; margin-top: 16px; font-variation-settings: "ROND" 70; color: var(--on); letter-spacing: 0; }
.rel-t { font-size: 24px; line-height: 32px; font-weight: 600; color: var(--primary); margin-top: 4px; font-variation-settings: "ROND" 70; letter-spacing: 0; }
.diff { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 16px; font-weight: 600; font-variation-settings: "wdth" 75; font-variant-numeric: tabular-nums; }
.diff .icon { font-size: 16px; color: var(--onv); }
.diff .blocks { display: flex; gap: 2px; }
.diff .blocks i { width: 16px; height: 16px; border-radius: 5px; background: var(--success); }
.diff .blocks i.rm { background: var(--error) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect x='2.5' y='2.5' width='11' height='11' rx='3' fill='none' stroke='%230E0D12'/%3E%3Cpath d='M2 8 8 2M2 14 14 2M8 14 14 8' stroke='%230E0D12' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.diff .add { color: var(--success); margin-left: auto; } .diff .del { color: var(--error); }
.points { list-style: none; padding: 0; margin-top: 16px; display: grid; gap: 8px; }
.points li { display: flex; gap: 16px; font-size: 18px; line-height: 26px; font-weight: 500; color: var(--on); letter-spacing: .15px; }
.points li svg { width: 16px; height: 16px; flex: none; margin-top: 5px; }
.points li svg path { fill: var(--primary); }
.points strong { color: var(--primary); font-weight: 600; }

/* Closing */
.closing { text-align: center; display: grid; justify-items: center; gap: 12px; padding: 56px 24px 48px; background: var(--low); border-radius: 28px; }
.closing .rollo { width: 220px; margin: -100px 0 -30px; pointer-events: none; }
.closing .btn-play { margin-top: 12px; }

/* Footer: separate lines, like the app's footer */
.site-footer { padding: 48px 0 120px; margin-top: 24px; border-top: 1px solid var(--ov); }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.foot-top .tagline { margin-top: 10px; color: var(--primary); font-weight: 700; font-variation-settings: "ROND" 70, "GRAD" 30, "slnt" -5; font-size: 17px; }
.foot-cols { display: grid; grid-template-columns: repeat(2, minmax(140px, 1fr)); gap: 24px 48px; }
@media (min-width: 700px) { .foot-cols { grid-template-columns: repeat(3, minmax(140px, auto)); } }
.foot-cols h2 { font-size: 14px; font-weight: 600; color: var(--on); margin-bottom: 4px; letter-spacing: .1px; }
.foot-cols a { display: flex; align-items: center; min-height: 40px; color: var(--onv); text-decoration: none; font-size: 15px; }
.foot-cols a:hover { color: var(--on); }
.foot-line { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--ov); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; color: var(--onv); }
.privacy-tape { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--on); font-variation-settings: "ROND" 70, "GRAD" 30, "slnt" -5; font-size: 15px; }
.privacy-tape .icon { color: var(--primary); font-size: 20px; }

/* Sticky bar: live meters scrolled + Play button, once the hero button is off screen */
.sticky-cta { position: fixed; left: 50%; bottom: 16px; z-index: 30; transform: translate(-50%, 160%); transition: transform 300ms cubic-bezier(.2,0,0,1); display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 16px; border-radius: 32px; background: var(--high); box-shadow: 0 12px 32px rgba(0,0,0,.5); white-space: nowrap; }
.sticky-cta.show { transform: translate(-50%, 0); }
.sticky-cta .t { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--on); font-variant-numeric: tabular-nums; }
.sticky-cta .t .icon { font-size: 18px; color: var(--primary); }
.sticky-cta .btn { height: 48px; border-radius: 24px; }

/* Legal and journey pages */
.doc { max-width: 760px; padding-top: 40px; padding-bottom: 32px; }
.doc .meta { margin-top: 8px; color: var(--onv); }
.doc h2 { font-size: 22px; line-height: 28px; font-weight: 700; color: var(--on); margin: 40px 0 12px; font-variation-settings: "ROND" 70; }
.doc h3 { font-size: 17px; font-weight: 600; color: var(--on); margin: 24px 0 8px; }
.doc p, .doc li { font-size: 16px; line-height: 26px; }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 20px; display: grid; gap: 8px; margin: 12px 0; }
.doc a { color: var(--primary); word-break: break-word; }
.doc .summary { margin: 32px 0 40px; }
.doc .summary .list { padding: 0; margin: 0; }
.doc .summary .list > * { align-items: flex-start; }

/* Entrance: decelerate in, staggered; off under reduced motion */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 400ms cubic-bezier(0,0,.2,1), transform 400ms cubic-bezier(0,0,.2,1); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
.rollo svg { shape-rendering: crispEdges; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .sticky-cta { transition: none; }
}

/* Inside the app: a list of screens beside the live phone */
.inside { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .inside { grid-template-columns: 1fr auto; gap: 64px; } }
.screen-list { display: grid; gap: 4px; padding: 0; list-style: none; max-width: 520px; }
.screen-list button { width: 100%; display: flex; align-items: center; gap: 16px; padding: 14px 20px; min-height: 64px; border: 0; border-radius: 8px; background: var(--low); color: var(--on); font: inherit; text-align: left; cursor: pointer; transition: background 150ms; }
.screen-list li:first-child button { border-radius: 28px 28px 8px 8px; }
.screen-list li:last-child button { border-radius: 8px 8px 28px 28px; }
.screen-list button:hover { background: var(--high); }
.screen-list button[aria-current="true"] { background: var(--secondary-container); color: var(--on-secondary-container); }
.screen-list .icon { color: var(--primary); font-size: 24px; }
.screen-list button[aria-current="true"] .icon { color: var(--on-secondary-container); }
.screen-list b { display: block; font-size: 16px; line-height: 24px; font-weight: 600; letter-spacing: .15px; }
.screen-list span.s { display: block; font-size: 14px; line-height: 20px; color: var(--onv); }
.screen-list button[aria-current="true"] span.s { color: var(--on-secondary-container); opacity: .85; }
.inside-hint { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--onv); font-size: 14px; }
.inside-hint .icon { font-size: 18px; color: var(--primary); }
@media (max-width: 899px) {
  .screen-list { display: flex; gap: 8px; overflow-x: auto; max-width: none; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
  .screen-list li { flex: none; }
  .screen-list button, .screen-list li:first-child button, .screen-list li:last-child button { min-height: 32px; height: 32px; padding: 0 16px 0 8px; border-radius: 8px; gap: 8px; background: transparent; box-shadow: inset 0 0 0 1px var(--ov); }
  .screen-list button[aria-current="true"] { box-shadow: none; }
  .screen-list .icon { font-size: 18px; }
  .screen-list b { font-size: 14px; line-height: 20px; font-weight: 500; }
  .screen-list span.s { display: none; }
  .inside .live { justify-self: center; }
}
