:root {
  --forest: #14382f;
  --forest-deep: #0e2822;
  --green: #0f6b56;
  --green-deep: #0b5344;
  --green-soft: #e5f3ee;
  --gold: #c4892d;
  --gold-deep: #8d6218;
  --ink: #16241f;
  --muted: #5c564e;
  --cream: #f4f1ea;
  --paper: #fffcf7;
  --sand: #ebe6dc;
  --line: #e3dcd0;
  --shadow: 0 18px 50px rgba(20, 40, 32, 0.12);
  --serif: Newsreader, "Iowan Old Style", Palatino, Georgia, serif;
  --sans: Figtree, "Avenir Next", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
}

img {
  max-width: 100%;
  height: auto;
}

button {
  font: inherit;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 620;
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-wrap: balance;
}

section[id] {
  scroll-margin-top: 88px;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 80;
  background: var(--paper);
  color: var(--ink);
  padding: 8px 12px;
  border-radius: 8px;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: min(1120px, 100%);
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left));
  padding-right: max(20px, env(safe-area-inset-right));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding-top: env(safe-area-inset-top);
  background: rgba(244, 241, 234, 0.92);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 620;
  letter-spacing: -0.03em;
}

.brand img {
  width: 42px;
  height: 42px;
  display: block;
  border-radius: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
}

.site-nav a:hover {
  color: var(--green-deep);
}

.nav-cta {
  background: var(--forest);
  color: var(--paper);
  border-radius: 999px;
  padding: 10px 16px;
}

.nav-cta:hover {
  background: var(--green);
  color: white;
}

.menu-button {
  display: none;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 650;
  cursor: pointer;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 48px;
  align-items: center;
  padding-top: 56px;
  padding-bottom: 72px;
}

.eyebrow,
.section-kicker,
.plan-kicker,
.modal-kicker {
  margin-bottom: 12px;
  color: var(--green-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow {
  max-width: 22em;
  text-wrap: balance;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
}

h1 em {
  font-style: italic;
  font-weight: 520;
  color: var(--green-deep);
}

.lead {
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.12rem;
  text-wrap: pretty;
}

.example {
  max-width: 40rem;
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--ink);
  font-size: 1rem;
  text-wrap: pretty;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.pills li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.95rem;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 8px 16px 8px 14px;
  border: 0;
  border-radius: 12px;
  background: #111;
  color: #fff;
  cursor: pointer;
  text-align: left;
}

.store:hover {
  background: #2a2422;
}

.store:active {
  transform: translateY(1px);
}

.store-mark {
  width: 22px;
  height: 22px;
  flex: none;
}

.store-kicker {
  display: block;
  font-size: 0.68rem;
  line-height: 1;
  letter-spacing: 0.02em;
}

.store-kicker-caps {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.62rem;
}

.store-name {
  display: block;
  margin-top: 3px;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.store-hint {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.95rem;
}

.noscript {
  margin-top: 12px;
  font-weight: 650;
}

.hero-visual {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 0;
}

.phone {
  width: min(300px, 100%);
  background: var(--forest-deep);
  border-radius: 36px;
  padding: 10px;
  box-shadow: var(--shadow);
}

.screen {
  background: linear-gradient(180deg, #fffdf9 0%, #f7f3ea 100%);
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  color: var(--ink);
}

.screen-top {
  display: flex;
  justify-content: space-between;
  padding: 14px 18px 0;
  font-size: 12px;
  font-weight: 700;
}

.app-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px 8px;
}

.app-head img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.app-kicker {
  font-size: 12px;
  color: var(--muted);
}

.app-title {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 620;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.app-route {
  margin: 0 16px 10px;
  color: var(--muted);
  font-size: 12px;
}

.app-list {
  list-style: none;
  margin: 0;
  padding: 0 12px;
  display: grid;
  gap: 8px;
}

.app-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  min-width: 0;
}

.app-list li > span:last-child,
.app-route {
  min-width: 0;
  overflow-wrap: anywhere;
}

.app-list strong,
.app-list small {
  display: block;
}

.app-list strong {
  font-size: 0.92rem;
}

.app-list small {
  color: var(--muted);
  font-size: 0.75rem;
}

.mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex: none;
  background: var(--sand);
  color: var(--forest);
  font-size: 0.72rem;
  font-weight: 700;
}

.app-list li.is-selected {
  background: var(--green-soft);
  border-color: #b7ddd2;
}

.is-selected .mark {
  background: var(--forest);
  color: #f4ebdd;
}

.app-note {
  margin: 14px 12px 8px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--forest);
  color: #f4f1ea;
}

.app-note p {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.72;
}

.app-note strong {
  display: block;
  margin-top: 4px;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 620;
  letter-spacing: -0.03em;
}

.home-bar {
  width: 108px;
  height: 5px;
  margin: 8px auto 12px;
  border-radius: 999px;
  background: #1c1412;
  opacity: 0.18;
}

.float-card {
  width: min(300px, 100%);
  margin-top: -28px;
  margin-left: 36px;
  padding: 16px 18px 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 2;
}

.float-card p {
  color: var(--gold-deep);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.float-card strong {
  display: block;
  margin: 6px 0 4px;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 620;
  letter-spacing: -0.03em;
}

.float-card span {
  color: var(--muted);
  font-size: 0.95rem;
}

.band {
  padding: 72px 0;
}

.band h2,
.cta h2 {
  margin: 0 0 14px;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  max-width: 18ch;
}

.steps,
.feature-grid,
.plan-grid {
  display: grid;
  gap: 16px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.steps {
  grid-template-columns: repeat(3, 1fr);
}

.step,
.feature,
.plan {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px 22px 26px;
}

.step-num {
  display: block;
  margin-bottom: 28px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 520;
}

.step h3,
.feature h3,
.plan h3 {
  margin: 0 0 8px;
  font-size: 1.55rem;
}

.step p,
.feature p,
.plan p,
.assurances span,
.ticket-sub,
.report-list span,
.version-note,
.enterprise {
  color: var(--muted);
}

.version-note,
.enterprise {
  margin-top: 22px;
  max-width: 62ch;
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature {
  position: relative;
  min-height: 100%;
}

.feature-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--green-soft);
  color: var(--green-deep);
}

.feature-icon svg {
  width: 26px;
  height: 26px;
}

.badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--gold);
  color: #1c1408;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.report-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 48px;
  align-items: start;
}

.assurances {
  display: grid;
  gap: 16px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.assurances strong,
.report-list strong {
  display: block;
  color: var(--ink);
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.92rem;
}

.legend li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex: none;
}

.dot-confirmed {
  background: var(--forest);
}

.dot-recommend {
  background: var(--gold);
}

.dot-expert {
  background: #c4553a;
}

.ticket {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 26px 22px 12px;
  box-shadow: var(--shadow);
}

.ticket-label {
  margin: 0;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 620;
  letter-spacing: -0.03em;
}

.ticket-sub {
  margin-top: 6px;
  font-size: 0.95rem;
}

.report-list {
  list-style: none;
  margin: 18px 0 8px;
  padding: 0;
}

.report-list li {
  padding: 14px 0;
  border-top: 1px dashed var(--line);
}

.report-list strong {
  margin-top: 6px;
  font-size: 1.05rem;
}

.tag {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tag-recommend {
  background: #f8efd8;
  color: var(--gold-deep);
}

.tag-expert {
  background: #f8e6e1;
  color: #8d3a28;
}

.tag-confirmed {
  background: var(--green-soft);
  color: var(--green-deep);
}

.plan-section {
  background:
    radial-gradient(circle at 12% 0%, rgba(226, 168, 74, 0.16), transparent 32%),
    var(--paper);
  border-block: 1px solid var(--line);
}

.plan-grid {
  grid-template-columns: repeat(3, 1fr);
}

.plan {
  background: var(--cream);
}

.plan-kicker {
  margin-bottom: 10px;
}

.plan-price {
  margin: 8px 0 10px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 620;
  letter-spacing: -0.04em;
  line-height: 1;
}

.faq-list {
  margin-top: 8px;
  border-top: 1px solid var(--line);
}

.faq {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  padding: 18px 28px 18px 0;
  font-weight: 650;
  list-style: none;
  position: relative;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 14px;
  color: var(--green);
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1;
}

.faq[open] summary::after {
  content: "–";
}

.faq p {
  max-width: 68ch;
  margin: 0 0 18px;
  color: var(--muted);
}

.cta {
  background:
    radial-gradient(circle at 80% 20%, rgba(226, 168, 74, 0.18), transparent 28%),
    var(--forest-deep);
  color: #f4f1ea;
  padding: 88px 0;
}

.cta-inner {
  text-align: center;
}

.cta .section-kicker {
  color: #e2b56a;
}

.cta h2,
.cta .lead {
  margin-inline: auto;
}

.cta h2 {
  max-width: 14ch;
  color: white;
}

.cta .lead,
.cta .store-hint {
  color: rgba(244, 241, 234, 0.78);
}

.cta .store-row {
  justify-content: center;
}

.site-footer {
  padding: 42px 0 max(28px, env(safe-area-inset-bottom));
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 28px;
  align-items: start;
}

.footer-brand p {
  max-width: 36ch;
  margin-top: 12px;
  color: var(--muted);
}

.footer-nav {
  display: grid;
  gap: 8px;
}

.footer-nav a {
  text-decoration: none;
  font-weight: 600;
}

.footer-nav a:hover {
  color: var(--green-deep);
}

.footer-meta {
  color: var(--muted);
  text-align: right;
}

.footer-meta p + p {
  margin-top: 6px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(14, 40, 34, 0.46);
}

.modal[hidden] {
  display: none;
}

.modal-card {
  width: min(420px, 100%);
  padding: 28px 26px 22px;
  background: var(--paper);
  border-radius: 24px;
  box-shadow: var(--shadow);
  text-align: center;
}

.modal-card h2 {
  margin: 0 0 8px;
  font-size: 2.4rem;
}

#soon-message {
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 650;
}

.modal-ok {
  width: 100%;
  margin-top: 22px;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  background: var(--forest);
  color: white;
  font-weight: 700;
  cursor: pointer;
}

.modal-ok:hover {
  background: var(--green);
}

body.modal-open {
  overflow: hidden;
}

body.nav-open {
  overflow: hidden;
}

@media (max-width: 980px) {
  .feature-grid,
  .plan-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1040px) {
  .menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    min-width: 44px;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    max-height: calc(100dvh - 64px - env(safe-area-inset-top));
    overflow: auto;
    padding: 8px max(20px, env(safe-area-inset-right)) 16px max(20px, env(safe-area-inset-left));
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(20, 40, 32, 0.08);
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .site-nav a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 8px 0;
    font-size: 1.05rem;
  }

  .nav-cta {
    justify-content: center;
    margin-top: 6px;
    min-height: 48px;
  }

  .hero,
  .steps,
  .report-layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 20px;
    padding-bottom: 40px;
    gap: 28px;
  }

  .float-card {
    width: min(420px, 100%);
    margin-left: 0;
    margin-top: 16px;
  }

  .footer-meta {
    text-align: left;
  }

  .band {
    padding: 52px 0;
  }
}

@media (max-width: 760px) {
  h1 {
    font-size: clamp(2.15rem, 10vw, 2.7rem);
    margin-bottom: 12px;
  }

  .band h2,
  .cta h2 {
    max-width: none;
    font-size: clamp(1.85rem, 8vw, 2.4rem);
  }

  .lead,
  .example {
    font-size: 1.02rem;
  }

  .eyebrow,
  .section-kicker,
  .plan-kicker {
    letter-spacing: 0.08em;
    line-height: 1.4;
  }

  .header-inner {
    min-height: 64px;
  }

  .brand {
    min-width: 0;
    font-size: 1.2rem;
  }

  .hero {
    padding-top: 8px;
    padding-bottom: 28px;
    gap: 20px;
  }

  .example {
    padding: 14px;
  }

  .store-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .store,
  .cta .store {
    width: 100%;
    min-height: 56px;
    justify-content: flex-start;
  }

  .phone {
    width: min(280px, 100%);
  }

  .float-card {
    width: 100%;
  }

  .feature-grid,
  .plan-grid,
  .steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .step,
  .feature,
  .plan {
    padding: 18px 16px 20px;
  }

  .step h3,
  .feature h3,
  .plan h3 {
    font-size: 1.4rem;
  }

  .band,
  .cta {
    padding: 44px 0;
  }

  .legend {
    display: grid;
    gap: 8px;
  }

  .ticket {
    padding: 20px 16px 8px;
    border-radius: 22px;
  }

  .ticket-label {
    font-size: 1.75rem;
  }

  .plan-price {
    font-size: 2.15rem;
  }

  .faq summary {
    min-height: 52px;
    padding-top: 16px;
    padding-bottom: 16px;
    padding-right: 40px;
    overflow-wrap: anywhere;
  }

  .modal {
    padding: 16px 16px max(16px, env(safe-area-inset-bottom));
    align-items: center;
  }

  .modal-card h2 {
    font-size: 2rem;
  }

  .footer-inner {
    gap: 22px;
  }
}

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

  .store:active {
    transform: none;
  }
}
