/* SlopeRelay sales site. Colors, font and logo match the app (app/theme.css, app/brand-logo.tsx). */
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('/fonts/plus-jakarta-sans-latin-wght-normal.woff2') format('woff2-variations');
  font-weight: 200 800; font-style: normal; font-display: swap;
}
:root {
  color-scheme: light;
  --bg: #f5f6f8; --paper: #ffffff; --soft: #eef0f3; --line: #dfe2e7; --line-strong: #c5cad3;
  --ink: #15171c; --muted: #5b6270;
  --accent: #3b5bdb; --accent-hover: #364fc7; --accent-ink: #3b5bdb; --on-accent: #ffffff; --focus: #364fc7;
  --cobalt-bg: #edf2ff; --cobalt-ink: #364fc7;
  /* The dark bands (hero, founding program, Resort Group) stay graphite in both modes, like the app's sidebar. */
  --band: #15171c; --band-raised: #23272f; --band-line: #343943; --band-ink: #ffffff; --band-muted: #c3c8d1; --band-accent: #a5b4fc;
  --shadow-pick: 0 12px 32px #3b5bdb24;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #1b1e24; --paper: #23272e; --soft: #2b3037; --line: #353a43; --line-strong: #4a505b;
    --ink: #e9ecf1; --muted: #a3aab6;
    --accent: #4263eb; --accent-hover: #3b5bdb; --accent-ink: #91a7ff; --focus: #91a7ff;
    --cobalt-bg: #1e2546; --cobalt-ink: #a5b4fc;
    --band: #111318; --band-raised: #1f232a; --band-line: #2e333b;
    --shadow-pick: 0 12px 32px #00000066;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 'Plus Jakarta Sans', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--accent-ink); text-underline-offset: 2px; }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; color: var(--accent-ink); text-transform: uppercase; }
.lead { font-size: 19px; color: var(--muted); max-width: 660px; }
.section { padding-top: 88px; }
.section h2 { margin-top: 10px; font-size: 34px; font-weight: 800; line-height: 1.15; }
.section-intro { margin-top: 14px; color: var(--muted); max-width: 640px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--paper); padding: 8px 12px; border-radius: 6px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 20px; border-radius: 8px; border: 1px solid var(--line-strong); background: var(--paper); color: var(--ink); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s; }
.btn:hover { border-color: var(--ink); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-light { background: #ffffff; border-color: #ffffff; color: #15171c; }
.btn-light:hover { background: #e9ecf1; border-color: #e9ecf1; }
.btn-ghost { background: transparent; border-color: var(--band-line); color: var(--band-ink); }
.btn-ghost:hover { border-color: var(--band-muted); }
.btn-lg { padding: 14px 24px; border-radius: 10px; }
.btn-block { display: flex; width: 100%; }

/* Header, on the dark band */
.band { background: var(--band); color: var(--band-ink); }
.band .lead { color: var(--band-muted); }
.band .eyebrow { color: var(--band-accent); }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; }
.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; min-height: 44px; font-weight: 800; font-size: 21px; letter-spacing: -0.02em; }
.brand svg { color: #ffffff; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.nav-links a:not(.btn) { color: var(--band-muted); text-decoration: none; padding: 10px 12px; font-size: 15px; min-height: 44px; display: inline-flex; align-items: center; }
.nav-links a:not(.btn):hover, .nav-links a[aria-current=page] { color: var(--band-ink); }
.nav-links a[aria-current=page] { font-weight: 700; }
.nav-links .btn { font-size: 15px; padding: 9px 16px; }
.hero { padding: 72px 0 80px; }
.hero h1 { margin-top: 12px; font-size: 56px; font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; max-width: 860px; }
.hero .lead { margin-top: 20px; }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }

/* Cards */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 28px; }
.card h3 { font-size: 19px; font-weight: 700; }
.card p { margin-top: 10px; color: var(--muted); font-size: 15px; }
.icon-tile { width: 44px; height: 44px; border-radius: 10px; background: var(--cobalt-bg); color: var(--cobalt-ink); display: grid; place-items: center; margin-bottom: 16px; }

/* Home: screenshot placeholders until the demo mountain exists */
.shots { margin-top: -40px; display: grid; grid-template-columns: 2fr 1fr; gap: 20px; }
.founder { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; }
.founder > div { flex: 1 1 420px; min-width: 0; }
.founder h2 { margin-top: 10px; font-size: 34px; font-weight: 800; line-height: 1.15; }
.founder blockquote { margin: 0; padding-left: 0; font-size: 24px; font-weight: 600; line-height: 1.4; letter-spacing: -0.01em; }
.founder cite { display: block; margin-top: 14px; font-style: normal; color: var(--muted); font-size: 15px; }
.cta-band { border-radius: 20px; padding: 44px; display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; }
.cta-band > div { flex: 1 1 480px; min-width: 0; }
.cta-band p { margin-top: 12px; color: var(--band-muted); font-size: 17px; max-width: 620px; }
.closing { padding: 88px 0 72px; text-align: center; }
.closing h2 { font-size: 40px; font-weight: 800; }
.closing p { margin: 12px auto 0; color: var(--muted); font-size: 18px; max-width: 560px; }
.closing .hero-actions { justify-content: center; margin-top: 28px; }

/* Pricing */
.size-picker { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.size-picker > span { font-size: 14px; color: var(--band-muted); font-weight: 500; }
.size-options { display: flex; flex-wrap: wrap; gap: 6px; background: var(--band-raised); padding: 5px; border-radius: 12px; }
.size-options button { border: 0; cursor: pointer; font: inherit; font-size: 14px; font-weight: 600; padding: 10px 16px; min-height: 44px; border-radius: 8px; background: transparent; color: #e5e7eb; }
.size-options button span { opacity: .8; font-weight: 400; }
.size-options button[aria-pressed=true] { background: #ffffff; color: #15171c; }
.tiers { padding-top: 56px; }
.tier-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; align-items: stretch; }
.tier { display: flex; flex-direction: column; gap: 18px; }
.tier-name { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-weight: 800; font-size: 22px; }
.tier-sub { color: var(--muted); font-size: 14px; margin-top: 4px; }
.tier-name h2 { font: inherit; letter-spacing: inherit; margin: 0; }
.card p.tier-sub { margin-top: 4px; font-size: 14px; }
.price { font-weight: 800; font-size: 40px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.price small { color: var(--muted); font-size: 14px; font-weight: 400; letter-spacing: 0; }
.price-note { color: var(--muted); font-size: 13px; margin-top: -12px; }
.tier ul { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.tier li { display: flex; gap: 10px; }
.tier li svg { flex: none; margin-top: 3px; color: var(--accent-ink); }
.tier li.plus { font-weight: 600; font-size: 13.5px; }
.tier-pick { border: 2px solid var(--accent); padding: 27px; box-shadow: var(--shadow-pick); }
.badge { background: var(--cobalt-bg); color: var(--cobalt-ink); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; letter-spacing: .04em; }
.tier-dark { background: var(--band); border-color: var(--band); color: var(--band-ink); }
.tier-dark .tier-sub, .tier-dark .price-note { color: var(--band-muted); }
.tier-dark ul { border-color: var(--band-line); }
.tier-dark li svg { color: var(--band-accent); }
.every-plan { margin-top: 28px; padding: 22px 28px; display: flex; flex-wrap: wrap; gap: 14px 32px; align-items: center; font-size: 15px; }
.every-plan .eyebrow { font-size: 13px; letter-spacing: .12em; }
.split { display: flex; flex-wrap: wrap; gap: 48px; }
.split > :first-child { flex: 1 1 340px; min-width: 0; }
.split > :last-child { flex: 2 1 520px; min-width: 0; }
.table-scroll { overflow-x: auto; }
table { width: 100%; min-width: 460px; border-collapse: separate; border-spacing: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; font-size: 15px; }
th, td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--line); }
tr:last-child td { border-bottom: 0; }
th { color: var(--muted); font-size: 13px; font-weight: 600; }
td:first-child { font-weight: 600; }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.table-note { margin-top: 10px; font-size: 13px; color: var(--muted); }
.addon-price { font-weight: 800; font-size: 26px; margin-top: 8px; }
.addon-price small { font-weight: 400; font-size: 14px; color: var(--muted); }
.faq { max-width: 860px; }
.faq h2 { text-align: center; }
.faq-list { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
details { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; }
summary { cursor: pointer; font-weight: 600; font-size: 17px; min-height: 28px; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; float: right; color: var(--muted); font-weight: 400; }
details[open] summary::after { content: '–'; }
details p { margin-top: 10px; color: var(--muted); }

/* Demo request form */
.form-layout { display: flex; flex-wrap: wrap; gap: 48px; padding: 56px 24px 88px; }
.form-layout > aside { flex: 1 1 300px; min-width: 0; }
.form-layout > form { flex: 2 1 480px; min-width: 0; }
.steps { margin: 20px 0 0; padding-left: 20px; color: var(--muted); }
.steps li + li { margin-top: 10px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-wide { grid-column: 1 / -1; }
label { font-size: 14px; font-weight: 600; }
label .opt { color: var(--muted); font-weight: 400; }
input, select, textarea { font: inherit; font-size: 16px; color: var(--ink); background: var(--paper); border: 1px solid var(--line-strong); border-radius: 8px; padding: 11px 12px; min-height: 44px; width: 100%; }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.form-foot { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.form-foot p { color: var(--muted); font-size: 13px; flex: 1 1 240px; }
.hidden { display: none; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap { padding-top: 24px; padding-bottom: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--muted); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.site-footer a { color: var(--muted); }

@media (max-width: 760px) {
  .hero { padding: 48px 0 64px; }
  .hero h1 { font-size: 38px; }
  .lead { font-size: 17px; }
  .section { padding-top: 64px; }
  .section h2 { font-size: 28px; }
  .shots { grid-template-columns: 1fr; }
    .cta-band { padding: 28px; }
  .closing h2 { font-size: 30px; }
  .fields { grid-template-columns: 1fr; }
  .founder blockquote { font-size: 20px; }
}

/* Home: made for mountains, departments, staff, comparison, trust */
.check-grid { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px 32px; }
.check-grid li, .check-list li { display: flex; gap: 12px; }
.check-grid svg, .check-list svg, .cmp svg { flex: none; margin-top: 3px; color: var(--accent-ink); }
.check-grid strong { display: block; font-size: 16px; }
.check-grid span { display: block; color: var(--muted); font-size: 15px; margin-top: 2px; }
.dept-grid { margin-top: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.dept { padding: 22px; }
.dept h3 { font-size: 17px; }
.dept p { margin-top: 6px; font-size: 14.5px; }
.check-list { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.staff { align-items: center; }
.staff > :last-child { flex: 1 1 340px; }
.compare { margin-top: 28px; }
.compare table { min-width: 640px; }
.compare th[scope=row] { color: var(--ink); font-size: 15px; width: 24%; }
.compare thead th:last-child { color: var(--accent-ink); }
.compare tr.group th { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--muted); background: var(--soft); }
/* A price the app hasn't set reads Coming soon; the Worker adds data-set when it fills one in. */
[data-price]:not([data-set]) { color: var(--muted); }
.price[data-price]:not([data-set]) { font-size: 22px; font-weight: 700; letter-spacing: 0; }
.cmp { display: flex; gap: 10px; }
.cmp.no { color: var(--muted); }
.cmp.no svg { color: var(--line-strong); }
/* The plan comparison's included / not included marks (words for screen readers only, so the editor has nothing to change). */
.tick { display: flex; gap: 10px; }
.tick svg { flex: none; margin-top: 3px; color: var(--accent-ink); }
.tick.no { color: var(--muted); }
.tick.no svg { color: var(--line-strong); }
.is-future .tick.yes svg { color: var(--muted); }
.trust { padding: 28px; }
.trust ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.trust strong { display: block; }
.trust span { display: block; color: var(--muted); font-size: 14.5px; margin-top: 4px; }
@media (max-width: 680px) {
  .compare table, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: auto; min-width: 0; }
  .compare table { border: 0; background: none; }
  .compare thead { display: none; }
  .compare tr { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
  .compare tr + tr { margin-top: 12px; }
  .compare tr.group { background: none; border: 0; padding: 0; }
  .compare tr.group th { background: none; padding: 12px 0 0; }
  .compare th[scope=row] { width: auto; padding: 0 0 8px; border: 0; font-size: 16px; }
  .compare td { padding: 6px 0 0; border: 0; font-size: 14.5px; }
  .compare td::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 2px; }
}

/* Getting started timeline */
.timeline { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; counter-reset: step; }
.timeline li { display: flex; gap: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.step-num { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--cobalt-bg); color: var(--cobalt-ink); display: grid; place-items: center; font-weight: 800; font-size: 15px; }
.timeline strong { display: block; }
.timeline li span:not(.step-num) { display: block; color: var(--muted); font-size: 14.5px; margin-top: 4px; }
.trust-more { float: right; font-size: 14px; font-weight: 600; }

/* Pricing calculator */
.calc { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 28px; align-items: stretch; }
.calc-fields { flex: 2 1 420px; }
.calc-out { flex: 1 1 260px; background: var(--soft); border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.calc-out div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.calc-out span { color: var(--muted); font-size: 14px; }
.calc-out strong { font-size: 24px; font-weight: 800; font-variant-numeric: tabular-nums; }
.calc-out p { font-weight: 600; border-top: 1px solid var(--line); padding-top: 14px; }

/* Website privacy */
.legal-lite { max-width: 760px; padding-top: 48px; padding-bottom: 72px; }
.legal-lite h2 { font-size: 20px; font-weight: 700; margin-top: 28px; }
.legal-lite p { margin-top: 8px; color: var(--muted); }
.draft-note { padding: 12px 15px; border-radius: 8px; background: #fff4e6; border: 1px solid #ffd8a8; color: #15171c !important; font-size: 14px; }
@media (prefers-color-scheme: dark) { .draft-note { background: #3a2414; border-color: #7c3f12; color: #ffd8a8 !important; } }

/* Footer, multi-column */
.site-footer .footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 28px; padding-top: 40px; padding-bottom: 40px; }
.footer-brand { font-weight: 800; font-size: 18px; color: var(--ink); }
.site-footer .footer-grid p { margin-top: 6px; }
.footer-contact { color: var(--ink); }
.site-footer nav { display: flex; flex-direction: column; gap: 2px; }
.site-footer nav h2 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); margin-bottom: 6px; }
.site-footer nav a { min-height: 32px; display: inline-flex; align-items: center; }
@media (max-width: 760px) { .site-footer .footer-grid { grid-template-columns: 1fr 1fr; } .site-footer .footer-grid > div:first-child { grid-column: 1 / -1; } }

/* Phones: keep the header to the logo and the two buttons. The footer links every page. */
@media (max-width: 760px) {
  .nav-links a:not(.btn) { display: none; }
  .nav-links { gap: 6px; }
  .nav-links a:not(.btn) { padding: 10px 8px; }
  .nav-links .btn { padding: 9px 12px; font-size: 14px; }
}

/* "Future feature": anything beyond core scheduling that isn't ready yet. */
.future { display: inline-block; margin: 6px 0 2px; padding: 2px 9px; border-radius: 999px; background: #fff4e6; color: #a8430a; border: 1px solid #ffd8a8; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; line-height: 1.6; vertical-align: middle; white-space: nowrap; }
.card h3 + .future, .dept h3 + .future { margin-top: 8px; }
th .future { display: table; margin-top: 6px; }
.check-grid .future, .timeline .future { display: inline-block; margin: 4px 0 2px; color: #a8430a; font-size: 11.5px; }
@media (prefers-color-scheme: dark) { .check-grid .future { color: #ffc078; } }
.card-future { background: var(--soft); border-style: dashed; }
.is-future .cmp.yes, .check-grid .is-future svg { color: var(--muted); }
.is-future .cmp.yes svg { color: var(--muted); }
@media (prefers-color-scheme: dark) { .future { background: #3a2414; color: #ffc078; border-color: #7c3f12; } }

/* Product screenshots, framed. In the hero the phone crops to the desktop shot's height. */
.shots { align-items: stretch; }
.shot-frame { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 12px 32px #0f172a1f; }
.shot-frame img { display: block; width: 100%; height: auto; }
.shot-phone { border-radius: 24px; }
.shots .shot-phone { position: relative; }
.shots .shot-phone img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: top; }
.shot-phone-solo { width: 100%; max-width: 340px; margin: 0 auto; }
.shots-note { margin-top: 10px; font-size: 13px; color: var(--muted); text-align: right; }
@media (max-width: 760px) {
  .shots .shot-phone { aspect-ratio: 600 / 820; width: 100%; max-width: 340px; margin: 0 auto; }
  .shots-note { text-align: center; }
}

/* About: the founder's story */
.story { max-width: 720px; padding-top: 56px; }
.story p { font-size: 18px; line-height: 1.7; color: var(--ink); }
.story p + p { margin-top: 18px; }
.story .story-sign { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 16px; color: var(--muted); }
.story-sign strong { color: var(--ink); }
.story-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 10px; font-weight: 600; }

/* Accessibility: a visible focus ring on dark bands, form fields that stand out, text only screen readers announce. */
.band :focus-visible { outline-color: var(--band-accent); }
input, select, textarea { border-color: #7f8693; }
@media (prefers-color-scheme: dark) { input, select, textarea { border-color: #7d8594; } }
.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; }
/* Teams: the home page's team row and each team page's links to the others. */
.team-grid { margin-top: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 14px; }
.team-card { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; color: var(--ink); text-decoration: none; }
.team-card:hover { border-color: var(--accent); }
.team-card .icon-tile { flex: none; margin: 0; }
.team-card strong { display: block; font-size: 16px; }
.team-card span span { display: block; color: var(--muted); font-size: 14.5px; margin-top: 2px; }
.team-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.team-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink); text-decoration: none; font-size: 15px; }
.team-links a:hover { border-color: var(--accent); color: var(--accent-ink); }
.team-crew h2 { margin-top: 8px; }
@media (max-width: 560px) {
  .team-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .team-card { flex-direction: column; gap: 10px; padding: 14px; }
  .team-card .icon-tile { width: 36px; height: 36px; }
  .team-card span span { display: none; }
}
