* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% 7%, rgba(200, 90, 82, 0.09), transparent 28rem),
    radial-gradient(circle at 8% 28%, rgba(79, 74, 174, 0.045), transparent 24rem),
    var(--canvas);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; }

.landing-skip {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--on-brand);
  background: var(--brand-action);
  transform: translateY(-150%);
}

.landing-skip:focus { transform: translateY(0); }

.landing-header,
.landing-hero,
.landing-section,
.landing-footer {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

.landing-header {
  position: sticky;
  z-index: var(--z-sticky);
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 76px;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--canvas) 86%, transparent);
  backdrop-filter: blur(18px) saturate(1.25);
}

.landing-brand {
  display: inline-flex;
  width: max-content;
  text-decoration: none;
}

.landing-brand img {
  display: block;
  width: 152px;
  height: auto;
  mix-blend-mode: multiply;
}

.landing-nav,
.landing-actions,
.landing-languages,
.landing-hero-actions {
  display: flex;
  align-items: center;
}

.landing-nav { gap: 30px; }

.landing-nav a,
.landing-login,
.landing-languages a {
  color: var(--ink-secondary);
  font-size: var(--text-sm);
  font-weight: 650;
  text-decoration: none;
}

.landing-nav a:hover,
.landing-login:hover { color: var(--ink); }

.landing-actions {
  justify-content: flex-end;
  gap: 18px;
}

.landing-languages {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--surface);
}

.landing-languages a {
  min-width: 38px;
  padding: 5px 8px;
  text-align: center;
}

.landing-languages a.active {
  color: var(--brand-ink);
  background: var(--brand-soft);
}

.landing-login {
  padding: 9px 16px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-pill);
  color: var(--surface);
  background: var(--ink);
}

.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(460px, 1.07fr);
  gap: clamp(56px, 7vw, 112px);
  align-items: center;
  min-height: min(820px, calc(100vh - 76px));
  padding-block: clamp(80px, 10vw, 136px);
}

.landing-eyebrow {
  margin: 0 0 16px;
  color: var(--brand-ink);
  font-size: var(--text-xs);
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.landing-hero h1 {
  max-width: 690px;
  margin: 0;
  font-size: clamp(3.2rem, 6.4vw, 6rem);
  font-weight: 780;
  letter-spacing: -0.065em;
  line-height: 0.92;
  text-wrap: balance;
}

.landing-lede {
  max-width: 680px;
  margin: 28px 0 0;
  color: var(--ink-secondary);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  line-height: 1.55;
}

.landing-hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.landing-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 21px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-weight: 700;
  text-decoration: none;
  transition: background var(--motion-fast) var(--ease-standard);
}

.landing-button.primary {
  color: var(--on-brand);
  background: var(--brand-action);
  box-shadow: 0 10px 30px rgba(173, 73, 66, 0.2);
}

.landing-button.primary:hover { background: var(--brand-pressed); }

.landing-button.secondary {
  border-color: var(--border-strong);
  background: var(--surface);
}

.landing-button.secondary:hover { background: var(--surface-hover); }

.landing-trust {
  max-width: 600px;
  margin: 24px 0 0;
  color: var(--ink-muted);
  font-size: var(--text-sm);
}

.landing-product-stage {
  position: relative;
  padding: 34px 10px 42px 30px;
}

.landing-product-stage::before {
  position: absolute;
  inset: 3% -18% -8% 10%;
  z-index: -1;
  border-radius: 48% 42% 46% 52%;
  background: var(--brand-soft);
  content: "";
  transform: rotate(-5deg);
}

.product-window {
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 36px 90px rgba(32, 32, 30, 0.14), 0 8px 20px rgba(32, 32, 30, 0.06);
  transform: rotate(1deg);
}

.product-window-bar {
  display: flex;
  gap: 6px;
  align-items: center;
  height: 42px;
  padding: 0 15px;
  border-bottom: 1px solid var(--border);
  background: var(--canvas);
}

.product-window-bar > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-strong);
}

.product-window-bar > span:first-child { background: var(--brand); }
.product-window-bar small { margin-inline: auto; color: var(--ink-faint); font-size: 10px; }

.product-shell {
  display: grid;
  grid-template-columns: 58px 1fr;
  min-height: 440px;
}

.product-shell aside {
  display: flex;
  flex-direction: column;
  gap: 17px;
  align-items: center;
  padding: 18px 0;
  border-right: 1px solid var(--border);
  background: color-mix(in srgb, var(--purple-bg) 26%, var(--surface));
}

.product-shell aside img { width: 28px; height: 28px; mix-blend-mode: multiply; }

.product-shell aside i {
  width: 22px;
  height: 7px;
  border-radius: var(--radius-pill);
  background: var(--border);
}

.product-shell aside i.active { background: var(--brand); }

.product-queue { padding: clamp(24px, 4vw, 38px); }

.product-queue-head {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 24px;
}

.product-queue-head small,
.product-queue-head strong { display: block; }
.product-queue-head small { color: var(--ink-muted); font-size: 11px; }
.product-queue-head strong { margin-top: 2px; font-size: 1.25rem; letter-spacing: -0.025em; }

.product-queue-head > span {
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  color: var(--brand-ink);
  background: var(--brand-soft);
  font-size: 10px;
  font-weight: 750;
}

.product-stay {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  gap: 13px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--border);
}

.product-stay strong,
.product-stay small { display: block; }
.product-stay strong { font-size: 13px; }
.product-stay small { color: var(--ink-muted); font-size: 10px; }

.stay-avatar {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  color: var(--indigo);
  background: var(--indigo-bg);
  font-size: 10px;
  font-weight: 800;
}

.stay-avatar.is-coral { color: var(--brand-ink); background: var(--brand-soft); }
.stay-state { color: var(--green); font-size: 10px; font-weight: 750; }
.stay-state.is-action { color: var(--orange); }

.product-receipt {
  display: flex;
  gap: 13px;
  align-items: center;
  margin-top: 18px;
  padding: 16px;
  border-radius: 14px;
  color: var(--green);
  background: var(--green-bg);
}

.product-receipt > span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--surface);
  background: var(--green);
  font-weight: 800;
}

.product-receipt b,
.product-receipt small { display: block; }
.product-receipt b { font-size: 11px; }
.product-receipt small { color: color-mix(in srgb, var(--green) 76%, var(--ink)); font-size: 9px; }

.stage-note {
  position: absolute;
  z-index: 2;
  max-width: 168px;
  padding: 10px 13px;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--ink-secondary);
  background: var(--surface);
  box-shadow: var(--shadow-popover);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.35;
}

.stage-note-top { top: 0; right: -20px; transform: rotate(3deg); }
.stage-note-bottom { right: -8px; bottom: 3px; transform: rotate(-2deg); }

.landing-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto clamp(72px, 10vw, 128px);
  border-block: 1px solid var(--border);
}

.landing-proof > div {
  min-height: 170px;
  padding: 34px clamp(22px, 4vw, 44px);
  border-right: 1px solid var(--border);
}

.landing-proof > div:last-child { border-right: 0; }
.landing-proof strong,
.landing-proof span { display: block; }
.landing-proof strong { font-size: clamp(1.4rem, 3vw, 2.2rem); letter-spacing: -0.04em; }
.landing-proof span { max-width: 290px; margin-top: 9px; color: var(--ink-muted); font-size: var(--text-sm); }

.landing-section {
  padding-block: clamp(80px, 10vw, 128px);
}

.landing-section-head {
  max-width: 800px;
  margin-bottom: 56px;
}

.landing-section h2,
.landing-final h2 {
  margin: 0;
  font-size: clamp(2.45rem, 5vw, 4.6rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
  text-wrap: balance;
}

.landing-section-head > p:last-child {
  margin: 20px 0 0;
  color: var(--ink-secondary);
  font-size: var(--text-lg);
}

.landing-feature-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.landing-feature-grid article {
  min-height: 390px;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
  overflow: hidden;
}

.feature-calendar,
.feature-report { grid-column: span 7; }
.feature-form,
.feature-book { grid-column: span 5; }

.feature-icon {
  color: var(--brand-ink);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 750;
}

.landing-feature-grid h3,
.landing-steps h3 {
  margin: 34px 0 10px;
  font-size: var(--text-xl);
  letter-spacing: -0.02em;
}

.landing-feature-grid p,
.landing-steps p,
.landing-faq-list p {
  margin: 0;
  color: var(--ink-secondary);
}

.feature-calendar-visual {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 7px;
  max-width: 500px;
  margin-top: 36px;
}

.feature-calendar-visual > span {
  color: var(--ink-faint);
  font-size: 9px;
  text-align: center;
}

.feature-calendar-visual i {
  display: grid;
  place-items: center;
  aspect-ratio: 1.15;
  border-radius: 9px;
  color: var(--ink-muted);
  background: var(--canvas);
  font-size: 10px;
  font-style: normal;
}

.feature-calendar-visual i.booked { color: var(--brand-ink); background: var(--brand-soft); font-weight: 800; }

.feature-form { background: linear-gradient(145deg, var(--surface), var(--brand-soft)); }

.feature-form-visual {
  position: relative;
  display: grid;
  gap: 13px;
  margin-top: 36px;
  padding: 26px;
  border: 1px solid color-mix(in srgb, var(--brand) 22%, var(--border));
  border-radius: 18px;
  background: var(--surface);
  transform: rotate(-1deg);
}

.feature-form-visual span {
  height: 32px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--canvas);
}

.feature-form-visual span.short { width: 64%; }
.feature-form-visual i {
  position: absolute;
  right: 20px;
  bottom: 20px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--surface);
  background: var(--brand);
  font-style: normal;
  font-weight: 800;
}

.feature-book-visual {
  display: grid;
  margin-top: 36px;
  border-top: 1px solid var(--border);
}

.feature-book-visual span {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
  font-size: 10px;
}

.feature-book-visual i,
.feature-book-visual em { color: var(--ink-faint); font-style: normal; }
.feature-book-visual b { font-size: 11px; }

.feature-report {
  background:
    radial-gradient(circle at 80% 15%, rgba(22, 112, 68, 0.09), transparent 12rem),
    var(--surface);
}

.feature-report-visual {
  display: flex;
  gap: 18px;
  align-items: center;
  max-width: 420px;
  margin-top: 44px;
  padding: 26px;
  border: 1px solid color-mix(in srgb, var(--green) 20%, var(--border));
  border-radius: 18px;
  background: var(--green-bg);
}

.feature-report-visual > span {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: var(--surface);
  background: var(--green);
  font-size: 1.3rem;
  font-weight: 800;
}

.feature-report-visual b,
.feature-report-visual small { display: block; }
.feature-report-visual small { margin-top: 3px; color: var(--green); }

.landing-how {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(56px, 10vw, 120px);
  width: min(1240px, calc(100% - 48px));
  margin-block: clamp(60px, 9vw, 112px);
  padding: clamp(44px, 7vw, 84px);
  border-radius: 28px;
  background: var(--brand-soft);
}

.landing-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.landing-steps li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 24px;
  padding: 0 0 36px;
  border-bottom: 1px solid color-mix(in srgb, var(--brand) 18%, transparent);
  margin-bottom: 28px;
}

.landing-steps li > span {
  display: grid;
  place-items: center;
  align-self: start;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  font-weight: 750;
  background: var(--surface);
}

.landing-steps h3 { margin-top: 4px; }

.landing-faq-list {
  border-top: 1px solid var(--border-strong);
}

.landing-faq-list details {
  border-bottom: 1px solid var(--border);
}

.landing-faq-list summary {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 2px;
  cursor: pointer;
  font-size: var(--text-lg);
  font-weight: 700;
  list-style: none;
}

.landing-faq-list summary::-webkit-details-marker { display: none; }
.landing-faq-list summary::after { content: "+"; color: var(--brand-ink); }
.landing-faq-list details[open] summary::after { content: "−"; }
.landing-faq-list p { max-width: 820px; padding: 0 2px 24px; }

.landing-official {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
  margin-top: 40px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
}

.landing-official p {
  margin: 4px 0 0;
  color: var(--ink-muted);
  font-size: var(--text-sm);
}

.landing-official a { color: var(--brand-ink); font-weight: 700; white-space: nowrap; }

.landing-guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.landing-guide-grid a {
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: clamp(28px, 4vw, 40px);
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--surface);
  text-decoration: none;
  transition: transform var(--motion-base) var(--ease-standard), border-color var(--motion-base) var(--ease-standard);
}

.landing-guide-grid a:hover { border-color: var(--border-strong); transform: translateY(-4px); }

.landing-guide-grid span {
  color: var(--brand-ink);
  font-size: var(--text-xs);
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-guide-grid strong {
  max-width: 480px;
  margin-top: 26px;
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.landing-guide-grid small {
  margin-top: auto;
  padding-top: 26px;
  color: var(--ink-muted);
  font-size: var(--text-sm);
}

.landing-final {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(1240px, calc(100% - 48px));
  margin: 40px auto;
  padding: clamp(90px, 12vw, 160px) 24px;
  border-radius: 30px;
  text-align: center;
  background: var(--brand-soft);
}

.landing-final::before,
.landing-final::after {
  position: absolute;
  width: 250px;
  height: 250px;
  border: 54px solid rgba(200, 90, 82, 0.08);
  border-radius: 50%;
  content: "";
}

.landing-final::before { top: -150px; left: -90px; }
.landing-final::after { right: -110px; bottom: -170px; }

.landing-final img {
  width: 64px;
  height: 64px;
  margin-bottom: 28px;
  mix-blend-mode: multiply;
  position: relative;
  z-index: 1;
}
.landing-final h2 { max-width: 900px; position: relative; z-index: 1; }
.landing-final .landing-button { margin-top: 32px; position: relative; z-index: 1; }

.landing-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding-block: 48px;
}

.landing-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-end;
}

.landing-footer nav a,
.landing-footer > a:last-child {
  color: var(--ink-muted);
  font-size: var(--text-sm);
}

.landing-footer > a:last-child { grid-column: 1 / -1; }

.guide-shell {
  width: min(1040px, calc(100% - 40px));
  margin-inline: auto;
  padding: 34px 0 96px;
}

.guide-breadcrumbs {
  display: flex;
  gap: 9px;
  color: var(--ink-muted);
  font-size: var(--text-sm);
}

.guide-breadcrumbs a { color: var(--brand-ink); }

.guide-hero {
  max-width: 880px;
  padding: clamp(64px, 10vw, 112px) 0;
}

.guide-hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 5rem);
  letter-spacing: -0.055em;
  line-height: 1;
}

.guide-hero > p:last-child {
  max-width: 760px;
  margin: 28px 0 0;
  color: var(--ink-secondary);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(56px, 9vw, 104px);
  align-items: start;
}

.guide-content section {
  padding: 0 0 42px;
  border-top: 1px solid var(--border);
}

.guide-content h2 {
  margin: 0;
  padding-top: 38px;
  font-size: clamp(1.45rem, 3vw, 2rem);
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.guide-content p {
  margin: 18px 0 0;
  color: var(--ink-secondary);
  font-size: var(--text-md);
  line-height: 1.75;
}

.guide-checklist {
  position: sticky;
  top: 100px;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.guide-checklist ul {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.guide-checklist li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  color: var(--ink-secondary);
  font-size: var(--text-sm);
}

.guide-checklist li span { color: var(--green); font-weight: 800; }
.guide-checklist .landing-button { width: 100%; text-align: center; }
.guide-official { margin-block: 48px; }

.guide-more {
  display: grid;
  gap: 12px;
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.guide-more a { color: var(--brand-ink); font-weight: 650; }

@media (max-width: 800px) {
  .landing-header {
    grid-template-columns: 1fr auto;
    width: min(100% - 28px, 1160px);
  }

  .landing-nav { display: none; }
  .landing-brand img { width: 132px; }
  .landing-actions { gap: 8px; }

  .landing-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .landing-hero h1 { font-size: clamp(2.7rem, 13vw, 4.3rem); }
  .landing-product-stage { max-width: 620px; padding-inline: 0; }
  .stage-note-top { right: 0; }
  .stage-note-bottom { right: 10px; }
  .landing-feature-grid { grid-template-columns: 1fr; }
  .landing-feature-grid article { grid-column: auto; }
  .landing-guide-grid,
  .landing-how { grid-template-columns: 1fr; }
  .landing-how { gap: 20px; }
  .landing-proof { grid-template-columns: 1fr; }
  .landing-proof > div { min-height: auto; border-right: 0; border-bottom: 1px solid var(--border); }
  .landing-proof > div:last-child { border-bottom: 0; }

  .landing-official {
    align-items: flex-start;
    flex-direction: column;
  }

  .landing-footer { grid-template-columns: 1fr; }
  .landing-footer nav { justify-content: flex-start; }

  .guide-layout { grid-template-columns: 1fr; }
  .guide-checklist { position: static; }
}

@media (max-width: 480px) {
  .landing-header,
  .landing-hero,
  .landing-section,
  .landing-footer {
    width: min(100% - 28px, 1160px);
  }

  .landing-login { display: none; }
  .landing-hero { padding-top: 58px; }
  .landing-product-stage { margin-inline: -8px; }
  .product-shell { grid-template-columns: 44px 1fr; min-height: 400px; }
  .product-queue { padding: 20px 15px; }
  .product-stay { grid-template-columns: 34px 1fr; }
  .product-stay .stay-state { display: none; }
  .stage-note { display: none; }
  .landing-feature-grid article { min-height: auto; }
  .landing-feature-grid h3 { margin-top: 32px; }
  .landing-proof,
  .landing-how,
  .landing-final { width: min(100% - 28px, 1240px); }
  .guide-shell { width: min(100% - 28px, 1040px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
