/* Voyageur Tech Outfitters — v1 site styles.
   Brand colors and fonts live in :root so a future logo/redesign only changes these values. */
:root {
  --spruce: #1E2F2A;
  --spruce-2: #2A403A;
  --lake: #2C5866;
  --lake-deep: #1B3A44;
  --lake-light: #6F9AA3;
  --mist: #A9C6CB;
  --birch: #EBEEE9;
  --birch-2: #F4F6F2;
  --granite: #5E6863;
  --lantern: #D29A2E;
  --ink: #17221F;
  --line: #CDD4CE;

  --font-head: "Zilla Slab", Georgia, serif;
  --font-body: "Alegreya Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 68rem;
  --pad-x: clamp(1.1rem, 5vw, 3rem);
  --radius: 10px;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--birch);
}
img, svg { max-width: 100%; }
a { color: var(--lake); text-underline-offset: 3px; }
a:hover { color: var(--spruce); }
:focus-visible { outline: 3px solid var(--lantern); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-head); color: var(--spruce); line-height: 1.15; margin: 0 0 0.6em; }
h1 { font-weight: 700; font-size: clamp(2.3rem, 5.5vw, 3.8rem); letter-spacing: -0.01em; }
h2 { font-weight: 700; font-size: clamp(1.75rem, 3.6vw, 2.4rem); }
h3 { font-weight: 700; font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad-x); }
.skip { position: absolute; left: -999px; top: 0; background: var(--birch); color: var(--spruce); padding: 0.6rem 1rem; z-index: 50; }
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- Header / nav ---------- */
.site-header { position: relative; z-index: 5; }
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap;
  max-width: var(--wrap); margin: 0 auto; padding: 1.25rem var(--pad-x);
}
.brand {
  font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; line-height: 1.1;
  color: var(--birch); text-decoration: none; white-space: nowrap;
}
.brand span { color: var(--lantern); font-weight: 500; }
.brand:hover { color: var(--birch); }
.nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem 1.6rem; margin: 0; padding: 0; }
.nav a.link { color: var(--birch); text-decoration: none; font-size: 1.05rem; padding: 0.2rem 0; border-bottom: 2px solid transparent; }
.nav a.link:hover { border-bottom-color: var(--mist); color: var(--birch); }
.nav a.link[aria-current="page"] { border-bottom-color: var(--lantern); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-family: var(--font-body); font-weight: 700; font-size: 1.05rem;
  padding: 0.8rem 1.35rem; border-radius: var(--radius); text-decoration: none; line-height: 1.2;
  transition: background-color .15s ease, color .15s ease;
}
.btn-light { background: var(--birch); color: var(--spruce); }
.btn-light:hover { background: #ffffff; color: var(--spruce); }
.btn-dark { background: var(--spruce); color: var(--birch); }
.btn-dark:hover { background: var(--spruce-2); color: var(--birch); }
.text-link { font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.on-dark .text-link { color: var(--birch); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; }

/* ---------- Home hero: dusk lake, pine ridge, moon, canoe ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; flex-direction: column;
  color: var(--birch);
  background: linear-gradient(180deg, var(--lake-deep) 0%, var(--lake) 55%, #5E8C93 100%);
  overflow: hidden;
}
.hero-text { max-width: var(--wrap); width: 100%; margin: 0 auto; padding: clamp(2rem, 7vw, 5rem) var(--pad-x) 0; }
.hero-text > * { max-width: 40rem; }
.eyebrow {
  font-size: 0.9rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--lake); margin: 0 0 0.9rem;
}
.hero .eyebrow, .page-hero .eyebrow { color: var(--mist); }
.hero h1 { color: var(--birch); margin-bottom: 0.4em; }
.hero .lede { font-size: clamp(1.2rem, 2.2vw, 1.45rem); max-width: 36ch; margin: 0 0 1.8rem; }
.scene { display: block; height: clamp(300px, min(40vw, 60vh), 760px); width: auto; aspect-ratio: 1440 / 600; max-width: none; flex-shrink: 0; align-self: center; margin-top: auto; overflow: visible; }
.canoe { animation: drift 14s ease-in-out infinite alternate-reverse; }
@keyframes drift { from { transform: translate(0, 0); } to { transform: translate(90px, 3px); } }
@media (prefers-reduced-motion: reduce) { .canoe { animation: none; } html { scroll-behavior: auto; } }
@media (max-width: 640px) { .moon-glint { opacity: 0.5; } }

/* ---------- Inner page hero ---------- */
.page-hero {
  color: var(--birch);
  background: linear-gradient(180deg, var(--lake-deep) 0%, var(--lake) 100%);
  position: relative; overflow: hidden;
}
.page-hero .hero-text { padding-top: clamp(1.5rem, 5vw, 3.5rem); padding-bottom: 0.5rem; }
.page-hero h1 { color: var(--birch); font-size: clamp(2.1rem, 4.6vw, 3.2rem); }
.page-hero .lede { font-size: clamp(1.15rem, 2vw, 1.35rem); max-width: 44ch; margin-bottom: 1.1rem; }
/* Height follows the drawing's shape (1440 x 130) so peaks are never cropped; phones crop the sides instead */
.ridge { display: block; width: 100%; height: max(70px, calc(100vw * 130 / 1440)); margin-top: 0.25rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-alt { background: var(--birch-2); }
.section-dark { background: var(--spruce); color: var(--birch); }
.section-dark h2, .section-dark h3 { color: var(--birch); }
.section-intro { max-width: 46rem; margin-bottom: 2.5rem; }
.section-intro p { color: var(--granite); font-size: 1.2rem; }
.section-dark .section-intro p { color: var(--mist); }
.muted { color: #4A534E; }
.section-intro.wide { max-width: none; }

.grid-3 { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr)); }
.point { border-top: 3px solid var(--spruce); padding-top: 1rem; }
.point p { color: var(--granite); margin: 0; }

/* ---------- Plan cards ---------- */
.plans { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(19rem, 100%), 1fr)); }
.plan {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1.8rem 1.6rem;
  display: flex; flex-direction: column;
}
.plan.featured { border: 2px solid var(--lake); }
.plan .tag { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lake); margin: 0 0 0.3rem; }
.plan h3 { font-size: 1.8rem; margin-bottom: 0.2rem; }
.plan .tagline { color: var(--granite); margin-bottom: 1rem; }
.price { font-family: var(--font-head); font-weight: 700; font-size: 2.6rem; color: var(--spruce); line-height: 1; margin: 0 0 0.2rem; }
.price small { font-family: var(--font-body); font-weight: 400; font-size: 1rem; color: var(--granite); }
.plan ul { list-style: none; padding: 0; margin: 1.2rem 0 1.4rem; }
.plan li { padding: 0.45rem 0 0.45rem 1.6rem; position: relative; border-top: 1px solid #E3E8E3; }
.plan li:first-child { border-top: 0; }
.plan li::before {
  content: ""; position: absolute; left: 0; top: 0.95rem; width: 0.7rem; height: 0.38rem;
  border-left: 2.5px solid var(--lake); border-bottom: 2.5px solid var(--lake); transform: rotate(-45deg);
}
.plan .btn { margin-top: auto; align-self: flex-start; }
.plan .min { color: var(--granite); font-size: 0.95rem; margin: 0.35rem 0 0; }
.plan-note { margin: 1.6rem 0 0; color: var(--granite); font-size: 1.05rem; }
.plan-note strong { color: var(--spruce); }

/* ---------- Steps: a trail map ---------- */
/* Each stop draws the dashed trail to the next stop; the last one fades out (the route keeps going). */
.steps { --dot: 2.3rem; --gap: 1.75rem; list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: var(--gap); max-width: 40rem; }
.steps li { counter-increment: step; position: relative; padding-left: calc(var(--dot) + 1.1rem); min-height: var(--dot); }
.steps li::before {
  content: counter(step); position: absolute; top: 0; left: 0; z-index: 1; width: var(--dot); height: var(--dot); border-radius: 50%;
  background: var(--spruce); color: var(--birch); font-family: var(--font-head); font-weight: 700; font-size: 1.15rem;
  display: flex; align-items: center; justify-content: center;
}
.steps li::after {
  content: ""; position: absolute; z-index: 0; left: 0; top: calc(var(--dot) / 2); width: var(--dot); height: calc(100% + var(--gap));
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 200' preserveAspectRatio='none'%3E%3Cpath d='M24 0 Q56 100 24 200' fill='none' stroke='%236F9AA3' stroke-width='2' stroke-dasharray='6 6' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%;
}
.steps li:nth-child(even)::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 200' preserveAspectRatio='none'%3E%3Cpath d='M24 0 Q-8 100 24 200' fill='none' stroke='%236F9AA3' stroke-width='2' stroke-dasharray='6 6' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E"); }
.steps li:last-child::after { height: 4.5rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 200' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='f' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%236F9AA3'/%3E%3Cstop offset='1' stop-color='%236F9AA3' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M24 0 Q56 100 24 200' fill='none' stroke='url(%23f)' stroke-width='2' stroke-dasharray='6 6' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E"); }
.steps h3 { font-size: 1.15rem; margin: 0.35rem 0 0.3rem; }
.steps p { color: var(--granite); margin: 0; font-size: 1.05rem; }
@media (min-width: 56rem) {
  .steps { grid-template-columns: repeat(5, 1fr); gap: 1.5rem; --gap: 1.5rem; max-width: none; padding-top: 0.5rem; }
  .steps li { padding-left: 0; padding-top: calc(var(--dot) + 1.1rem); }
  .steps h3 { margin-top: 0; }
  .steps li::after {
    left: calc(var(--dot) / 2); top: calc(var(--dot) / 2 - 1.5rem); width: calc(100% + var(--gap)); height: 3rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 48' preserveAspectRatio='none'%3E%3Cpath d='M0 24 Q100 56 200 24' fill='none' stroke='%236F9AA3' stroke-width='2' stroke-dasharray='6 6' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
  }
  .steps li:nth-child(even)::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 48' preserveAspectRatio='none'%3E%3Cpath d='M0 24 Q100 -8 200 24' fill='none' stroke='%236F9AA3' stroke-width='2' stroke-dasharray='6 6' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E"); }
  .steps li:last-child::after { width: calc(100% - var(--dot) / 2); height: 3rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 48' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='f' x1='0' y1='0' x2='1' y2='0'%3E%3Cstop offset='0' stop-color='%236F9AA3'/%3E%3Cstop offset='1' stop-color='%236F9AA3' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 24 Q100 56 200 24' fill='none' stroke='url(%23f)' stroke-width='2' stroke-dasharray='6 6' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E"); }
}

/* ---------- Who we are / story ---------- */
.split { display: grid; gap: 2.5rem 4rem; grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr)); align-items: start; }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { padding: 0.7rem 0 0.7rem 1.8rem; border-top: 1px solid var(--line); position: relative; }
.checks li:last-child { border-bottom: 1px solid var(--line); }
.checks li::before {
  content: ""; position: absolute; left: 0.1rem; top: 1.2rem; width: 0.7rem; height: 0.38rem;
  border-left: 2.5px solid var(--lake); border-bottom: 2.5px solid var(--lake); transform: rotate(-45deg);
}
.pull { font-family: var(--font-head); font-weight: 500; font-size: clamp(1.35rem, 2.5vw, 1.7rem); color: var(--spruce); line-height: 1.35; border-left: 4px solid var(--lantern); padding-left: 1.1rem; margin: 1.5rem 0 0; }
.story { font-size: 1.25rem; max-width: 40rem; }
.story p { color: var(--birch); }
.story .lead-in { color: var(--mist); }

/* ---------- CTA band ---------- */
.cta-band { text-align: left; }
.cta-band h2 { max-width: 30ch; }
.contact-line { margin-top: 1.5rem; color: var(--mist); font-size: 1.05rem; }
.contact-line a { color: var(--birch); font-weight: 700; }

/* ---------- Tables ---------- */
.table-wrap { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: 1.02rem; min-width: 40rem; }
table.fit { min-width: 0; }
@media (max-width: 760px) {
  table.fit th, table.fit td { padding: 0.7rem 0.6rem; }
  table.fit tbody th[scope="row"], table.fit thead th:first-child { position: static; min-width: 0; box-shadow: none; }
}
@media (max-width: 360px) {
  table.fit { font-size: 0.93rem; }
  table.fit th, table.fit td { padding: 0.6rem 0.4rem; }
}
caption { text-align: left; padding: 1rem 1.2rem 0; color: var(--granite); font-size: 0.95rem; caption-side: bottom; padding-bottom: 1rem; }
th, td { text-align: left; padding: 0.8rem 1.2rem; border-top: 1px solid #E3E8E3; vertical-align: top; }
thead th { border-top: 0; background: var(--birch-2); font-family: var(--font-head); color: var(--spruce); font-size: 1.05rem; }
tbody th { font-weight: 500; color: var(--ink); }
td.yes { color: var(--ink); }
.check { color: var(--lake); font-size: 1.2rem; line-height: 1; }
td.no { color: var(--granite); }
tr.per-user th, tr.per-user td { color: var(--spruce); }
tr.total th, tr.total td { background: var(--birch-2); font-weight: 700; color: var(--spruce); font-family: var(--font-head); font-size: 1.1rem; }
.col-us { background: #F1F6F6; }
thead .col-us { background: #DDEBEC; }

/* Cost page: under the comparison table */
.table-note { margin: 0.8rem 0 0; color: var(--granite); font-size: 0.92rem; max-width: 52rem; }
.cost-close { display: grid; gap: 1.5rem 3rem; grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr)); align-items: center; margin-top: 2.5rem; }
.cost-close .pull { margin: 0; }
.alt-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.5rem; }
.alt-card h3 { margin: 0 0 0.4rem; }
.alt-card p { margin: 0 0 0.8rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 50rem; }
.faq details { border-top: 1px solid var(--line); padding: 0.2rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: var(--spruce); padding: 0.9rem 2rem 0.9rem 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.3rem; top: 0.75rem; font-size: 1.5rem; color: var(--lake); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--granite); margin: 0 0 1rem; }

/* ---------- Question list (cost page) ---------- */
.qlist { counter-reset: q; list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: 0.9rem; max-width: 46rem; }
.qlist li { counter-increment: q; background: rgba(255,255,255,0.06); border: 1px solid rgba(169,198,203,0.35); border-radius: 10px; padding: 0.9rem 1.1rem 0.9rem 3.3rem; position: relative; color: var(--birch); }
.qlist li::before { content: counter(q); position: absolute; left: 1rem; top: 0.85rem; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--mist); color: var(--spruce); font-weight: 700; font-size: 0.95rem; display: flex; align-items: center; justify-content: center; }

/* ---------- Contact page ---------- */
.contact-cards { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(18.5rem, 100%), 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1.6rem; }
.card h3 { margin-bottom: 0.4rem; }
.card .big { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; color: var(--spruce); text-decoration: none; display: inline-block; margin-bottom: 0.4rem; }
.card .big.email { font-size: 1.3rem; white-space: nowrap; }
.card .big:hover { color: var(--lake); }
.card p { color: var(--granite); margin: 0; }
.plain-list { padding-left: 1.2rem; margin: 0; }
.plain-list li { margin: 0.35rem 0; color: var(--ink); }
.cities { color: var(--granite); }

/* ---------- Footer ---------- */
footer { background: var(--ink); color: var(--birch); padding: 2.5rem 0 2rem; font-size: 1rem; }
.foot { display: grid; gap: 1.5rem 3rem; grid-template-columns: repeat(auto-fit, minmax(min(14rem, 100%), 1fr)); }
.foot .brand { font-size: 1.25rem; display: inline-block; margin-bottom: 0.4rem; }
.foot p { margin: 0.2rem 0; color: #C9D2CD; }
.foot a { color: var(--birch); text-decoration: none; }
.foot a:not(.brand):hover, .foot a:not(.brand):focus-visible { text-decoration: underline; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin: 0.25rem 0; }
@media (min-width: 64rem) { .foot { grid-template-columns: repeat(3, max-content); justify-content: space-between; } }
@media (max-width: 63.99rem) { .foot > div:first-child { grid-column: 1 / -1; } }
@media (min-width: 40rem) and (max-width: 63.99rem) { .foot { grid-template-columns: max-content max-content; } }
.foot .legal { margin-top: 1.5rem; padding-top: 1.2rem; border-top: 1px solid #2E3A36; color: #9AA5A0; font-size: 0.92rem; }

@media (max-width: 640px) {
  html { font-size: 106.25%; }
  body { font-size: 1.07rem; }
  .nav { padding-top: 1rem; padding-bottom: 0.6rem; }
  .nav ul { gap: 0.3rem 1.1rem; }
  .nav a.link { font-size: 1rem; }
  .hero { min-height: auto; }
  .hero-text { padding-top: 1.5rem; }
}

/* ---------- Utilities ---------- */
.mt-1 { margin-top: 1rem; }
.nowrap { white-space: nowrap; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.swipe-hint { display: none; font-size: 0.95rem; color: var(--granite); margin: 0 0 0.6rem; }
@media (max-width: 760px) {
  .swipe-hint { display: block; }
  tbody th[scope="row"], thead th:first-child { position: sticky; left: 0; z-index: 1; background: #fff; min-width: 9.5rem; box-shadow: 1px 0 0 #E3E8E3; }
  thead th:first-child, tr.total th { background: var(--birch-2); }
}

/* ---------- Contact form ---------- */
.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.35rem; }
.field label { font-weight: 700; color: var(--spruce); }
.field .opt { font-weight: 400; color: var(--granite); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1.05rem; color: var(--ink); background: #fff;
  border: 1px solid #B9C3BD; border-radius: 8px; padding: 0.7rem 0.8rem;
}
.field textarea { resize: vertical; min-height: 7rem; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--lake); }
.field-row { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(min(12rem, 100%), 1fr)); }
.form .btn { justify-self: start; border: 0; cursor: pointer; }
.form .btn:disabled { opacity: 0.7; cursor: progress; }
.field input:not(:placeholder-shown):invalid:not(:focus) { border-color: #A4462F; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { min-height: 65px; }
.mt-2 { margin-top: 2.5rem; }
@media (min-width: 56rem) {
  .steps.steps-3 { grid-template-columns: repeat(3, 1fr); max-width: 52rem; }
}
