:root {
  --taste-night: #14243a;
  --taste-night-stage: #1b3352;
  --taste-night-ink: #f7faff;
  --taste-night-soft: #d5e2f4;
  --taste-radius: 1rem;
  --taste-space: clamp(3.25rem, 6vw, 6rem);
}

html { scroll-padding-top: 5rem; }
body { line-height: 1.6; }

.taste-header {
  --ink: var(--taste-night-ink);
  --panel-2: var(--taste-night-stage);
  --accent-strong: var(--taste-night-soft);
  color: var(--ink);
  background: var(--taste-night);
  backdrop-filter: none; /* taste-skill-ignore: disable the previous header blur */
  -webkit-backdrop-filter: none; /* taste-skill-ignore: disable the previous header blur */
}

.taste-header .nav-cta {
  background: transparent;
  border-color: #7391b6;
  color: var(--ink);
}

.taste-header .site-navigation > a { font-weight: 600; }
.taste-header :focus-visible, .taste-hero :focus-visible, .streak-band :focus-visible, .start-band :focus-visible { outline-color: #a8caff; }
.taste-header .menu-toggle:active { background: #304c70; }

.taste-hero {
  color: var(--taste-night-ink);
  background: var(--taste-night);
}

.taste-hero-inner { display: grid; align-items: stretch; }

.taste-hero-copy {
  display: grid;
  justify-items: start;
  align-content: center;
  padding-block: clamp(2rem, 5vw, 5rem);
}

.taste-hero h1 {
  margin: 0;
  color: var(--taste-night-ink);
  font-size: clamp(2.5rem, 8.25vw, 5rem);
  font-weight: 680;
  line-height: 1.04;
  letter-spacing: -.057em;
}

.taste-hero h1 span { color: inherit; }
.title-mask { display: block; overflow: clip; padding-bottom: .09em; }
.title-mask > span { display: inline-block; }

.taste-hero-copy p {
  max-width: 34ch;
  margin: 1.125rem 0 1.375rem;
  color: var(--taste-night-soft);
  font-size: clamp(1rem, 1.55vw, 1.1875rem);
}

.taste-primary {
  background: #f1f6ff;
  color: var(--taste-night);
  border-radius: .625rem;
}

.taste-hero-download {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: .625rem;
  color: var(--taste-night-soft);
  font-size: .875rem;
}

.taste-hero-stage {
  display: grid;
  align-items: center;
  padding: clamp(.75rem, 4vw, 3rem);
  margin: 0 0 1.25rem;
  background: var(--taste-night-stage);
}

.expiry-demo {
  display: grid;
  width: min(100%, 28rem);
  margin-inline: auto;
  border-radius: var(--taste-radius);
  color: var(--ink);
  background: var(--panel);
}

.expiry-demo-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .625rem;
  padding: .875rem 1rem;
}

.expiry-demo-header strong, .expiry-demo-header small { display: block; }
.expiry-demo-header strong { line-height: 1.25; }
.expiry-demo-header small { margin-top: .2rem; color: var(--muted); font-size: .8125rem; }
.expiry-period { display: flex; align-items: center; gap: .375rem; color: var(--accent-strong); font-size: .875rem; font-weight: 670; white-space: nowrap; }
.expiry-period .icon, .expiry-closed .icon { width: 1rem; height: 1rem; }

.expiry-viewport {
  display: grid;
  grid-template-areas: "thread";
  min-height: 10.25rem;
  padding: .875rem 1rem;
  background: var(--ground);
}

.expiry-messages, .expiry-closed { grid-area: thread; }
.expiry-messages { display: grid; align-content: center; gap: .625rem; }

.expiry-messages p {
  justify-self: start;
  margin: 0;
  padding: .5rem .75rem;
  border-radius: .75rem;
  background: var(--panel);
  font-size: .9375rem;
}

.expiry-messages strong { display: block; font-size: .8125rem; }
.expiry-messages .expiry-reply { justify-self: end; color: var(--accent-ink); background: var(--accent); }
.expiry-closed { display: grid; place-content: center; justify-items: center; gap: .25rem; text-align: center; }
.expiry-closed .icon { color: var(--accent-strong); }
.expiry-closed p { max-width: 29ch; margin: 0; color: var(--muted); font-size: .875rem; }

.expiry-controls { padding: .875rem 1rem 1rem; }
.expiry-controls fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.expiry-controls legend { padding: 0; font-size: .875rem; font-weight: 650; }
.expiry-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .375rem; margin: .375rem 0 .75rem; }
.expiry-options label { position: relative; min-width: 0; cursor: pointer; }
.expiry-options input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.expiry-options span { display: grid; place-items: center; min-height: 44px; padding-inline: .125rem; border: 1px solid transparent; border-radius: .5rem; background: var(--ground); text-align: center; font-size: .8125rem; font-weight: 600; }
.expiry-options input:checked + span { border-color: var(--accent-strong); color: var(--accent-strong); background: var(--accent-soft); }
.expiry-options input:focus-visible + span { outline: 2px solid var(--accent-strong); outline-offset: 2px; }
.expiry-toggle { width: 100%; min-height: 44px; padding: .625rem; border-radius: .625rem; color: var(--accent-ink); background: var(--accent); font-size: .875rem; }

.steps-section, .features-section, .privacy-section, .faq-section,
.downloads-section, .streak-story, .calls-layout { padding-block: var(--taste-space); }

.section-heading { margin-bottom: clamp(1.125rem, 2.5vw, 2rem); }
.section-heading h2, .privacy-intro h2, .streak-story h2, .calls-copy h2 {
  margin-bottom: .875rem;
  font-size: clamp(2.1rem, 5vw, 4rem);
  font-weight: 680;
  letter-spacing: -.052em;
  line-height: 1.08;
  text-wrap: balance;
}

.steps.taste-steps {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .375rem;
}

.taste-steps li {
  min-width: 0;
  padding: clamp(.875rem, 2vw, 1.625rem);
  border: 0;
  background: var(--panel);
}

.taste-steps li:nth-child(2), .taste-steps li:nth-child(3) { background: var(--accent-soft); }
.taste-steps h3 { margin: 0 0 .5rem; font-size: clamp(1rem, 2vw, 1.25rem); line-height: 1.2; }
.taste-steps p, .story-copy > p:not(.eyebrow), .privacy-facts p, .faq-list details > p { color: var(--ink); font-size: 1rem; }

.features-section { padding-top: 0; }
.feature-stories { gap: clamp(2.5rem, 6vw, 5rem); }
.story-copy h3 { font-size: clamp(1.75rem, 4vw, 3rem); text-wrap: balance; }
.story-art { border-radius: 0; padding: clamp(.875rem, 3vw, 2.25rem); }
.story-art img { border: 0; border-radius: .625rem; }
.story-art-wide { background: var(--panel); }
.story-art-wide img { width: min(100%, 27rem); }

.screen-trim {
  width: min(100%, 18rem);
  aspect-ratio: 5 / 8;
  overflow: hidden;
  border-radius: .625rem;
  background: var(--panel-2);
}

.screen-trim img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
}

.feature-catalog { margin-top: var(--taste-space); }
.feature-catalog > h3 {
  margin-bottom: 1.125rem;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  letter-spacing: -.04em;
  line-height: 1.12;
}

.feature-catalog-grid { display: grid; gap: 1.375rem; }
.feature-catalog-item { min-width: 0; }
.feature-catalog-figure { margin: 0 0 .875rem; }

.feature-visual {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: .625rem;
  background: var(--panel-2);
}

.feature-visual img { width: 100%; height: 100%; object-fit: cover; }
.feature-visual-voice img { object-position: center 9%; }
.feature-visual-privacy img { object-position: center 23%; }
.feature-visual-appearance img { object-position: center 19%; }
.feature-catalog-figure figcaption, .calls-figure figcaption { margin-top: .5rem; color: var(--muted); font-size: .8125rem; }
.feature-catalog-item h4 { margin: 0 0 .375rem; font-size: 1.125rem; }
.feature-catalog-item p { max-width: 46ch; margin: 0; }

.calls-band { background: var(--panel); }
.calls-layout { display: grid; align-items: center; gap: clamp(1.5rem, 4vw, 4rem); }
.calls-lead { max-width: 46ch; font-size: 1.0625rem; }
.calls-steps { display: grid; gap: .625rem; max-width: 47ch; margin: 0 0 1rem; padding-inline-start: 1.375rem; }
.calls-steps li::marker { color: var(--accent-strong); font-weight: 680; }
.calls-figure { display: grid; justify-items: center; margin: 0; padding: clamp(.875rem, 3vw, 2rem); background: var(--accent-soft); }
.call-screen { width: min(100%, 19rem); aspect-ratio: 18 / 19; }
.call-screen img { object-position: center 24%; }

.streak-band { color: var(--taste-night-ink); background: var(--taste-night); }
.streak-story { display: grid; gap: clamp(1.25rem, 3vw, 2.5rem); }
.streak-intro { display: grid; align-items: center; gap: clamp(1.25rem, 4vw, 4rem); }
.streak-story h2 { color: inherit; }
.streak-copy p { max-width: 46ch; margin: 0 0 1rem; color: var(--taste-night-soft); }
.streak-copy p:last-child { margin-bottom: 0; }
.streak-copy .streak-lead { color: var(--taste-night-ink); font-size: 1.125rem; }
.streak-illustration { width: 100%; height: auto; border-radius: .625rem; }
.streak-rewards h3 { margin: 0 0 1rem; font-size: 1.375rem; }

.streak-levels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .375rem;
  margin: 0;
}

.streak-levels > div { padding: .875rem clamp(.625rem, 2vw, 1.25rem); background: var(--taste-night-stage); }
.streak-levels dt { font-weight: 680; }
.streak-levels dt span { display: block; margin-bottom: .25rem; color: #c4d9f8; font-size: 1.375rem; line-height: 1.15; font-variant-numeric: tabular-nums; }
.streak-levels dd { margin: .375rem 0 0; color: var(--taste-night-soft); font-size: .9375rem; }
.streak-extras { display: grid; gap: .375rem; }

.section-disclosure { background: var(--ground); }
.streak-extras .section-disclosure { background: var(--taste-night-stage); }
.section-disclosure summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  min-height: 48px;
  padding: .625rem .875rem;
  font-weight: 650;
  list-style: none;
  cursor: pointer;
}

.section-disclosure summary::-webkit-details-marker { display: none; }
.section-disclosure summary::after { content: "+"; font-size: 1.25rem; font-weight: 400; line-height: 1; }
.section-disclosure[open] summary::after { content: "−"; }
.section-disclosure > p { max-width: 64ch; margin: 0; padding: 0 .875rem .875rem; }
.streak-extras .section-disclosure > p { color: var(--taste-night-soft); }

.privacy-facts article { border: 0; padding: .875rem 0 0; }
.privacy-facts p, .duration-card > p { font-size: 1rem; }
.duration-card .feature-icon { margin: 0 0 .5rem; background: transparent; }
.duration-options span { font-size: .8125rem; }

.room-story, .once-story { display: grid; gap: clamp(1rem, 2.5vw, 1.75rem); }
.room-intro, .once-intro { display: grid; gap: .75rem; }
.room-intro h3, .once-intro h3 {
  margin: 0 0 .5rem;
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 680;
  line-height: 1.1;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.room-intro p, .once-intro p { max-width: 58ch; margin: 0; color: var(--muted); }
.once-intro h3 { margin-bottom: 0; }
.room-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin: 0; }
.room-facts dt { color: var(--accent-strong); font-weight: 680; }
.room-facts dd { margin: .15rem 0 0; color: var(--muted); font-size: .875rem; }
.room-board, .once-lab { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(1rem, 3.5vw, 2.5rem); }
.room-board { align-items: center; padding: clamp(.875rem, 3vw, 2rem); background: var(--accent-soft); }
.room-shot, .once-shot { margin: 0; }
.room-shot { display: grid; justify-items: center; }
.room-shot figcaption, .once-shot figcaption {
  margin: .5rem 0 0;
  color: var(--muted);
  font-size: .8125rem;
}
.room-screen { width: min(100%, 16rem); aspect-ratio: 4 / 5; }
.room-screen img { object-position: center 12%; }
.room-demo .example-ui, .once-receiver .example-ui { max-width: none; }
.room-demo .example-ui { background: var(--panel); }
.room-demo-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .375rem .75rem; margin-bottom: .625rem; }
.room-demo-header strong, .room-demo-header small, .once-attachment strong, .once-attachment small { display: block; }
.room-demo-header small, .once-attachment small { color: var(--muted); font-size: .8125rem; }
.room-demo-duration { display: inline-flex; align-items: center; gap: .375rem; color: var(--accent-strong); font-size: .875rem; font-weight: 650; }
.room-demo-duration .icon { width: 1rem; height: 1rem; }

.once-lab { gap: .5rem; }
.once-sender, .once-receiver { min-width: 0; padding: clamp(.875rem, 3vw, 1.75rem); }
.once-sender { background: var(--panel); }
.once-receiver { background: var(--accent-soft); }
.once-lab h4 { margin: 0; font-size: 1.125rem; }
.once-lab h4 + p { margin: .25rem 0 .75rem; color: var(--muted); }
.once-shot { margin-top: .75rem; }
.once-shot img { width: min(100%, 24rem); height: auto; border-radius: .75rem; }
.once-receiver .example-ui { background: var(--panel); }
.once-attachment { display: flex; align-items: center; gap: .75rem; }
.once-attachment .icon { width: 1.5rem; height: 1.5rem; flex: none; color: var(--accent-strong); }
.once-receiver[data-photo-state="viewed"] .once-attachment .icon { color: var(--muted); }
.once-receiver .demo-photo, .once-receiver .demo-photo img { width: 100%; }
.once-receiver .demo-photo img { max-height: none; }
.once-receiver .demo-status:not(:empty) { flex-basis: 100%; }

.faq-index { display: grid; gap: 1.25rem clamp(1.5rem, 5vw, 4rem); padding-top: 0; }
.faq-index .section-heading { margin: 0; }
.faq-index .section-heading h2 { margin-bottom: .375rem; }
.faq-index .faq-list { border: 0; }
.faq-index details { border: 0; background: var(--panel); }
.faq-index details + details { margin-top: .375rem; }
.faq-index details[open] { background: var(--accent-soft); }
.faq-index summary { min-height: 52px; padding: .625rem 1rem; }
.faq-index details > p { margin: 0; padding: 0 1rem 1rem; font-size: 1rem; }

.start-band { padding-block: clamp(2.25rem, 5vw, 4rem); color: var(--taste-night-ink); background: var(--taste-night); }
.start-layout { display: grid; align-items: center; gap: 1.5rem clamp(1.5rem, 5vw, 4rem); }
.start-copy h2 { margin: 0 0 .75rem; font-size: clamp(2rem, 5vw, 3.125rem); font-weight: 680; line-height: 1.08; letter-spacing: -.043em; text-wrap: balance; }
.start-copy p { max-width: 33ch; margin: 0 0 1.125rem; color: var(--taste-night-soft); }
.start-platforms { display: grid; gap: .375rem; }
.start-platform { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .25rem .875rem; padding: 1rem clamp(.875rem, 3vw, 1.375rem); background: var(--taste-night-stage); }
.start-platform h3 { margin: 0; font-size: 1rem; }
.start-platform p, .start-platform .download-availability > span { min-height: 0; margin: .125rem 0 0; color: var(--taste-night-soft); font-size: .875rem; font-weight: 400; }
.start-platform .text-link { color: #c4d9f8; font-size: .875rem; }
.start-platform .download-availability { margin: 0; }
.site-footer { border: 0; }
.creator-note { font-size: .8125rem; }

@media (min-width: 760px) {
  .taste-hero-inner { grid-template-columns: 1fr 1fr; gap: clamp(1rem, 4vw, 4rem); }
  .taste-hero h1 { font-size: clamp(2.5rem, 5.6vw, 5rem); }
  .taste-hero-stage { margin-block: 1.5rem 2rem; }
  .steps.taste-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .taste-steps li:nth-child(3) { background: var(--panel-2); }
  .calls-layout { grid-template-columns: 1.1fr 1fr; }
  .streak-intro { grid-template-columns: .9fr 1.1fr; }
  .streak-levels { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .room-intro { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: end; }
  .room-board { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
  .once-lab, .start-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-index { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); align-items: start; }
}

@media (min-width: 600px) and (max-width: 959px) {
  .feature-catalog-item { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); column-gap: 1rem; }
  .feature-catalog-figure { grid-column: 1; grid-row: 1 / span 2; margin: 0; }
  .feature-catalog-item h4 { align-self: end; }
  .feature-catalog-item p { align-self: start; }
}

@media (min-width: 960px) {
  .feature-catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
  .taste-header .site-navigation { gap: clamp(.875rem, 1.45vw, 1.5rem); }
  .feature-story { grid-template-columns: 5fr 7fr; }
  .feature-story:nth-child(2) { grid-template-columns: 7fr 5fr; }
  .feature-story:nth-child(3) { grid-template-columns: 1fr 1fr; }
  .taste-hero { background: var(--taste-night); }
  .taste-hero-inner { min-height: 32rem; }
}

@media (max-width: 360px) {
  .expiry-demo-header { grid-template-columns: minmax(0, 1fr) auto; }
  .expiry-demo-header img { display: none; }
}

@media (hover: hover) and (pointer: fine) {
  .taste-primary:hover { color: var(--taste-night); background: #dbe9ff; }
  .expiry-toggle:hover { background: #204e9d; }
  .expiry-options label:hover span { border-color: var(--accent-strong); }
  .demo-controls .button:not([aria-disabled="true"]):hover { background: var(--accent-soft); }
  .section-disclosure summary:hover { color: var(--accent-strong); }
  .streak-extras .section-disclosure summary:hover { color: #c4d9f8; }
}

@media (prefers-reduced-motion: reduce) {
  .taste-hero .button:active, .demo-controls .button:active { transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .taste-title-arriving { animation: taste-title-in 260ms var(--ease-ui) backwards; }
  .title-mask:last-child .taste-title-arriving { animation-delay: 60ms; }
  .taste-section-arriving { animation: taste-section-in 210ms var(--ease-ui) backwards; }
  .taste-section-arriving[data-taste-delay="60"] { animation-delay: 60ms; }
  .taste-section-arriving[data-taste-delay="120"] { animation-delay: 120ms; }
}

@keyframes taste-title-in {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

@keyframes taste-section-in {
  from { opacity: .86; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
