:root {
  --ink: #16383a;
  --ink-soft: #436467;
  --paper: #fbfaf4;
  --white: #ffffff;
  --aqua: #8de0de;
  --aqua-deep: #3cb8bc;
  --aqua-ink: #17656b;
  --mint: #b7e8d4;
  --mint-pale: #e3f5ec;
  --cream: #f8edc9;
  --coral: #e79d91;
  --coral-pale: #f8e6df;
  --line: rgba(22, 56, 58, 0.13);
  --shadow-soft: 0 28px 70px rgba(28, 83, 85, 0.14);
  --shadow-phone: 0 40px 90px rgba(21, 68, 70, 0.23), 0 10px 25px rgba(21, 68, 70, 0.12);
  --radius-xl: 48px;
  --radius-lg: 32px;
  --radius-md: 22px;
  --page: min(1180px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Hiragino Sans", "Yu Gothic", "YuGothic", sans-serif;
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 16% 8%, rgba(141, 224, 222, 0.25), transparent 24rem),
    radial-gradient(circle at 84% 4%, rgba(248, 237, 201, 0.75), transparent 28rem),
    var(--paper);
}

.paper-grain {
  position: fixed;
  inset: 0;
  z-index: 20;
  opacity: 0.035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: relative;
  z-index: 10;
  width: var(--page);
  min-height: 88px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: max-content;
  gap: 10px;
  text-decoration: none;
  font-family: "Avenir Next", "Hiragino Sans", sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.brand__sprout {
  position: relative;
  width: 24px;
  height: 25px;
}

.brand__icon {
  width: 34px;
  height: 34px;
  overflow: hidden;
  flex: 0 0 34px;
  border-radius: 10px;
  box-shadow: 0 5px 12px rgba(22, 86, 87, 0.12);
}

.brand__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand__sprout::before {
  content: "";
  position: absolute;
  bottom: 1px;
  left: 11px;
  width: 2px;
  height: 13px;
  border-radius: 99px;
  background: var(--aqua-ink);
  transform: rotate(-3deg);
}

.brand__sprout i,
.brand__sprout b {
  position: absolute;
  top: 2px;
  width: 12px;
  height: 8px;
  border-radius: 80% 20% 70% 30%;
  background: var(--aqua);
  border: 1px solid rgba(23, 101, 107, 0.18);
}

.brand__sprout i {
  left: 1px;
  transform: rotate(18deg);
}

.brand__sprout b {
  right: 0;
  transform: scaleX(-1) rotate(18deg);
}

.site-nav {
  display: flex;
  gap: 32px;
  font-size: 13px;
  font-weight: 700;
}

.site-nav a,
.site-footer nav a {
  text-decoration: none;
  position: relative;
}

.site-nav a::after,
.site-footer nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -5px;
  height: 1px;
  background: currentColor;
  transition: right 220ms ease;
}

.site-nav a:hover::after,
.site-footer nav a:hover::after {
  right: 0;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  justify-self: end;
  padding: 11px 20px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.header-cta:hover {
  transform: translateY(-2px);
  background: var(--ink);
  color: var(--white);
}

.hero {
  width: var(--page);
  min-height: calc(100vh - 88px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(40px, 5vw, 90px);
  padding: 72px 0 96px;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--aqua-ink);
  font-family: "Avenir Next", "Hiragino Sans", sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.hero h1,
.manifesto h2,
.section-heading h2,
.companion h2,
.films h2,
.privacy-band h2,
.download h2 {
  margin: 0;
  font-family: "Hiragino Maru Gothic ProN", "Hiragino Sans", sans-serif;
  font-weight: 800;
  letter-spacing: -0.055em;
}

.hero h1 {
  font-size: clamp(64px, 8vw, 112px);
  line-height: 0.92;
}

.hero .eyebrow {
  margin-bottom: 26px;
  color: var(--aqua-ink);
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.6;
  letter-spacing: 0.015em;
}

.hero h1 em {
  color: var(--aqua-ink);
  font-style: normal;
}

.hero__lead {
  margin: 34px 0 0;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 2;
}

.hero__actions {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button--primary {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(22, 56, 58, 0.18);
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(22, 56, 58, 0.22);
}

.hero__availability {
  display: grid;
  gap: 2px;
  white-space: nowrap;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.6;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding: 0;
  margin: 40px 0 0;
  color: var(--ink-soft);
  list-style: none;
  font-size: 15px;
  font-weight: 800;
}

.trust-list li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--aqua-deep);
}

.hero__visual {
  position: relative;
  min-height: 650px;
}

.hero-film {
  position: absolute;
  inset: 0 9% 8% 0;
  overflow: hidden;
  border-radius: 46% 54% 48% 52% / 38% 39% 61% 62%;
  background:
    url("/assets/video/noko-lp-film-01-morning-poster.webp") 45% center / cover no-repeat,
    radial-gradient(circle at 51% 32%, rgba(255, 255, 255, 0.96) 0 7%, transparent 31%),
    linear-gradient(155deg, #dff6f1 0%, #cdebea 52%, #f5e8c3 100%);
  box-shadow: var(--shadow-soft);
}

.hero-film::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: repeating-radial-gradient(circle at 50% 38%, transparent 0 34px, rgba(255, 255, 255, 0.24) 35px 36px);
  mask-image: linear-gradient(to bottom, black, transparent 74%);
}

.sun-orbit {
  position: absolute;
  top: 14%;
  right: 17%;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: rgba(255, 244, 199, 0.7);
  box-shadow: 0 0 0 28px rgba(255, 244, 199, 0.23);
  animation: morningPulse 5s ease-in-out infinite;
}

.hero-film__character {
  position: absolute;
  z-index: 1;
  left: 5%;
  bottom: 2%;
  width: 78%;
  filter: drop-shadow(0 25px 28px rgba(24, 100, 101, 0.17));
  animation: quietBreath 4.6s ease-in-out infinite;
  transform-origin: 50% 82%;
}

.hero-film__media {
  position: absolute;
  z-index: 1;
  inset: 0;
}

.hero-film__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 45% center;
}

.seamless-video__layer {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms linear;
}

.seamless-video__layer.is-active {
  opacity: 1;
}

.phone {
  overflow: hidden;
  margin: 0;
  border: 8px solid #eff3ef;
  border-radius: 48px;
  background: #eff3ef;
  box-shadow: var(--shadow-phone);
}

.phone--hero {
  position: absolute;
  z-index: 3;
  right: -3%;
  bottom: 0;
  width: 38%;
  transform: rotate(6deg);
}

.phone img {
  width: 100%;
  border-radius: 38px;
}

.hero__note {
  position: absolute;
  z-index: 4;
  top: 15%;
  right: -5%;
  padding: 13px 18px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 26px rgba(22, 56, 58, 0.1);
  backdrop-filter: blur(12px);
  font-size: 10px;
  line-height: 1.45;
  transform: rotate(-5deg);
}

.hero__note b {
  font-family: "JetBrains Mono", "SFMono-Regular", monospace;
  font-size: 18px;
}

.manifesto {
  width: var(--page);
  margin: 0 auto;
  padding: 150px 5vw;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.manifesto p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.8;
}

.manifesto h2 {
  margin: 24px 0;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1.24;
}

.manifesto__line {
  display: block;
  white-space: nowrap;
}

.manifesto h2 em {
  position: relative;
  color: var(--aqua-ink);
  font-style: normal;
}

.manifesto h2 em::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -4%;
  right: -4%;
  bottom: 4px;
  height: 14px;
  border-radius: 99px;
  background: var(--aqua);
  opacity: 0.42;
  transform: rotate(-1deg);
}

.story {
  width: var(--page);
  margin: 0 auto;
  padding: 160px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: end;
  margin-bottom: 64px;
}

.section-heading .eyebrow {
  margin-bottom: 10px;
}

.section-heading h2,
.companion h2,
.films h2,
.privacy-band h2,
.download h2 {
  font-size: clamp(46px, 6vw, 76px);
  line-height: 1.12;
}

.story-cards {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px;
}

.story-card {
  position: relative;
  min-height: 700px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: inset 0 0 0 1px rgba(22, 56, 58, 0.07);
}

.story-card--aqua {
  grid-column: span 7;
  background: #d8f2f1;
}

.story-card--cream {
  grid-column: span 5;
  background: var(--cream);
}

.story-card--mint {
  grid-column: 3 / span 8;
  min-height: 680px;
  margin-top: 0;
  background: var(--mint-pale);
}

.story-card__copy {
  position: relative;
  z-index: 3;
  padding: 46px 48px;
}

.chapter {
  display: inline-flex;
  margin-bottom: 22px;
  font-family: "Avenir Next", sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.story-card h3 {
  margin: 0;
  font-family: "Hiragino Maru Gothic ProN", "Hiragino Sans", sans-serif;
  font-size: clamp(34px, 3.6vw, 52px);
  line-height: 1.22;
  letter-spacing: -0.045em;
}

.story-card p {
  max-width: 31em;
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.9;
}

.phone-crop {
  position: absolute;
  overflow: hidden;
  border-radius: 42px;
  background: #fff;
  box-shadow: var(--shadow-phone);
}

.phone-crop img {
  width: 100%;
}

.phone-crop--home {
  right: 7%;
  bottom: -26%;
  width: 51%;
  transform: rotate(4deg);
}

.phone-crop--entry {
  left: 12%;
  bottom: -15%;
  width: 69%;
  transform: rotate(-4deg);
}

.phone-crop--history {
  right: 8%;
  bottom: -32%;
  width: 47%;
  transform: rotate(3deg);
}

.card-scribble {
  position: absolute;
  right: 12%;
  top: 43%;
  font-family: "Hiragino Maru Gothic ProN", sans-serif;
  font-size: 14px;
  font-weight: 800;
  transform: rotate(-7deg);
}

.card-scribble::after {
  content: "";
  position: absolute;
  left: -16px;
  right: -16px;
  bottom: -12px;
  height: 8px;
  border-top: 2px solid var(--aqua-ink);
  border-radius: 50%;
}

.card-character {
  position: absolute;
  z-index: 2;
  filter: drop-shadow(0 18px 22px rgba(83, 72, 37, 0.12));
}

.card-character--wink {
  right: -7%;
  bottom: 4%;
  width: 54%;
  transform: rotate(4deg);
}

.card-result {
  position: absolute;
  z-index: 4;
  left: 8%;
  bottom: 10%;
  display: grid;
  gap: 7px;
  padding: 18px 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
}

.card-result small {
  font-size: 10px;
}

.card-result b {
  color: #276d59;
  font-family: "JetBrains Mono", "SFMono-Regular", monospace;
  font-size: 25px;
}

.companion {
  width: var(--page);
  margin: 0 auto;
  padding: 40px 0 170px;
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  align-items: center;
  gap: clamp(45px, 8vw, 120px);
}

.companion__copy > p:not(.eyebrow) {
  margin: 30px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 2;
}

.companion h2 {
  font-size: clamp(34px, 4.2vw, 60px);
}

.state-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 34px;
}

.state-button {
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
}

.state-button:hover {
  transform: translateY(-2px);
}

.state-button.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.state-stage {
  position: relative;
  min-height: 610px;
  overflow: visible;
  border-radius: 48% 52% 46% 54% / 55% 45% 55% 45%;
  background: #dff3f1;
  box-shadow: var(--shadow-soft);
  transition: background 500ms ease;
}

.state-stage--good {
  background: #e1f3e9;
}

.state-stage--low {
  background: #f5ebc9;
}

.state-stage__art {
  position: absolute;
  inset: 0;
  z-index: 4;
}

.state-stage--zero {
  display: grid;
  grid-template-rows: max-content minmax(0, 1fr);
  row-gap: 16px;
  height: 610px;
  background: #f6e6df;
}

.state-stage--zero .state-stage__art {
  position: relative;
  inset: auto;
  min-height: 0;
  overflow: hidden;
  border-radius: 28% 32% 46% 54% / 18% 18% 55% 45%;
}

.state-stage--zero .state-stage__character {
  z-index: 2;
  width: 100%;
  height: 100%;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  object-fit: cover;
  object-position: center;
  filter: none;
  transform: scale(1.5);
  transform-origin: 50% 60%;
}

.state-stage--zero.is-changing .state-stage__character {
  transform: scale(1.5);
}

.state-stage--zero .state-stage__ring {
  opacity: 0;
}

.state-stage__summary {
  position: relative;
  z-index: 5;
  display: grid;
  gap: 12px;
  padding: 54px 9% 0;
}

.state-stage__label {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
}

.state-stage__amount {
  font-family: "JetBrains Mono", "SFMono-Regular", monospace;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.state-stage__message {
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.8;
}

.state-stage__character {
  position: absolute;
  z-index: 4;
  width: 88%;
  right: -5%;
  bottom: 0;
  filter: drop-shadow(0 34px 35px rgba(22, 86, 87, 0.13));
  transition: opacity 160ms ease, transform 480ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transform-origin: 50% 85%;
}

.state-stage.is-changing .state-stage__character {
  opacity: 0;
  transform: scale(0.94) translateY(12px);
}

.state-stage__ring {
  position: absolute;
  z-index: 1;
  width: 410px;
  height: 410px;
  right: -2%;
  bottom: -8%;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 50%;
  box-shadow: 0 0 0 50px rgba(255, 255, 255, 0.16), 0 0 0 100px rgba(255, 255, 255, 0.1);
}

.films {
  padding: 112px max(20px, calc((100vw - 1180px) / 2));
  background: linear-gradient(180deg, transparent, #e8f2ec 28%, #edf3e7 75%, transparent);
  color: var(--ink);
}

.films__heading {
  max-width: 800px;
  margin: 0 auto 56px;
  text-align: center;
}

.films h2 {
  font-size: clamp(32px, 4.3vw, 56px);
  line-height: 1.4;
}

.film-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.film-card {
  padding: 0;
  border: 0;
  background: transparent;
}

.film-card__frame {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  border-radius: 34px 42px 32px 38px;
  background: #d6eeeb;
}

.film-card--record .film-card__frame {
  background: #f2e7c4;
}

.film-card--morning .film-card__frame {
  background: url("/assets/video/noko-lp-film-01-morning-poster.webp") center / cover no-repeat;
}

.film-card--rest .film-card__frame {
  background: #e9d9d2;
}

.film-card__frame img {
  width: 125%;
  max-width: none;
  height: 120%;
  margin: -8% 0 0 -12%;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(22, 56, 58, 0.15));
  transform-origin: 50% 77%;
}

.film-card__frame .film-card__poster {
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
  object-fit: cover;
  filter: none;
}

.film-card h3 {
  margin: 20px 8px 0;
  color: var(--ink-soft);
  text-align: center;
  font-family: "Hiragino Maru Gothic ProN", sans-serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.8;
}

.privacy-band {
  width: var(--page);
  margin: 0 auto;
  padding: 150px 0;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 90px;
  align-items: center;
}

.privacy-band ul {
  padding: 0;
  margin: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.privacy-band li {
  display: grid;
  grid-template-columns: 50px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 25px 5px;
  border-bottom: 1px solid var(--line);
}

.privacy-band li > span {
  color: var(--aqua-ink);
  font-family: "Avenir Next", sans-serif;
  font-size: 10px;
  font-weight: 800;
}

.privacy-band li b {
  font-size: 14px;
}

.privacy-band li small {
  color: var(--ink-soft);
  font-size: 11px;
}

.download {
  position: relative;
  width: var(--page);
  min-height: 620px;
  overflow: hidden;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #cfefea, #e2f3e7 60%, #f5e8c8);
}

.download > img {
  position: relative;
  z-index: 2;
  width: 110%;
  max-width: none;
  margin-left: -8%;
  filter: drop-shadow(0 35px 35px rgba(22, 86, 87, 0.12));
}

.download__copy {
  position: relative;
  z-index: 3;
  padding: 60px 70px 60px 20px;
}

.download-title__line {
  display: block;
  white-space: nowrap;
}

.download__copy > p:not(.eyebrow) {
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.9;
}

.download__glow {
  position: absolute;
  left: 7%;
  bottom: 2%;
  width: 470px;
  height: 470px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 50%;
  box-shadow: 0 0 0 60px rgba(255, 255, 255, 0.16), 0 0 0 120px rgba(255, 255, 255, 0.1);
}

.download__button {
  margin-top: 30px;
}

.site-footer {
  width: var(--page);
  margin: 0 auto;
  min-height: 150px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
}

.site-footer p {
  color: var(--ink-soft);
  font-size: 11px;
}

.site-footer nav {
  display: flex;
  gap: 24px;
  color: var(--ink-soft);
  font-size: 11px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 800ms ease, transform 800ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes quietBreath {
  0%, 100% { transform: scale(1) translateY(0); }
  50% { transform: scale(1.012, 1.026) translateY(-3px); }
}

@keyframes morningPulse {
  0%, 100% { transform: scale(0.96); opacity: 0.65; }
  50% { transform: scale(1.04); opacity: 0.9; }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 90px;
  }

  .hero__copy {
    max-width: 680px;
  }

  .hero__visual {
    width: min(690px, 100%);
    min-height: 680px;
    margin: 0 auto;
  }

  .story-card--aqua,
  .story-card--cream,
  .story-card--mint {
    grid-column: span 12;
  }

  .story-card--cream {
    width: 76%;
    justify-self: end;
  }

  .story-card--mint {
    width: 86%;
  }

  .companion {
    grid-template-columns: 1fr;
  }

  .companion__copy {
    max-width: 690px;
  }

  .state-stage {
    width: min(700px, 100%);
    margin: 0 auto;
  }

  .privacy-band {
    grid-template-columns: 1fr;
  }

  .film-strip {
    grid-template-columns: 1fr;
    width: min(640px, 100%);
    margin: 0 auto;
  }

  .film-card__frame {
    aspect-ratio: 16 / 9;
  }

  .download {
    grid-template-columns: 1fr 1fr;
  }

  .download__copy {
    padding-right: 40px;
  }
}

@media (min-width: 681px) {
  .section-heading {
    display: block;
    max-width: 900px;
    margin-bottom: 64px;
  }

  .section-heading .eyebrow {
    margin-bottom: 20px;
  }

  .story-card,
  .story-card--cream,
  .story-card--mint {
    width: 100%;
    min-height: 780px;
    justify-self: stretch;
  }

  .story-card__copy {
    padding: 44px 46px 0;
  }

  .phone-crop--home {
    top: 340px;
    right: 6%;
    bottom: auto;
    width: 58%;
  }

  .phone-crop--entry {
    top: 360px;
    bottom: auto;
    left: 10%;
    width: 74%;
  }

  .phone-crop--history {
    top: 340px;
    right: 7%;
    bottom: auto;
    width: 48%;
  }

  .card-character--wink {
    right: -5%;
    width: 46%;
  }
}

@media (min-width: 681px) and (max-width: 980px) {
  .hero-film {
    inset: 0 28% 8% 0;
  }

  .hero-film__video {
    object-position: 42% center;
  }

  .phone--hero {
    right: 0;
    bottom: -2%;
    width: 30%;
  }

  .hero__note {
    top: 13%;
    right: 0;
  }
}

@media (min-width: 981px) {
  .hero__visual {
    min-height: 620px;
  }

  .hero-film {
    inset: 3% 15% 11% -8%;
  }

  .hero-film__video {
    object-position: 50% center;
  }

  .phone--hero {
    right: -2%;
    bottom: -5%;
    width: 31%;
    border-width: 6px;
    border-radius: 12% / 5.5%;
  }

  .phone--hero img {
    border-radius: 10% / 4.8%;
  }

  .hero__note {
    top: auto;
    right: auto;
    bottom: 14%;
    left: -2%;
    padding: 17px 23px;
    border-radius: 22px;
    font-size: 13px;
  }

  .hero__note b {
    font-size: 26px;
  }

  .story-card--aqua,
  .story-card--cream {
    grid-column: span 6;
  }

  .story-card--mint {
    grid-column: 2 / span 10;
  }

  .privacy-band {
    grid-template-columns: 1fr 1fr;
    gap: 70px;
  }

  .privacy-band h2 {
    font-size: clamp(52px, 5vw, 68px);
    white-space: nowrap;
  }
}

@media (min-width: 681px) and (max-width: 760px) {
  .films {
    padding-left: 20px;
    padding-right: 20px;
    overflow: hidden;
  }

  .film-strip {
    width: calc(100vw - 20px);
    margin-right: -20px;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(84vw, 560px);
    gap: 14px;
    overflow-x: auto;
    padding: 0 48px 16px 0;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 0;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }

  .film-strip::-webkit-scrollbar {
    display: none;
  }

  .film-card {
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
}

@media (max-width: 680px) {
  :root {
    --page: calc(100vw - 28px);
    --radius-xl: 32px;
  }

  .site-header {
    min-height: 72px;
  }

  .header-cta {
    padding: 9px 15px;
  }

  .hero {
    padding: 70px 0 176px;
  }

  .hero__copy {
    position: relative;
    z-index: 5;
  }

  .hero h1 {
    font-size: clamp(58px, 21vw, 86px);
  }

  .hero__lead br {
    display: none;
  }

  .hero__actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero__availability {
    max-width: none;
  }

  .trust-list {
    position: relative;
    z-index: 6;
    display: grid;
    gap: 14px;
    font-size: 16px;
  }

  .hero__visual {
    z-index: 1;
    min-height: 580px;
    margin-top: -112px;
  }

  .hero-film {
    inset: 0 2% 8% 0;
    transform: translateY(-72px);
  }

  .hero-film__character {
    left: 0;
    width: 92%;
  }

  .hero-film__video {
    object-position: 44% center;
  }

  .phone--hero {
    right: 3%;
    bottom: -7%;
    width: 42%;
    border-width: 5px;
    border-radius: 30px;
    transform: translateY(96px) rotate(6deg);
  }

  .phone img {
    border-radius: 24px;
  }

  .hero__note {
    top: auto;
    right: calc(45% - 6px);
    bottom: 7%;
    left: auto;
  }

  .manifesto,
  .story,
  .films,
  .privacy-band {
    padding-top: 110px;
    padding-bottom: 110px;
  }

  .manifesto {
    padding-left: 4vw;
    padding-right: 4vw;
  }

  .manifesto h2 {
    font-size: clamp(27px, 8.5vw, 38px);
    line-height: 1.42;
    letter-spacing: -0.065em;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .section-heading h2 {
    font-size: clamp(28px, 9.4vw, 46px);
  }

  .companion h2 {
    font-size: clamp(32px, 11vw, 46px);
  }

  .story-card,
  .story-card--cream,
  .story-card--mint {
    width: 100%;
    min-height: 620px;
  }

  .story-card__copy {
    padding: 34px 30px;
  }

  .chapter {
    margin-bottom: 24px;
    font-size: 15px;
  }

  .phone-crop--home {
    width: 61%;
  }

  .phone-crop--entry {
    top: 330px;
    bottom: auto;
    left: 3%;
    width: 82%;
  }

  .story-card--cream {
    min-height: 720px;
  }

  .story-card--mint {
    min-height: 680px;
  }

  .story-card--cream .story-card__copy {
    padding-bottom: 0;
  }

  .card-character--wink {
    right: -13%;
    width: 61%;
  }

  .phone-crop--history {
    width: 58%;
  }

  .card-result {
    left: 6%;
    top: 330px;
    bottom: auto;
  }

  .companion {
    gap: 18px;
    padding-bottom: 120px;
  }

  .state-stage {
    min-height: 450px;
  }

  .state-stage--zero { height: 450px; }

  .state-stage__character {
    width: 104%;
    right: -2%;
    bottom: 1%;
  }

  .state-stage__summary {
    padding: 36px 5% 0;
    gap: 12px;
  }

  .state-stage__label { font-size: 15px; }
  .state-stage__amount { font-size: clamp(38px, 10vw, 44px); }
  .state-stage__message { font-size: 14px; }

  .state-stage__ring {
    width: 280px;
    height: 280px;
  }

  .films {
    padding-left: 14px;
    padding-right: 14px;
  }

  .film-strip {
    width: calc(100vw - 14px);
    margin-right: -14px;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(84vw, 560px);
    gap: 12px;
    overflow-x: auto;
    padding: 0 42px 14px 0;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 0;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }

  .film-strip::-webkit-scrollbar {
    display: none;
  }

  .film-card {
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .privacy-band {
    gap: 50px;
  }

  .privacy-band li {
    grid-template-columns: 35px 1fr;
  }

  .privacy-band li small {
    grid-column: 2;
  }

  .download {
    min-height: 760px;
    grid-template-columns: 1fr;
    align-items: end;
  }

  .download > img {
    position: absolute;
    top: 3%;
    left: -7%;
    width: 114%;
  }

  .download__copy {
    padding: 385px 28px 42px;
  }

  .download h2 {
    font-size: clamp(29px, 9vw, 40px);
    line-height: 1.25;
    letter-spacing: -0.065em;
  }

  .site-footer {
    padding: 50px 0;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }
}

@media (max-width: 340px) {
  .card-result {
    top: 400px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Show the current history overview and spending breakdown together. */
@media (min-width: 981px) {
  .story-card--mint .story-card__copy { max-width: 57%; }
  .story-card--mint .phone-crop--history { top: 100px; bottom: auto; width: min(35%, 320px); }
}
@media (max-width: 980px) {
  .story-card--mint { min-height: 0; }
  .story-card--mint .story-card__copy { padding-bottom: 38px; }
  .story-card--mint .phone-crop--history { position: relative; top: auto; right: auto; bottom: auto; width: min(68%, 280px); margin: 0 7% -60px auto; }
  .story-card--mint .card-result { display: none; }
}
@media (max-width: 680px) {
  .story-card--mint h3 { font-size: clamp(26px, 8vw, 34px); }
}
/* Keep the annotation and phone in separate rows at every breakpoint. */
.story-card--aqua .story-card__copy { padding-bottom: 0; }
.story-card__scene { margin-top: 28px; padding: 0 6%; height: 500px; display: grid; grid-template-rows: max-content 1fr; gap: 34px; }
.story-card__scene .card-scribble { position: relative; top: auto; right: auto; justify-self: end; margin: 0 24px 0 0; }
.story-card__scene .phone-crop--home { position: relative; top: auto; right: auto; bottom: auto; width: 58%; margin-left: auto; align-self: start; }
@media (min-width: 981px) { .film-card--record { margin-top: 28px; } }
@media (max-width: 680px) {
  .story-card__scene { height: 380px; margin-top: 24px; }
  .story-card__scene .phone-crop--home { width: 61%; }
  .films { padding-top: 80px; padding-bottom: 80px; }
  .films__heading { margin-bottom: 36px; }
}


.mobile-install { display: none; }
@media (max-width: 680px) {
  html { scroll-padding-bottom: calc(90px + env(safe-area-inset-bottom)); }
  body.has-mobile-install { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
  .mobile-install:not([hidden]) {
    display: flex;
    justify-content: center;
    position: fixed;
    z-index: 40;
    inset: auto 0 0;
    padding: 16px 18px max(12px, env(safe-area-inset-bottom));
    background: linear-gradient(to bottom, transparent, var(--paper) 24%);
  }
  .mobile-install .button { width: 100%; max-width: 390px; min-height: 50px; }
  .mobile-install .button:focus-visible { outline: 3px solid var(--aqua-deep); outline-offset: 3px; }
  body:has(.analytics-consent:not([hidden])) .mobile-install { display: none; }
}


@media (min-width: 681px) {
  :root { --fixed-header-height: 88px; }
  html { scroll-padding-top: calc(var(--fixed-header-height) + 16px); }
  body { padding-top: var(--fixed-header-height); }
  .site-header {
    position: fixed;
    z-index: 40;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: var(--fixed-header-height);
  }
  .site-header::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0 auto 0 calc(50% - 50vw);
    width: 100vw;
    background: rgba(251, 250, 244, .94);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 16px rgba(22, 56, 58, .04);
    opacity: 0;
    pointer-events: none;
  }
  .site-header.is-scrolled::before { opacity: 1; }
}
@media (min-width: 681px) and (prefers-reduced-motion: no-preference) {
  .site-header::before { transition: opacity 180ms ease; }
}
