:root {
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #171717;
  color: #f7f5f0;
}

* { box-sizing: border-box; }

html { background: #171717; scroll-behavior: smooth; }

body { background: #171717; margin: 0; min-height: 100%; overflow-x: clip; }

a { color: inherit; text-decoration: none; }

a:focus-visible,
button:focus-visible {
  outline: 2px solid #f7f5f0;
  outline-offset: 4px;
}

button { font: inherit; }

.site-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 28px clamp(24px, 5vw, 72px);
  position: absolute;
  right: 0;
  top: 0;
  z-index: 2;
}

.brand { font-size: 21px; font-weight: 700; letter-spacing: -.03em; }
.locale-link { font-size: 14px; font-weight: 700; opacity: .9; }

.hero,
.photo-stage,
.closing {
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  position: relative;
}

.hero::before,
.photo-stage::before,
.closing::before {
  background: linear-gradient(90deg, rgba(11, 10, 9, .74) 0%, rgba(11, 10, 9, .36) 58%, rgba(11, 10, 9, .58) 100%);
  content: "";
  inset: 0;
  position: absolute;
  z-index: -1;
}

.hero::after,
.photo-stage::after,
.closing::after {
  background: url("assets/whisky-glenfarclas-2001.jpeg") center / cover no-repeat;
  content: "";
  inset: 0;
  position: absolute;
  transform: scale(1.02);
  z-index: -2;
}

.hero__content,
.stage-copy,
.closing__content {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100svh;
  padding: 120px clamp(24px, 10vw, 154px) 88px;
}

.eyebrow { color: #e55438; font-size: 14px; font-weight: 700; line-height: 1.4; margin: 0 0 16px; }

h1, h2, h3, p { margin: 0; }

h1,
h2 { font-weight: 700; letter-spacing: -.055em; }

h1 { font-size: clamp(48px, 6.2vw, 88px); line-height: .99; max-width: 760px; }
h2 { font-size: clamp(38px, 4.5vw, 66px); line-height: 1.04; max-width: 660px; }

.hero p,
.stage-copy p,
.story-copy p,
.horizon p { color: #d1cbc3; font-size: 17px; line-height: 1.6; margin-top: 22px; max-width: 410px; }

.underlined-cta {
  align-items: center;
  border-bottom: 2px solid #e55438;
  display: inline-flex;
  font-size: 16px;
  font-weight: 700;
  gap: 26px;
  margin-top: 36px;
  padding: 0 2px 10px;
}

.scroll-cue { bottom: 27px; color: #f7f5f0; font-size: 13px; left: 50%; opacity: .8; position: absolute; transform: translateX(-50%); }

.story-intro,
.review-section,
.tag-section,
.archive-section,
.horizon {
  padding: clamp(112px, 12vw, 180px) clamp(24px, 10vw, 154px);
}

.story-intro,
.review-section,
.tag-section,
.archive-section { align-items: center; display: grid; gap: clamp(48px, 8vw, 130px); grid-template-columns: minmax(0, 1fr) minmax(300px, 430px); }

.story-intro { background: #121212; }

.story-copy { align-self: start; max-width: 570px; }

.journey-label { color: #e55438; font-size: 12px; font-weight: 700; letter-spacing: .02em; margin-top: 96px; }

.app-surface {
  background: #20201f;
  border-radius: 18px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .22);
  padding: 25px;
}

.ai-card { min-height: 332px; }
.app-title { color: #f7f5f0; font-size: 17px; font-weight: 700; }
.ai-mark { color: #e55438; font-size: 13px; font-weight: 700; margin-bottom: 18px; }
.input-surface { background: #393531; border-radius: 9px; color: #b8b0a8; font-size: 13px; line-height: 1.55; margin-top: 18px; min-height: 87px; padding: 14px; }
.solid-cta { background: #e55438; border: 0; border-radius: 8px; color: #f7f5f0; cursor: pointer; display: block; font-size: 13px; font-weight: 700; margin-top: 18px; padding: 12px; text-align: center; width: 100%; }
.solid-cta:hover { background: #ef6248; }

.photo-stage { min-height: 720px; }
.photo-stage::after { background-position: center 48%; }
.photo-stage .stage-copy { max-width: 550px; }
.flow-caption { color: #e55438; font-size: 12px; font-weight: 700; margin-top: 105px; }

.target-draft { bottom: clamp(38px, 8vw, 104px); position: absolute; right: clamp(24px, 10vw, 154px); width: min(365px, calc(100vw - 48px)); }
.draft-head { align-items: center; display: flex; justify-content: space-between; margin-bottom: 20px; }
.draft-head h3 { font-size: 15px; }
.draft-row { align-items: center; display: flex; gap: 11px; margin-bottom: 12px; }
.draft-image { border-radius: 7px; height: 44px; object-fit: cover; width: 44px; }
.draft-row strong { display: block; font-size: 13px; }
.draft-row span { color: #b8b0a8; display: block; font-size: 11px; margin-top: 3px; }
.field { border: 1px solid #625951; border-radius: 7px; color: #f7f5f0; font-size: 12px; margin-top: 8px; padding: 10px; }
.field small { color: #a49b92; display: block; font-size: 9px; margin-bottom: 3px; }
.field-pair { display: grid; gap: 8px; grid-template-columns: 1fr 1fr; }

.review-section { background: #171717; }
.review-frame { aspect-ratio: 393 / 852; background: #171717; border-radius: 26px; box-shadow: 0 28px 85px rgba(0, 0, 0, .36); overflow: hidden; padding: 28px 22px; width: min(393px, 100%); }
.review-frame__title { font-size: 16px; font-weight: 700; text-align: center; }
.review-target { align-items: center; background: #302d2a; border-radius: 10px; display: flex; gap: 10px; margin-top: 26px; padding: 10px; }
.review-target img { border-radius: 6px; height: 38px; object-fit: cover; width: 38px; }
.review-target div { font-size: 12px; font-weight: 700; }
.review-target small { color: #b8b0a8; display: block; font-size: 10px; margin-top: 4px; }
.score-head { align-items: center; display: flex; justify-content: space-between; margin-top: 24px; }
.score-head span { color: #b8b0a8; font-size: 12px; }
.score-head strong { font-size: 22px; }
.score-head strong small { color: #b8b0a8; font-size: 11px; }
.score-track { background: #4b4540; border-radius: 10px; height: 6px; margin-top: 12px; position: relative; }
.score-track::before { background: #dc9c3d; border-radius: inherit; content: ""; height: 100%; left: 0; position: absolute; width: 86%; }
.score-track::after { background: #dc9c3d; border: 3px solid #171717; border-radius: 50%; content: ""; height: 16px; left: calc(86% - 10px); position: absolute; top: -8px; width: 16px; }
.review-note { background: #302d2a; border-radius: 9px; color: #a49b92; font-size: 11px; line-height: 1.5; margin-top: 20px; min-height: 76px; padding: 13px; }
.detail-toggle { background: transparent; border: 0; color: #f7f5f0; cursor: pointer; display: block; font-size: 13px; font-weight: 700; margin: 18px auto 0; padding: 10px; }
.detail-panel { clip-path: inset(0 0 100% 0); opacity: 0; transform: translateY(28px); transition: clip-path 440ms cubic-bezier(.16, 1, .3, 1), opacity 440ms cubic-bezier(.16, 1, .3, 1), transform 440ms cubic-bezier(.16, 1, .3, 1); }
.review-frame.is-detailed .detail-panel { clip-path: inset(0); opacity: 1; transform: translateY(0); }
.review-frame.is-detailed .detail-toggle { display: none; }
.detail-field { border-top: 1px solid #48423c; display: flex; justify-content: space-between; margin-top: 10px; padding-top: 12px; }
.detail-field span { color: #b8b0a8; font-size: 11px; }
.detail-field strong { font-size: 12px; }

.tag-section { background: #121212; }
.tag-browser { background: #171717; padding: 20px; width: min(430px, 100%); }
.tag-browser__label { margin-top: 0; }
.tag-search { background: #393531; border-radius: 8px; color: #a49b92; font-size: 12px; margin: 16px 0 24px; padding: 13px; }
.tag-category + .tag-category { margin-top: 24px; }
.tag-category__head { display: flex; justify-content: space-between; }
.tag-category__head strong { color: #e55438; font-size: 12px; }
.tag-category__head span { color: #b8b0a8; font-size: 11px; }
.tag-list { display: flex; gap: 8px; margin-top: 10px; }
.tag { align-items: center; background: #2c2a28; border: 1px solid #4a4641; border-radius: 12px; display: flex; flex-direction: column; height: 91px; justify-content: center; overflow: hidden; position: relative; width: 88px; }
.tag.is-selected { background: #5b392a; border: 2px solid #e55438; }
.tag img { height: 30px; object-fit: contain; width: 30px; }
.tag span { color: #b8b0a8; font-size: 11px; font-weight: 600; margin-top: 7px; }
.tag.is-selected span { color: #f7f5f0; }
.tag i { align-items: center; background: #f7f5f0; border-radius: 50%; color: #171717; display: flex; font-size: 11px; font-style: normal; font-weight: 700; height: 19px; justify-content: center; position: absolute; right: 6px; top: 6px; width: 19px; }
.tag-section .story-copy { justify-self: end; }
.tag-orb { background: #382118; border-radius: 50%; height: min(22vw, 240px); margin: 76px 0 0 80px; width: min(22vw, 240px); }

.archive-section { background: #171717; grid-template-columns: minmax(0, 1fr) minmax(360px, 480px); }
.archive-card { background: #211f1d; border-radius: 16px; padding: 16px; }
.archive-head { display: flex; justify-content: space-between; }
.archive-head strong { font-size: 16px; }
.archive-head span { color: #b8b0a8; font-size: 12px; }
.archive-grid { display: grid; gap: 6px; grid-template-columns: 2fr 1fr; margin-top: 15px; }
.archive-cell { aspect-ratio: 1 / .74; overflow: hidden; position: relative; }
.archive-cell:first-child { grid-row: span 2; }
.archive-cell img { height: 100%; object-fit: cover; width: 100%; }
.archive-cell:nth-child(2) img { object-position: 22% center; }
.archive-cell:nth-child(3) img { object-position: 85% center; }
.archive-score { background: #171717; border-radius: 12px; bottom: 8px; font-size: 11px; font-weight: 700; padding: 4px 7px; position: absolute; right: 8px; }

.horizon { background: #121212; }
.horizon h2 { max-width: 700px; }
.horizon-list { display: grid; gap: 23px; margin-top: 48px; max-width: 520px; }
.horizon-item { align-items: center; display: flex; gap: 17px; }
.horizon-item b { align-items: center; background: #382118; border-radius: 50%; color: #e55438; display: flex; font-size: 12px; height: 58px; justify-content: center; width: 58px; }
.horizon-item span { color: #f7f5f0; font-size: 18px; font-weight: 600; }

.closing { min-height: 650px; }
.closing__content { min-height: 650px; }
.closing::after { background-position: center 58%; }

.js [data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity 560ms cubic-bezier(.16, 1, .3, 1), transform 560ms cubic-bezier(.16, 1, .3, 1); }
.js [data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1024px) {
  .story-intro,
  .review-section,
  .tag-section,
  .archive-section { grid-template-columns: 1fr; }
  .story-intro .app-surface,
  .review-frame,
  .tag-browser,
  .archive-card { justify-self: start; }
  .tag-section .story-copy { justify-self: start; }
  .target-draft { bottom: 45px; right: 44px; }
}

@media (max-width: 640px) {
  .site-header { padding: 20px 24px; }
  .hero__content,
  .stage-copy,
  .closing__content { padding: 104px 24px 58px; }
  h1 { font-size: 50px; }
  h2 { font-size: 42px; }
  .story-intro,
  .review-section,
  .tag-section,
  .archive-section,
  .horizon { padding: 96px 24px; }
  .journey-label { margin-top: 58px; }
  .photo-stage { min-height: 820px; }
  .target-draft { bottom: 28px; left: 24px; right: 24px; width: auto; }
  .tag { flex: 1; width: auto; }
  .tag-orb { height: 150px; margin: 52px 0 0 42px; width: 150px; }
  .archive-section { padding-bottom: 108px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal],
  .detail-panel { clip-path: none; opacity: 1; transform: none; transition: none; }
}

/* Scroll-driven landing experience */
.landing-page { background: #080808; color: #f7f5f0; padding: clamp(20px, 3vw, 48px); }
.landing-canvas { background: #171717; margin: 0 auto; max-width: 1280px; min-height: calc(100svh - 40px); position: relative; }
.landing-header { align-items: center; display: flex; justify-content: space-between; left: 0; padding: 28px clamp(24px, 5vw, 72px); position: absolute; right: 0; top: 0; z-index: 4; }
.landing-hero,
.landing-closing { isolation: isolate; min-height: 100svh; overflow: hidden; position: relative; }
.landing-hero::before,
.landing-closing::before { background: linear-gradient(180deg, rgba(23, 23, 23, 0) 52%, #171717 100%), linear-gradient(90deg, rgba(12, 11, 10, .85), rgba(12, 11, 10, .34) 60%, rgba(12, 11, 10, .7)); content: ""; inset: 0; position: absolute; z-index: -1; }
.landing-hero::after,
.landing-closing::after { background: url("assets/whisky-glenfarclas-2001.jpeg") center / cover no-repeat; content: ""; inset: 0; position: absolute; z-index: -2; }
.landing-hero__content,
.landing-closing > div { align-items: flex-start; display: flex; flex-direction: column; justify-content: flex-end; min-height: 100svh; padding: 120px clamp(24px, 10vw, 154px) 88px; }
.landing-kicker,
.flow__eyebrow { color: #e55438; font-size: 12px; font-weight: 700; letter-spacing: .08em; line-height: 1.4; margin: 0; }
.landing-hero h1,
.landing-future h2,
.landing-closing h2 { font-size: clamp(48px, 6.2vw, 88px); font-weight: 700; letter-spacing: -.06em; line-height: .99; margin: 18px 0 0; max-width: 800px; }
.landing-hero__content > p:not(.landing-kicker),
.landing-future > p:last-child { color: #d1cbc3; font-size: 17px; line-height: 1.6; margin: 22px 0 0; max-width: 430px; }
.sr-only { clip: rect(0 0 0 0); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; white-space: nowrap; width: 1px; }

.flow { background: #171717; min-height: 100svh; position: relative; }
.flow__sticky { background: #171717; height: 100svh; overflow: hidden; position: relative; }
.flow__phone { background: #171717; border-radius: 26px; height: min(760px, calc(100svh - 40px)); left: 50%; max-width: calc(100vw - 32px); overflow: hidden; position: absolute; top: 50%; transform: translate(-50%, -50%); width: min(393px, calc((100svh - 40px) * .4613)); }
.flow__screen { height: 100%; left: 0; opacity: 0; position: absolute; top: 0; transform: translate3d(0, 100%, 0); width: 100%; will-change: opacity, transform; }
.app-scene { background: #171717; padding: 34px 22px 78px; }
.app-header { align-items: center; display: flex; font-size: 14px; justify-content: space-between; min-height: 26px; }
.app-header strong { font-size: 15px; }
.app-header span { color: #c9c3bc; font-size: 19px; min-width: 24px; text-align: center; }
.app-scene > h3 { font-size: 30px; letter-spacing: -.07em; line-height: 1.1; margin: 44px 0 0; }
.app-scene > p { color: #aaa39d; font-size: 12px; line-height: 1.5; margin: 12px 0 0; }
.app-new-record { background: #e55438; border: 0; border-radius: 18px; color: inherit; cursor: pointer; display: grid; font: inherit; margin-top: 40px; padding: 18px; position: relative; text-align: left; width: 100%; }
.app-new-record small { color: rgba(255, 247, 241, .75); font-size: 10px; }
.app-new-record strong { font-size: 22px; letter-spacing: -.05em; margin-top: 8px; }
.app-new-record span { color: rgba(255, 247, 241, .85); font-size: 11px; margin-top: 6px; }
.app-new-record b { align-items: center; background: #171717; border-radius: 50%; display: flex; font-size: 28px; font-weight: 400; height: 42px; justify-content: center; position: absolute; right: 18px; top: 42px; width: 42px; }
.app-recent { margin-top: 40px; }
.app-recent > div,
.app-tag-group > div,
.app-archive-head { align-items: center; display: flex; justify-content: space-between; }
.app-recent > div strong,
.app-archive-head strong { font-size: 20px; }
.app-recent > div span,
.app-tag-group > div span,
.app-archive-head span { color: #aaa39d; font-size: 11px; }
.app-recent article { align-items: center; background: #2b2826; border-radius: 14px; display: flex; gap: 12px; margin-top: 16px; padding: 10px; }
.app-recent img,
.app-target img { border-radius: 8px; height: 56px; object-fit: cover; width: 56px; }
.app-recent article div,
.app-target div { display: grid; gap: 5px; min-width: 0; }
.app-recent article strong,
.app-target strong { font-size: 12px; }
.app-recent article span,
.app-target span { color: #b9b2aa; font-size: 10px; }
.app-recent article b { color: #df835f; font-size: 20px; margin-left: auto; }
.app-tabbar { align-items: center; background: #171717; bottom: 0; display: flex; justify-content: space-around; left: 0; padding: 14px 18px 20px; position: absolute; right: 0; }
.app-tabbar span { color: #aaa39d; display: grid; font-size: 18px; gap: 3px; justify-items: center; }
.app-tabbar span.is-current { color: #e55438; }
.app-tabbar small { font-size: 9px; }
.flow__screen--start { background: transparent; }
.app-start-sheet { --sheet-offset: 100%; background: #24211f; border-radius: 28px 28px 0 0; bottom: 0; left: 0; padding: 16px 22px 28px; position: absolute; right: 0; transform: translateY(var(--sheet-offset)); }
.app-start-sheet i { background: #8d8883; border-radius: 4px; display: block; height: 4px; margin: 0 auto 24px; width: 34px; }
.app-start-sheet h3 { font-size: 22px; letter-spacing: -.06em; margin: 0; }
.app-start-sheet > p { color: #c3bcb5; font-size: 11px; margin: 8px 0 18px; }
.app-start-sheet button { background: #302d2a; border: 1px solid transparent; border-radius: 12px; color: #f7f5f0; display: grid; font: inherit; grid-template-columns: 1fr auto; margin-top: 9px; padding: 12px 14px; text-align: left; width: 100%; }
.app-start-sheet button:first-of-type { background: #e55438; }
.app-start-sheet button:nth-of-type(2) { border-color: #5a544f; }
.app-start-sheet button strong { font-size: 12px; }
.app-start-sheet button small { color: rgba(247, 245, 240, .72); font-size: 9px; grid-column: 1; margin-top: 4px; }
.app-start-sheet button b { grid-column: 2; grid-row: 1 / span 2; }
.app-start-sheet > span { color: #cbc5be; display: block; font-size: 11px; margin-top: 26px; text-align: center; }
.app-scene--draft > p { margin-top: 25px; }
.app-target { align-items: center; display: flex; gap: 12px; margin-top: 22px; }
.app-fields { display: grid; gap: 10px; margin-top: 20px; }
.app-fields > div { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.app-fields label,
.app-note { color: #aaa39d; display: grid; font-size: 9px; gap: 5px; }
.app-fields input,
.app-note textarea { background: #302d2a; border: 1px solid #5a544f; border-radius: 8px; color: #f7f5f0; font: inherit; font-size: 11px; padding: 10px; }
.app-complete { background: #e55438; border: 0; border-radius: 10px; bottom: 26px; color: #f7f5f0; font: inherit; font-size: 12px; font-weight: 700; left: 22px; padding: 13px; position: absolute; right: 22px; }
.app-label { align-items: center; display: flex; justify-content: space-between; margin-top: 30px !important; }
.app-label strong { color: #e2a34d; font-size: 25px; }
.app-label small { color: #aaa39d; font-size: 11px; }
.app-score { background: #514a44; border-radius: 20px; height: 6px; margin-top: 12px; overflow: hidden; }
.app-score i { background: #e2a34d; border-radius: inherit; display: block; height: 100%; width: 86%; }
.app-note { margin-top: 24px; }
.app-note textarea { height: 80px; line-height: 1.5; resize: none; }
.app-detail { background: transparent; border: 0; color: #f7f5f0; display: block; font: inherit; font-size: 11px; margin: 14px auto; }
.app-scene--tags > p { margin-top: 26px; }
.app-tag-group { margin-top: 34px; }
.app-tag-group > div strong { color: #ee8f5f; font-size: 18px; }
.app-tag-group + .app-tag-group > div strong { color: #ea91bc; }
.app-tag-group ul { display: flex; gap: 10px; list-style: none; margin: 16px 0 0; padding: 0; }
.app-tag-group li { align-items: center; background: #2b2826; border: 1px solid #514b46; border-radius: 16px; display: grid; gap: 7px; height: 96px; justify-content: center; min-width: 82px; padding: 12px; position: relative; }
.app-tag-group li.is-selected { border: 2px solid #e55438; }
.app-tag-group li img { height: 34px; object-fit: contain; width: 34px; }
.app-tag-group li span { color: #c7c1ba; font-size: 11px; text-align: center; }
.app-archive-head { margin-top: 34px; }
.app-archive-grid { display: grid; gap: 6px; grid-template-columns: 1.3fr 1fr; margin-top: 18px; }
.app-archive-grid img { height: 145px; object-fit: cover; width: 100%; }
.app-archive-grid img:first-child { grid-row: span 2; height: 296px; }
.flow__scroll-space { display: none; }
.flow__mobile-story { display: none; }
.flow.is-reduced-motion .flow__sticky,
.flow.is-reduced-motion .flow__scroll-space { display: none; }
.flow.is-reduced-motion .flow__mobile-story { display: grid; gap: 100px; margin: 0 auto; max-width: 960px; padding: 120px 24px; }
.flow.is-reduced-motion .flow__mobile-story article { align-items: center; display: grid; gap: 56px; grid-template-columns: minmax(0, 1fr) minmax(260px, 393px); }
.flow.is-reduced-motion .flow__mobile-story article:nth-child(even) > div { grid-column: 2; grid-row: 1; }
.flow.is-reduced-motion .flow__mobile-story article:nth-child(even) > img { grid-column: 1; grid-row: 1; }
.flow.is-reduced-motion .flow__mobile-story h3 { font-size: clamp(30px, 3vw, 44px); letter-spacing: -.055em; line-height: 1.12; margin: 14px 0 0; }
.flow.is-reduced-motion .flow__mobile-story p:last-child { color: #b7b1aa; font-size: 15px; line-height: 1.6; margin: 18px 0 0; max-width: 38ch; }
.flow.is-reduced-motion .flow__mobile-story img { height: auto; max-width: 100%; width: 393px; }
.landing-future { background: #121212; padding: clamp(120px, 14vw, 210px) clamp(24px, 10vw, 154px); }
.landing-future h2 { font-size: clamp(42px, 5vw, 74px); margin-top: 18px; }
.landing-closing { min-height: 650px; }
.landing-closing > div { min-height: 650px; }
.landing-closing::after { background-position: center 58%; }

@media (max-width: 1024px) and (min-width: 768px) {
  .flow__phone { height: min(680px, calc(100svh - 32px)); width: min(393px, calc((100svh - 32px) * .4613)); }
}

@media (max-width: 767px) {
  .landing-page { padding: 0; }
  .landing-canvas { min-height: 100svh; }
  .landing-header { padding: 20px 24px; }
  .landing-hero__content,
  .landing-closing > div { padding: 104px 24px 58px; }
  .landing-hero h1,
  .landing-future h2,
  .landing-closing h2 { font-size: 48px; }
  .flow__sticky,
  .flow__scroll-space { display: none; }
  .flow__mobile-story { display: grid; gap: 100px; padding: 96px 24px; }
  .flow.is-reduced-motion .flow__mobile-story { gap: 100px; padding: 96px 24px; }
  .flow.is-reduced-motion .flow__mobile-story article,
  .flow.is-reduced-motion .flow__mobile-story article:nth-child(even) > div,
  .flow.is-reduced-motion .flow__mobile-story article:nth-child(even) > img { display: grid; grid-column: auto; grid-row: auto; }
  .flow__mobile-story article { display: grid; gap: 36px; }
  .flow__mobile-story h3 { font-size: 36px; letter-spacing: -.055em; line-height: 1.08; margin: 14px 0 0; }
  .flow__mobile-story p:last-child { color: #b7b1aa; font-size: 15px; line-height: 1.6; margin: 18px 0 0; max-width: 320px; }
  .flow__mobile-story img { border-radius: 26px; height: auto; justify-self: center; max-width: 100%; width: 393px; }
  .landing-future { padding: 110px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .flow__screen { will-change: auto; }
}

/* App-flow transcription: values and hierarchy mirror scentaste-app screens. */
.flow__phone { --phone-scale: 1; background: #171717; border-radius: 28px; height: 852px; transform: translate(-50%, -50%) scale(var(--phone-scale)); transform-origin: center; width: 393px; }
.flow__screen { transition: transform 460ms cubic-bezier(.16, 1, .3, 1); }
.app-scene { background: #171717; padding: 52px 24px 92px; }
.app-scene--home h3 { color: #f7f5f0; font-size: 31px; font-weight: 700; letter-spacing: 0; line-height: 37px; margin-top: 34px; }
.app-scene--home > p { color: #b7b1aa; font-size: 15px; line-height: 21px; margin-top: 7px; }
.app-home-header { align-items: center; display: flex; height: 44px; justify-content: space-between; }
.app-brand-identity { align-items: center; display: flex; }
.app-brand-identity img { height: 32px; width: 32px; }
.app-brand-identity strong { color: #f7f5f0; font-size: 20px; font-weight: 600; line-height: 25px; margin-left: 2px; }
.app-settings { height: 20px; width: 20px; }
.app-new-record { align-content: start; background: #e55438; border-radius: 20px; height: 124px; margin-top: 32px; padding: 18px 20px 0; }
.app-new-record small { color: #f7f5f0; font-size: 12px; font-weight: 500; line-height: 17px; }
.app-new-record strong { color: #f7f5f0; font-size: 24px; font-weight: 700; letter-spacing: 0; line-height: 30px; margin-top: 4px; }
.app-new-record span { color: #f7f5f0; font-size: 14px; line-height: 19px; margin-top: 4px; }
.app-new-record b { border-radius: 21px; height: 42px; right: 20px; top: 42px; width: 42px; }
.app-recent { margin-top: 45px; }
.app-recent > div strong { color: #f7f5f0; font-size: 20px; font-weight: 600; line-height: 25px; }
.app-recent > div span { color: #b7b1aa; font-size: 13px; font-weight: 500; line-height: 18px; }
.app-recent article { background: #2c2a28; border-radius: 20px; gap: 0; height: 178px; margin-top: 13px; padding: 12px; position: relative; }
.app-recent img { border-radius: 14px; height: 154px; width: 122px; }
.app-recent article div { margin-left: 20px; padding: 8px 0 12px; }
.app-recent article div small { color: #b7b1aa; font-size: 11px; font-weight: 500; line-height: 16px; }
.app-recent article strong { color: #f7f5f0; font-size: 18px; font-weight: 600; line-height: 23px; margin-top: 7px; }
.app-recent article em { color: #b7b1aa; font-size: 13px; font-style: normal; line-height: 18px; margin-top: 7px; }
.app-recent article span { color: #f7f5f0; font-size: 13px; line-height: 19px; margin-top: 10px; }
.app-recent article b { bottom: 20px; color: #3b82f6; font-size: 23px; line-height: 28px; margin: 0; position: absolute; right: 22px; }
.app-tabbar { background: #171717; height: 76px; padding: 12px 18px 5px; }
.app-tabbar span { color: #68645f; flex: 1; font-size: 0; gap: 0; height: 59px; padding-top: 4px; position: relative; }
.app-tabbar span img { filter: brightness(0) saturate(0) invert(41%) sepia(5%) saturate(129%) hue-rotate(351deg) brightness(94%) contrast(87%); height: 20px; width: 20px; }
.app-tabbar span.is-current img { filter: invert(42%) sepia(91%) saturate(746%) hue-rotate(334deg) brightness(93%) contrast(94%); }
.app-tabbar span small { color: #68645f; font-size: 12px; font-weight: 500; line-height: 17px; margin-top: 7px; }
.app-tabbar span.is-current small { color: #f7f5f0; font-weight: 600; }
.app-tabbar span i { background: #e55438; border-radius: 2px; bottom: 0; height: 3px; position: absolute; width: 16px; }
.app-tabbar .app-tabbar__new { color: #b8b0a6; font-size: 25px; font-weight: 400; line-height: 20px; }

.app-start-sheet { background: #1e1c1b; border-radius: 28px 28px 0 0; min-height: 502px; padding: 16px 28px 16px; transition: transform 460ms cubic-bezier(.16, 1, .3, 1); }
.app-start-sheet i { background: #6b635e; border-radius: 999px; margin: 0 auto 24px; width: 64px; }
.app-start-sheet h3 { color: #f5f2f0; font-size: 24px; font-weight: 700; letter-spacing: 0; line-height: 32px; }
.app-start-sheet > p { color: #b2aba6; font-size: 14px; line-height: 19px; margin: 0; }
.app-start-sheet button { background: #2d2927; border-radius: 16px; height: 72px; margin-top: 14px; padding: 14px 20px; position: relative; }
.app-start-sheet button:first-of-type { background: #f45136; margin-top: 23px; }
.app-start-sheet button:nth-of-type(2) { border-color: #56514c; }
.app-start-sheet button strong { color: #f5f2f0; font-size: 17px; font-weight: 600; line-height: 23px; }
.app-start-sheet button:first-of-type strong { color: #e5e1da; }
.app-start-sheet button small { color: #b2aba6; font-size: 13px; line-height: 18px; margin-top: 1px; }
.app-start-sheet button:first-of-type small { color: #e5e1da; }
.app-start-sheet button img { height: 24px; position: absolute; right: 15px; top: 24px; width: 24px; }
.app-start-sheet > span { color: #b2aba6; font-size: 14px; font-weight: 500; line-height: 19px; margin-top: 60px; }

.app-form-header, .app-review-header, .app-tags-header { align-items: center; display: flex; height: 44px; justify-content: center; position: relative; }
.app-form-header img, .app-review-header img, .app-tags-header img { height: 24px; left: -10px; position: absolute; top: 10px; width: 24px; }
.app-form-header strong, .app-review-header strong { color: #fbf9f4; font-size: 20px; font-weight: 700; line-height: 24px; }
.app-scene--draft { background: #151515; padding: 52px 28px 76px; }
.app-scene--draft > p { color: #b7b1aa; font-size: 14px; line-height: 20px; margin-top: 24px; }
.app-recognition-card { align-items: center; display: flex; margin-top: 22px; }
.app-recognition-card > img { border-radius: 14px; height: 82px; object-fit: cover; width: 82px; }
.app-recognition-card > div { display: grid; margin-left: 24px; padding-top: 8px; }
.app-recognition-card strong { color: #fbf9f4; font-size: 16px; font-weight: 600; line-height: 20px; }
.app-recognition-card span { color: #fbf9f4; font-size: 14px; line-height: 20px; margin-top: 2px; }
.app-recognition-card small { color: #baad8a; font-size: 12px; line-height: 17px; margin-top: 6px; }
.app-fields { gap: 11px; margin-top: 24px; }
.app-fields > div,
.app-fields label { min-width: 0; }
.app-fields label { color: #b7b1aa; font-size: 12px; font-weight: 500; gap: 4px; line-height: 17px; position: relative; }
.app-fields input { background: #2d2a28; border-color: #4a4642; border-radius: 12px; color: #fbf9f4; font-size: 16px; height: 52px; line-height: 23px; min-width: 0; padding: 0 15px; width: 100%; }
.app-fields label em { color: #b7b1aa; font-size: 16px; font-style: normal; position: absolute; right: 15px; top: 31px; }
.app-complete { background: #f05236; border-radius: 16px; bottom: 16px; font-size: 16px; font-weight: 600; height: 52px; left: 28px; line-height: 23px; right: 28px; }

.app-scene--review { padding: 52px 24px 92px; }
.app-review-header { margin-bottom: 16px; }
.app-review-header .app-review-close { align-items: center; background: #2c2a28; border-radius: 12px; display: flex; height: 40px; justify-content: center; left: 0; position: absolute; top: 2px; width: 40px; }
.app-review-header .app-review-close img { height: 20px; left: auto; position: static; top: auto; width: 20px; }
.app-review-header strong { font-size: 18px; line-height: 22px; }
.app-review-target { align-items: center; background: #2d2a28; border: 1px solid #4a4540; border-radius: 16px; display: flex; height: 96px; overflow: hidden; padding: 7px 12px; }
.app-review-target img { border-radius: 8px; height: 80px; object-fit: cover; width: 64px; }
.app-review-target div { display: grid; margin-left: 12px; }
.app-review-target strong { color: #f6f4f0; font-size: 14px; font-weight: 600; line-height: 20px; }
.app-review-target span { color: #ada69e; font-size: 12px; line-height: 17px; margin-top: 2px; }
.app-detail { color: #e55438; font-size: 16px; font-weight: 600; height: 44px; margin: 12px 0 0; padding-left: 0; text-align: left; }
.app-review-transition { height: 524px; overflow: hidden; position: relative; }
.app-review-compact,
.app-detail-fields { inset: 0; position: absolute; width: 100%; }
.app-review-compact { transition: none; }
.app-score-card { background: #2c2a28; border: 1px solid #4a4540; border-radius: 16px; height: 224px; margin-top: 0; position: relative; }
.app-score-card > strong { color: #f7f5f0; font-size: 18px; font-weight: 700; left: 15px; line-height: 22px; position: absolute; top: 16px; }
.app-score-card > span { align-items: baseline; display: flex; position: absolute; right: 15px; top: 10px; }
.app-score-card > span b { color: #f7f5f0; font-size: 30px; line-height: 36px; }
.app-score-card > span small { color: #b7b1aa; font-size: 15px; font-weight: 500; line-height: 18px; margin: 0 0 1px 4px; }
.app-note { left: 15px; margin: 0; position: absolute; right: 15px; top: 129px; }
.app-note textarea { background: #37322e; border-color: #4a4540; border-radius: 14px; color: #f7f5f0; font-size: 14px; height: 80px; line-height: 18px; padding: 13px 12px; }
.app-review-grade { align-items: flex-end; display: grid; justify-items: end; margin: 12px 8px 0 0; min-height: 44px; }
.app-review-grade small { color: #b7b1aa; font-size: 12px; font-weight: 600; line-height: 16px; }
.app-review-grade strong { color: var(--score-color, #3b82f6); font-size: 28px; font-weight: 700; line-height: 32px; }
.app-review-context { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; margin-top: 24px; }
.app-review-context span { align-items: center; background: #2c2a28; border: 1px solid #4a4540; border-radius: 12px; color: #c7c2b8; display: flex; font-size: 13px; height: 48px; padding: 0 14px; }
.app-review-context span:last-child { grid-column: 1 / -1; }

.app-scene--tags { padding: 52px 24px 92px; }
.app-tags-header { height: 44px; justify-content: flex-start; }
.app-tags-header strong { color: #f7f5f0; font-size: 25px; font-weight: 700; line-height: 30px; margin-left: 52px; }
.app-tags-question { display: grid; margin-top: 24px; }
.app-tags-question strong { color: #f7f5f0; font-size: 22px; font-weight: 700; line-height: 28px; }
.app-tags-question span { color: #9e9991; font-size: 13px; line-height: 18px; margin-top: 3px; }
.app-tag-group { margin-top: 15px; }
.app-tag-group > div { height: 44px; margin: 0 4px; position: relative; }
.app-tag-group > div strong { color: #f08e57; font-size: 14px; font-weight: 600; line-height: 19px; top: 12px; }
.app-tag-group + .app-tag-group > div strong { color: #e487b2; }
.app-tag-group > div span { color: #b7b1aa; font-size: 13px; font-weight: 500; line-height: 18px; }
.app-tag-group ul { gap: 8px; margin: 4px; }
.app-tag-group li { background: #2c2a28; border-color: #4a4540; border-radius: 16px; height: 78px; min-width: 0; padding-top: 11px; width: calc((100% - 16px) / 3); }
.app-tag-group li.is-selected { background: #52382b; border: 1px solid #e57b3a; }
.app-tag-group li img { height: 28px; width: 28px; }
.app-tag-group li span { color: #9e9991; font-size: 12px; font-weight: 500; line-height: 16px; margin-top: 3px; }
.app-tag-group li.is-selected span { color: #f7f5f0; font-weight: 600; }

.app-scene--archive { padding: 52px 0 92px; }
.app-records-header { align-items: flex-start; display: flex; justify-content: space-between; padding: 0 24px; }
.app-records-header h3 { color: #f7f5f0; font-size: 25px; font-weight: 700; line-height: 30px; margin-top: 7px; }
.app-records-header p { color: #c7c2b8; font-size: 14px; line-height: 20px; margin-top: 2px; }
.app-records-header img { height: 24px; margin-top: 10px; width: 24px; }
.app-records-actions { display: flex; gap: 12px; margin-right: -8px; }
.app-records-actions img { border-radius: 14px; height: 44px; margin: 0; padding: 10px; width: 44px; }
.app-archive-head { margin-top: 30px; padding: 0 16px; }
.app-archive-head strong { color: #f7f5f0; font-size: 20px; font-weight: 700; line-height: 26px; }
.app-archive-head span { color: #c7c2b8; font-size: 13px; font-weight: 500; line-height: 18px; }
.app-archive-card { align-items: center; background: #2c2a28; border-radius: 20px; display: flex; height: 142px; margin: 12px 16px; padding: 12px; position: relative; }
.app-archive-card > img { border-radius: 14px; height: 118px; object-fit: cover; width: 94px; }
.app-archive-card > div { display: grid; margin-left: 16px; }
.app-archive-card strong { color: #f7f5f0; font-size: 17px; font-weight: 600; line-height: 23px; }
.app-archive-card span { color: #b7b1aa; font-size: 13px; line-height: 18px; margin-top: 7px; }
.app-archive-card small { color: #f7f5f0; font-size: 13px; line-height: 19px; margin-top: 10px; }
.app-archive-card > b { bottom: 16px; color: #3b82f6; font-size: 22px; position: absolute; right: 20px; }
.app-archive-card { background: #1b1b1b; border: 1px solid #302e2b; border-radius: 16px; height: 112px; margin-top: 12px; padding: 8px 8px 8px 12px; }
.app-archive-card > img { border-radius: 12px; height: 96px; width: 72px; }
.app-archive-card > div { margin-left: 16px; padding-top: 2px; }
.app-archive-card strong { font-size: 13px; line-height: 20px; }
.app-archive-card span { font-size: 12px; line-height: 17px; margin-top: 6px; }
.app-archive-card > div > small { color: #938c83; font-size: 11px; line-height: 16px; margin-top: auto; }
.app-archive-card aside { align-items: flex-end; display: grid; margin-left: auto; min-width: 74px; padding: 2px 4px 0 0; }
.app-archive-card aside b { color: #3b82f6; font-size: 24px; line-height: 30px; }
.app-archive-card aside small { color: #3b82f6; font-size: 9px; font-weight: 700; line-height: 13px; margin-top: -1px; }
.app-records-list-icon { align-items: center; background: #2c2a28; border-radius: 14px; display: grid; gap: 3px; height: 44px; justify-content: center; margin: 0; width: 44px; }
.app-records-list-icon i { background: #f7f5f0; border-radius: 999px; display: block; height: 2px; width: 16px; }
.app-archive-album-grid { display: grid; gap: 2px; grid-template-columns: repeat(3, 1fr); margin-top: 10px; }
.app-archive-album-grid article { height: 174px; overflow: hidden; position: relative; }
.app-archive-album-grid img { height: 100%; object-fit: cover; object-position: center; width: 100%; }
.app-archive-album-grid article:nth-child(1) img { object-position: 48% center; }
.app-archive-album-grid article:nth-child(2) img { object-position: 50% center; }
.app-archive-album-grid article:nth-child(3) img { object-position: 50% center; }
.app-archive-album-grid b { align-items: center; background: rgba(23, 23, 23, .84); border-radius: 13px; bottom: 6px; color: #3b82f6; display: flex; font-size: 9px; font-weight: 600; height: 26px; justify-content: center; position: absolute; right: 6px; width: 26px; }

.app-scene--record-detail { background: #171717; padding: 0; }
.app-record-detail-scroll { min-height: 1120px; will-change: transform; }
.app-record-detail-hero { height: 304px; overflow: hidden; position: relative; }
.app-record-detail-hero > img { height: 100%; object-fit: cover; object-position: center 48%; width: 100%; }
.app-record-detail-hero > i { background: linear-gradient(180deg, rgba(23, 23, 23, .12), rgba(23, 23, 23, .18) 37%, #171717); inset: 0; position: absolute; }
.app-record-detail-hero header { align-items: center; display: flex; justify-content: space-between; left: 16px; position: absolute; right: 16px; top: 22px; }
.app-record-detail-hero header img { height: 24px; width: 24px; }
.app-record-detail-hero header span { color: #f7f5f0; font-size: 18px; letter-spacing: 2px; line-height: 22px; }
.app-record-detail-hero > div { bottom: 20px; display: grid; left: 20px; position: absolute; right: 20px; }
.app-record-detail-hero > div strong { color: #f7f5f0; font-size: 25px; font-weight: 700; line-height: 31px; }
.app-record-detail-hero > div span { color: #d1cbc3; font-size: 13px; line-height: 19px; margin-top: 3px; }
.app-record-detail-content { padding: 0 20px 54px; }
.app-record-detail-author { align-items: center; display: flex; height: 66px; justify-content: space-between; }
.app-record-detail-author > span { align-items: center; background: #2c2a28; border: 1px solid #4a4540; border-radius: 999px; color: #f7f5f0; display: flex; font-size: 17px; font-weight: 700; height: 38px; justify-content: center; text-transform: uppercase; width: 38px; }
.app-record-detail-author > div { display: grid; margin-left: 10px; margin-right: auto; }
.app-record-detail-author strong { color: #f7f5f0; font-size: 14px; font-weight: 600; line-height: 19px; }
.app-record-detail-author small { color: #938c83; font-size: 11px; line-height: 16px; margin-top: 2px; }
.app-record-detail-overall { background: #2c2a28; border: 1px solid #4a4540; border-radius: 16px; padding: 16px; }
.app-record-detail-overall > div { align-items: flex-start; display: grid; grid-template-columns: 1fr auto; }
.app-record-detail-overall span { color: #b7b1aa; font-size: 12px; line-height: 17px; }
.app-record-detail-overall strong { color: #f7f5f0; font-size: 29px; font-weight: 700; grid-column: 2; grid-row: 1 / span 2; line-height: 34px; }
.app-record-detail-overall strong small { color: #b7b1aa; font-size: 13px; font-weight: 500; margin-left: 3px; }
.app-record-detail-overall b { color: #f7f5f0; font-size: 11px; font-weight: 700; letter-spacing: .04em; line-height: 16px; }
.app-record-detail-overall p { color: #d1cbc3; font-size: 14px; line-height: 21px; margin: 13px 0 0; }
.app-record-detail-heading { align-items: center; display: flex; justify-content: space-between; margin: 26px 0 12px; }
.app-record-detail-heading strong { color: #f7f5f0; font-size: 18px; font-weight: 700; line-height: 23px; }
.app-record-detail-heading span { color: #b7b1aa; font-size: 18px; line-height: 20px; }
.app-record-detail-colour,
.app-record-detail-aspect { background: #2c2a28; border: 1px solid #4a4540; border-radius: 16px; padding: 15px; }
.app-record-detail-colour header,
.app-record-detail-aspect header { align-items: center; display: flex; justify-content: space-between; }
.app-record-detail-colour header strong,
.app-record-detail-aspect header strong { color: #f7f5f0; font-size: 15px; font-weight: 700; line-height: 20px; }
.app-record-detail-colour header span { color: #b7b1aa; font-size: 11px; line-height: 16px; }
.app-record-detail-colour > div { border-radius: 999px; display: flex; height: 24px; margin-top: 13px; overflow: hidden; }
.app-record-detail-colour i { background: var(--colour); flex: 1; position: relative; }
.app-record-detail-colour i.is-selected::after { border: 2px solid #f7f5f0; border-radius: 999px; content: ""; inset: 2px; position: absolute; }
.app-record-detail-aspect { margin-top: 10px; }
.app-record-detail-aspect header span { color: #f7f5f0; font-size: 19px; font-weight: 700; line-height: 24px; }
.app-record-detail-aspect header small { color: #b7b1aa; font-size: 11px; font-weight: 500; margin-left: 3px; }
.app-record-detail-aspect p { color: #b7b1aa; font-size: 13px; line-height: 19px; margin: 9px 0 0; }
.app-record-detail-tags { margin-top: 24px; }
.app-record-detail-tags > strong { color: #f7f5f0; font-size: 18px; font-weight: 700; line-height: 23px; }
.app-record-detail-tags > div { display: grid; gap: 8px; grid-template-columns: repeat(4, 1fr); margin-top: 12px; }
.app-record-detail-tags span { align-items: center; background: #2c2a28; border: 1px solid #4a4540; border-radius: 12px; color: #c7c2b8; display: flex; flex-direction: column; font-size: 10px; font-weight: 500; height: 76px; justify-content: center; line-height: 14px; }
.app-record-detail-tags img { height: 28px; margin-bottom: 4px; object-fit: contain; width: 28px; }

.app-scene--analysis { align-items: center; background: #171717; display: flex; flex-direction: column; justify-content: center; padding: 52px 24px; }
.app-scene--analysis .app-form-header { align-self: stretch; left: 0; position: absolute; right: 0; top: 52px; }
.app-analysis-photo { border-radius: 20px; height: 272px; overflow: hidden; position: relative; width: 100%; }
.app-analysis-photo img { height: 100%; object-fit: cover; width: 100%; }
.app-analysis-photo span { border: 2px solid #f05236; border-radius: 16px; inset: 16px; position: absolute; }
.app-analysis-copy { margin-top: 34px; text-align: center; }
.app-analysis-copy strong { color: #f9f7f4; font-size: 22px; font-weight: 600; line-height: 31px; }
.app-analysis-copy p { color: #b8b1ab; font-size: 15px; line-height: 23px; margin-top: 9px; }
.app-analysis-copy i { background: #4a4540; border-radius: 999px; display: block; height: 5px; margin: 24px auto 0; overflow: hidden; width: 150px; }
.app-analysis-copy i b { animation: analysis-progress 1.6s ease-in-out infinite; background: #f05236; display: block; height: 100%; transform-origin: left; width: 68%; }

.interactive-demo { background: #171717; min-height: 180svh; overflow: hidden; position: relative; }
.demo-phone { --phone-scale: 1; background: #171717; border-radius: 28px; box-shadow: 0 28px 85px rgba(0, 0, 0, .34); height: 852px; margin: 0 auto; overflow: hidden; position: sticky; top: calc((100svh - 852px) / 2); transform: scale(var(--phone-scale)); transform-origin: center; width: 393px; }
.app-scene--ai { padding: 52px 24px 40px; }
.app-ai-header { align-items: center; display: flex; height: 44px; position: relative; }
.app-ai-header img { height: 24px; width: 24px; }
.app-ai-header strong { color: #fbf9f4; font-size: 25px; font-weight: 700; line-height: 30px; margin-left: 18px; }
.app-scene--ai > h3 { color: #fbf9f4; font-size: 20px; font-weight: 600; letter-spacing: 0; line-height: 28px; margin-top: 32px; }
.app-scene--ai > p { color: #b7b1aa; font-size: 14px; line-height: 20px; margin-top: 4px; }
.app-scene--ai textarea { background: #2c2a28; border: 1px solid #56514c; border-radius: 16px; color: #fbf9f4; display: block; font: inherit; font-size: 16px; height: 202px; line-height: 24px; margin-top: 20px; outline: none; padding: 20px; resize: none; width: 100%; }
.app-scene--ai textarea::placeholder { color: #b7b1aa; opacity: 1; }
.app-scene--ai textarea:focus { border-color: #f05236; }
.app-scene--ai > button { align-items: center; background: #e55438; border: 0; border-radius: 16px; color: #fbf9f4; display: flex; font: inherit; font-size: 16px; font-weight: 600; height: 52px; justify-content: center; margin-top: 16px; width: 100%; }
.app-scene--ai > button:disabled { background: #403b37; color: #938c83; }
.app-ai-result { align-items: center; background: #2d2a28; border: 1px solid #4a4540; border-radius: 18px; display: flex; margin-top: 16px; overflow: hidden; padding: 12px; }
.app-ai-result[hidden] { display: none; }
.app-ai-result img { border-radius: 12px; height: 72px; object-fit: cover; width: 72px; }
.app-ai-result div { display: grid; margin-left: 12px; }
.app-ai-result small { color: #baad8a; font-size: 12px; line-height: 17px; }
.app-ai-result strong { color: #f6f4f0; font-size: 16px; font-weight: 600; line-height: 23px; margin-top: 2px; }
.app-ai-result span { color: #ada69e; font-size: 13px; line-height: 18px; margin-top: 2px; }

.app-scene--review { overflow: hidden; padding-bottom: 92px; }
.app-score-card { --score-color: #3b82f6; --score-progress: 86%; }
.app-score-card input[type="range"] { -webkit-appearance: none; appearance: none; background: transparent; cursor: pointer; height: 26px; left: 15px; margin: 0; position: absolute; right: 15px; top: 79px; width: calc(100% - 30px); }
.app-score-card input[type="range"]::-webkit-slider-runnable-track { background: linear-gradient(to right, var(--score-color) 0 var(--score-progress), #4a4540 var(--score-progress) 100%); border-radius: 999px; height: 8px; }
.app-score-card input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; background: var(--score-color); border: 0; border-radius: 999px; height: 26px; margin-top: -9px; width: 36px; }
.app-score-card input[type="range"]::-moz-range-track { background: #4a4540; border-radius: 999px; height: 8px; }
.app-score-card input[type="range"]::-moz-range-progress { background: var(--score-color); border-radius: 999px; height: 8px; }
.app-score-card input[type="range"]::-moz-range-thumb { background: var(--score-color); border: 0; border-radius: 999px; height: 26px; width: 36px; }
.app-note textarea { outline: none; resize: none; width: 100%; }
.app-note textarea:focus { border-color: #f05236; }
.app-detail-fields { display: grid; gap: 24px; margin-top: 0; padding-bottom: 20px; }
.app-detail-fields[hidden] { display: none; }
.app-color-card,
.app-review-aspect { background: #2c2a28; border: 1px solid #4a4540; border-radius: 16px; padding: 16px; }
.app-color-card header,
.app-review-aspect header { align-items: center; display: flex; justify-content: space-between; }
.app-color-card header > strong,
.app-review-aspect header > strong { color: #f7f5f0; font-size: 18px; font-weight: 700; line-height: 22px; }
.app-color-card header span { color: #b7b1aa; font-size: 12px; line-height: 17px; }
.app-color-card .app-color-track { border-radius: 999px; display: flex; height: 40px; margin-top: 16px; overflow: hidden; }
.app-color-card .app-color-track i { background: var(--color); display: block; flex: 1; height: 40px; position: relative; }
.app-color-card .app-color-track i.is-selected::after { border: 2px solid #f7f5f0; border-radius: 999px; content: ""; inset: 3px; position: absolute; }
.app-color-card p { color: #b7b1aa; font-size: 10px; line-height: 14px; margin: 8px 0 0; text-align: center; }
.app-review-aspect { height: 224px; min-height: 0; }
.app-review-aspect header span { align-items: baseline; display: flex; }
.app-review-aspect header b { color: #f7f5f0; font-size: 24px; line-height: 30px; }
.app-review-aspect header small { color: #b7b1aa; font-size: 12px; margin-left: 4px; }
.app-review-aspect > i { background: linear-gradient(to right, #e55438 0 var(--aspect-score), #4a4540 var(--aspect-score) 100%); border-radius: 999px; display: block; height: 8px; margin-top: 16px; position: relative; }
.app-review-aspect > i::after { background: #e55438; border-radius: 999px; content: ""; height: 26px; left: calc(var(--aspect-score) - 18px); position: absolute; top: -9px; width: 36px; }
.app-review-aspect p { background: #37322e; border: 1px solid #4a4540; border-radius: 14px; color: #b7b1aa; font-size: 13px; line-height: 18px; margin: 20px 0 0; min-height: 80px; padding: 13px 12px; }
.app-scene--review .app-complete { bottom: 16px; height: 48px; left: 24px; right: 24px; }

.app-scene--review { position: relative; }
.app-tag-picker { background: #171717; inset: 0; overflow: hidden; padding: 52px 24px 92px; position: absolute; transform-origin: center top; z-index: 5; }
.app-tag-picker[hidden] { display: none; }
.app-tag-picker .app-tags-header { margin: 0; }
.app-tag-picker .app-tags-header img { left: 0; }
.app-tag-picker .app-review-target { margin-top: 8px; }
.app-tag-picker .app-tags-question { margin-top: 20px; }
.app-tag-picker .app-tags-question strong { font-size: 20px; line-height: 28px; }
.app-tag-search { align-items: center; background: #2c2a28; border: 1px solid #4a4540; border-radius: 8px; color: #8f8982; display: flex; font-size: 14px; height: 52px; margin-top: 16px; padding: 0 16px; }
.app-tag-search img { height: 20px; margin-right: 10px; width: 20px; }
.app-tag-picker .app-tag-group { margin-top: 12px; }
.app-tag-picker .app-tag-group > div { align-items: center; display: flex; height: 44px; justify-content: space-between; margin: 0; }
.app-tag-picker .app-tag-group > div strong { position: static; }
.app-tag-picker .app-tag-group ul { display: grid; gap: 8px; grid-template-columns: repeat(4, 76px); margin: 4px; padding: 0; }
.app-tag-picker .app-tag-group li { align-items: center; display: flex; flex-direction: column; height: 78px; padding-top: 11px; position: relative; width: 76px; }
.app-tag-picker .app-tag-group .app-tag-selected { height: 17px; position: absolute; right: 6px; top: 6px; width: 17px; }
.app-tag-picker .app-complete { bottom: 16px; left: 24px; position: absolute; right: 24px; width: auto; }

@keyframes analysis-progress {
  0%, 100% { transform: scaleX(.42); }
  50% { transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
  .app-analysis-copy i b { animation: none; }
}

@media (max-width: 767px) {
  .interactive-demo { min-height: 852px; padding: 0; }
  .demo-phone { position: relative; top: auto; }
  .flow__sticky { display: block; position: relative; }
  .flow__scroll-space { display: none; }
  .flow__mobile-story { display: none; }
}

/* Scroll, rather than clicks, advances every app state in the landing. */
.flow { height: 400svh; min-height: 100svh; }
.flow__sticky { position: sticky; top: 0; }
.flow__scroll-space { display: block; height: 300svh; }
.flow__screen { transition: none; }
.flow__phone button,
.demo-phone button,
.demo-phone input,
.demo-phone textarea { cursor: default; pointer-events: none; }
.app-new-record { cursor: default; }

.interactive-demo { min-height: 250svh; overflow: visible; }
.interactive-demo#review-demo { min-height: 320svh; }
.demo-stage { height: 250svh; position: relative; }
#review-demo .demo-stage { height: 320svh; }
.demo-stage .demo-phone { left: auto; margin: 0 auto; position: relative; top: calc((100svh - 852px) / 2); transform: scale(var(--phone-scale)); }
.demo-phone.is-pinned { left: 50%; margin: 0; position: fixed; top: 50%; transform: translate(-50%, -50%) scale(var(--phone-scale)); z-index: 2; }
.app-ai-result,
.app-detail-fields { transition: none; }

.funnel-intro { position: absolute; top: 50%; transform: translateY(-50%); width: min(350px, calc(50vw - 240px)); z-index: 3; }
.funnel-intro--left { left: max(48px, calc(50% - 540px)); }
.funnel-intro--right { right: max(48px, calc(50% - 540px)); }
.funnel-intro p { color: #e55438; font-size: 16px; font-weight: 700; line-height: 22px; }
.funnel-intro h3 { color: #f7f5f0; font-size: clamp(42px, 3.7vw, 56px); font-weight: 700; letter-spacing: -.045em; line-height: .99; margin-top: 16px; }
.funnel-intro span { color: #c7c2b8; display: block; font-size: 18px; line-height: 27px; margin-top: 24px; }

@media (min-width: 768px) {
  .flow__phone { top: calc(50% + 30px); }
  .flow__phone--right { left: calc(50% + min(20vw, 250px)); }
  .demo-stage .demo-phone { top: calc((100svh - 852px) / 2 + 30px); }
  .demo-stage .demo-phone--left { left: max(-250px, -20vw); }
  .demo-stage .demo-phone--right { left: min(20vw, 250px); }
  .demo-phone.is-pinned { top: calc(50% + 30px); }
  .demo-phone--left.is-pinned { left: calc(50% - min(20vw, 250px)); }
  .demo-phone--right.is-pinned { left: calc(50% + min(20vw, 250px)); }
  .funnel-intro.is-pinned { position: fixed; }
}

@media (max-width: 767px) {
  .flow { height: auto; }
  .interactive-demo { min-height: auto; overflow: clip; padding: 96px 0; }
  .interactive-demo#review-demo { min-height: auto; }
  .demo-stage { height: auto; overflow: clip; position: static; }
  #review-demo .demo-stage { height: auto; }
  .demo-stage .demo-phone { left: auto; margin: 0 auto; position: relative; top: auto; transform: scale(var(--phone-scale)); }
  .demo-phone.is-pinned { left: auto; margin: 0 auto; position: relative; top: auto; transform: scale(var(--phone-scale)); }
  .demo-phone { margin: 0 auto; }
  .funnel-intro { left: auto; padding: 0 24px 24px; position: relative; right: auto; top: auto; transform: none; width: auto; }
  .funnel-intro--left { padding-top: 64px; }
  .funnel-intro p { font-size: 14px; line-height: 20px; }
  .funnel-intro h3 { font-size: 38px; line-height: 1.02; margin-top: 10px; }
  .funnel-intro span { font-size: 15px; line-height: 22px; margin-top: 14px; }
}
