/* Nourena: one story, told with the app's own screens. */
:root {
  color-scheme: light;
  --bg: #f6f8fa;
  --surface: #fff;
  --ink: #17242b;
  --ink-2: #4d5d66;
  --ink-3: #66747c;
  --line: #dbe3e8;
  --brand: #315b73;
  --brand-pressed: #27495d;
  --brand-subtle: #e7eff3;
  --night: #07131a;
  --night-2: #0b1d27;
  --night-card: #0f2430;
  --night-line: rgb(255 255 255 / 10%);
  --protein: #a23e5b;
  --carbs: #9a5f00;
  --fat: #7652a7;
  --success: #2f744a;
  --success-bg: #e6f4ea;
  --health: #5b6b2d;
  --focus: #0070a3;
  --on-dark: #f3f8fa;
  --on-dark-muted: #b9cdd8;
  --on-dark-faint: #86a0ae;
  --hero-accent: #8eadc1;
  --font:
    -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text",
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display:
    -apple-system, BlinkMacSystemFont, "SF Pro Display",
    "Segoe UI Variable Display", "Segoe UI", Roboto, "Helvetica Neue", Arial,
    sans-serif;
  --max: 1200px;
  --gutter: clamp(20px, 4.5vw, 72px);
  --section: clamp(88px, 11vw, 168px);
  --header-h: 64px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  /* Motion below the hero. Things that arrive with the scroll ease in and out; things
     that answer a tap ease out (--ease) and finish within half a second; a pill that
     slides to a new place settles like a spring where the browser can draw one. */
  --ease-arrive: cubic-bezier(0.33, 0, 0.2, 1);
  --ease-standard: cubic-bezier(0.4, 0, 0.6, 1);
  --spring: var(--ease);
  --dur-swap: 0.45s;
  --dur-move: 0.75s;
  --dur-fade: 0.9s;
  --rise: 30px;
  --stagger: 0.12s;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-side: max(env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  --z-sticky: 30;
  --z-skip: 50;
  --shadow-float: drop-shadow(0 22px 34px rgb(16 43 59 / 24%)) drop-shadow(0 2px 4px rgb(16 43 59 / 8%));
  /* Text roles, redefined inside dark chapters. */
  --t1: var(--ink);
  --t2: var(--ink-3);
  --label: var(--brand);
}
@supports (transition-timing-function: linear(0, 1)) {
  :root {
    --spring: linear(0, 0.096 6.3%, 0.289 12.5%, 0.491 18.8%, 0.663 25%, 0.792 31.3%, 0.883 37.5%, 0.941 43.8%, 0.976 50%, 0.995 56.3%, 1.004 62.5%, 1.007 68.8%, 1.007 75%, 1.006 81.3%, 1.004 87.5%, 1.003 93.8%, 1);
  }
}
@supports (color: color(display-p3 0 0 0)) {
  :root {
    --hero-accent: color(display-p3 0.5575 0.6779 0.7558);
  }
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + var(--safe-top) + 16px);
  scroll-behavior: smooth;
  background: var(--night);
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font: 400 17px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: anywhere;
  overflow-x: clip;
}
img,
svg {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
a {
  color: inherit;
}
button {
  font: inherit;
  cursor: pointer;
}
button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
h1,
h2,
h3 {
  font-family: var(--font-display);
  text-wrap: balance;
  overflow-wrap: break-word;
}
p {
  text-wrap: pretty;
}
h1 {
  font-size: clamp(3.25rem, 6.2vw, 5.75rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 650;
}
h2 {
  font-size: clamp(2.15rem, 3.7vw, 3.5rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 600;
}
h3 {
  font-size: 1.2rem;
  line-height: 1.35;
  letter-spacing: -0.015em;
  font-weight: 580;
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
  border-radius: 6px;
}
main:focus {
  outline: 0;
}
[hidden] {
  display: none !important;
}
.wrap {
  width: min(var(--max), 100% - 2 * max(var(--gutter), var(--safe-side)));
  margin-inline: auto;
}
.icon {
  width: 22px;
  height: 22px;
  flex: none;
}
.skip {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: var(--z-skip);
  padding: 12px 18px;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  transform: translateY(-160%);
  border-radius: 10px;
}
.skip:focus {
  transform: none;
}

/* Shared type and controls. Every chapter is a short label, a very large headline and
   one grey sentence with its key phrases in ink, then the app on an iPhone. */
.eyebrow {
  margin-bottom: clamp(10px, 1.2vw, 16px);
  color: var(--label);
  font: 600 clamp(1.05rem, 1.7vw, 1.5rem) / 1.2 var(--font-display);
  letter-spacing: -0.012em;
}
.headline {
  color: var(--t1);
  font: 600 clamp(2.5rem, 6.4vw, 5.5rem) / 1.04 var(--font-display);
  letter-spacing: -0.038em;
}
.lede {
  max-width: 30em;
  margin-top: clamp(18px, 2.2vw, 30px);
  color: var(--t2);
  font: 600 clamp(1.12rem, 1.75vw, 1.5rem) / 1.38 var(--font-display);
  letter-spacing: -0.012em;
}
.lede strong {
  color: var(--t1);
  font-weight: inherit;
}
.chapter {
  /* Chapters use a wider canvas than the hero, so the app can be shown larger. */
  --max: 1360px;
  --section: clamp(88px, 10vw, 148px);
  padding-block: var(--section);
  overflow-x: clip;
}
.chapter-head {
  max-width: 1040px;
  margin: 0 auto clamp(40px, 5.4vw, 76px);
  text-align: center;
}
.chapter-head .lede {
  margin-inline: auto;
}
.gray {
  background: var(--bg);
}
.dark {
  --t1: #fff;
  --t2: var(--on-dark-faint);
  --label: var(--hero-accent);
  --focus: #8fd3ff;
  color: var(--on-dark);
}
.chapter.dark {
  background:
    radial-gradient(70% 46% at 50% 0%, rgb(49 91 115 / 34%), transparent 72%),
    var(--night);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 13px 24px;
  border: 0;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font: 590 1rem/1.2 var(--font-display);
  letter-spacing: -0.01em;
  text-decoration: none;
  transition:
    background-color 0.25s,
    color 0.25s,
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}
.button:hover {
  background: var(--brand-pressed);
  transform: translateY(-1px);
}
.button:active {
  transform: scale(0.97);
}
.button .icon {
  width: 18px;
  height: 18px;
  transition: transform 0.35s var(--ease);
}
.button:hover .icon {
  transform: translateY(2px);
}
.button-light {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 10px 30px -10px rgb(0 0 0 / 45%);
}
.button-light:hover {
  background: #eaf1f5;
}
.button-small {
  min-height: 40px;
  padding: 9px 16px;
  font-size: 0.86rem;
}
.store-soon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink-2);
  font: 550 0.95rem/1.3 var(--font-display);
}
.store-soon-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4fc38a;
  box-shadow: 0 0 0 0 rgb(79 195 138 / 60%);
  animation: pulse-dot 2.4s ease-out infinite;
}
.store-on-dark {
  border-color: rgb(255 255 255 / 18%);
  color: var(--on-dark);
  background: rgb(255 255 255 / 4%);
}
.store-badge {
  display: inline-block;
  transition: transform 0.35s var(--ease);
}
.store-badge img {
  height: 54px;
  width: auto;
}
.store-badge:hover {
  transform: translateY(-2px);
}
details > summary {
  list-style: none;
  cursor: pointer;
}
details > summary::-webkit-details-marker {
  display: none;
}

/* Drawn iPhone with a real screen. Container units keep every size consistent.
   The 3.04-unit combined rim leaves a 93.92-unit screen, matching the display
   inset in Apple's iPhone 16 Pro Max drawing. Radii are concentric. The screens
   are iPhone 17 Pro captures (402 pt wide), so the Island (126.7 x 37.3 pt, 11 pt
   from the top) is sized against a 402 pt screen. */
.device {
  --device-w: 300px;
  --device-band: 0.65cqw;
  --device-bezel: 2.39cqw;
  --device-screen-radius: 11.85cqw;
  position: relative;
  width: var(--device-w);
  max-width: 100%;
  container-type: inline-size;
  flex: none;
}
.device-frame {
  position: relative;
  padding: var(--device-band);
  border-radius: calc(var(--device-screen-radius) + var(--device-bezel) + var(--device-band));
  background: linear-gradient(145deg, #7d868c 0%, #3a4247 9%, #1b2125 24%, #2c3439 52%, #151a1d 78%, #4b5459 93%, #8a9398 100%);
  box-shadow:
    inset 0 0 0 0.1cqw rgb(255 255 255 / 16%),
    0 0 0 0.1cqw rgb(8 14 18 / 65%),
    0 2.5cqw 5cqw -2cqw rgb(10 30 42 / 32%),
    0 16cqw 26cqw -13cqw rgb(10 30 42 / 48%);
}
.device-bezel {
  padding: var(--device-bezel);
  border-radius: calc(var(--device-screen-radius) + var(--device-bezel));
  background: #020304;
  box-shadow: inset 0 0 0 0.1cqw #10161a;
}
.device-screen {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1206 / 2622;
  border-radius: var(--device-screen-radius);
  background: #f5f7f9;
  isolation: isolate;
}
.device-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  background: linear-gradient(116deg, rgb(255 255 255 / 9%) 0%, rgb(255 255 255 / 0%) 34%);
  box-shadow: inset 0 0 0 0.1cqw rgb(0 0 0 / 22%);
  pointer-events: none;
}
.device-screen .screen-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.device-island {
  position: absolute;
  z-index: 4;
  top: 2.57cqw;
  left: 50%;
  width: 31.5%;
  aspect-ratio: 126.7 / 37.3;
  border-radius: 999px;
  background:
    radial-gradient(circle at 82% 50%, #1d2a36 0 1.25cqw, #0a0f14 1.3cqw 1.9cqw, transparent 2cqw),
    #000;
  transform: translateX(-50%);
}
.device-button {
  position: absolute;
  width: 0.95cqw;
  border-radius: 0.5cqw;
  background: linear-gradient(90deg, #22292e, #6a737a 45%, #2a3237);
}
.device-button.is-action {
  left: -0.55cqw;
  top: 17.5%;
  height: 4%;
}
.device-button.is-volume-up {
  left: -0.55cqw;
  top: 24.5%;
  height: 7.2%;
}
.device-button.is-volume-down {
  left: -0.55cqw;
  top: 33%;
  height: 7.2%;
}
.device-button.is-side {
  right: -0.55cqw;
  top: 26%;
  height: 11%;
}
.frag {
  height: auto;
  filter: var(--shadow-float);
  pointer-events: none;
  user-select: none;
}

/* Header. Over the opening scene it is only the brand and the menu. Once the hero
   releases it becomes a floating bar with the chapter links, the language picker and
   the availability action. */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: var(--z-sticky);
  padding: calc(var(--safe-top) + 10px) max(12px, var(--safe-side)) 0;
  pointer-events: none;
}
html:not(.js) .site-header {
  position: absolute;
}
.nav {
  --header-fg: var(--ink);
  --header-muted: var(--ink-2);
  --header-hover: rgb(49 91 115 / 9%);
  display: flex;
  align-items: center;
  gap: 12px;
  /* Sized in rem and free to wrap its labels, so enlarged text still fits the bar. */
  width: min(61.25rem, 100%);
  min-height: 52px;
  padding: 4px 4px 4px 18px;
  border-radius: 999px;
  /* Opaque enough for its links to keep their contrast over the dark chapters. */
  background: rgb(250 252 253 / 90%);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow:
    0 0 0 1px rgb(16 43 59 / 9%),
    0 14px 34px -16px rgb(16 43 59 / 38%);
  color: var(--header-fg);
  pointer-events: auto;
  position: relative;
  transition:
    background-color 0.35s,
    color 0.35s,
    box-shadow 0.35s;
}
/* Over a dark chapter the bar is dark glass with light labels. */
.site-header.on-dark:not(.is-hero) .nav {
  --header-fg: var(--on-dark);
  --header-muted: rgb(243 248 250 / 78%);
  --header-hover: rgb(255 255 255 / 12%);
  background: rgb(14 29 38 / 82%);
  box-shadow:
    0 0 0 1px rgb(255 255 255 / 10%),
    0 14px 34px -16px rgb(0 0 0 / 60%);
}
.site-header.on-dark:not(.is-hero) .button-small {
  background: #fff;
  color: var(--ink);
}
/* While the menu is open the page behind it steps back. */
.site-header::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgb(7 19 26 / 34%);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s,
    visibility 0s 0.3s;
}
.site-header.menu-open::before {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.3s;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font: 600 1.08rem/1 var(--font-display);
  letter-spacing: -0.02em;
  text-decoration: none;
  flex: none;
}
.brand img {
  width: 26px;
  height: 26px;
}
.nav-links {
  position: relative;
  isolation: isolate;
  display: flex;
  gap: 2px;
  min-width: 0;
  margin-left: auto;
}
/* One pill marks the chapter being read and slides to the next (site.js). */
.nav-links::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  z-index: -1;
  width: var(--pill-w, 0);
  height: 34px;
  margin-top: -17px;
  border-radius: 999px;
  background: var(--header-hover);
  opacity: var(--pill-on, 0);
  translate: var(--pill-x, 0) 0;
  transition:
    translate 0.5s var(--spring),
    width 0.5s var(--spring),
    opacity 0.25s;
}
.nav-links a[aria-current] {
  color: var(--header-fg);
}
.nav-links a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--header-muted);
  font-size: 0.84rem;
  font-weight: 450;
  text-decoration: none;
  transition:
    color 0.2s,
    background-color 0.2s;
}
.nav-links a:hover {
  color: var(--header-fg);
  background: var(--header-hover);
}
.nav-actions {
  display: flex;
  gap: 4px;
  align-items: center;
  min-width: 0;
  margin-left: auto;
}
.nav-links + .nav-actions {
  margin-left: 4px;
}
.site-header .button-small {
  min-width: 0;
  background: var(--brand);
  color: #fff;
}
.site-header .button-small:hover {
  transform: none;
  opacity: 0.88;
}
.language-menu {
  position: relative;
}
.language-menu summary,
.nav-menu summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 44px;
  min-height: 44px;
  padding: 8px;
  border-radius: 999px;
  color: var(--header-muted);
  font-size: 0.82rem;
  font-weight: 550;
  transition:
    color 0.2s,
    background-color 0.2s;
}
.language-menu summary:hover,
.nav-menu summary:hover,
.language-menu[open] summary,
.nav-menu[open] summary {
  color: var(--header-fg);
  background: var(--header-hover);
}
.language-menu .icon {
  width: 18px;
  height: 18px;
}
.language-menu .chevron {
  width: 14px;
  height: 14px;
  transition: transform 0.25s var(--ease);
}
.language-menu[open] .chevron {
  transform: rotate(180deg);
}
.menu-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 200px;
  padding: 8px;
  border-radius: 18px;
  background: rgb(255 255 255 / 96%);
  color: var(--ink);
  box-shadow:
    0 0 0 1px rgb(16 43 59 / 7%),
    0 24px 48px -16px rgb(10 30 42 / 35%);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  transform-origin: top right;
  animation: menu-in 0.28s var(--ease);
}
.language-options a,
.nav-menu .menu-panel a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 0.95rem;
}
.language-options a:hover,
.nav-menu .menu-panel a:hover {
  background: var(--brand-subtle);
}
.language-options a[aria-current] {
  font-weight: 600;
  color: var(--brand);
}
.language-options .icon {
  width: 18px;
  height: 18px;
}
.nav-menu {
  display: none;
}
.menu-lines {
  display: grid;
  gap: 6px;
  width: 18px;
}
.menu-lines span {
  height: 1.6px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease);
}
.nav-menu[open] .menu-lines span:first-child {
  transform: translateY(3.8px) rotate(45deg);
}
.nav-menu[open] .menu-lines span:last-child {
  transform: translateY(-3.8px) rotate(-45deg);
}

/* Over the opening scene: no bar, only the brand and the menu, on the scene itself. */
.site-header.is-hero {
  padding: var(--safe-top) 0 0;
}
.site-header.is-hero .nav {
  --header-fg: var(--on-dark);
  --header-muted: rgb(243 248 250 / 72%);
  --header-hover: rgb(255 255 255 / 10%);
  width: min(var(--max), 100% - 2 * max(var(--gutter), var(--safe-side)));
  min-height: var(--header-h);
  padding: 0;
  border-radius: 0;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
}
.site-header.is-hero .brand {
  font-size: 1.3rem;
  letter-spacing: -0.025em;
}
.site-header.is-hero .brand img {
  width: 34px;
  height: 34px;
}
.site-header.is-hero :is(.nav-links, .language-menu, .button-small) {
  display: none;
}
.site-header.is-hero .nav-links + .nav-actions {
  margin-left: auto;
}
.site-header.is-hero .nav-menu {
  display: block;
}
html.js .site-header:not(.is-hero) .nav {
  animation: bar-in 0.5s var(--ease) both;
}
html.js .site-header:not(.is-hero) :is(.nav-links, .language-menu, .button-small) {
  animation: header-in 0.4s var(--ease) both;
}
/* The menu opens as a sheet under the bar, as wide as the bar on a phone: the chapters
   in large type with the current one marked, then the languages. It also lists every
   language, so it scrolls on short screens. */
.nav-menu .menu-panel {
  left: 0;
  right: 0;
  top: calc(100% + 10px);
  min-width: 0;
  padding: 12px;
  border-radius: 28px;
  background: #fff;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transform-origin: top center;
  max-height: calc(100vh - var(--header-h) - var(--safe-top) - 24px);
  max-height: calc(100svh - var(--header-h) - var(--safe-top) - 24px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.nav-menu .menu-panel ul a {
  min-height: 52px;
  padding: 12px 16px;
  border-radius: 16px;
  font: 600 1.3rem/1.2 var(--font-display);
  letter-spacing: -0.022em;
}
.nav-menu .menu-panel ul a[aria-current] {
  background: var(--brand-subtle);
  color: var(--brand);
}
.nav-menu[open] .menu-panel li {
  animation: menu-item 0.45s var(--ease) both;
}
.nav-menu[open] .menu-panel li:nth-child(2) {
  animation-delay: 0.03s;
}
.nav-menu[open] .menu-panel li:nth-child(3) {
  animation-delay: 0.06s;
}
.nav-menu[open] .menu-panel li:nth-child(4) {
  animation-delay: 0.09s;
}
.nav-menu[open] .menu-panel li:nth-child(5) {
  animation-delay: 0.12s;
}
.nav-menu[open] .menu-panel li:nth-child(6) {
  animation-delay: 0.15s;
}
.nav-menu[open] .menu-panel li:nth-child(7) {
  animation-delay: 0.18s;
}
.nav-menu .language-options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px 6px 4px;
}
.nav-menu .language-options a {
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--bg);
  font-size: 0.92rem;
}
.nav-menu .language-options a[aria-current] {
  background: var(--brand-subtle);
}
.nav-menu .language-options .icon {
  display: none;
}
@media (min-width: 600px) {
  .nav-menu .menu-panel {
    left: auto;
    width: min(100%, 24rem);
  }
}
.nav-menu .menu-heading {
  margin: 8px 6px 2px;
  padding: 12px 8px 4px;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Hero: one scene, the slogan and one action. */
.hero,
.statement,
.closing,
.site-footer {
  --focus: #8fd3ff;
  color: var(--on-dark);
}
.hero {
  /* The plate rests on the bottom edge of the first screen, under the slogan and the
     action. Scrolling pins the screen for the analysis scene and the statement. */
  --plate: clamp(600px, 44vw + 350px, 1100px);
  --plate-visible: clamp(160px, 44vh, calc(var(--plate) * 0.62));
  --scroll-length: 560vh;
  /* Scroll-driven values (site.js). Without them the hero shows its still state. */
  --copy: 0;
  --statement: 1;
  position: relative;
  isolation: isolate;
  background: var(--night);
  overflow: hidden;
  overflow: clip;
}
@supports (height: 100svh) {
  .hero {
    --plate-visible: clamp(160px, 44svh, calc(var(--plate) * 0.62));
    --scroll-length: 560svh;
  }
}
.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
/* A fine grain gives the table a surface. */
.hero-backdrop::before,
.hero.is-pinned .hero-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 -.22'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E") 0 0 / 220px 220px;
  opacity: 0.3;
}
.hero-stage {
  position: relative;
}
/* The first screen: slogan and action, with the plate peeking in at the bottom. */
.hero-first {
  position: relative;
}
.hero-scene {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 4.5vh, 40px);
  min-height: 100vh;
  padding-block: calc(var(--header-h) + var(--safe-top) + 16px) calc(var(--plate-visible) + clamp(28px, 5vh, 56px));
  text-align: center;
}
@supports (height: 100svh) {
  .hero-inner {
    min-height: 100svh;
  }
}
.hero-plate {
  position: absolute;
  top: calc(100% - var(--plate-visible));
  left: 50%;
  width: var(--plate);
  aspect-ratio: 1;
  margin-left: calc(var(--plate) / -2);
  transition: opacity 0.6s var(--ease);
}
/* A pool of light under the plate; its far rim falls into shadow, so the slogan
   stays the brightest thing on screen. */
.hero-plate::before,
.hero-plate::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
.hero-plate::before {
  inset: -45%;
  z-index: -1;
  background: radial-gradient(closest-side, rgb(64 112 138 / 42%), rgb(30 62 80 / 22%) 55%, rgb(7 19 26 / 0%));
}
.hero-plate::after {
  inset: 1%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 80%, rgb(7 19 26 / 0%) 42%, rgb(7 19 26 / 50%));
}
.hero-plate-photo {
  display: block;
  width: 100%;
  height: 100%;
  filter: brightness(0.9) drop-shadow(0 50px 70px rgb(0 0 0 / 55%));
}
.hero-canvas,
.hero-flash {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}
.hero-canvas {
  display: block;
  transition: opacity 0.6s var(--ease);
}
/* Shown by the scene only for the moment it flashes (hero-scene.js). */
.hero-flash {
  background: radial-gradient(circle at 50% 50%, rgb(255 255 255 / 70%), rgb(214 238 250 / 18%) 38%, rgb(214 238 250 / 0%) 64%);
  mix-blend-mode: screen;
  visibility: hidden;
}
.hero-title {
  color: #fff;
}
.hero-line {
  display: block;
}
.hero-accent {
  color: var(--hero-accent);
}
.hero-actions {
  display: flex;
  justify-content: center;
}

/* Captions: one short line per stage of the scene, standing behind the plate. The layer
   sits under the canvas, which is transparent around the plate, so the plate itself
   covers whatever part of a word is behind it. site.js places each line on the plate's
   far rim (--caption-line) and moves its words; the still hero shows no captions. */
.hero-captions {
  display: none;
}
.hero.is-pinned.is-scene-ready .hero-captions {
  display: block;
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.hero-caption {
  position: absolute;
  /* The rim overlaps the foot of the letters by about a quarter of their size
     (CAPTION_TUCK in site.js). The line moves with every frame, so the caption is
     moved rather than laid out again, and its words are layers of their own. */
  inset: 0 0 auto;
  transform: translateY(calc(var(--caption-line, 0px) + 0.24em - 100%));
  will-change: transform;
  margin: 0;
  padding-inline: var(--gutter);
  color: var(--on-dark);
  font: 650 clamp(2.75rem, min(12.5vw, 11vh), 7rem) / 1 var(--font-display);
  letter-spacing: -0.04em;
  text-align: center;
  text-wrap: balance;
}
@supports (height: 100svh) {
  .hero-caption {
    font-size: clamp(2.75rem, min(12.5vw, 11svh), 7rem);
  }
}
.hero-caption .w {
  display: inline-block;
  opacity: 0;
  white-space: nowrap;
  will-change: transform, opacity;
}
/* While keyboard focus keeps the slogan and action on screen, they have the space. */
.hero.is-pinned:has(.hero-inner :focus-visible) .hero-captions {
  visibility: hidden;
}
/* A lit word takes the colour of what it names: the depth map, or its part of the ring. */
@supports (color: color-mix(in srgb, #000, #fff)) {
  .hero-caption .w[data-tint] {
    color: color-mix(in srgb, var(--tint, var(--on-dark)) calc(var(--lit, 0) * 100%), var(--on-dark));
  }
}

/* Pinned: the screen holds while the plate goes through the analysis, then the scene
   dims behind the statement, which lights up word by word before the section releases. */
.hero.is-pinned {
  height: calc(100vh + var(--scroll-length));
}
.hero.is-pinned .hero-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  overflow: clip;
  background: radial-gradient(ellipse 60% 62% at 50% 54%, #143444 0%, var(--night-2) 52%, var(--night) 100%);
}
@supports (height: 100svh) {
  .hero.is-pinned {
    height: calc(100svh + var(--scroll-length));
  }
  .hero.is-pinned .hero-stage {
    height: 100svh;
  }
}
.hero.is-pinned .hero-first {
  height: 100%;
}
/* What the scroll changes on every frame is composited, so the screen is never
   repainted for it: the slogan and the statement fade and move as layers, and the
   grain over the captions is painted once. */
.hero.is-pinned :is(.hero-inner, .hero-statement) {
  will-change: opacity, transform;
}
.hero.is-pinned .hero-stage::before {
  will-change: transform;
}
/* Until the scene draws, the still plate stands in for its first, out-of-focus frame. */
.hero.is-pinned .hero-plate-photo {
  filter: brightness(0.5) blur(0.7vw);
}
.hero.is-scene-ready .hero-canvas {
  opacity: 1;
}
.hero.is-scene-ready .hero-plate {
  opacity: 0;
}
.hero.is-pinned .hero-inner {
  height: 100%;
  min-height: 0;
  opacity: calc(1 - var(--copy));
  transform: translateY(calc(var(--copy) * -56px));
}
.hero.is-pinned.is-copy-away .hero-inner {
  pointer-events: none;
}
.hero.is-pinned .hero-inner:has(:focus-visible) {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

/* Statement: after the scene in the same pinned screen; below the plate when unpinned. */
.statement {
  position: relative;
  padding-block: clamp(96px, 13vw, 200px);
}
.hero-statement {
  padding-top: calc(var(--plate) - var(--plate-visible) + clamp(56px, 8vw, 120px));
}
.hero.is-pinned .hero-statement {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  padding: 0;
  opacity: var(--statement);
  transform: translateY(calc((1 - var(--statement)) * 28px));
  pointer-events: none;
}
.hero.is-pinned .hero-statement .wrap {
  width: 100%;
}
.statement-text {
  max-width: 24ch;
  margin-inline: auto;
  color: #fff;
  font: 600 clamp(2rem, 4.4vw, 4rem) / 1.14 var(--font-display);
  letter-spacing: -0.032em;
  text-align: center;
  text-wrap: balance;
}
.statement-accent {
  color: var(--hero-accent);
}
.statement.is-split .w {
  opacity: 0.4;
  transition: opacity 0.35s linear;
}
.statement.is-split .statement-accent .w {
  opacity: 0.6;
}
.statement.is-split .w.is-lit {
  opacity: 1;
}

/* Introduction: what Nourena is, in plain words. Straight after the pinned statement,
   so no empty screen sits between the two. */
.intro {
  padding-block: clamp(88px, 10vw, 150px) clamp(72px, 9vw, 130px);
  background: var(--surface);
  text-align: center;
}
.hero + .intro {
  padding-top: clamp(48px, 6vw, 96px);
}
.intro-text {
  max-width: 22em;
  margin-inline: auto;
  color: var(--ink-3);
  font: 600 clamp(1.5rem, 3.3vw, 2.9rem) / 1.17 var(--font-display);
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.intro-text strong {
  color: var(--ink);
  font-weight: inherit;
}

/* How it works: the chapter's heading, four tabs and one iPhone are one screen. The
   tabs never move and the text of every step shares one box as tall as the longest, so
   choosing a step shifts nothing on the page. */
.how-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-rows: auto auto;
  gap: clamp(26px, 3.2vw, 44px) clamp(24px, 4vw, 64px);
}
.steps-head {
  position: relative;
  z-index: 1;
  grid-area: 1 / 1;
  align-self: end;
  max-width: none;
  margin: 0;
  text-align: left;
}
.steps-head .lede {
  margin-inline: 0;
}
.steps-title {
  font-size: clamp(2.5rem, 5vw, 4.6rem);
}
.steps-title span {
  opacity: 0.4;
  transition: opacity 0.5s var(--ease);
}
.steps-title span.is-on,
html:not(.js) .steps-title span {
  opacity: 1;
}
html.js .steps-title span {
  cursor: pointer;
}
/* The explorer shares the chapter's two columns and two rows, so the heading sits above
   the tabs and the iPhone stands beside both. */
.steps {
  display: grid;
  grid-area: 1 / 1 / -1 / -1;
  grid-template-columns: subgrid;
  grid-template-rows: subgrid;
}
.steps-side {
  display: grid;
  grid-area: 2 / 1;
  grid-template-columns: minmax(0, 1fr);
  align-self: start;
  justify-items: start;
  gap: clamp(20px, 2.2vw, 28px);
  min-width: 0;
}
.steps-tabs {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  max-width: 100%;
  padding: 5px;
  border-radius: 28px;
  background: rgb(255 255 255 / 10%);
}
/* One pill slides between the tabs (site.js gives it the chosen tab's box). */
.steps-tabs.has-indicator::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: var(--ind-w);
  height: var(--ind-h);
  border-radius: 999px;
  background: #fff;
  translate: var(--ind-x) var(--ind-y);
}
.steps.is-ready .steps-tabs.has-indicator::before {
  transition:
    translate 0.5s var(--spring),
    width 0.5s var(--spring);
}
.steps-tab {
  min-height: 46px;
  padding: 8px clamp(12px, 1.6vw, 22px);
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--on-dark-muted);
  font: 600 1rem/1.2 var(--font-display);
  white-space: nowrap;
  transition:
    background-color 0.3s,
    color 0.25s 0.06s;
}
.steps-tab:hover {
  background: rgb(255 255 255 / 9%);
  color: #fff;
}
.steps-tab[aria-selected="true"] {
  background: #fff;
  color: var(--ink);
}
.steps-tabs.has-indicator .steps-tab[aria-selected="true"] {
  background: transparent;
}
.steps-tab:active {
  scale: 0.97;
}
.steps-texts {
  display: grid;
  max-width: 21em;
  color: var(--on-dark-muted);
  font: 600 clamp(1.15rem, 1.7vw, 1.5rem) / 1.32 var(--font-display);
  letter-spacing: -0.016em;
}
.steps-texts p {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  translate: 0 10px;
}
/* The old text leaves before the new one arrives, so two never show through each other.
   Steps change only once the explorer is ready, so nothing fades on first paint. */
.steps.is-ready .steps-texts p {
  transition:
    opacity 0.2s ease-in,
    translate 0.2s ease-in,
    visibility 0s 0.2s;
}
.steps-texts p.is-active {
  opacity: 1;
  visibility: visible;
  translate: 0 0;
}
.steps.is-ready .steps-texts p.is-active {
  transition:
    opacity 0.35s var(--ease-standard) 0.2s,
    translate 0.5s var(--ease) 0.2s,
    visibility 0s 0.2s;
}
.steps-texts strong {
  color: #fff;
  font-weight: inherit;
}
.steps-paddles {
  display: flex;
  gap: 12px;
}
.steps-paddle {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgb(255 255 255 / 12%);
  color: #fff;
  transition:
    background-color 0.2s,
    opacity 0.2s,
    scale 0.2s var(--ease);
}
.steps-paddle:hover {
  background: rgb(255 255 255 / 20%);
}
.steps-paddle:active {
  scale: 0.92;
}
.steps-paddle:disabled {
  opacity: 0.32;
  cursor: default;
  scale: 1;
}
.steps-paddle:disabled:hover {
  background: rgb(255 255 255 / 12%);
}
.steps-visual {
  display: flex;
  grid-area: 1 / 2 / -1 / -1;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding-block: 8px;
  container-type: inline-size;
  touch-action: pan-y;
}
/* The iPhone always fits the height of the window. */
.stage {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: min(340px, 62vw, max(200px, calc((100vh - 170px) * 0.476)));
}
.stage::before {
  content: "";
  position: absolute;
  inset: 4% -46%;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(98 153 182 / 26%), transparent);
  pointer-events: none;
}
.stage .device {
  --device-w: 100%;
  z-index: 1;
}
/* A new screen fades in over the old one, which stays whole underneath until it is
   covered: the phone never shows through to its own background. */
.stage-screen {
  z-index: 1;
  opacity: 0;
}
.steps.is-ready .stage-screen {
  transition: opacity 0s var(--dur-swap);
}
.stage-screen.is-active {
  z-index: 2;
  opacity: 1;
}
.steps.is-ready .stage-screen.is-active {
  transition: opacity var(--dur-swap) var(--ease-standard);
}
/* While a finger drags the screen, the chosen screen and the one coming in move with
   it side by side (site.js). */
.stage-screen.is-neighbour {
  z-index: 2;
  opacity: 1;
}
.steps.is-dragging .stage-screen,
.steps.is-instant .stage-screen {
  transition: none;
}
.steps.is-settling .stage-screen {
  transition: translate 0.32s var(--ease);
}
.stage-frag {
  opacity: 0;
  translate: 0 18px;
  scale: 0.96;
}
.steps.is-ready .stage-frag {
  transition:
    opacity 0.2s ease-in,
    translate 0.2s ease-in,
    scale 0.2s ease-in;
}
.stage-frag.is-active {
  opacity: 1;
  translate: 0 0;
  scale: 1;
}
.steps.is-ready .stage-frag.is-active {
  transition:
    opacity 0.4s var(--ease-standard) 0.25s,
    translate 0.6s var(--spring) 0.25s,
    scale 0.6s var(--spring) 0.25s;
}
.steps.is-ready .stage-frag.is-active ~ .stage-frag.is-active {
  transition-delay: 0.37s;
}
.steps.is-dragging .stage-frag.is-active,
html.motion-ready .stage:not(.is-visible) .stage-frag.is-active {
  opacity: 0;
  translate: 0 18px;
  scale: 0.96;
}
/* Under a dragging finger the cards step aside at once. */
.steps.is-ready.is-dragging .stage-frag.is-active {
  transition:
    opacity 0.15s ease-in,
    translate 0.15s ease-in,
    scale 0.15s ease-in;
}
/* Without JavaScript all four steps read in order beside the first screen. */
html:not(.js) :is(.steps-tabs, .steps-paddles) {
  display: none;
}
html:not(.js) .steps-texts {
  gap: 1em;
}
html:not(.js) .steps-texts p {
  grid-area: auto;
  opacity: 1;
  visibility: visible;
  translate: 0 0;
}

/* Floating cards. Each card lifts off its own place on the screen (its position and
   size come from the capture it was cropped from, in landing.mjs) and slides out to one
   side as far as the box around the phone has room, so it covers little but itself and
   never leaves its tile. */
.lift {
  position: absolute;
  z-index: 3;
  top: var(--y);
  width: var(--w);
  max-width: none;
}
.lift-left {
  left: max(var(--x), calc((100% - 100cqw) / 2));
}
.lift-right {
  left: min(var(--x), calc(100% + (100cqw - 100%) / 2 - var(--w)));
}

/* Tiles. Every iPhone is shown whole, in the flow of its tile, and every floating card
   stays inside the tile, so no edge crops either of them. */
.tiles {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
}
.tile {
  --pad: clamp(26px, 3.2vw, 48px);
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: 36px;
  background: var(--tile, var(--bg));
  /* The phone's shadow ends with the tile. */
  overflow: clip;
  isolation: isolate;
}
.gray .tile {
  --tile: var(--surface);
}
.tile-half {
  grid-column: span 6;
}
.tile-full {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
}
.tile-copy {
  padding: var(--pad) var(--pad) 28px;
}
.tile-full .tile-copy {
  padding: var(--pad) 0 var(--pad) clamp(30px, 5vw, 80px);
}
.tile-label {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--brand);
  font: 600 0.95rem/1.3 var(--font-display);
}
.tile-label .icon {
  width: 20px;
  height: 20px;
}
.tile h3 {
  margin-top: 10px;
  font: 600 clamp(1.5rem, 2.5vw, 2.2rem) / 1.1 var(--font-display);
  letter-spacing: -0.03em;
}
.tile-full h3 {
  margin-top: 14px;
  font-size: clamp(1.75rem, 3.5vw, 3.1rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
}
.tile-body {
  max-width: 34em;
  margin-top: 12px;
  color: var(--ink-2);
  font-size: 1.02rem;
  line-height: 1.5;
}
.tile-full .tile-body {
  max-width: 26em;
  margin-top: 18px;
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
}
.tile-body strong {
  color: var(--ink);
  font-weight: 600;
}
.tile-fine {
  margin-top: 14px;
  color: var(--ink-3);
  font-size: 0.8rem;
  line-height: 1.5;
}
.pro-badge {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
}
/* The box around the phone: cards are placed against the phone itself and kept inside
   this box. */
.tile-visual {
  display: grid;
  justify-items: center;
  flex: none;
  width: 100%;
  margin-top: auto;
  padding: 4px var(--pad) var(--pad);
  container-type: inline-size;
}
.tile-full .tile-visual {
  margin: 0;
  padding: var(--pad);
}
.rig {
  --device-w: min(290px, 62%);
  position: relative;
  width: var(--device-w);
}
.tile-full .rig {
  --device-w: min(320px, 54%);
}
.rig .device {
  --device-w: 100%;
}
.rig .device-frame {
  box-shadow:
    inset 0 0 0 0.1cqw rgb(255 255 255 / 16%),
    0 0 0 0.1cqw rgb(8 14 18 / 65%),
    0 2.5cqw 5cqw -2cqw rgb(10 30 42 / 30%),
    0 10cqw 16cqw -10cqw rgb(10 30 42 / 42%);
}
.tile-coach {
  --tile: var(--night-card);
  --focus: #8fd3ff;
  color: #fff;
  background: radial-gradient(90% 120% at 12% 110%, #1a4155 0%, var(--night-card) 60%);
}
/* The coach answers from the right: its iPhone stands first and the question it was
   asked leans towards the words. */
.tile-coach .tile-visual {
  order: -1;
}
.tile-coach .tile-copy {
  padding: var(--pad) clamp(30px, 5vw, 80px) var(--pad) 0;
}
.tile-coach .tile-label {
  color: var(--hero-accent);
}
.tile-coach .tile-body {
  color: var(--on-dark-muted);
}
.tile-coach .tile-body strong {
  color: #fff;
}
.tile-coach .tile-fine {
  color: var(--on-dark-faint);
}
.tile-coach .pro-badge {
  background: #fff;
  color: var(--ink);
}
.lift-bubble {
  transform-origin: 100% 100%;
}

/* Why Nourena: a statement, the complaint and answer rows as tiles of mixed sizes, the
   app's calm beside one of its screens, the commitments, the store action and the note. */
.chapter-why {
  background:
    radial-gradient(64% 44% at 0% 0%, rgb(49 91 115 / 42%), transparent 72%),
    radial-gradient(54% 36% at 100% 100%, rgb(49 91 115 / 24%), transparent 72%),
    var(--night);
}
.chapter-head.is-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 23rem);
  align-items: end;
  column-gap: clamp(24px, 4vw, 64px);
  max-width: none;
  text-align: left;
}
.is-split .eyebrow {
  grid-column: 1 / -1;
}
.is-split .lede {
  margin: 0 0 0.5em;
}
/* A band of light crosses the headline once, as it arrives. */
.sweep {
  background: linear-gradient(100deg, #fff 0 38%, #8fc6e2 50%, #fff 62% 100%) 100% 0 / 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.chapter-head > .sweep {
  transition:
    opacity var(--dur-fade) var(--ease-arrive) var(--delay, 0s),
    translate var(--dur-move) var(--ease-arrive) var(--delay, 0s),
    background-position 1.5s var(--ease-standard) 0.35s;
}
html.motion-ready .chapter-head.is-visible > .sweep,
html:not(.motion-ready) .sweep {
  background-position: 0 0;
}
/* The statement: white words, then the accent in the slogan's blue, over a soft glow. */
.why-manifesto {
  position: relative;
  isolation: isolate;
  max-width: 21em;
  margin-bottom: clamp(56px, 7vw, 104px);
  color: #fff;
  font: 600 clamp(1.9rem, 4.2vw, 3.75rem) / 1.1 var(--font-display);
  letter-spacing: -0.034em;
  text-wrap: balance;
}
.why-manifesto::before {
  content: "";
  position: absolute;
  inset: -40% -12%;
  z-index: -1;
  background: radial-gradient(50% 50% at 40% 50%, rgb(49 91 115 / 40%), transparent 72%);
  pointer-events: none;
}
.why-manifesto-accent {
  color: var(--hero-accent);
}
/* Six columns: a wide card spans four, a narrow one two, a half three and a full one
   six. The layouts in landing.mjs fill every row for six, seven or eight cards. */
.why-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
}
.why-card {
  display: flex;
  flex-direction: column;
  grid-column: span 2;
  min-height: 300px;
  padding: clamp(24px, 2.8vw, 40px);
  border-radius: 32px;
  background: rgb(255 255 255 / 6%);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 5%);
}
.why-wide {
  grid-column: span 4;
}
.why-half {
  grid-column: span 3;
}
/* A full card sets its complaint beside the answer. */
.why-full {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-content: start;
  column-gap: clamp(28px, 5vw, 80px);
  min-height: 0;
}
.why-full .why-topic,
.why-full .why-answer {
  grid-column: 1;
}
.why-full .why-usual {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
}
.why-topic {
  color: var(--hero-accent);
  font: 600 0.95rem/1.3 var(--font-display);
}
.why-answer {
  margin-top: 12px;
  color: #fff;
  font: 600 clamp(1.25rem, 1.8vw, 1.6rem) / 1.18 var(--font-display);
  letter-spacing: -0.022em;
}
.why-wide .why-answer,
.why-full .why-answer {
  max-width: 16em;
  margin-top: 16px;
  font-size: clamp(1.5rem, 3.1vw, 2.6rem);
  line-height: 1.08;
  letter-spacing: -0.034em;
}
.why-half .why-answer {
  max-width: 17em;
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  line-height: 1.12;
  letter-spacing: -0.028em;
}
.why-usual {
  margin-top: auto;
  color: var(--on-dark-faint);
  font-size: 0.95rem;
  line-height: 1.45;
}
.why-usual span {
  display: block;
  margin: 26px 0 6px;
  padding-top: 16px;
  border-top: 1px solid var(--why-line, var(--night-line));
  font: 600 0.7rem/1.4 var(--font-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.why-brand {
  --why-line: rgb(255 255 255 / 22%);
  background: linear-gradient(135deg, #356480 0%, #274c61 55%, #1c394a 100%);
  box-shadow: none;
}
.why-brand .why-topic,
.why-brand .why-usual {
  color: rgb(255 255 255 / 86%);
}
.why-light {
  --why-line: #cfdbe2;
  --focus: #0070a3;
  background: #eef4f7;
  box-shadow: none;
}
.why-light .why-topic {
  color: var(--brand);
}
.why-light .why-answer {
  color: var(--ink);
}
.why-light .why-usual {
  color: var(--ink-2);
}
/* The app's calm: no card and no border, only space, the words and one screen. */
.why-calm {
  display: grid;
  justify-items: center;
  gap: clamp(48px, 7vw, 72px);
  max-width: 1120px;
  margin: clamp(104px, 13vw, 196px) auto 0;
}
.why-calm-copy {
  max-width: 32rem;
}
.why-calm-label {
  color: var(--hero-accent);
  font: 600 clamp(1rem, 1.3vw, 1.15rem) / 1.3 var(--font-display);
  letter-spacing: -0.01em;
}
.why-calm-title {
  margin-top: 14px;
  color: #fff;
  font: 600 clamp(2rem, 4vw, 3.4rem) / 1.06 var(--font-display);
  letter-spacing: -0.035em;
}
.why-calm-body {
  margin-top: clamp(18px, 2vw, 26px);
  color: var(--on-dark-faint);
  font: 600 clamp(1.08rem, 1.5vw, 1.3rem) / 1.45 var(--font-display);
  letter-spacing: -0.01em;
}
.why-calm-body strong {
  color: #fff;
  font-weight: inherit;
}
.why-calm-points {
  display: grid;
  gap: 16px;
  margin-top: clamp(28px, 3vw, 40px);
}
.why-calm-points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--on-dark-muted);
  font-size: 1.02rem;
  line-height: 1.45;
}
.why-calm-points .icon {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  color: var(--hero-accent);
}
.why-calm-visual {
  display: grid;
  justify-items: center;
  width: 100%;
}
.why-calm-visual .device {
  --device-w: min(300px, 72vw);
}
@media (min-width: 900px) {
  .why-calm {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
    justify-items: stretch;
    column-gap: clamp(48px, 7vw, 120px);
  }
}
/* The commitments: a light strip on the dark chapter, each with a check. */
.why-pledge {
  --focus: #0070a3;
  margin-top: clamp(96px, 12vw, 176px);
  padding: clamp(28px, 4vw, 56px);
  border-radius: 28px;
  background: linear-gradient(160deg, #fff 0%, #eef4f7 100%);
  color: var(--ink);
}
.why-pledge-title {
  max-width: 18em;
  color: var(--ink);
  font: 600 clamp(1.75rem, 3.2vw, 2.75rem) / 1.08 var(--font-display);
  letter-spacing: -0.034em;
}
.why-pledge-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  margin-top: clamp(28px, 3.4vw, 44px);
}
.why-pledge-item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-content: start;
  column-gap: 14px;
}
.why-pledge-check {
  display: grid;
  grid-row: span 2;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
}
.why-pledge-check .icon {
  width: 20px;
  height: 20px;
}
.why-pledge-item h4 {
  margin: 0;
  padding-top: 6px;
  color: var(--ink);
  font: 600 1.15rem/1.25 var(--font-display);
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.why-pledge-item p {
  margin-top: 6px;
  color: var(--ink-2);
  font-size: 0.98rem;
  line-height: 1.5;
}
@media (min-width: 600px) {
  .why-pledge {
    border-radius: 32px;
  }
  .why-pledge-list[data-count="4"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 40px;
  }
}
@media (min-width: 1000px) {
  .why-pledge-list[data-count="3"] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
  }
  .why-pledge-list[data-count="4"] {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
  }
}
/* The closing line and the store action, then the note on where the complaints come from. */
.why-close {
  display: grid;
  justify-items: center;
  gap: 28px;
  margin-top: clamp(72px, 9vw, 128px);
  text-align: center;
}
.why-closing {
  max-width: 20em;
  color: #fff;
  font: 600 clamp(1.6rem, 3.2vw, 2.75rem) / 1.12 var(--font-display);
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.why-note {
  max-width: 60ch;
  margin: clamp(48px, 6vw, 72px) auto 0;
  color: var(--on-dark-faint);
  font-size: 0.8rem;
  text-align: center;
}

/* Plans: Free, Pro and Pro + as three cards whose rows line up. Each leads with its
   monthly AI credits and a bar drawn to scale, then its price, then the same features. */
.plan-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(4, auto) auto;
  gap: 0 20px;
  max-width: 1120px;
  margin-inline: auto;
}
.plan-card {
  --card-muted: var(--ink-3);
  --card-line: var(--line);
  --track: var(--brand-subtle);
  --fill: var(--brand);
  --tick: var(--brand);
  display: grid;
  grid-row: 1 / span 4;
  grid-template-rows: subgrid;
  align-content: start;
  min-width: 0;
  padding: clamp(26px, 2.8vw, 40px);
  border-radius: 32px;
  background: var(--surface);
}
.plan-card:nth-child(2) {
  grid-column: 2;
}
.plan-card:nth-child(3) {
  grid-column: 3;
}
/* The plan the app chooses first on its offer, in the brand blue. */
.plan-card.is-featured {
  --focus: #8fd3ff;
  --card-muted: #c3d5df;
  --card-line: rgb(255 255 255 / 18%);
  --track: rgb(255 255 255 / 16%);
  --fill: linear-gradient(90deg, var(--hero-accent), #fff);
  --tick: var(--hero-accent);
  background: linear-gradient(150deg, #356480 0%, #274c61 55%, #1c394a 100%);
  color: #fff;
}
.plan-card h3 {
  font: 600 clamp(1.7rem, 2.6vw, 2.2rem) / 1.05 var(--font-display);
  letter-spacing: -0.03em;
}
.plan-summary {
  margin-top: 6px;
  color: var(--brand);
  font: 600 1rem/1.35 var(--font-display);
  letter-spacing: -0.01em;
}
.plan-card.is-featured .plan-summary {
  color: var(--card-muted);
}
.plan-credits {
  margin-top: clamp(26px, 3vw, 40px);
}
.plan-figure {
  font: 600 clamp(3rem, 5.2vw, 4.4rem) / 0.95 var(--font-display);
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
}
.plan-unit {
  margin-top: 8px;
  color: var(--card-muted);
  font: 600 0.98rem/1.3 var(--font-display);
}
.plan-meter {
  display: block;
  height: 8px;
  margin-top: 16px;
  border-radius: 99px;
  background: var(--track);
  overflow: hidden;
}
.plan-meter > span {
  display: block;
  width: var(--share);
  height: 100%;
  border-radius: inherit;
  background: var(--fill);
  transform-origin: left;
  transition: scale 1.1s var(--ease-arrive) calc(var(--delay, 0s) + 0.35s);
}
html.motion-ready .plan-card:not(.is-visible) .plan-meter > span {
  scale: 0 1;
}
.plan-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 8px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--card-line);
}
.plan-amount {
  font: 600 clamp(1.5rem, 2.2vw, 1.85rem) / 1.1 var(--font-display);
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
}
.plan-cadence {
  color: var(--card-muted);
  font-size: 0.95rem;
}
.plan-features {
  margin-top: 18px;
}
.plan-features li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 12px;
  padding: 9px 0;
  font-weight: 520;
  line-height: 1.4;
}
.plan-features .icon {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  color: var(--tick);
}
.plan-features li.is-off {
  color: var(--ink-3);
  font-weight: 450;
}
.plan-features li.is-off .icon {
  color: #a7b4bc;
}
/* Pro and Pro + share every feature: one bracket under both says so. */
.plan-same {
  display: grid;
  grid-row: 5;
  grid-column: 2 / 4;
  justify-items: center;
  margin-top: 14px;
  color: var(--ink-2);
  font: 600 0.96rem/1.4 var(--font-display);
  text-align: center;
}
.plan-same::before {
  content: "";
  justify-self: stretch;
  height: 14px;
  margin: 0 calc(25% - 5px);
  border: 1.5px solid #b9c7cf;
  border-top: 0;
  border-radius: 0 0 12px 12px;
}
.plan-same > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--surface);
}
.plan-twice {
  display: inline-grid;
  flex: none;
  place-items: center;
  min-width: 30px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font: 700 0.76rem/1 var(--font-display);
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.plan-notes {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 20px clamp(24px, 4vw, 56px);
  max-width: 1120px;
  margin: 28px auto 0;
  padding: clamp(24px, 2.6vw, 34px) clamp(26px, 2.8vw, 40px);
  border-radius: 32px;
  box-shadow: inset 0 0 0 1px var(--line);
}
.plan-note {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  color: var(--ink-2);
  font-size: 0.96rem;
  line-height: 1.55;
}
.plan-note .icon {
  width: 44px;
  height: 44px;
  padding: 11px;
  border-radius: 14px;
  background: var(--surface);
  color: var(--brand);
}
.plan-note strong {
  color: var(--ink);
}

/* Privacy: where the analysis happens and where the depth map is made, side by side;
   the other facts in a grid under them. */
.privacy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 1120px;
  margin-inline: auto;
}
.privacy-tile {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(28px, 3.2vw, 48px);
  border-radius: 36px;
  background: var(--bg);
}
.privacy-art {
  width: 100%;
  height: clamp(120px, 12vw, 168px);
  margin-bottom: clamp(26px, 3vw, 44px);
  color: var(--brand);
  overflow: visible;
}
.privacy-tile h3 {
  font: 600 clamp(1.5rem, 2.5vw, 2.2rem) / 1.1 var(--font-display);
  letter-spacing: -0.03em;
}
.privacy-tile p {
  max-width: 30em;
  margin-top: 12px;
  color: var(--ink-2);
  font-size: 1.05rem;
  line-height: 1.5;
}
.privacy-depth {
  --focus: #8fd3ff;
  background: radial-gradient(90% 120% at 88% -10%, #1a4155 0%, var(--night-card) 62%);
  color: #fff;
}
.privacy-depth .privacy-art {
  color: #86b7d3;
}
.privacy-depth p {
  color: var(--on-dark-muted);
}
/* The drawings finish themselves once, as their tile arrives: the photo travels to the
   cloud, and the depth map's contours draw from the rim to the nearest point. */
.art-flow {
  transition: stroke-dashoffset 1.6s var(--ease-standard) 0.4s;
}
.art-cloud {
  transition:
    opacity 0.6s var(--ease-standard) 1.1s,
    translate 0.8s var(--ease) 1.1s;
}
.art-ring {
  stroke-dasharray: 1;
  transition: stroke-dashoffset 1s var(--ease-standard);
}
.art-ring:nth-of-type(1) {
  opacity: 0.4;
  transition-delay: 0.45s;
}
.art-ring:nth-of-type(2) {
  opacity: 0.6;
  transition-delay: 0.6s;
}
.art-ring:nth-of-type(3) {
  opacity: 0.8;
  transition-delay: 0.75s;
}
.art-ring:nth-of-type(4) {
  transition-delay: 0.9s;
}
html.motion-ready .privacy-tile:not(.is-visible) .art-ring {
  stroke-dashoffset: 1;
}
html.motion-ready .privacy-tile:not(.is-visible) .art-flow {
  stroke-dashoffset: 48;
}
html.motion-ready .privacy-tile:not(.is-visible) .art-cloud {
  opacity: 0.25;
  translate: 0 6px;
}
/* Four to eight facts. One column on a phone; two from 600 px, an odd last one taking
   the row; from 1000 px rows of four (four, eight), three (six), three then two (five)
   or four then three (seven), from the count landing.mjs writes on the list. */
.privacy-facts {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}
.data-item {
  min-width: 0;
  padding: clamp(22px, 2.2vw, 30px);
  border-radius: 28px;
  background: var(--bg);
}
.data-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: var(--surface);
  color: var(--brand);
}
.data-item h3 {
  color: var(--ink);
  font: 600 clamp(1.05rem, 1.3vw, 1.2rem) / 1.25 var(--font-display);
  letter-spacing: -0.015em;
}
.data-item p {
  margin-top: 6px;
  color: var(--ink-2);
  font-size: 0.98rem;
  line-height: 1.5;
}
@media (min-width: 600px) {
  .privacy-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .privacy-facts > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}
@media (min-width: 1000px) {
  .privacy-facts {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 20px;
  }
  .privacy-facts > li,
  .privacy-facts > :last-child:nth-child(odd) {
    grid-column: span 3;
  }
  .privacy-facts:is([data-count="5"], [data-count="6"]) > li {
    grid-column: span 4;
  }
  .privacy-facts[data-count="5"] > li:nth-child(n + 4) {
    grid-column: span 6;
  }
  .privacy-facts[data-count="7"] > li:nth-child(n + 5) {
    grid-column: span 4;
  }
}
/* The market's policy documents, under the facts. */
.data-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 32px;
  max-width: 860px;
  margin: clamp(24px, 2.8vw, 36px) auto 0;
}
.data-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  color: var(--brand);
  font: 600 clamp(1rem, 1.3vw, 1.1rem) / 1.3 var(--font-display);
  letter-spacing: -0.01em;
  text-decoration: none;
}
.data-links a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.data-links .icon {
  width: 18px;
  height: 18px;
  transition: translate 0.3s var(--ease);
}
.data-links a:hover .icon {
  translate: 3px 0;
}

/* Questions, grouped by feature. On the web the heading and the links to the groups
   stay beside the questions while they are read, when the screen is tall enough to
   hold them. */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  align-items: start;
  gap: clamp(32px, 5vw, 88px);
}
.faq-head {
  max-width: none;
  margin: 0;
  text-align: left;
}
.faq-head .headline {
  font-size: clamp(2.4rem, 4.6vw, 4rem);
}
.faq-head .lede {
  margin-inline: 0;
}
/* Pinned, the panel never runs past the bottom of the screen: when a language's heading,
   sentence and links need more room, the panel scrolls on its own, so every link stays
   in reach. The padding keeps the links' focus ring clear of the panel's edge. */
@media (min-height: 720px) {
  .faq-side {
    position: sticky;
    top: calc(var(--header-h) + var(--safe-top) + 44px);
    max-height: calc(100vh - var(--header-h) - var(--safe-top) - 68px);
    margin: -8px;
    padding: 8px;
    overflow-y: auto;
    scrollbar-width: thin;
  }
}
/* On the web, with a mouse or trackpad, the links are smaller pills in wrapping rows, so
   the panel stays short; touch screens keep 44 px targets. */
@media (min-width: 1000px) and (pointer: fine) {
  .faq-chips {
    gap: 6px;
  }
  .faq-chip {
    min-height: 36px;
    padding: 7px 14px;
    font-size: 0.88rem;
  }
}
.faq-nav {
  margin-top: clamp(24px, 2.8vw, 36px);
}
.faq-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.faq-chip {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink-2);
  font: 600 0.95rem/1.2 var(--font-display);
  letter-spacing: -0.01em;
  text-decoration: none;
  transition:
    background-color 0.25s,
    color 0.25s,
    box-shadow 0.25s;
}
.faq-chip:hover {
  background: var(--brand-subtle);
  box-shadow: inset 0 0 0 1px transparent;
  color: var(--brand);
}
.faq-chip:focus-visible {
  border-radius: 999px;
  outline-offset: 2px;
}
.faq-groups {
  display: grid;
  gap: clamp(40px, 4.4vw, 64px);
}
.faq-group-title {
  margin: 0 0 14px 4px;
  color: var(--ink);
  font: 600 clamp(1.3rem, 1.9vw, 1.6rem) / 1.2 var(--font-display);
  letter-spacing: -0.02em;
}
.faq-list {
  padding: 6px clamp(20px, 2.8vw, 40px);
  border-radius: 32px;
  background: var(--surface);
}
.faq-item + .faq-item {
  border-top: 1px solid var(--line);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 20px 0;
  font: 600 clamp(1.08rem, 1.5vw, 1.3rem) / 1.3 var(--font-display);
  letter-spacing: -0.018em;
  transition: color 0.2s;
}
.faq-item summary:hover {
  color: var(--brand);
}
.faq-icon {
  width: 34px;
  height: 34px;
  padding: 7px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--ink-2);
  transition:
    rotate 0.4s var(--ease),
    background-color 0.3s,
    color 0.3s;
}
.faq-item[open]:not(.is-closing) .faq-icon {
  rotate: 45deg;
  background: var(--ink);
  color: #fff;
}
/* The answer opens and closes at its own height (site.js). */
.faq-answer {
  overflow: clip;
  color: var(--ink-2);
  line-height: 1.6;
}
.faq-answer p {
  max-width: 44em;
  padding: 0 48px 28px 0;
}

/* Closing */
.closing {
  position: relative;
  isolation: isolate;
  padding: clamp(120px, 14vw, 208px) 0;
  background:
    radial-gradient(50% 55% at 50% 45%, rgb(49 91 115 / 50%), transparent 70%),
    var(--night);
  text-align: center;
  overflow: clip;
}
.closing-art {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.closing-plate,
.closing-bowl {
  position: absolute;
  height: auto;
  filter: drop-shadow(0 40px 60px rgb(0 0 0 / 55%));
  opacity: 0.92;
}
.closing-plate {
  width: clamp(280px, 36vw, 520px);
  left: -9vw;
  bottom: -14vw;
}
.closing-bowl {
  width: clamp(200px, 26vw, 380px);
  right: -6vw;
  top: -7vw;
}
.closing-inner {
  display: grid;
  justify-items: center;
}
/* The icon file is the app's full-bleed square (the folded N on white, no alpha), so the
   page rounds it as iOS does: a corner radius of 22.37% of its side. */
.closing-icon {
  width: 112px;
  height: 112px;
  border-radius: 22.37%;
  background: #fff;
  box-shadow:
    0 30px 60px -20px rgb(0 0 0 / 70%),
    0 0 90px rgb(98 153 182 / 30%);
}
.closing-eyebrow {
  margin-top: 36px;
  color: var(--on-dark-muted);
  font: 590 clamp(1.05rem, 1.4vw, 1.25rem) / 1.4 var(--font-display);
}
.closing h2 {
  margin-top: 14px;
  color: #fff;
  font-size: clamp(2.6rem, 5.4vw, 4.75rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 650;
}
.closing h2 span {
  display: block;
}
.closing-body {
  max-width: 44ch;
  margin-top: 22px;
  color: var(--on-dark-muted);
  font-size: 1.1rem;
  line-height: 1.6;
}
.closing-actions {
  margin-top: 36px;
}

/* Footer */
.site-footer {
  padding: 72px 0 40px;
  background: var(--night);
  border-top: 1px solid var(--night-line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 32px;
}
.footer-brand p {
  margin-top: 14px;
  color: var(--on-dark-faint);
  font-size: 0.92rem;
}
.footer-heading {
  margin-bottom: 12px;
  color: var(--on-dark);
  font: 600 0.88rem/1.4 var(--font-display);
}
.footer-nav ul {
  display: grid;
  gap: 2px;
}
.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: var(--on-dark-faint);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-nav a:hover,
.footer-nav a[aria-current] {
  color: #fff;
}
.footer-notes {
  display: grid;
  gap: 6px;
  margin-top: 56px;
  color: var(--on-dark-faint);
  font-size: 0.78rem;
  line-height: 1.6;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--night-line);
  color: var(--on-dark-faint);
  font-size: 0.8rem;
}

/* 404 */
.not-found {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 48px 0;
  background: var(--bg);
  text-align: center;
}
.not-found .wrap {
  display: grid;
  justify-items: center;
  gap: 20px;
}
.not-found h1 {
  font-size: clamp(2.4rem, 5vw, 3.5rem);
}
.not-found p {
  color: var(--ink-2);
}
.not-found-languages {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 16px;
}
.not-found-languages a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--brand);
}

/* Entrances. Everything below the hero arrives once and in order: a chapter's label,
   headline and sentence; then a tile, its iPhone and the iPhone's cards. Nothing loops
   and nothing replays. */
html.js .hero-title,
html.js .hero-actions {
  animation: rise 1.1s var(--ease) 0.15s both;
}
html.js .hero-actions {
  animation-delay: 0.35s;
}
/* The still plate rises in with the slogan. */
@media (prefers-reduced-motion: no-preference) {
  html.js .hero-plate {
    animation: hero-plate-in 1.9s var(--ease) both;
  }
}
[data-reveal]:not([data-reveal="group"]),
[data-reveal="group"] > * {
  transition:
    opacity var(--dur-fade) var(--ease-arrive) var(--delay, 0s),
    translate var(--dur-move) var(--ease-arrive) var(--delay, 0s),
    scale var(--dur-move) var(--ease-arrive) var(--delay, 0s);
}
html.motion-ready [data-reveal]:not([data-reveal="group"], .is-visible),
html.motion-ready [data-reveal="group"]:not(.is-visible) > * {
  opacity: 0;
  translate: 0 var(--rise);
}
[data-reveal="group"] > :nth-child(2) {
  --delay: var(--stagger);
}
[data-reveal="group"] > :nth-child(3) {
  --delay: calc(var(--stagger) * 2);
}
/* A phone's cards come after it, one at a time. */
.rig > .lift {
  --delay: 0.4s;
}
.rig > .lift ~ .lift {
  --delay: 0.55s;
}
html.motion-ready .rig:not(.is-visible) > .lift {
  translate: 0 16px;
  scale: 0.95;
}
html.motion-ready .rig:not(.is-visible) > .lift-bubble {
  scale: 0.8;
}
/* With room to spare, cards drift a few pixels against the page as it scrolls. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .lift {
      animation: drift linear both;
      animation-timeline: view();
    }
    .lift-right {
      --drift: -8px;
    }
    .closing-plate {
      animation: glide linear both;
      animation-timeline: view();
    }
    .closing-bowl {
      --glide: -36px;
      animation: glide linear both;
      animation-timeline: view();
    }
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
}
@keyframes hero-plate-in {
  from {
    opacity: 0;
    translate: 0 90px;
    scale: 0.96;
  }
}
@keyframes bar-in {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
}
@keyframes header-in {
  from {
    opacity: 0;
  }
}
@keyframes drift {
  from {
    transform: translateY(var(--drift, 8px));
  }
  to {
    transform: translateY(calc(-1 * var(--drift, 8px)));
  }
}
@keyframes glide {
  from {
    translate: 0 var(--glide, 44px);
  }
  to {
    translate: 0 calc(-1 * var(--glide, 44px));
  }
}
@keyframes pulse-dot {
  0% {
    box-shadow: 0 0 0 0 rgb(79 195 138 / 55%);
  }
  70%,
  100% {
    box-shadow: 0 0 0 9px rgb(79 195 138 / 0%);
  }
}
@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.97);
  }
}
@keyframes menu-item {
  from {
    opacity: 0;
    translate: 0 8px;
  }
}

/* Tablet */
@media (max-width: 1099px) {
  .nav-links {
    display: none;
  }
  .nav-links + .nav-actions {
    margin-left: auto;
  }
  .nav-menu {
    display: block;
  }
  .language-menu {
    display: none;
  }
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* Between a tablet and a wide desktop the two halves are equal, so the tab row has
   room beside the iPhone in every language. */
@media (min-width: 900px) and (max-width: 1279px) {
  .how-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .steps-tab {
    padding-inline: 10px;
    font-size: 0.9rem;
  }
}

@media (max-width: 999px) {
  .chapter-head.is-split {
    display: block;
    text-align: center;
  }
  .is-split .lede {
    margin: clamp(18px, 2.2vw, 30px) auto 0;
  }
  .why-manifesto {
    margin-inline: auto;
    text-align: center;
  }
  .why-manifesto::before {
    background: radial-gradient(50% 50% at 50% 50%, rgb(49 91 115 / 40%), transparent 72%);
  }
  .why-card,
  .why-half {
    grid-column: span 3;
  }
  .why-wide,
  .why-full {
    grid-column: 1 / -1;
  }
  .faq-layout {
    display: block;
  }
  .faq-side {
    position: static;
    max-height: none;
    margin: 0 0 clamp(40px, 5.4vw, 72px);
    padding: 0;
    overflow: visible;
  }
  .faq-head {
    margin-inline: auto;
    text-align: center;
  }
  .faq-head .lede {
    margin-inline: auto;
  }
  .faq-chips {
    justify-content: center;
    max-width: 880px;
    margin-inline: auto;
  }
  .faq-groups {
    max-width: 880px;
    margin-inline: auto;
  }
}

/* Phone and small tablet */
@media (max-width: 899px) {
  :root {
    --header-h: 60px;
  }
  /* How it works on a phone: the heading, then the tab row directly above the iPhone and
     the text under it. That block is one screen tall and the iPhone takes the height
     that is left, so nobody scrolls between choosing a step and seeing it. */
  .how-grid {
    display: block;
  }
  .steps-head {
    max-width: 1040px;
    margin: 0 auto clamp(36px, 6vw, 56px);
    text-align: center;
  }
  .steps-head .lede {
    margin-inline: auto;
  }
  .steps-title {
    font-size: clamp(2.5rem, 6.4vw, 5.5rem);
  }
  .steps {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(180px, 1fr) auto;
    gap: 16px;
    min-height: clamp(480px, calc(100vh - 100px), 760px);
    /* The page's scroll padding already clears the header bar. */
    scroll-margin: 8px 0 16px;
  }
  .steps-side {
    display: contents;
  }
  .steps-tabs {
    display: flex;
    width: 100%;
    max-width: 480px;
    margin-inline: auto;
    padding: 4px;
  }
  /* Each tab is at least as wide as its word and they share what is left; with
     enlarged text they wrap onto a second row rather than cut a word. */
  .steps-tab {
    flex: 1 1 auto;
    min-height: 44px;
    padding: 6px clamp(5px, 1.8vw, 12px);
    font-size: clamp(0.76rem, 3.5vw, 0.95rem);
  }
  .steps-visual {
    grid-area: auto;
    order: 1;
    min-height: 0;
    padding-block: 0;
    align-self: stretch;
    container-type: size;
  }
  /* An iPhone is 2.1 times as tall as it is wide. */
  .stage {
    width: min(250px, 60vw, calc(100cqh * 0.475));
  }
  .steps-texts {
    order: 2;
    max-width: 30em;
    margin-inline: auto;
    font: 600 1.02rem/1.42 var(--font-display);
    letter-spacing: -0.008em;
    text-align: center;
  }
  .steps-paddles {
    display: none;
  }
  /* Without JavaScript the four texts are a list, so the block grows with them. */
  html:not(.js) .steps {
    grid-template-rows: auto;
    min-height: 0;
  }
  html:not(.js) .steps-visual {
    container-type: inline-size;
  }
  html:not(.js) .stage {
    width: min(250px, 60vw);
  }
  .tile-half {
    grid-column: 1 / -1;
  }
  .tile-full {
    display: flex;
    align-items: stretch;
  }
  .tile-full .tile-copy,
  .tile-coach .tile-copy {
    padding: var(--pad) var(--pad) 28px;
  }
  .tile-full .tile-visual {
    margin-top: auto;
    padding: 4px var(--pad) var(--pad);
  }
  .tile-coach .tile-visual {
    order: 0;
  }
  .rig,
  .tile-full .rig {
    --device-w: min(270px, 78%);
  }
  .plan-cards {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    gap: 16px;
    max-width: 520px;
  }
  .plan-card,
  .plan-card:nth-child(n) {
    display: block;
    grid-row: auto;
    grid-column: auto;
    border-radius: 28px;
  }
  .plan-same {
    grid-row: auto;
    grid-column: auto;
    margin-top: -4px;
  }
  .plan-same::before {
    display: none;
  }
  .plan-same > span {
    align-items: flex-start;
    padding: 12px 16px;
    border-radius: 20px;
    text-align: left;
  }
  .plan-notes {
    grid-template-columns: minmax(0, 1fr);
    max-width: 520px;
    margin-top: 16px;
  }
  .privacy-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    max-width: 560px;
  }
  .privacy-tile {
    border-radius: 28px;
  }
}
@supports (height: 100svh) {
  .stage {
    width: min(340px, 62vw, max(200px, calc((100svh - 170px) * 0.476)));
  }
  @media (max-width: 899px) {
    .steps {
      min-height: clamp(480px, calc(100svh - 100px), 760px);
    }
    .stage {
      width: min(250px, 60vw, calc(100cqh * 0.475));
    }
    html:not(.js) .stage {
      width: min(250px, 60vw);
    }
  }
}

@media (max-width: 599px) {
  .nav {
    gap: 8px;
  }
  .site-header.is-hero .brand {
    font-size: 1.18rem;
  }
  .site-header.is-hero .brand img {
    width: 30px;
    height: 30px;
  }
  .statement {
    padding-bottom: 88px;
  }
  .tiles,
  .why-grid {
    gap: 12px;
  }
  .tile {
    border-radius: 28px;
  }
  .why-card,
  .why-half,
  .why-wide,
  .why-full {
    grid-column: 1 / -1;
    min-height: 0;
    border-radius: 28px;
  }
  .why-full {
    display: flex;
  }
  .why-full .why-usual {
    align-self: auto;
  }
  .faq-list {
    border-radius: 28px;
  }
  .faq-answer p {
    padding-right: 0;
  }
  /* On a phone the links to the groups are one row that scrolls sideways, running to
     the screen's edges inside the gutters the page already has. */
  .faq-nav {
    margin-inline: calc(-1 * max(var(--gutter), var(--safe-side)));
  }
  .faq-chips {
    flex-wrap: nowrap;
    justify-content: flex-start;
    /* Room for the focus ring, which the scrolling row would otherwise clip. */
    padding: 6px max(var(--gutter), var(--safe-side));
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-padding-inline: max(var(--gutter), var(--safe-side));
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }
  .faq-chips::-webkit-scrollbar {
    display: none;
  }
  .faq-chips li {
    flex: none;
    scroll-snap-align: start;
  }
  .faq-chip {
    white-space: nowrap;
  }
  .closing {
    padding-bottom: 150px;
  }
  .closing-plate {
    left: -34vw;
    bottom: -40vw;
    width: 72vw;
    opacity: 0.45;
  }
  .closing-bowl {
    right: -20vw;
    top: -16vw;
    width: 52vw;
    opacity: 0.5;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 359px) {
  .site-header .button-small {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    /* Zero, not a token duration: a transition of any length makes the script read the
       old layout in the frame a class changes, such as when the hero stops pinning. */
    transition-duration: 0s !important;
    transition-delay: 0s !important;
  }
}
