/* ==========================================================================
   Marketing pages: shared styles (resorts, use cases, privacy)
   Same tokens and feel as the landing page: SF Pro, soft colour wash, rounded cards.
   ========================================================================== */

:root {
  --bg: #fbfbf9;
  --card: #fff;
  --ink: #161616;
  --mute: #75756f;
  --line: #e7e7e4;
  --soft: #f3f3f1;
  --dark: #1a1a1a;
  --t-blue: #bcd3f7;
  --t-coral: #f6c0ab;
  --t-green: #b8e0c7;
  --t-sun: #f3d98e;
  --r: 20px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .03), 0 10px 30px -14px rgba(0, 0, 0, .12);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
}
/* Very soft colour wash behind everything */
body::before {
  content: "";
  position: fixed;
  inset: -20%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(40% 35% at 15% 20%, rgba(188, 211, 247, .35), transparent 70%),
    radial-gradient(35% 30% at 85% 30%, rgba(246, 192, 171, .28), transparent 70%),
    radial-gradient(40% 35% at 70% 85%, rgba(243, 217, 142, .25), transparent 70%),
    radial-gradient(35% 30% at 20% 80%, rgba(184, 224, 199, .25), transparent 70%);
}
a { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

h1, h2, h3 { font-family: var(--display); font-weight: 500; letter-spacing: -.035em; text-wrap: balance; }
.lead { text-wrap: balance; }
p, li { text-wrap: pretty; }
@media (max-width: 560px) { .lead br { display: none; } }
h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.03; }
h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.08; }
h3 { font-size: 20px; letter-spacing: -.02em; line-height: 1.25; }
.lead { max-width: 580px; color: var(--mute); font-size: 19px; }

/* Buttons and pills */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px; border: 0; border-radius: 999px;
  background: var(--ink); color: #fff; text-decoration: none;
  font: 500 15px var(--font); cursor: pointer;
  transition: transform .15s, opacity .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .4; cursor: wait; transform: none; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }

/* Nav and footer */
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.nav__links { display: flex; align-items: center; gap: 22px; }
.navlink { color: #444; font-size: 15px; font-weight: 500; text-decoration: none; }
.navlink:hover { color: var(--ink); }
.logo { display: flex; color: var(--ink); }
.wordmark { width: 139px; height: 36px; fill: currentColor; }
.logo--small .wordmark { width: 89px; height: 23px; }
.footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 48px 24px 64px; color: var(--mute); font-size: 14px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--ink); }

/* Sections */
.section { padding-top: 110px; }
main > section.section:last-of-type { padding-bottom: 110px; }
.section__head { max-width: 680px; margin-bottom: 48px; }
.section__head .lead { margin-top: 16px; }
.center { text-align: center; }
.center .section__head, .center .lead { margin-left: auto; margin-right: auto; }

/* Hero */
.hero { padding-top: 64px; text-align: center; }
.hero h1 { max-width: 14ch; margin: 22px auto 0; }
.hero .lead { margin: 24px auto 34px; }
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.hero__trust { margin-top: 18px; color: var(--mute); font-size: 13px; }

/* Cards */
.grid { display: grid; gap: 16px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.card { padding: 30px; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); }
.card h3 { margin: 18px 0 8px; }
.card p { color: var(--mute); font-size: 15px; text-wrap: pretty; }
.dot { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; }
.dot svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.t-blue { background: var(--t-blue); }
.t-coral { background: var(--t-coral); }
.t-green { background: var(--t-green); }
.t-sun { background: var(--t-sun); }

/* Split: text beside a visual */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.ticks { margin-top: 28px; list-style: none; }
.ticks li { position: relative; padding: 10px 0 10px 30px; border-top: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 17px; width: 11px; height: 6px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }

/* Mock dashboard */
.mock { padding: 26px; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); }
.mock__head { display: flex; justify-content: space-between; margin-bottom: 14px; color: var(--mute); font-size: 13px; }
.mock__row { display: grid; grid-template-columns: 1.4fr .8fr .9fr auto; gap: 12px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); font-size: 14px; }
.mock__row small { display: block; color: var(--mute); font-size: 12px; }
.chip { padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.chip--hot { background: #fde1d6; color: #b4441c; }
.chip--warm { background: #fbeec6; color: #8a6510; }
.chip--cold { background: var(--soft); color: var(--mute); }

/* Steps */
.steps { counter-reset: step; }
.steps .card::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 600; }

/* Trust block */
.trust { padding: 48px; border-radius: 28px; background: var(--dark); color: #fff; }
.trust h2 { max-width: 16ch; }
.trust .grid { margin-top: 36px; }
.trust__item h3 { font-size: 17px; }
.trust__item p { margin-top: 6px; color: rgba(255, 255, 255, .65); font-size: 15px; }
.trust a { color: #fff; }

/* FAQ */
.faq { max-width: 780px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font: 500 18px/1.35 var(--display); letter-spacing: -.01em; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--mute); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { max-width: 660px; padding-bottom: 22px; color: var(--mute); }

/* Demo form */
.demo { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; padding: 48px; border-radius: 28px; background: var(--card); box-shadow: var(--shadow); }
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; color: var(--mute); font-size: 13px; font-weight: 500; }
.form input[type="text"], .form input[type="email"], .form input[type="url"], .form input[type="tel"], .form textarea {
  padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg);
  color: var(--ink); font: 16px var(--font);
}
.drop {
  display: grid; place-items: center; gap: 6px; padding: 30px 20px; border: 1.5px dashed var(--line); border-radius: 18px;
  background: var(--bg); color: var(--mute); font-size: 14px; text-align: center; cursor: pointer; transition: border-color .2s, background .2s;
}
.drop b { color: var(--ink); font-weight: 600; }
.drop.is-over, .drop:hover { border-color: var(--ink); background: #fff; }
.drop.has-file b { color: #1f7a4a; }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.form .btn { justify-content: center; margin-top: 6px; }
.form textarea { min-height: 96px; resize: vertical; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.chips legend { width: 100%; margin-bottom: 6px; color: var(--mute); font-size: 13px; font-weight: 500; }
.chips label { display: block; }
.chips input { position: absolute; opacity: 0; }
.chips span { display: block; padding: 10px 16px; border: 1px solid var(--line); border-radius: 99px; background: var(--bg); color: var(--ink); font-size: 14px; cursor: pointer; }
.chips input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.form__note { color: var(--mute); font-size: 13px; }
.form__msg { min-height: 22px; font-size: 14px; }
.form__msg.is-error { color: #b4441c; }
.done { display: none; padding: 30px; border-radius: 18px; background: var(--soft); }
.done h3 { margin-bottom: 8px; }
.is-sent .form { display: none; }
.is-sent .done { display: block; }

/* Use cases */
.case { border-top: 1px solid var(--line); }
.case:last-of-type { border-bottom: 1px solid var(--line); }
.case summary { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 24px; padding: 28px 0; cursor: pointer; list-style: none; }
.case summary::-webkit-details-marker { display: none; }
.case summary::after { content: "+"; grid-row: 1 / 3; grid-column: 2; color: var(--mute); font-size: 26px; line-height: 1; }
.case[open] summary::after { content: "\2212"; }
.case h3 { font-size: 24px; }
.case .who { color: var(--mute); font-size: 14px; }
.case dl { padding: 0 0 24px; max-width: 720px; }
.case__ctas { display: flex; flex-wrap: wrap; gap: 10px; padding-bottom: 32px; }
.case dl { display: grid; gap: 14px; }
.case dt { font-weight: 600; font-size: 14px; }
.case dd { color: var(--mute); }

/* Privacy */
.facts { list-style: none; }
.facts li { padding: 18px 0; border-top: 1px solid var(--line); }
.facts b { display: block; margin-bottom: 4px; font-weight: 600; }
.facts span { color: var(--mute); }
.legal h2 { margin: 64px 0 8px; font-size: 28px; }

/* Responsive */
@media (max-width: 900px) {
  .grid--3, .grid--2, .split, .demo { grid-template-columns: 1fr; }
  .split { gap: 40px; }
  .demo, .trust { padding: 32px 22px; }
  .case { grid-template-columns: 1fr; gap: 16px; }
  .section { padding-top: 80px; }
  main > section.section:last-of-type { padding-bottom: 80px; }
}
@media (max-width: 560px) {
  .nav__links .navlink { display: none; }
  .mock__row { grid-template-columns: 1fr auto; }
  .mock__row > :nth-child(2), .mock__row > :nth-child(3) { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
.demo .lead { margin-top: 16px; }

/* Hero URL bar: the personal link each client gets */
.urlbar { display: inline-flex; align-items: center; gap: 8px; margin: 0 auto 30px; padding: 11px 20px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); box-shadow: var(--shadow); color: var(--mute); font: 16px var(--font); }
.urlbar svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.urlbar__slug { color: var(--ink); font-weight: 600; }
.urlbar__slug::after { content: ""; display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -.2em; background: var(--ink); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .urlbar__slug::after { animation: none; } }

/* Plans and currency toggle */
.price { color: var(--mute); font-size: 17px; }
.price b { color: var(--ink); font: 500 44px/1.1 var(--display); letter-spacing: -.04em; }
.plans-head { display: flex; justify-content: center; margin-bottom: 20px; }
.cur { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--soft); }
.cur button { width: 40px; padding: 6px 0; border: 0; border-radius: 999px; background: none; color: var(--mute); font: 500 15px var(--font); cursor: pointer; }
.cur button[aria-pressed="true"] { background: var(--card); color: var(--ink); box-shadow: var(--shadow); }
.plans { text-align: center; }
.plan h3 { margin: 0 0 10px; }
.plan__decks { margin-top: 6px; color: var(--mute); }
.plans-note { max-width: 560px; margin: 22px auto; color: var(--mute); font-size: 15px; text-align: center; }
.plans-cta { margin-top: 28px; }
