/* =========================================================================
   StayDocs — marketing site styles
   Light, warm, cinematic 3D shell + warm "ledger" product previews.
   Vanilla CSS, no dependencies. Honors prefers-reduced-motion.
   ========================================================================= */

:root {
  /* Light marketing shell */
  --bg: #FAF6EF;          /* warm cream canvas */
  --bg-2: #F2EBDF;        /* alternating sections */
  --surface: #FFFFFF;     /* cards */
  --surface-2: #FBF7F1;
  --ink: #211C16;         /* headings + body */
  --ink-soft: #6E6457;    /* muted text */
  --ink-faint: #9A9082;   /* faint text */
  --amber: #C7923A;       /* brand amber — buttons, dots, icons, big accents */
  --amber-deep: #97650F;  /* deep amber — small accent TEXT on light (AA-safe) */
  --amber-soft: #E7BE73;  /* soft amber — only on dark surfaces / glows */
  --sage: #4A7C59;
  --sage-deep: #3A6346;
  --hairline: rgba(33, 28, 22, 0.10);
  --hairline-strong: rgba(33, 28, 22, 0.16);

  /* Product ledger (warm light) tokens */
  --pd-canvas: #FBF9F6;
  --pd-card: #FFFFFF;
  --pd-line: #EBE8E3;
  --pd-ink: #2A2520;
  --pd-ink-soft: #7D766C;
  --pd-airbnb: #C26660;
  --pd-booking: #1E3D6B;
  --pd-agoda: #8C6BB1;
  --pd-sage: #4A7C59;

  /* Radii */
  --r-btn: 12px;
  --r-card: 18px;
  --r-pill: 999px;

  /* Shadows (soft, layered, warm) */
  --shadow-sm: 0 1px 2px rgba(33,28,22,0.05), 0 4px 12px -6px rgba(33,28,22,0.10);
  --shadow-card: 0 2px 6px rgba(33,28,22,0.04), 0 18px 40px -22px rgba(33,28,22,0.22);
  --shadow-pop: 0 40px 80px -30px rgba(33,28,22,0.30), 0 12px 30px -16px rgba(199,146,58,0.28);
  --shadow-btn: 0 8px 22px -8px rgba(199,146,58,0.55);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1100px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, system-ui, sans-serif;
}

/* ----------------------------- Reset / base ----------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
[hidden] { display: none !important; }

body {
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
input, select, textarea { font: inherit; }

::selection { background: rgba(199, 146, 58, 0.28); color: var(--ink); }

:focus-visible { outline: 2px solid var(--amber-deep); outline-offset: 3px; border-radius: 4px; }

/* ----------------------------- Cinematic scene (background) ----------------------------- */
.scene { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.55; will-change: transform; }
.orb--1 { width: 46vw; height: 46vw; top: -12vw; right: -8vw; background: radial-gradient(circle at 30% 30%, rgba(199,146,58,0.55), rgba(199,146,58,0) 70%); animation: drift1 26s ease-in-out infinite; }
.orb--2 { width: 40vw; height: 40vw; top: 30vh; left: -14vw; background: radial-gradient(circle at 40% 40%, rgba(74,124,89,0.32), rgba(74,124,89,0) 70%); animation: drift2 32s ease-in-out infinite; }
.orb--3 { width: 38vw; height: 38vw; bottom: -10vw; right: 6vw; background: radial-gradient(circle at 50% 50%, rgba(231,150,115,0.30), rgba(231,150,115,0) 70%); animation: drift3 30s ease-in-out infinite; }
.scene__grain {
  position: absolute; inset: 0; opacity: 0.04; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes drift1 { 0%,100% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(-3vw,4vh,0) scale(1.08); } }
@keyframes drift2 { 0%,100% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(4vw,-3vh,0) scale(1.1); } }
@keyframes drift3 { 0%,100% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(-2vw,-4vh,0) scale(1.06); } }

/* Scroll progress bar */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; transform: scaleX(0); transform-origin: 0 50%; background: linear-gradient(90deg, var(--amber), var(--amber-soft)); z-index: 200; will-change: transform; }

/* ----------------------------- Helpers ----------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(20px, 5vw, 44px); }
.container--narrow { max-width: 780px; }

.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: absolute; left: 16px; top: -60px; z-index: 300; background: var(--amber); color: #1d1810; padding: 10px 16px; border-radius: var(--r-btn); font-weight: 600; transition: top .2s var(--ease); }
.skip-link:focus { top: 16px; }

.amber { color: var(--amber-deep); }

/* ----------------------------- Typography ----------------------------- */
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 0.80rem; font-weight: 700; letter-spacing: 0.10em; text-transform: uppercase; color: var(--amber-deep); margin-bottom: 18px; }
.eyebrow--center { justify-content: center; }
.eyebrow__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(199,146,58,0.18); }

.section__head { max-width: 760px; margin: 0 auto clamp(40px, 6vw, 68px); text-align: center; }
.section__title { font-size: clamp(1.8rem, 4.4vw, 2.85rem); line-height: 1.1; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }
.section__sub { margin-top: 16px; color: var(--ink-soft); font-size: clamp(1rem, 2.2vw, 1.14rem); line-height: 1.65; }

/* ----------------------------- Sections ----------------------------- */
.section { padding-block: clamp(66px, 10vw, 124px); position: relative; }
.section--alt { background: linear-gradient(180deg, rgba(242,235,223,0) 0%, var(--bg-2) 12%, var(--bg-2) 88%, rgba(242,235,223,0) 100%); }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ----------------------------- Buttons ----------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 50px; padding: 0 24px; border-radius: var(--r-btn);
  font-weight: 650; font-size: 0.98rem; letter-spacing: -0.01em; white-space: nowrap;
  border: 1px solid transparent;
  transition: transform .2s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease), color .2s var(--ease);
  will-change: transform;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn--sm { min-height: 42px; padding: 0 16px; font-size: 0.92rem; }
.btn--lg { min-height: 58px; padding: 0 32px; font-size: 1.08rem; }
.btn--block { display: flex; width: 100%; }

.btn--primary { background: linear-gradient(180deg, var(--amber-soft), var(--amber)); color: #1d1810; box-shadow: var(--shadow-btn), 0 1px 0 rgba(255,255,255,0.4) inset; }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 16px 38px -10px rgba(199,146,58,0.66), 0 1px 0 rgba(255,255,255,0.5) inset; }

.btn--ghost { background: rgba(255,255,255,0.6); border-color: var(--hairline-strong); color: var(--ink); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn--ghost:hover { background: #fff; border-color: rgba(33,28,22,0.28); transform: translateY(-3px); box-shadow: var(--shadow-sm); }

.btn--whatsapp { background: rgba(74,124,89,0.12); border-color: rgba(74,124,89,0.35); color: var(--sage-deep); }
.btn--whatsapp:hover { background: rgba(74,124,89,0.2); transform: translateY(-3px); box-shadow: 0 12px 26px -12px rgba(74,124,89,0.5); }

.btn__arrow { transition: transform .2s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ----------------------------- Nav ----------------------------- */
.nav { position: sticky; top: 0; z-index: 100; transition: background-color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease); border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: rgba(250,246,239,0.75); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-bottom-color: var(--hairline); box-shadow: 0 6px 24px -18px rgba(33,28,22,0.4); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 70px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -0.02em; font-size: 1.18rem; }
.brand__mark { flex: none; filter: drop-shadow(0 2px 6px rgba(199,146,58,0.3)); }
.brand__name { color: var(--ink); }

.nav__links { display: flex; gap: 30px; }
.nav__links a { color: var(--ink-soft); font-size: 0.95rem; font-weight: 550; white-space: nowrap; transition: color .15s var(--ease); }
.nav__links a:hover { color: var(--ink); }

.nav__cta { display: flex; align-items: center; gap: 10px; }

.nav__toggle { display: none; width: 44px; height: 44px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; border-radius: 10px; }
.nav__toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s var(--ease); }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile { display: flex; flex-direction: column; gap: 6px; padding: 12px clamp(20px, 5vw, 40px) 22px; background: rgba(250,246,239,0.97); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--hairline); box-shadow: var(--shadow-card); }
.nav__mobile a:not(.btn) { padding: 12px 4px; color: var(--ink-soft); border-bottom: 1px solid var(--hairline); font-weight: 550; }
.nav__mobile .btn { margin-top: 8px; }
@media (min-width: 761px) { .nav__mobile { display: none !important; } }

/* ----------------------------- 3D scene primitives ----------------------------- */
.tilt { transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(0); transition: transform .25s var(--ease); transform-style: preserve-3d; will-change: transform; }

/* ----------------------------- Hero ----------------------------- */
.hero { position: relative; padding-top: clamp(40px, 6vw, 70px); padding-bottom: clamp(56px, 9vw, 100px); }
.hero__glow { position: absolute; top: -120px; right: 2%; width: 560px; height: 560px; background: radial-gradient(circle, rgba(199,146,58,0.28), transparent 62%); pointer-events: none; z-index: 0; will-change: transform; }
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.04fr 0.96fr; gap: clamp(32px, 5vw, 68px); align-items: center; perspective: 1400px; }
.hero__title { font-size: clamp(2.4rem, 6.4vw, 4.1rem); line-height: 1.04; font-weight: 800; letter-spacing: -0.04em; margin-bottom: 22px; }
.hero__lede { font-size: clamp(1.06rem, 2.4vw, 1.3rem); color: var(--ink-soft); max-width: 36ch; }
.hero__lede strong { color: var(--ink); font-weight: 650; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__microtrust { display: flex; align-items: center; gap: 9px; margin-top: 20px; color: var(--ink-faint); font-size: 0.92rem; }

/* ----------------------------- Device frame ----------------------------- */
.hero__device { position: relative; display: flex; justify-content: center; transform-style: preserve-3d; }
.device {
  position: relative; z-index: 1; width: 300px; max-width: 78vw;
  background: linear-gradient(160deg, #161310, #0B0A08); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 42px; padding: 10px;
  box-shadow: var(--shadow-pop), 0 0 0 1px rgba(33,28,22,0.06);
  transform-style: preserve-3d;
}
.hero__device .device { animation: floaty 7s ease-in-out infinite; }
/* feature mockups: slimmer bezel for a sleeker, more modern phone */
.device--sm { width: 268px; padding: 7px; border-radius: 38px; }
.device__notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 108px; height: 19px; background: #0B0A08; border-radius: 0 0 14px 14px; z-index: 3; }
.device--sm .device__notch { top: 7px; height: 16px; width: 96px; }
.device__shadow { position: absolute; bottom: -34px; left: 50%; transform: translateX(-50%); width: 74%; height: 64px; background: radial-gradient(ellipse, rgba(33,28,22,0.22), transparent 70%); filter: blur(14px); }
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(-0.3deg); } 50% { transform: translateY(-14px) rotate(0.3deg); } }

/* Warm ledger UI (real product theme) */
.device__screen.ledger { background: var(--pd-canvas); color: var(--pd-ink); border-radius: 32px; overflow: hidden; padding: 14px 14px 18px; font-size: 13px; line-height: 1.45; }
.device--sm .device__screen.ledger { border-radius: 30px; }
.ledger__statusbar { display: flex; justify-content: space-between; align-items: center; font-size: 11px; font-weight: 600; color: var(--pd-ink); padding: 4px 6px 10px; }
.ledger__statusbar-icons { display: inline-flex; gap: 4px; }
.ledger__statusbar-icons i { width: 14px; height: 9px; background: var(--pd-ink); opacity: 0.7; border-radius: 2px; display: inline-block; }
.ledger__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.ledger__head--compact { margin-bottom: 12px; }
.ledger__eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pd-airbnb); }
.ledger__date { font-size: 17px; font-weight: 800; color: var(--pd-ink); letter-spacing: -0.02em; }
.ledger__avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--pd-booking); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.ledger__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.stat { background: var(--pd-card); border: 1px solid var(--pd-line); border-radius: 12px; padding: 10px 8px; text-align: center; }
.stat__num { display: block; font-size: 20px; font-weight: 800; color: var(--pd-ink); letter-spacing: -0.02em; }
.stat__num small { font-size: 12px; font-weight: 700; }
.stat__label { font-size: 10px; color: var(--pd-ink-soft); text-transform: uppercase; letter-spacing: 0.05em; }
.ledger__section { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--pd-ink-soft); margin: 4px 2px 8px; }
.gcard { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: var(--pd-card); border: 1px solid var(--pd-line); border-radius: 12px; padding: 10px 12px; margin-bottom: 8px; }
.gcard__main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gcard__name { font-weight: 700; color: var(--pd-ink); font-size: 13px; }
.gcard__meta { font-size: 11px; color: var(--pd-ink-soft); }
.gcard--in { opacity: 0.78; }
.tag { font-size: 10px; font-weight: 700; padding: 4px 9px; border-radius: var(--r-pill); white-space: nowrap; }
.tag--airbnb { background: rgba(194,102,96,0.14); color: var(--pd-airbnb); }
.tag--booking { background: rgba(30,61,107,0.12); color: var(--pd-booking); }
.tag--agoda { background: rgba(140,107,177,0.14); color: var(--pd-agoda); }
.tag--in { background: rgba(74,124,89,0.14); color: var(--pd-sage); }
.checkrow { display: flex; align-items: center; gap: 9px; font-size: 12px; color: var(--pd-ink); padding: 8px 4px; border-bottom: 1px solid var(--pd-line); }
.checkbox { width: 18px; height: 18px; border-radius: 6px; border: 1.5px solid var(--pd-line); display: grid; place-items: center; font-size: 11px; color: #fff; flex: none; }
.checkbox--done { background: var(--pd-sage); border-color: var(--pd-sage); }
.gantt { background: var(--pd-card); border: 1px solid var(--pd-line); border-radius: 12px; padding: 10px; margin-bottom: 12px; }
.gantt__days { display: grid; grid-template-columns: 52px repeat(7, 1fr); font-size: 10px; color: var(--pd-ink-soft); font-weight: 600; margin-bottom: 8px; padding-left: 52px; }
.gantt__days span { text-align: center; }
.gantt__row { display: grid; grid-template-columns: 52px 1fr; align-items: center; gap: 6px; margin-bottom: 7px; }
.gantt__room { font-size: 11px; font-weight: 700; color: var(--pd-ink); }
.gantt__track { position: relative; height: 16px; background: #F1EEE9; border-radius: 6px; }
.bar { position: absolute; top: 2px; height: 12px; border-radius: 5px; }
.bar--airbnb { background: var(--pd-airbnb); }
.bar--booking { background: var(--pd-booking); }
.bar--agoda { background: var(--pd-agoda); }
.bar--in { background: var(--pd-sage); }
.legend { display: flex; gap: 12px; font-size: 10px; color: var(--pd-ink-soft); padding-left: 4px; }
.legend span { display: inline-flex; align-items: center; gap: 5px; }
.dot { width: 9px; height: 9px; border-radius: 3px; display: inline-block; }
.dot--airbnb { background: var(--pd-airbnb); }
.dot--booking { background: var(--pd-booking); }
.dot--agoda { background: var(--pd-agoda); }
.qa { display: flex; flex-direction: column; gap: 10px; }
.qa__field { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.qa__field > span:first-child { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--pd-ink-soft); }
.qa__input { background: var(--pd-card); border: 1px solid var(--pd-line); border-radius: 9px; padding: 9px 11px; font-size: 12px; font-weight: 600; color: var(--pd-ink); }
.qa__input--select { display: flex; justify-content: space-between; color: var(--pd-ink-soft); }
.qa__row { display: flex; gap: 8px; }
.qa__submit { margin-top: 4px; background: var(--pd-airbnb); color: #fff; text-align: center; padding: 11px; border-radius: 9px; font-size: 12px; font-weight: 700; }

/* ----------------------------- Trust bar ----------------------------- */
.trustbar { background: rgba(255,255,255,0.5); border-block: 1px solid var(--hairline); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.trustbar__inner { display: flex; flex-wrap: wrap; gap: 14px 38px; justify-content: center; padding-block: 22px; }
.trustbar__item { display: inline-flex; align-items: center; gap: 9px; color: var(--ink-soft); font-size: 0.94rem; font-weight: 550; }

/* ----------------------------- Cards ----------------------------- */
.card { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-card); padding: 30px; box-shadow: var(--shadow-card); }

.problem { display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s var(--ease); transform-style: preserve-3d; }
.problem:hover { box-shadow: var(--shadow-pop); }
.problem__icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; color: var(--amber-deep); background: linear-gradient(180deg, rgba(199,146,58,0.16), rgba(199,146,58,0.07)); border: 1px solid rgba(199,146,58,0.22); margin-bottom: 20px; transform: translateZ(30px); }
.problem__title { font-size: 1.24rem; font-weight: 750; letter-spacing: -0.02em; margin-bottom: 10px; }
.problem__body { color: var(--ink-soft); font-size: 0.99rem; }
.problem__body em { color: var(--ink); font-style: normal; font-weight: 650; }
.problem__cost { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--hairline); color: var(--amber-deep); font-weight: 650; font-size: 0.92rem; }

/* ----------------------------- Steps ----------------------------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { position: relative; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-card); padding: 32px 28px; box-shadow: var(--shadow-card); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-pop); }
.step__num { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(180deg, var(--amber-soft), var(--amber)); color: #1d1810; font-weight: 800; font-size: 1.22rem; margin-bottom: 18px; box-shadow: var(--shadow-btn); }
.step__title { font-size: 1.2rem; font-weight: 750; letter-spacing: -0.02em; margin-bottom: 10px; }
.step__body { color: var(--ink-soft); font-size: 0.99rem; }
.step__note { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; color: var(--sage-deep); font-size: 0.86rem; font-weight: 550; }
.soon { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--amber-deep); background: rgba(199,146,58,0.14); border: 1px solid rgba(199,146,58,0.26); padding: 4px 10px; border-radius: var(--r-pill); }

/* ----------------------------- Features ----------------------------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; margin-bottom: clamp(56px, 8vw, 104px); perspective: 1400px; }
.feature:last-child { margin-bottom: 0; }
.feature--reverse .feature__copy { order: 2; }
.feature__title { font-size: clamp(1.45rem, 3vw, 2rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.14; margin-bottom: 12px; }
.feature__lede { color: var(--ink-soft); font-size: 1.06rem; margin-bottom: 24px; }
.feature__device { display: flex; justify-content: center; transform-style: preserve-3d; }

.ticks { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.ticks li { position: relative; padding-left: 34px; color: var(--ink); font-size: 1.02rem; }
.ticks li strong { color: var(--amber-deep); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 7px; background: rgba(74,124,89,0.16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233A6346' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); background-size: 14px; background-repeat: no-repeat; background-position: center; }

/* ----------------------------- Value / receipt ----------------------------- */
.value { display: grid; grid-template-columns: 1fr 0.85fr; gap: clamp(32px, 5vw, 68px); align-items: center; perspective: 1400px; }
.value__disclaimer { margin-top: 18px; color: var(--ink-faint); font-size: 0.88rem; }
.receipt { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-card); padding: 30px; box-shadow: var(--shadow-pop); position: relative; max-width: 430px; margin-inline: auto; width: 100%; transform-style: preserve-3d; }
.receipt__head { font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 18px; }
.receipt__head em { color: var(--ink); font-style: italic; }
.receipt__line { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; color: var(--ink-soft); font-size: 0.98rem; }
.receipt__line span:last-child { font-variant-numeric: tabular-nums; font-weight: 650; color: var(--ink); }
.receipt__rule { height: 1px; background: var(--hairline); margin: 8px 0; }
.receipt__line--total span { color: var(--ink); font-weight: 750; }
.receipt__vs { text-align: center; color: var(--ink-faint); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; margin: 12px 0; }
.receipt__line--win { background: rgba(74,124,89,0.10); border: 1px solid rgba(74,124,89,0.26); border-radius: 12px; padding: 13px 15px; }
.receipt__line--win span:last-child { color: var(--sage-deep); }
.receipt__return { margin-top: 16px; text-align: center; font-weight: 800; font-size: 1.14rem; color: var(--amber-deep); letter-spacing: -0.01em; }

/* ----------------------------- Comparison table ----------------------------- */
.table-wrap { overflow-x: auto; border-radius: var(--r-card); border: 1px solid var(--hairline); -webkit-overflow-scrolling: touch; box-shadow: var(--shadow-card); background: var(--surface); }
.ctable { width: 100%; border-collapse: collapse; min-width: 580px; background: var(--surface); }
.ctable th, .ctable td { padding: 17px 18px; text-align: center; border-bottom: 1px solid var(--hairline); font-size: 0.95rem; }
.ctable thead th { font-size: 0.86rem; font-weight: 700; color: var(--ink-soft); }
.ctable tbody th[scope="row"] { text-align: left; font-weight: 550; color: var(--ink); }
.ctable td { color: var(--ink-soft); }
.ctable tbody tr:last-child th, .ctable tbody tr:last-child td { border-bottom: none; }
.ctable__feature { text-align: left; }
.ctable__hl { position: relative; background: rgba(199,146,58,0.09); color: var(--ink); }
thead .ctable__hl { color: var(--amber-deep); font-weight: 800; border-top: 3px solid var(--amber); border-top-left-radius: 6px; border-top-right-radius: 6px; }
.ctable__hl strong { color: var(--amber-deep); }
td[data-c]::after { display: inline-block; font-weight: 800; font-size: 1.1rem; }
td[data-c="yes"]::after { content: "✓"; color: var(--sage-deep); }
td[data-c="no"]::after { content: "✕"; color: var(--ink-faint); }
td[data-c="part"]::after { content: "~"; color: var(--amber-deep); }

/* ----------------------------- Pricing ----------------------------- */
.billing-toggle { display: flex; gap: 4px; padding: 5px; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-pill); margin: 0 auto clamp(32px, 5vw, 48px); width: fit-content; box-shadow: var(--shadow-sm); }
.billing-toggle__opt { display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px; border-radius: var(--r-pill); font-weight: 650; font-size: 0.95rem; color: var(--ink-soft); transition: color .2s var(--ease), background-color .2s var(--ease); min-height: 44px; }
.billing-toggle__opt.is-active { background: linear-gradient(180deg, var(--amber-soft), var(--amber)); color: #1d1810; box-shadow: var(--shadow-btn); }
.save { font-size: 0.72rem; font-weight: 700; background: var(--sage); color: #fff; padding: 3px 8px; border-radius: var(--r-pill); }
.billing-toggle__opt.is-active .save { background: rgba(29,24,16,0.2); color: #1d1810; }

.pricing__grid { max-width: 800px; margin-inline: auto; align-items: stretch; }
.plan { display: flex; flex-direction: column; position: relative; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-pop); }
.plan--pro { border-color: rgba(199,146,58,0.4); background: linear-gradient(180deg, rgba(199,146,58,0.08), var(--surface) 36%); }
.plan__badge { position: absolute; top: -13px; right: 24px; background: linear-gradient(180deg, var(--amber-soft), var(--amber)); color: #1d1810; font-size: 0.74rem; font-weight: 700; padding: 5px 13px; border-radius: var(--r-pill); letter-spacing: 0.02em; box-shadow: var(--shadow-btn); }
.plan__name { font-size: 1.02rem; font-weight: 700; color: var(--amber-deep); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; }
.plan__price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.plan__amt { font-size: 2.7rem; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }
.plan__per { color: var(--ink-faint); font-size: 0.95rem; }
.plan__sub { color: var(--sage-deep); font-size: 0.88rem; font-weight: 550; margin-bottom: 12px; min-height: 1.2em; }
.plan__for { color: var(--ink-soft); margin-bottom: 24px; font-size: 0.99rem; }
.plan .ticks { margin-bottom: 30px; flex: 1; }
.plan .btn { margin-top: auto; }

/* ----------------------------- FAQ ----------------------------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-sm); }
.faq__item summary { list-style: none; cursor: pointer; padding: 22px 26px; font-weight: 650; font-size: 1.06rem; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--ink); min-height: 44px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: 1.5rem; font-weight: 300; color: var(--amber-deep); transition: transform .25s var(--ease); flex: none; line-height: 1; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__a { padding: 0 26px 24px; color: var(--ink-soft); }
.faq__a p { max-width: 64ch; }
.faq__a a { color: var(--amber-deep); text-decoration: underline; text-underline-offset: 3px; }
.faq__a em { color: var(--ink); font-style: italic; }
.faq__a strong { color: var(--ink); }

/* ----------------------------- Final CTA + waitlist ----------------------------- */
.finalcta { overflow: hidden; position: relative; }
.finalcta__glow { position: absolute; inset: 0; background: radial-gradient(760px 380px at 28% 10%, rgba(199,146,58,0.16), transparent 60%); pointer-events: none; }
.finalcta__inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.finalcta__title { font-size: clamp(2rem, 4.6vw, 2.9rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; margin-bottom: 18px; }
.finalcta__lede { color: var(--ink-soft); font-size: 1.12rem; margin-bottom: 28px; max-width: 44ch; }
.finalcta__copy .btn { margin-right: 12px; margin-bottom: 12px; }

.waitlist__card { padding: clamp(26px, 4vw, 38px); }
.waitlist__title { font-size: 1.45rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 6px; }
.waitlist__sub { color: var(--ink-soft); font-size: 0.96rem; margin-bottom: 24px; }
.waitlist__form { display: flex; flex-direction: column; gap: 16px; }

.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 0.88rem; font-weight: 650; color: var(--ink); }
.field .req { color: var(--amber-deep); }
.field .opt { color: var(--ink-faint); font-weight: 400; }
.field input, .field select { background: var(--surface-2); border: 1px solid var(--hairline-strong); border-radius: var(--r-btn); padding: 13px 14px; color: var(--ink); font-size: 1rem; min-height: 50px; transition: border-color .15s var(--ease), box-shadow .15s var(--ease), background-color .15s var(--ease); }
.field input::placeholder { color: var(--ink-faint); }
.field input:focus, .field select:focus { outline: none; border-color: var(--amber); background: #fff; box-shadow: 0 0 0 3px rgba(199,146,58,0.2); }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236E6457' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
.field--error input, .field--error select { border-color: var(--pd-airbnb); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.waitlist__status { font-size: 0.92rem; min-height: 1.2em; }
.waitlist__status.is-error { color: #B6443C; }
.waitlist__status.is-success { color: var(--sage-deep); font-weight: 650; }
.waitlist__fineprint { color: var(--ink-faint); font-size: 0.82rem; text-align: center; }

/* ----------------------------- Footer ----------------------------- */
.footer { border-top: 1px solid var(--hairline); background: var(--bg-2); padding-block: 52px 30px; position: relative; }
.footer__inner { display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; align-items: flex-start; }
.footer__tag { color: var(--ink-soft); font-size: 0.92rem; margin-top: 12px; max-width: 32ch; }
.footer__links { display: flex; flex-wrap: wrap; gap: 14px 26px; }
.footer__links a { color: var(--ink-soft); font-size: 0.94rem; transition: color .15s var(--ease); }
.footer__links a:hover { color: var(--ink); }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; margin-top: 38px; padding-top: 24px; border-top: 1px solid var(--hairline); color: var(--ink-faint); font-size: 0.85rem; }

/* ----------------------------- Legal / prose pages ----------------------------- */
.legal { padding-block: clamp(48px, 8vw, 96px); }
.legal__head { max-width: 780px; margin: 0 auto clamp(32px, 5vw, 48px); }
.legal__title { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; letter-spacing: -0.03em; }
.legal__updated { color: var(--ink-faint); font-size: 0.92rem; margin-top: 12px; }
.prose { max-width: 780px; margin-inline: auto; color: var(--ink-soft); }
.prose h2 { color: var(--ink); font-size: 1.36rem; font-weight: 750; letter-spacing: -0.02em; margin: 38px 0 12px; }
.prose h3 { color: var(--ink); font-size: 1.08rem; font-weight: 700; margin: 24px 0 8px; }
.prose p { margin-bottom: 14px; }
.prose ul { margin: 0 0 16px 22px; display: flex; flex-direction: column; gap: 8px; }
.prose a { color: var(--amber-deep); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.legal__back { display: inline-flex; align-items: center; gap: 8px; color: var(--amber-deep); font-weight: 650; margin-bottom: 28px; }

/* ----------------------------- Not found ----------------------------- */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 60px 20px; }
.notfound__code { font-size: clamp(4rem, 14vw, 8rem); font-weight: 800; letter-spacing: -0.04em; color: var(--amber-deep); line-height: 1; }
.notfound__title { font-size: clamp(1.4rem, 4vw, 2rem); font-weight: 800; margin: 12px 0 10px; }
.notfound__text { color: var(--ink-soft); margin-bottom: 28px; }

/* ----------------------------- Sticky mobile CTA ----------------------------- */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 12px clamp(16px, 5vw, 24px) calc(12px + env(safe-area-inset-bottom)); background: rgba(250,246,239,0.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--hairline); box-shadow: 0 -8px 24px -16px rgba(33,28,22,0.4); transform: translateY(110%); transition: transform .3s var(--ease); }
.sticky-cta.is-visible { transform: translateY(0); }

/* ----------------------------- Cinematic reveal ----------------------------- */
.reveal { opacity: 0; transform: translateY(46px) rotateX(7deg) scale(0.97); transform-origin: center bottom; filter: blur(8px); transition: opacity .8s var(--ease), transform .9s var(--ease), filter .8s var(--ease); will-change: opacity, transform, filter; }
.reveal.is-visible { opacity: 1; transform: none; filter: none; }

/* ============================ SCREEN POLISH + ANIMATION ============================
   All in-view animation is scoped under `.has-anim` (added by JS only when motion is
   allowed) so screens stay fully visible with no JS or under reduced-motion. */
.device__screen { position: relative; }

/* screen "power-on" wash — the screen wakes from blank, then content populates */
.device__screen::before { content: ""; position: absolute; inset: 0; z-index: 6; pointer-events: none; border-radius: inherit; background: var(--pd-canvas); opacity: 0; }
.has-anim .device.is-live .device__screen::before { animation: screenWake .55s ease-out 1 both; }
@keyframes screenWake { 0% { opacity: 1; } 100% { opacity: 0; } }

/* one-time glass glare sweep when a screen scrolls into view */
.device__screen::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 5; pointer-events: none; opacity: 0; background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,0.66) 50%, transparent 62%); transform: translateX(-130%); }
.has-anim .device.is-live .device__screen::after { animation: glare 1.6s ease-out .45s 1; }
@keyframes glare { 0% { transform: translateX(-130%); opacity: 0; } 14% { opacity: 1; } 100% { transform: translateX(130%); opacity: 0; } }

/* in-view content entrance — each element flies in; JS sets the stagger delays */
.has-anim .device .ledger__statusbar,
.has-anim .device .ledger__head,
.has-anim .device .stat,
.has-anim .device .ledger__section,
.has-anim .device .gcard,
.has-anim .device .checkrow,
.has-anim .device .gantt__row,
.has-anim .device .legend,
.has-anim .device .qa__field,
.has-anim .device .qa__submit { opacity: 0; transition: opacity .55s var(--ease), transform .55s var(--ease); }
.has-anim .device .ledger__statusbar { transform: translateY(-8px); }
.has-anim .device .ledger__head { transform: translateY(-12px); }
.has-anim .device .stat { transform: scale(.78) translateY(8px); }
.has-anim .device .gcard { transform: translateX(22px); }
.has-anim .device .checkrow { transform: translateX(16px); }
.has-anim .device .ledger__section,
.has-anim .device .gantt__row,
.has-anim .device .legend,
.has-anim .device .qa__field,
.has-anim .device .qa__submit { transform: translateY(12px); }
.has-anim .device.is-live .ledger__statusbar,
.has-anim .device.is-live .ledger__head,
.has-anim .device.is-live .stat,
.has-anim .device.is-live .ledger__section,
.has-anim .device.is-live .gcard,
.has-anim .device.is-live .checkrow,
.has-anim .device.is-live .gantt__row,
.has-anim .device.is-live .legend,
.has-anim .device.is-live .qa__field,
.has-anim .device.is-live .qa__submit { opacity: 1; transform: none; }

/* a soft "live" pulse on the checked-in tag */
.has-anim .device.is-live .tag--in { animation: livePulse 2.2s ease-in-out 1.3s infinite; }
@keyframes livePulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(74,124,89,0); } 50% { box-shadow: 0 0 0 4px rgba(74,124,89,0.16); } }

/* gantt bars grow from the left on view */
.bar { transform-origin: left center; }
.has-anim .bar { transform: scaleX(0); transition: transform .8s var(--ease) .2s; }
.has-anim .device.is-live .bar { transform: scaleX(1); }

/* ---- month calendar screen ---- */
.cal { display: flex; flex-direction: column; }
.cal__top { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.cal__back { font-size: 18px; color: var(--pd-ink-soft); font-weight: 700; }
.cal__prop { font-size: 15px; font-weight: 800; color: var(--pd-ink); letter-spacing: -0.02em; line-height: 1.1; }
.cal__propsub { font-size: 10px; color: var(--pd-ink-soft); }
.cal__nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 10px; }
.cal__nav strong { font-size: 13px; font-weight: 800; color: var(--pd-ink); }
.cal__nav span { color: var(--pd-ink-soft); font-size: 15px; }
.cal__weekdays { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; margin-bottom: 5px; }
.cal__weekdays span { text-align: center; font-size: 9px; font-weight: 700; color: var(--pd-ink-soft); }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal__cell { aspect-ratio: 1 / 1.06; border: 1px solid var(--pd-line); border-radius: 7px; background: var(--pd-card); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; }
.cal__cell b { font-size: 10px; font-weight: 700; color: var(--pd-ink); line-height: 1; }
.cal__cell i { font-size: 7px; color: var(--pd-ink-soft); font-style: normal; }
.cal__cell--past { opacity: .42; }
.cal__cell--booked { background: rgba(199,146,58,0.16); border-color: rgba(199,146,58,0.42); }
.cal__cell--booked i { color: var(--amber-deep); font-weight: 700; }
.cal__cell--blocked { background: repeating-linear-gradient(45deg, #F1ECE5, #F1ECE5 3px, #E6E0D7 3px, #E6E0D7 6px); }
.cal__cell--blocked b { color: var(--pd-ink-soft); }
.cal__cell--today { border: 1.5px solid var(--pd-sage); box-shadow: 0 0 0 2px rgba(74,124,89,0.18); }
.cal__cell--today b { color: var(--pd-sage); }
.has-anim .device.is-live .cal__cell--today { animation: todayPulse 2.4s ease-in-out 1.1s infinite; }
@keyframes todayPulse { 0%, 100% { box-shadow: 0 0 0 2px rgba(74,124,89,0.18); } 50% { box-shadow: 0 0 0 5px rgba(74,124,89,0.28); } }
.cal__legend { display: flex; gap: 10px; justify-content: center; margin-top: 11px; flex-wrap: wrap; }
.cal__legend span { display: inline-flex; align-items: center; gap: 4px; font-size: 9px; color: var(--pd-ink-soft); }
.cdot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.cdot--today { background: var(--pd-sage); }
.cdot--booked { background: var(--amber); }
.cdot--blocked { background: #C9C2B7; }
.has-anim .cal__cell { opacity: 0; transform: scale(.82); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.has-anim .device.is-live .cal__cell { opacity: 1; transform: none; }

/* ============================ RESPONSIVE ============================ */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__copy { display: flex; flex-direction: column; align-items: center; order: 1; }
  .hero__lede { max-width: 50ch; }
  .hero__actions { justify-content: center; }
  .hero__device { order: 2; margin-top: 12px; }
  .hero__copy .eyebrow, .hero__microtrust { display: block; text-align: center; }
  .hero__copy .eyebrow .eyebrow__dot, .hero__microtrust svg { display: inline-block; vertical-align: middle; margin-right: 9px; }
  .value { grid-template-columns: 1fr; }
  .value__copy { text-align: center; }
  .value__copy .eyebrow { justify-content: center; }
  .finalcta__inner { grid-template-columns: 1fr; }
  .finalcta__copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .grid-3, .steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .feature, .feature--reverse { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .feature--reverse .feature__copy { order: 0; }
  .feature__copy { display: flex; flex-direction: column; align-items: center; }
  .ticks { text-align: left; }
  .grid-2, .grid-3, .steps, .pricing__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }

  /* slimmer, sleeker device frames on mobile (thinner bezel + narrower) */
  .device { width: 248px; padding: 7px; border-radius: 34px; }
  .device--sm { width: 236px; }
  .device__notch { width: 86px; height: 15px; top: 7px; border-radius: 0 0 12px 12px; }
  .device__screen.ledger { border-radius: 28px; padding: 12px 11px 14px; }
}

@media (max-width: 420px) {
  body { font-size: 16px; }
  .card { padding: 24px; }
  .hero__actions .btn { width: 100%; }
}

/* ============================ MOTION PREFERENCES ============================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
  .btn:hover, .step:hover, .plan:hover { transform: none; }
  .orb { animation: none; }
  .hero__device .device { animation: none; }
  .tilt { transform: none !important; }
}
