@font-face {
  font-family: Inter;
  src: url('/assets/Inter-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Cormorant;
  src: url('/assets/CormorantGaramond-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --background: #f5f0e7;
  --surface: #eee6d9;
  --text: #2c2420;
  --muted: #63564b;
  --accent: #87383d;
  --wine: #87383d;
  --on-wine: #fff8f2;
  --border: #2c242021;
  --serif: Cormorant, Georgia, serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #1a1513;
    --surface: #241e1b;
    --text: #ede6dc;
    --muted: #c4b5a7;
    --accent: #da9ba0;
    --border: #ede6dc26;
  }
}

* { box-sizing: border-box; }
html { scroll-padding-top: 96px; }
body {
  margin: 0;
  color: var(--text);
  background: var(--background);
  font: 400 16px/1.62 Inter, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-underline-offset: .22em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.skip { position: fixed; left: 16px; top: 12px; transform: translateY(-150%); z-index: 12; }
.skip:focus { transform: none; background: var(--surface); padding: 12px; }
.site-header, .site-footer, .home-page, .pricing-page, .content-page {
  width: min(calc(100% - 2 * clamp(18px, 5vw, 64px)), 1120px);
  margin-inline: auto;
}
.site-header, .footer-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.site-header {
  position: sticky;
  z-index: 10;
  top: 14px;
  min-height: 64px;
  margin-top: 14px;
  padding: 7px 9px 7px 18px;
  border: 1px solid #ffffff20;
  border-radius: 999px;
  background: #201b19ef;
  color: #faf4ed;
  box-shadow: 0 7px 28px #170e0b30;
}
@supports (backdrop-filter: blur(1px)) {
  .site-header { background: #201b19cc; backdrop-filter: blur(18px) saturate(120%); }
}
.site-header nav { gap: clamp(12px, 2.6vw, 32px); flex-wrap: nowrap; }
.site-header .brand { color: inherit; }
.site-header nav > a { color: #e9ded5; }
.site-header nav > a:hover, .site-header nav > a[aria-current='page'] { color: #fff9f4; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font: 600 29px/1 var(--serif);
  white-space: nowrap;
  text-decoration: none;
}
.brand img { display: block; width: 34px; height: 34px; border-radius: 8px; }
nav { display: flex; align-items: center; flex-wrap: wrap; gap: clamp(14px, 3vw, 30px); }
nav a { color: var(--muted); font-size: .875rem; padding-block: 10px; text-decoration: none; }
nav a[aria-current='page'] { color: var(--text); }
.site-header .header-store { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 7px 19px; border-radius: 999px; background: #fff8f2; color: #241d1a; white-space: nowrap; transition: background 180ms ease; }
.site-header .header-store:hover { background: #ead6ce; color: #241d1a; }
h1, h2, h3 { margin: 0; font: 600 1em/1.04 var(--serif); }
h1 { font-size: clamp(54px, 7.5vw, 98px); letter-spacing: -.048em; }
h1 em { color: var(--accent); font-style: italic; }
h2 { font-size: clamp(42px, 5.2vw, 66px); letter-spacing: -.037em; text-wrap: balance; }
h3 { font-size: clamp(28px, 3.1vw, 36px); letter-spacing: -.025em; }
p { margin: 0 0 16px; }
.lead { color: var(--muted); font-size: clamp(1rem, 2vw, 1.2rem); }
.eyebrow { color: var(--muted); margin-bottom: 16px; font-size: .875rem; }

body:has(:is(.home-page, .pricing-page)) {
  color-scheme: dark;
  --background: #171211;
  --surface: #211917;
  --text: #f2e9df;
  --muted: #cbbcaf;
  --accent: #e0a9ae;
  --wine: #914249;
  --border: #f0d5c71e;
}
:is(.home-page, .pricing-page) em { color: var(--accent); font-style: italic; }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.22fr);
  align-items: center;
  gap: clamp(25px, 5vw, 76px);
  padding: clamp(34px, 5vw, 68px) 0 clamp(50px, 7vw, 90px);
}
.hero-copy { position: relative; z-index: 1; }
.hero-copy h1 { font-size: clamp(49px, 5.3vw, 76px); text-wrap: balance; }
.hero-copy h1 em { white-space: nowrap; }
.hero .lead { max-width: 35ch; margin: 22px 0 25px; text-wrap: pretty; }
.store-badge { display: inline-block; vertical-align: middle; }
.store-badge img { display: block; width: 162px; height: auto; }
.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(8px, 2vw, 22px);
}
.hero-phone { display: grid; place-items: center; min-width: 0; margin: 0; }
.hero-connector { color: var(--accent); font-size: clamp(20px, 3vw, 40px); line-height: 1; }
.hero-phone--scan .device-shell { transform: rotate(-3deg); }
.hero-phone--detail .device-shell { transform: rotate(3deg); }
.device-shell {
  position: relative;
  width: min(100%, 319px);
  padding: clamp(4px, .55vw, 7px);
  border: 1px solid #696a68;
  border-radius: 16% / 7.5%;
  background: linear-gradient(141deg, #5c605f 0%, #222425 17%, #0c0e0f 51%, #404442 85%, #92948d 100%);
  box-shadow: inset 0 0 0 1px #0a0b0b, 0 17px 35px #0d10102e;
}
.device-shell::before,
.device-shell::after {
  position: absolute;
  width: 2px;
  background: #414745;
  border-radius: 2px;
  content: '';
}
.device-shell::before { left: -2px; top: 18%; height: 8%; }
.device-shell::after { right: -2px; top: 24%; height: 7%; }
.device-display {
  position: relative;
  container-type: inline-size;
  overflow: hidden;
  border-radius: 14% / 6.6%;
  background: #d8cdb8;
  box-shadow: 0 0 0 1px #101212;
}
.device-display :is(img, video) {
  display: block;
  width: 100%;
  height: auto;
}
.device-display video { aspect-ratio: 591 / 1280; object-fit: contain; }
.device-chrome { position: absolute; inset: 0; color: #fff7ec; pointer-events: none; }
.device-time { position: absolute; top: 2.12%; left: 9%; font: 600 clamp(5px, 3.45cqw, 12px)/1 Inter, sans-serif; }
.device-island { position: absolute; top: 1.45%; left: 50%; translate: -50%; width: 25%; height: 2.65%; border-radius: 999px; background: #101112; }
.device-indicators { position: absolute; top: 2.15%; right: 9%; display: flex; align-items: end; gap: 1.6cqw; }
.device-signal { display: block; width: 3.5cqw; height: 2.5cqw; background: currentColor; clip-path: polygon(0 70%, 20% 70%, 20% 100%, 27% 100%, 27% 45%, 48% 45%, 48% 100%, 55% 100%, 55% 22%, 75% 22%, 75% 100%, 82% 100%, 82% 0, 100% 0, 100% 100%, 0 100%); }
.device-battery { display: block; width: 4.7cqw; height: 2.6cqw; border: solid 1px currentColor; border-radius: 2px; background: currentColor; background-clip: content-box; padding: 1px; }
.camera-guides { position: absolute; inset: 0; color: #fff7ec; pointer-events: none; }
.camera-title { position: absolute; inset: 7.5% 0 auto; text-align: center; font: 600 clamp(8px, 5cqw, 14px)/1.2 Inter, sans-serif; }
.camera-brackets {
  position: absolute;
  inset: 17% 17% 22%;
  background:
    linear-gradient(currentColor, currentColor) left top / 13% 1px,
    linear-gradient(currentColor, currentColor) left top / 1px 8%,
    linear-gradient(currentColor, currentColor) right top / 13% 1px,
    linear-gradient(currentColor, currentColor) right top / 1px 8%,
    linear-gradient(currentColor, currentColor) left bottom / 13% 1px,
    linear-gradient(currentColor, currentColor) left bottom / 1px 8%,
    linear-gradient(currentColor, currentColor) right bottom / 13% 1px,
    linear-gradient(currentColor, currentColor) right bottom / 1px 8%;
  background-repeat: no-repeat;
  opacity: .85;
}
.camera-shutter {
  position: absolute;
  bottom: 7%;
  left: 50%;
  translate: -50%;
  width: 17%;
  aspect-ratio: 1;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: radial-gradient(circle, currentColor 56%, transparent 59%);
}
.hero-stage .device-shell { width: min(100%, 263px); }

.cellar-hook {
  border-top: 1px solid var(--border);
  text-align: center;
}
.cellar-hook__pin {
  display: grid;
  place-items: center;
  min-height: clamp(310px, 60svh, 580px);
  padding: clamp(58px, 11vw, 140px) 0;
}
.cellar-hook h2 {
  max-width: 19ch;
  font-size: clamp(44px, 7.2vw, 94px);
  line-height: .99;
}
.cellar-hook h2 em { display: block; margin-top: .14em; }
.features {
  padding: clamp(52px, 8vw, 104px) 0;
  border-top: 1px solid var(--border);
}
.features h2 { text-align: center; margin-bottom: clamp(26px, 5vw, 58px); }
.feature-gallery[data-interactive] {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(24px, 6vw, 82px);
}
.feature-gallery [hidden] { display: none; }
.feature-card-list {
  display: grid;
  grid-column: 2;
  grid-row: 1;
  gap: 12px;
}
.feature-card {
  padding: clamp(14px, 2.15vw, 26px);
  text-align: left;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  font: inherit;
  cursor: pointer;
}
.feature-card:hover { background: #2c211d; }
.feature-card[aria-pressed='true'] { background: #332420; border-color: #bf8587; }
.feature-card-title { display: block; font: 600 clamp(24px, 2.5vw, 34px)/1.05 var(--serif); letter-spacing: -.02em; }
.feature-card-description, .feature-preview figcaption p {
  display: block;
  margin: 7px 0 0;
  color: var(--muted);
  font-size: .9375rem;
  line-height: 1.5;
}
.feature-stage { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
[data-interactive] .feature-stage { display: block; grid-column: 1; grid-row: 1; }
.feature-preview {
  display: grid;
  justify-items: center;
  min-width: 0;
  margin: 0;
  padding: clamp(20px, 4vw, 46px) 0;
  border: 1px solid var(--border);
  border-radius: clamp(22px, 3.5vw, 34px);
  background: radial-gradient(ellipse at 50% 36%, #49322a, #241b18 75%);
}
.feature-preview .device-shell { width: min(76%, 248px); }
.feature-preview .device-display { aspect-ratio: 591 / 1280; }
.feature-preview :is(img, video) { height: 100%; object-fit: contain; }
.feature-preview figcaption { width: min(88%, 440px); margin-top: 16px; text-align: center; }
[data-interactive] .feature-preview figcaption { display: none; }

.cellar-tools {
  border-top: 1px solid var(--border);
  padding: clamp(50px, 7.5vw, 96px) 0;
}
.cellar-tools h2 { text-align: center; margin-bottom: clamp(24px, 4.5vw, 48px); }
.cellar-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2.5vw, 28px);
}
.tool-card {
  min-width: 0;
  padding: clamp(20px, 2.8vw, 32px);
  border: 1px solid var(--border);
  border-radius: 24px;
  background: linear-gradient(145deg, #2b211d, var(--surface) 76%);
  box-shadow: 0 10px 26px #100a092b;
}
.tool-card-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  border: 1px solid #e0a9ae28;
  border-radius: 14px;
  color: var(--accent);
  background: #e0a9ae10;
}
.tool-card h3 { font-size: clamp(25px, 2.9vw, 33px); }
.tool-card p { margin: 10px 0 0; color: var(--muted); line-height: 1.55; }

.pricing-page { padding: clamp(54px, 8vw, 100px) 0 clamp(52px, 7vw, 92px); }
.pricing-intro { margin-bottom: clamp(25px, 4vw, 42px); text-align: center; }
.pricing-intro h1 { font-size: clamp(49px, 7.5vw, 94px); text-wrap: balance; }
.pricing-intro p { max-width: 48ch; margin: 16px auto 0; text-wrap: pretty; }
.billing-switch { position: relative; isolation: isolate; display: grid; grid-template-columns: 1fr 1fr; width: min(230px,100%); margin: 0 auto clamp(22px, 3.2vw, 38px); padding: 4px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); }
.billing-switch[hidden] { display: none; }
.billing-switch::before { position: absolute; z-index: -1; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--wine); transition: transform 230ms cubic-bezier(.22,.68,.24,1); content: ''; }
.billing-switch[data-billing='monthly']::before { transform: translateX(100%); }
.billing-switch button { min-height: 44px; padding: 5px 12px; background: transparent; color: var(--text); border: 0; border-radius: 999px; font: inherit; font-size: .9375rem; cursor: pointer; transition: color 180ms ease; }
.billing-switch button[aria-pressed='true'] { color: var(--on-wine); }
.pricing-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2.4vw, 26px); }
.pricing-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(20px, 2.6vw, 34px);
  border: 1px solid var(--border);
  border-radius: clamp(22px, 3vw, 30px);
  background: linear-gradient(148deg, #2a201d, var(--surface) 56%);
}
.pricing-plan--featured {
  border-color: #a46d71;
  background: radial-gradient(ellipse at 72% 0%, #432b2d, var(--surface) 65%);
  box-shadow: 0 8px 34px #722f3728;
}
.pricing-plan h2 { margin-bottom: clamp(15px, 2.1vw, 26px); font-size: clamp(30px, 3.55vw, 43px); }
.plan-offer-badge {
  position: absolute;
  top: 0;
  left: 50%;
  translate: -50% -50%;
  padding: 5px 13px;
  border: 1px solid #a46d71;
  border-radius: 999px;
  color: var(--text);
  background: var(--surface);
  font-size: .8125rem;
  line-height: 1.35;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.pricing-plan--featured .plan-offer-badge { color: var(--on-wine); background: var(--wine); border-color: var(--wine); }
.billing-switch[data-billing='monthly'] ~ .pricing-plans .plan-offer-badge { display: none; }
.plan-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 6px;
  margin-bottom: 5px;
  font: 600 clamp(37px, 4.55vw, 61px)/1 var(--serif);
  font-variant-numeric: tabular-nums;
}
.plan-unit { color: var(--muted); font: 400 .875rem/1.4 Inter, sans-serif; }
.plan-benefits { display: grid; gap: 10px; margin: 16px 0 28px; padding: 18px 0 0; border-top: 1px solid var(--border); list-style: none; }
.plan-benefits li { position: relative; padding-left: 21px; color: var(--muted); font-size: .9375rem; line-height: 1.45; }
.plan-benefits li::before { position: absolute; top: .25em; left: 2px; width: 5px; height: 9px; border: solid var(--accent); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); content: ''; }
.plan-benefits strong { color: var(--text); }
.pricing-plan .plan-action { margin-top: auto; border: 1px solid var(--border); background: #f2e9df0a; text-align: center; font-size: .9375rem; }
.pricing-plan--featured .plan-action { background: var(--wine); }
.pricing-plans[data-price-change] .pricing-value { animation: price-arrival 240ms ease-out both; }
@keyframes price-arrival { from { opacity: .45; } to { opacity: 1; } }
.pricing-note { margin: 16px 0 0; color: var(--muted); text-align: center; font-size: .875rem; }
.pricing-start, .pricing-faq { margin-top: clamp(50px, 8vw, 96px); }
:is(.pricing-start, .pricing-faq) > h2 { margin-bottom: clamp(23px, 4vw, 40px); text-align: center; }
.plan-paths {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 30px);
}
.plan-paths section { padding: clamp(20px, 3vw, 32px); border: 1px solid var(--border); border-radius: 24px; background: var(--surface); }
.plan-paths p { margin: 12px 0 0; color: var(--muted); }
.text-link { display: inline-block; margin-top: 12px; color: var(--accent); }
.pricing-faq { max-width: 760px; margin-inline: auto; }
.pricing-faq details:first-of-type { border-top: 1px solid var(--border); }
.pricing-faq p { max-width: 70ch; color: var(--muted); }
.primary {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  text-decoration: none;
  border-radius: 999px;
  background: var(--wine);
  color: var(--on-wine);
  transition: background 180ms ease, translate 180ms ease, box-shadow 180ms ease;
}
.primary:hover { background: #722f37; color: var(--on-wine); translate: 0 -2px; box-shadow: 0 8px 16px #2a131c30; }
.primary:active { translate: 0 0; }

.content-page { max-width: 760px; padding: clamp(48px, 8vw, 96px) 0 72px; min-height: 64vh; }
.content-page h1 { margin-bottom: 16px; font-size: clamp(48px, 7vw, 84px); text-wrap: balance; }
.content-page h2 { margin-bottom: 14px; font-size: clamp(31px, 4vw, 44px); }
.content-page section { padding-top: 30px; margin-top: 34px; border-top: 1px solid var(--border); }
.content-page section p, address { color: var(--muted); }
.content-page section p + h2 { margin-top: 28px; }
address { font-style: normal; line-height: 1.8; }
.contact-card { display: grid; gap: 5px; margin-top: 24px; padding: 18px 22px; border-radius: 18px; background: var(--surface); overflow-wrap: anywhere; }
.contact-card span { color: var(--muted); font-size: .875rem; }
.contact-card a { font-size: clamp(1rem, 3vw, 1.25rem); }
details { border-bottom: 1px solid var(--border); padding: 14px 0; }
summary { cursor: pointer; padding-block: 5px; }
details p { margin: 12px 0 3px; }
.site-footer { padding: 24px 0 32px; border-top: 1px solid var(--border); }
.site-footer .brand { font-size: 25px; }

@media (max-width: 720px) {
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: 38px; }
  .hero-copy { text-align: center; }
  .hero .lead { margin: 17px auto 22px; }
  .hero-break { display: none; }
  .hero-stage { width: min(100%, 475px); margin-inline: auto; }
  .hero-stage .device-shell { padding: 4px; }
  .site-header { width: calc(100% - 24px); top: 10px; min-height: 56px; margin-top: 10px; padding: 5px 6px 5px 11px; }
  .site-header .header-store { min-height: 40px; padding-inline: 11px; }
  .feature-gallery[data-interactive], .feature-stage { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .feature-card-list { grid-column: 1; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .feature-card { min-height: 46px; padding: 10px 7px; border-radius: 12px; text-align: center; }
  .feature-card-title { font: 400 .9375rem/1.25 Inter, sans-serif; letter-spacing: normal; }
  .feature-card-description { display: none; }
  [data-interactive] .feature-stage { grid-row: 2; }
  [data-interactive] .feature-preview figcaption { display: block; }
  [data-interactive] .feature-preview figcaption strong { display: none; }
  .feature-preview .device-shell { width: min(64%, 230px); }
  .cellar-tools-grid { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; }
  .pricing-plans { grid-template-columns: minmax(0, 1fr); gap: 23px; max-width: 520px; margin-inline: auto; }
  .plan-paths { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 540px) {
  .site-header { gap: 6px; }
  .site-header .brand span { display: none; }
  .site-header nav { gap: clamp(9px, 2.7vw, 17px); }
  .site-header nav a { font-size: .8125rem; }
}
@media (max-width: 420px) {
  .brand { font-size: 24px; gap: 7px; }
  .brand img { width: 28px; height: 28px; }
  .hero-copy h1 { font-size: clamp(46px, 12.6vw, 57px); }
  h2 { font-size: clamp(38px, 10.7vw, 45px); }
  .footer-top { align-items: flex-start; flex-direction: column; gap: 3px; }
}

@media (prefers-reduced-motion: reduce) {
  .pricing-plans[data-price-change] .pricing-value { animation: none; }
  .primary, .billing-switch::before { transition: none; }
  .primary:hover { translate: none; }
}

@media (prefers-reduced-motion: no-preference) {
  [data-scroll-hook][data-animated] .cellar-hook__pin {
    position: sticky;
    top: 0;
    min-height: 100svh;
    padding: clamp(80px, 12svh, 110px) 0 clamp(44px, 8svh, 72px);
  }
  [data-scroll-hook][data-animated]::after {
    display: block;
    height: clamp(300px, 68svh, 640px);
    content: '';
  }
  [data-scroll-hook][data-animated] [data-hook-word] { transition: color 160ms ease-out; }
  [data-scroll-hook][data-animated] [data-hook-word]:not(.is-lit) { color: #887971; }
  .feature-card { transition: background 180ms ease, border-color 180ms ease; }
  [data-interactive] .feature-preview:not([hidden]) .device-display { animation: preview-arrival 210ms ease-out; }
  .hero-copy > :is(h1,p), [data-revealed] .reveal-item {
    animation: content-arrival 460ms cubic-bezier(.22,.68,.24,1) var(--arrival-delay, 0ms) both;
  }
  .hero-stage {
    animation: device-arrival 460ms cubic-bezier(.22,.68,.24,1) var(--arrival-delay, 0ms) both;
  }
  .hero-copy .lead, .feature-gallery, .tool-card { --arrival-delay: 65ms; }
  .tool-card:nth-child(2) { --arrival-delay: 130ms; }
  .tool-card:nth-child(3) { --arrival-delay: 195ms; }
  .hero-stage { --arrival-delay: 185ms; }
  @keyframes content-arrival {
    from { opacity: .58; translate: 0 13px; }
    to { opacity: 1; translate: 0 0; }
  }
  @keyframes device-arrival {
    from { translate: 0 10px; }
    to { translate: none; }
  }
  @keyframes preview-arrival {
    from { opacity: .72; }
    to { opacity: 1; }
  }
}
