:root {
  --ink: #f2eee4;
  --ink-soft: rgba(242, 238, 228, 0.72);
  --dark: #17140f;
  --dark-2: #211d16;
  --paper: #ece6d9;
  --paper-2: #d9d0bf;
  --olive: #6d7050;
  --olive-dark: #4e5138;
  --copper: #bd6d4d;
  --line: rgba(242, 238, 228, 0.22);
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--dark); }
body {
  margin: 0;
  min-width: 320px;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--dark);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
button, a { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

::selection { background: rgba(189, 109, 77, 0.5); color: #fff; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 999;
  left: 1rem;
  top: 1rem;
  padding: .8rem 1rem;
  background: var(--paper);
  color: var(--dark);
  transform: translateY(-180%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 20% 18%, rgba(104, 86, 58, .22), transparent 33%),
    linear-gradient(115deg, #16130e 0%, #19150f 44%, #1d1913 100%);
}

.hero::after,
.demo-section::after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 20;
  opacity: .18;
  mix-blend-mode: soft-light;
  background-image:
    repeating-radial-gradient(circle at 17% 32%, rgba(255,255,255,.26) 0 .45px, transparent .65px 2.2px),
    repeating-radial-gradient(circle at 72% 65%, rgba(0,0,0,.32) 0 .5px, transparent .75px 2.4px);
  background-size: 3px 3px, 4px 4px;
}

.site-header {
  position: absolute;
  z-index: 40;
  inset: 0 0 auto 0;
  height: 92px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 3rem;
  padding: 0 clamp(2rem, 4.7vw, 5.4rem);
  border-bottom: 1px solid transparent;
  transition: background .35s ease, border-color .35s ease, backdrop-filter .35s ease;
}

.site-header.is-scrolled {
  position: fixed;
  height: 72px;
  background: rgba(23, 20, 15, .82);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}

.wordmark {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.3vw, 2.15rem);
  letter-spacing: 0;
  justify-self: start;
}
.site-header .wordmark { font-size: clamp(1.35rem, 1.65vw, 1.7rem); }

.site-nav { display: flex; gap: clamp(1.7rem, 3vw, 3.3rem); align-items: center; }
.site-nav a,
.header-link {
  position: relative;
  font-size: .86rem;
  color: var(--ink-soft);
  transition: color .2s ease;
}
.site-nav a::after,
.header-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -.45rem;
  height: 1px;
  background: currentColor;
  transition: right .35s var(--ease);
}
.site-nav a:hover,
.site-nav a:focus-visible,
.header-link:hover,
.header-link:focus-visible { color: var(--ink); }
.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.header-link:hover::after,
.header-link:focus-visible::after { right: 0; }

.header-actions { justify-self: end; display: flex; align-items: center; gap: 1.5rem; }
.install-button {
  border: 1px solid rgba(242,238,228,.48);
  border-radius: 999px;
  background: rgba(242,238,228,.05);
  color: var(--ink);
  min-width: 102px;
  padding: .75rem 1.25rem;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, transform .25s var(--ease);
}
.install-button:hover { background: var(--paper); color: var(--dark); transform: translateY(-2px); }

.nav-toggle { display: none; }

.hero-copy {
  position: relative;
  z-index: 30;
  min-height: 100svh;
  width: min(47vw, 690px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 8.8rem 0 6rem clamp(2rem, 4.7vw, 5.4rem);
}

.hero h1 {
  margin: 0;
  max-width: 560px;
  font-family: var(--serif);
  font-size: clamp(2.85rem, 4.05vw, 5.05rem);
  font-weight: 400;
  line-height: .98;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-lede {
  margin: 1.6rem 0 0;
  color: var(--ink-soft);
  font-size: clamp(.88rem, .95vw, .98rem);
  line-height: 1.55;
}

.hero-actions { display: flex; align-items: center; gap: 1.45rem; margin-top: 1.65rem; }
.button {
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  min-height: 48px;
  padding: .2rem 1.35rem .2rem 1.5rem;
  font-size: .9rem;
  cursor: pointer;
  transition: transform .3s var(--ease), background .25s ease, color .25s ease, box-shadow .3s ease;
}
.button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.button:hover { transform: translateY(-3px); }
.button-primary { background: var(--paper); color: var(--dark); box-shadow: 0 14px 35px rgba(0,0,0,.15); }
.button-primary:hover { background: #fffaf0; box-shadow: 0 18px 45px rgba(0,0,0,.22); }
.button-dark { background: var(--dark); color: var(--paper); }
.hero-actions .button { min-height: 42px; padding-inline: 1.2rem; gap: .95rem; font-size: .82rem; }
.hero-actions .button svg { width: 15px; height: 15px; }

.text-link {
  position: relative;
  padding: .65rem 0;
  color: rgba(242,238,228,.82);
  font-size: .8rem;
}
.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: .42rem;
  height: 1px;
  background: currentColor;
  transform-origin: right;
  transition: transform .35s var(--ease);
}
.text-link:hover::after { transform: scaleX(.35); }

.hero-visual {
  position: absolute;
  z-index: 10;
  top: 0;
  right: 0;
  height: 100%;
  aspect-ratio: 1236 / 1024;
  overflow: visible;
  pointer-events: none;
}
.hero-visual picture {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-visual picture,
.hero-visual img { width: 100%; height: 100%; }
.hero-visual img { object-fit: cover; filter: saturate(.88) contrast(1.02); }
.hero-visual::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: 0;
  right: 0;
  bottom: 0;
  left: -42vw;
  width: calc(100% + 42vw);
  background: linear-gradient(90deg, #17140f 0%, #17140f 23%, rgba(23,20,15,.96) 37%, rgba(23,20,15,.72) 50%, rgba(23,20,15,.22) 65%, transparent 79%);
}
.visual-shade {
  position: absolute;
  z-index: 4;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.12), transparent 26%, transparent 72%, rgba(0,0,0,.17)),
    radial-gradient(circle at 74% 58%, transparent 0 28%, rgba(0,0,0,.08) 68%);
}

.monitor-ui {
  --screen-left: 50.4%;
  --screen-top: 40.7%;
  --screen-width: 30.35%;
  --screen-height: 27.7%;
  position: absolute;
  z-index: 6;
  left: var(--screen-left);
  top: var(--screen-top);
  width: var(--screen-width);
  height: var(--screen-height);
  overflow: hidden;
  border-radius: 2.5%;
  background: #d7d0bc;
  color: #29261e;
  box-shadow: inset 0 0 24px rgba(43,38,28,.13), 0 0 1px rgba(255,255,255,.65);
  pointer-events: auto;
  transform: translateZ(0) rotate(-.08deg);
  filter: brightness(.93) sepia(.06);
}
.browser-chrome {
  height: 16%;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 4%;
  padding: 0 4%;
  border-bottom: 1px solid rgba(41,38,30,.16);
  background: rgba(238,233,218,.82);
  font-size: clamp(4px, .39vw, 7px);
  text-transform: lowercase;
}
.browser-dots { display: flex; gap: 2px; }
.browser-dots i { width: 3px; height: 3px; border-radius: 50%; background: rgba(41,38,30,.36); }
.browser-address { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: .58; }

.monitor-content { position: relative; height: 84%; padding: 4.2% 5% 3.3%; background: linear-gradient(145deg, #d8d1bd 0%, #cbc4b1 100%); }
.monitor-brand-row { display: flex; justify-content: space-between; align-items: center; gap: 5%; font-size: clamp(4px, .42vw, 7px); text-transform: uppercase; letter-spacing: 0; }
.monitor-brand { font-weight: 700; }
.monitor-method { max-width: 68%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; opacity: .55; }
.brew-viewport { height: 69%; margin-top: 4%; overflow: hidden; }
.brew-track { height: 500%; transition: transform 1.1s var(--ease); will-change: transform; }
.brew-step { height: 20%; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr auto; column-gap: 6%; align-items: end; }
.brew-kicker { grid-column: 1 / -1; margin: 0; font-size: clamp(3px, .38vw, 6px); letter-spacing: 0; text-transform: uppercase; opacity: .58; align-self: start; }
.brew-step h2 { margin: 0; max-width: 90%; font-family: var(--serif); font-size: clamp(11px, 1.35vw, 23px); font-weight: 400; line-height: .98; letter-spacing: 0; }
.brew-step > p:not(.brew-kicker) { margin: 0; max-width: 95%; font-size: clamp(4px, .48vw, 8px); line-height: 1.35; align-self: end; opacity: .7; }
.brew-step strong { font-weight: 650; }
.brew-metric { grid-row: 2 / 4; grid-column: 2; align-self: center; min-width: 30%; padding-left: 8%; border-left: 1px solid rgba(41,38,30,.18); display: flex; flex-direction: column; gap: 7%; font-family: var(--serif); text-align: right; }
.brew-metric span:first-child { font-size: clamp(8px, .95vw, 16px); }
.brew-metric span:last-child { font-size: clamp(5px, .48vw, 8px); opacity: .56; }
.brew-progress { position: absolute; left: 5%; right: 5%; bottom: 4.5%; display: flex; gap: 3px; }
.brew-progress button { flex: 1; height: 2px; padding: 0; border: 0; background: rgba(41,38,30,.17); cursor: pointer; }
.brew-progress button::after { content: ""; display: block; width: 0; height: 100%; background: #51553a; transition: width .85s var(--ease); }
.brew-progress button.active::after { width: 100%; }

.section { padding: clamp(6rem, 11vw, 10.5rem) clamp(2rem, 7vw, 8rem); }
.manifesto { position: relative; background: var(--paper); color: var(--dark); }
.section-grid { display: grid; grid-template-columns: 1fr; }
.manifesto-copy { max-width: 880px; margin-left: auto; }
.manifesto-copy h2,
.section-heading h2,
.demo-section h2,
.privacy h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.03;
}
.manifesto-copy h2 { font-size: clamp(2.8rem, 4.3vw, 5.2rem); }
.manifesto-copy > p:last-child { max-width: 680px; margin: 2.3rem 0 0 auto; color: rgba(23,20,15,.64); font-size: clamp(1rem, 1.4vw, 1.25rem); line-height: 1.7; }

.product-facts { background: #f1ede4; color: var(--dark); border-top: 1px solid rgba(23,20,15,.13); }
.facts-layout,
.faq-layout { width: min(1280px, 100%); margin: 0 auto; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(3rem, 8vw, 9rem); }
.facts-heading h2,
.faq-heading h2 { margin: 0; font-family: var(--serif); font-size: clamp(2.7rem, 4vw, 4.7rem); font-weight: 400; line-height: 1.04; letter-spacing: 0; }
.facts-copy { max-width: 700px; }
.facts-copy p { margin: 0; color: rgba(23,20,15,.64); font-size: 1rem; line-height: 1.75; }
.facts-copy .facts-lede { color: var(--dark); font-family: var(--serif); font-size: clamp(1.65rem, 2.25vw, 2.35rem); line-height: 1.22; }
.facts-copy .facts-lede + p { margin-top: 1.8rem; }
.product-definition { margin: 3rem 0 0; border-top: 1px solid rgba(23,20,15,.17); }
.product-definition > div { display: grid; grid-template-columns: 145px 1fr; gap: 1.5rem; padding: 1.1rem 0; border-bottom: 1px solid rgba(23,20,15,.17); }
.product-definition dt { color: rgba(23,20,15,.48); font-size: .7rem; text-transform: uppercase; }
.product-definition dd { margin: 0; font-size: .9rem; line-height: 1.45; }

.use-cases { background: #d9d1c1; color: var(--dark); }
.section-heading { margin-bottom: 5rem; }
.section-heading h2 { max-width: 700px; margin-left: auto; font-size: clamp(3rem, 5vw, 5.8rem); }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(23,20,15,.16); border-top: 1px solid rgba(23,20,15,.16); border-bottom: 1px solid rgba(23,20,15,.16); }
.case-card { position: relative; min-height: 330px; padding: 2.1rem; background: #d9d1c1; display: flex; flex-direction: column; justify-content: flex-end; transition: background .35s ease, transform .35s var(--ease); }
.case-card:hover { background: #e4ddd0; transform: translateY(-5px); }
.case-number { position: absolute; top: 2rem; left: 2.1rem; color: rgba(23,20,15,.38); font-size: .72rem; }
.case-card h3 { margin: 0; max-width: 340px; font-family: var(--serif); font-size: clamp(1.75rem, 2.3vw, 2.65rem); font-weight: 400; line-height: 1.08; letter-spacing: 0; }
.case-card p { margin: 1.3rem 0 0; max-width: 310px; color: rgba(23,20,15,.58); line-height: 1.55; }

.demo-section { position: relative; min-height: 78svh; display: grid; place-items: center; text-align: center; background: linear-gradient(135deg, #77795a, #4f5039 68%, #41422f); overflow: hidden; }
.demo-section::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 0%, rgba(255,255,255,.14), transparent 47%); }
.demo-section-inner { position: relative; z-index: 4; max-width: 850px; }
.demo-section h2 { font-size: clamp(3.4rem, 5.6vw, 6.6rem); }
.demo-section-inner > p { max-width: 610px; margin: 1.8rem auto 2.2rem; color: rgba(242,238,228,.7); font-size: .98rem; line-height: 1.65; }
.demo-section .button-dark { background: var(--paper); color: var(--dark); }

.privacy { background: var(--dark); }
.privacy-card { display: grid; grid-template-columns: 1fr .8fr; gap: clamp(2rem, 5vw, 6rem); align-items: center; max-width: 1280px; margin: auto; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 4rem 0; }
.privacy h2 { font-size: clamp(2.3rem, 3.5vw, 4.1rem); }
.privacy-card > p { color: var(--ink-soft); line-height: 1.65; }

.faq { background: var(--dark-2); color: var(--ink); border-top: 1px solid rgba(242,238,228,.1); }
.faq-heading h2 { max-width: 470px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 1.55rem 3rem 1.55rem 0; font-family: var(--serif); font-size: clamp(1.35rem, 1.8vw, 1.8rem); line-height: 1.2; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; top: 50%; right: .25rem; transform: translateY(-50%); color: rgba(242,238,228,.54); font-family: var(--sans); font-size: 1.25rem; font-weight: 300; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { max-width: 650px; margin: -.2rem 0 1.7rem; color: var(--ink-soft); line-height: 1.7; }

.site-footer { min-height: 180px; padding: 3rem clamp(2rem, 7vw, 8rem); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; background: var(--dark); border-top: 1px solid rgba(242,238,228,.1); }
.site-footer p { margin: 0; color: rgba(242,238,228,.42); font-size: .78rem; }
.site-footer p:last-child { justify-self: end; }

.demo-dialog {
  width: min(1120px, calc(100% - 2rem));
  max-height: calc(100svh - 2rem);
  padding: 0;
  border: 0;
  border-radius: 24px;
  color: var(--dark);
  background: var(--paper);
  box-shadow: 0 45px 120px rgba(0,0,0,.55);
  overflow: hidden;
}
.demo-dialog::backdrop { background: rgba(10,9,7,.72); backdrop-filter: blur(11px); }
.dialog-shell { position: relative; display: grid; grid-template-columns: .78fr 1.22fr; min-height: 650px; }
.dialog-close { position: absolute; z-index: 3; top: 1rem; right: 1rem; width: 42px; height: 42px; border: 1px solid rgba(23,20,15,.15); border-radius: 50%; background: rgba(236,230,217,.88); color: var(--dark); font-size: 1.55rem; cursor: pointer; }
.dialog-copy { padding: clamp(2.3rem, 5vw, 5.3rem); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.dialog-copy h2 { margin: 0; font-family: var(--serif); font-size: clamp(2.8rem, 3.8vw, 4.4rem); font-weight: 400; letter-spacing: 0; line-height: 1; }
.dialog-copy > p:not(.dialog-privacy) { margin: 1.6rem 0; color: rgba(23,20,15,.62); line-height: 1.65; }
.camera-status { margin-bottom: 1.15rem; color: rgba(23,20,15,.58); font-size: .8rem; }
.dialog-privacy { margin: 1.1rem 0 0; color: rgba(23,20,15,.4); font-size: .72rem; }

.demo-stage { position: relative; min-height: 650px; padding: clamp(2.3rem, 5vw, 5.3rem); background: #373829; display: grid; grid-template-rows: .62fr 1fr; gap: 1.2rem; outline: none; }
.video-shell { position: relative; min-height: 210px; overflow: hidden; border-radius: 16px; background: #28291f; }
.video-shell video { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); opacity: 0; transition: opacity .4s ease; }
.video-shell video.active { opacity: .62; }
.video-placeholder { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: .35rem; color: rgba(242,238,228,.58); transition: opacity .3s ease; }
.video-placeholder small { color: rgba(242,238,228,.35); }
.video-shell.has-video .video-placeholder { opacity: 0; pointer-events: none; }

.demo-browser { overflow: hidden; border-radius: 13px; background: #d6cfbb; box-shadow: 0 22px 50px rgba(0,0,0,.24); }
.demo-browser-bar { height: 42px; display: flex; align-items: center; gap: 6px; padding: 0 14px; border-bottom: 1px solid rgba(23,20,15,.16); font-size: .72rem; color: rgba(23,20,15,.48); }
.demo-browser-bar > span { width: 7px; height: 7px; border-radius: 50%; background: rgba(23,20,15,.27); }
.demo-browser-bar div { margin-left: 9px; }
.demo-brew { min-height: 245px; padding: 2.1rem; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto 1fr auto; column-gap: 2rem; transition: opacity .2s ease, transform .35s var(--ease); }
.demo-brew.is-changing { opacity: .25; transform: translateY(10px); }
.demo-brew > p:first-child { grid-column: 1 / -1; margin: 0 0 1rem; color: rgba(23,20,15,.48); font-size: .72rem; letter-spacing: 0; text-transform: uppercase; }
.demo-brew h3 { margin: 0; font-family: var(--serif); font-size: clamp(2.6rem, 4vw, 4.7rem); font-weight: 400; line-height: 1; letter-spacing: 0; }
.demo-brew > p:nth-of-type(2) { margin: 1rem 0 0; color: rgba(23,20,15,.64); }
.demo-metric { grid-row: 2 / 4; grid-column: 2; display: flex; flex-direction: column; justify-content: center; align-items: end; padding-left: 2rem; border-left: 1px solid rgba(23,20,15,.16); }
.demo-metric strong { font-family: var(--serif); font-size: 2.6rem; font-weight: 400; }
.demo-metric span { color: rgba(23,20,15,.52); }
.demo-progress { grid-column: 1 / -1; height: 3px; margin-top: 2rem; background: rgba(23,20,15,.13); }
.demo-progress i { display: block; width: 25%; height: 100%; background: var(--olive-dark); transition: width .7s var(--ease); }
.demo-controls { height: 54px; display: flex; align-items: center; justify-content: center; gap: 1.2rem; border-top: 1px solid rgba(23,20,15,.14); }
.demo-controls button { width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(23,20,15,.08); color: var(--dark); cursor: pointer; }
.demo-controls span { min-width: 48px; text-align: center; color: rgba(23,20,15,.52); font-size: .75rem; }

.toast { position: fixed; z-index: 999; left: 50%; bottom: 1.5rem; transform: translate(-50%, 160%); padding: .8rem 1rem; border-radius: 999px; background: var(--paper); color: var(--dark); box-shadow: 0 15px 50px rgba(0,0,0,.3); transition: transform .35s var(--ease); font-size: .82rem; }
.toast.show { transform: translate(-50%, 0); }

@media (max-width: 1100px) {
  .site-header { grid-template-columns: 1fr auto 1fr; gap: 1.2rem; }
  .site-nav { gap: 1.4rem; }
  .header-link { display: none; }
  .hero-copy { width: 53vw; }
  .hero-visual { aspect-ratio: 1040 / 1024; }
  .monitor-ui { --screen-left: 49.3%; --screen-width: 36.3%; }
}

@media (max-width: 760px) {
  .hero { min-height: 100svh; padding-bottom: 0; }
  .site-header { position: absolute; height: 72px; grid-template-columns: 1fr auto auto; padding: 0 1.25rem; }
  .site-header.is-scrolled { height: 64px; }
  .site-header .wordmark { font-size: 1.35rem; }
  .nav-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; padding: 0 10px; border: 1px solid rgba(242,238,228,.16); border-radius: 50%; background: rgba(23,20,15,.15); cursor: pointer; }
  .nav-toggle span:not(.sr-only) { width: 100%; height: 1px; background: var(--ink); transition: transform .25s ease; }
  .site-nav { position: fixed; z-index: 60; top: 64px; left: 1rem; right: 1rem; display: grid; gap: 0; padding: .6rem; border: 1px solid rgba(242,238,228,.12); border-radius: 16px; background: rgba(23,20,15,.95); backdrop-filter: blur(18px); transform: translateY(-18px); opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s var(--ease); }
  .site-nav.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .site-nav a { padding: 1rem; border-bottom: 1px solid rgba(242,238,228,.08); }
  .site-nav a:last-child { border-bottom: 0; }
  .header-actions { gap: .6rem; }
  .install-button { min-width: auto; padding: .65rem 1rem; }

  .hero-copy { min-height: auto; width: 100%; padding: 7.2rem 1.25rem 1.9rem; }
  .hero h1 { font-size: 2.4rem; line-height: 1.03; }
  .hero-lede { margin-top: 1rem; font-size: .84rem; line-height: 1.46; }
  .desktop-only { display: none; }
  .hero-actions { gap: .75rem; margin-top: 1.1rem; }
  .button { min-height: 46px; padding-inline: 1.15rem; gap: .85rem; }
  .hero-actions .button { min-height: 40px; padding-inline: 1rem; font-size: .78rem; }
  .text-link { font-size: .77rem; }

  .hero-visual { position: relative; right: auto; top: auto; width: 100%; height: auto; aspect-ratio: 820 / 1024; margin-top: -6.6rem; overflow: hidden; }
  .hero-visual::before { left: 0; width: 100%; background: linear-gradient(180deg, #17140f 0%, rgba(23,20,15,.52) 9%, transparent 24%); }
  .monitor-ui { --screen-left: 49.75%; --screen-top: 40.7%; --screen-width: 45.25%; --screen-height: 27.7%; }
  .browser-chrome { font-size: 4px; }
  .brew-step h2 { font-size: clamp(11px, 3.7vw, 19px); }
  .brew-step > p:not(.brew-kicker) { font-size: clamp(4px, 1.25vw, 7px); }
  .brew-kicker, .monitor-brand-row { font-size: 4px; }
  .brew-metric span:first-child { font-size: clamp(8px, 2.5vw, 13px); }

  .section { padding: 5.3rem 1.35rem; }
  .section-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .manifesto-copy h2 { font-size: 2.85rem; }
  .manifesto-copy > p:last-child { margin-left: 0; }
  .facts-layout,
  .faq-layout { grid-template-columns: 1fr; gap: 2.6rem; }
  .facts-heading h2,
  .faq-heading h2 { font-size: 2.85rem; }
  .facts-copy .facts-lede { font-size: 1.75rem; }
  .product-definition { margin-top: 2.3rem; }
  .product-definition > div { grid-template-columns: 105px 1fr; gap: 1rem; }
  .section-heading { margin-bottom: 2.8rem; }
  .section-heading h2 { margin-top: 0; font-size: 3rem; }
  .case-grid { grid-template-columns: 1fr; }
  .case-card { min-height: 260px; }
  .demo-section { min-height: 72svh; }
  .demo-section h2 { font-size: 3.35rem; }
  .privacy-card { grid-template-columns: 1fr; gap: 1.5rem; }
  .privacy-card > p { grid-column: auto; margin: 0; }
  .faq-list summary { padding-block: 1.35rem; padding-right: 2.5rem; }
  .site-footer { grid-template-columns: 1fr; min-height: auto; padding: 3rem 1.35rem; }
  .site-footer p:last-child { justify-self: start; }

  .demo-dialog { width: calc(100% - 1rem); max-height: calc(100svh - 1rem); border-radius: 18px; }
  .demo-dialog { overflow: auto; }
  .dialog-shell { grid-template-columns: 1fr; min-height: auto; }
  .dialog-copy { padding: 3.4rem 1.4rem 2rem; }
  .dialog-copy h2 { font-size: 2.9rem; }
  .demo-stage { min-height: 520px; padding: 1.1rem; grid-template-rows: .55fr 1fr; }
  .video-shell { min-height: 170px; }
  .demo-brew { padding: 1.4rem; }
  .demo-brew h3 { font-size: 2.7rem; }
  .demo-metric { padding-left: 1rem; }
  .demo-metric strong { font-size: 1.9rem; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 1.9rem; line-height: 1.05; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: .75rem; }
  .hero-visual { margin-top: -5.7rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
