/* ==========================================================================
   WRK Fuels main stylesheet
   Palette: green, white, black. No third accent.
   Flat surfaces, hairline rules, borders instead of shadows.
   Display: Montserrat. Body/UI: Instrument Sans.
   ========================================================================== */

:root {
  --black: #111111;
  --ink: #1c1c1c;
  --body: #3f3f3f;
  --muted: #6b6b6b;

  --brand: #03472e;
  --brand-700: #02351f;
  --brand-100: #e6ece9;

  --paper: #ffffff;
  --wash: #f5f5f5;
  --line: #e2e2e2;
  --line-strong: #cfcfcf;
  --line-dark: rgba(255, 255, 255, .16);

  --wrap: 1160px;
  --gutter: 28px;

  --display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --text: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;

  --radius: 4px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.65;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, summary { cursor: pointer; }
button { border: 0; background: none; }
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, p { margin: 0; }
p + p { margin-top: 1em; }

h1, h2, h3 {
  font-family: var(--display);
  color: var(--black);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.08;
  text-wrap: balance;
}

h1 { font-size: clamp(38px, 4.4vw, 58px); }
h2 { font-size: clamp(29px, 3.2vw, 42px); }
h3 { font-size: clamp(19px, 1.5vw, 23px); font-weight: 700; letter-spacing: -.02em; line-height: 1.25; }

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

section[id], article[id] { scroll-margin-top: 100px; }

/* ---------- layout ---------- */

.wrap {
  max-width: var(--wrap);
  padding-inline: var(--gutter);
  margin-inline: auto;
}

.section { padding-block: clamp(60px, 7vw, 100px); }

/* Section label: sentence case, green, quiet. */
.label {
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 16px;
}
.on-dark .label { color: #ffffff; }
.on-dark .price-card .label { color: var(--brand); }

.skip {
  position: absolute;
  left: 20px;
  top: -100px;
  background: var(--paper);
  color: var(--brand);
  padding: 12px 20px;
  font-weight: 600;
  z-index: 100;
}
.skip:focus { top: 12px; }

/* ---------- buttons & links ---------- */

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 14px 26px;
  background: var(--brand);
  color: #fff;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  transition: background .18s ease;
}
.button:hover { background: var(--brand-700); }
.button.compact { min-height: 42px; padding: 10px 18px; font-size: 15px; }
.button.outline {
  background: transparent;
  color: var(--black);
  border: 1px solid var(--line-strong);
}
.button.outline:hover { background: var(--wash); border-color: var(--black); }

.text-link {
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  color: var(--brand);
  padding-block: 6px;
  border-bottom: 1px solid var(--brand);
}
.text-link:hover { color: var(--brand-700); border-bottom-color: var(--brand-700); }

.light-link {
  display: inline-block;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  padding-block: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, .5);
}
.light-link:hover { border-bottom-color: #fff; }

/* ---------- header ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 80px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: none;
  line-height: 1;
}
.logo img { width: 54px; height: 28px; object-fit: contain; }
.logo span {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: .01em;
  color: var(--black);
}

.header nav { display: flex; align-items: center; gap: 22px; }
.header nav a {
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  padding-block: 10px;
  color: var(--body);
}
.header nav a:not(.button):hover { color: var(--brand); }
.nav-login {
  color: var(--brand);
  font-weight: 600;
  border-left: 1px solid var(--line);
  padding-left: 22px;
}
.header nav .button { color: #fff; }

.menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  background: none;
  border: 1px solid var(--line-strong);
  padding: 9px 15px;
  border-radius: var(--radius);
  color: var(--black);
  font-size: 15px;
  font-weight: 600;
}
.menu-toggle .bars { display: block; width: 15px; height: 9px; position: relative; }
.menu-toggle .bars::before,
.menu-toggle .bars::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1.5px;
  background: currentColor;
}
.menu-toggle .bars::before { top: 0; }
.menu-toggle .bars::after { bottom: 0; }

/* ---------- hero ---------- */

.hero-inner {
  display: grid;
  grid-template-columns: 1.3fr .9fr;
  gap: clamp(36px, 4.5vw, 68px);
  align-items: center;
  padding-block: clamp(56px, 6.5vw, 90px);
}
.hero h1 { max-width: 15ch; }
.hero .lede {
  font-size: clamp(17px, 1.3vw, 19px);
  line-height: 1.65;
  color: var(--body);
  margin-top: 24px;
  max-width: 54ch;
}
.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin-top: 32px;
}

/* ways to work: a plain bordered panel, not a display device */
.ways { border: 1px solid var(--line); border-radius: var(--radius); }
.ways-head {
  background: var(--brand);
  color: #fff;
  padding: 15px 22px;
  font-size: 14px;
  font-weight: 600;
}
.ways-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 12px 20px;
  padding: 20px 22px;
  border-top: 1px solid var(--line);
}
.ways-row:first-of-type { border-top: 0; }
.ways-row:hover { background: var(--wash); }
.ways-title {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--black);
}
.ways-desc {
  grid-column: 1 / -1;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
}
.ways-meta {
  font-size: 15px;
  font-weight: 600;
  color: var(--brand);
  white-space: nowrap;
  font-variant-numeric: tabular-nums lining-nums;
}
.ways-foot {
  padding: 16px 22px;
  border-top: 1px solid var(--line);
  background: var(--wash);
  font-size: 14px;
  color: var(--muted);
}

/* capability strip */
.scope-strip { border-block: 1px solid var(--line); }
.scope-strip .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-block: 20px;
  gap: 20px;
  text-align: center;
}
.scope-strip span { font-size: 14.5px; font-weight: 600; color: var(--black); }
.scope-strip span + span { border-left: 1px solid var(--line); }

/* ---------- section headings ---------- */

.section-heading {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(30px, 4.5vw, 70px);
  align-items: end;
  margin-bottom: 46px;
}
.section-heading > div > p:not(.label) { margin-top: 18px; }
.section-heading .text-link { margin-top: 16px; }

/* ---------- services ---------- */

.services { border-top: 1px solid var(--line); }
.service {
  display: grid;
  grid-template-columns: 1fr;
  padding-block: 34px;
  border-bottom: 1px solid var(--line);
}
.service h3 { margin-bottom: 12px; }
.service > div > p { max-width: 70ch; }
.service details { margin-top: 18px; }
.service summary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--brand);
  font-size: 15.5px;
  font-weight: 600;
  padding-block: 6px;
  width: fit-content;
  list-style: none;
}
.service summary::-webkit-details-marker { display: none; }
.service summary::before {
  content: "";
  width: 11px;
  height: 11px;
  flex: none;
  background:
    linear-gradient(currentColor, currentColor) center / 11px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 11px no-repeat;
  transition: transform .2s ease;
}
.service details[open] summary::before { transform: rotate(45deg); }
.service details[open] summary { margin-bottom: 12px; }
.service ul {
  padding-left: 20px;
  margin: 0 0 16px;
  max-width: 72ch;
  color: var(--body);
}
li + li { margin-top: 9px; }

/* ---------- software / pricing ---------- */

.software { background: var(--brand); color: #fff; }
.software-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(36px, 5vw, 78px);
  align-items: center;
  padding-block: clamp(60px, 7vw, 94px);
}
.software h2 { color: #fff; }
.software .lede { color: #d5e2db; font-size: 18px; margin-top: 20px; max-width: 46ch; }
.software-rule { height: 1px; background: rgba(255, 255, 255, .25); margin-block: 28px; max-width: 430px; }
.software-separate { color: #d5e2db; margin-bottom: 18px; max-width: 46ch; }

.price-card {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
  padding: clamp(26px, 3vw, 36px);
  min-width: 0;
}
.price-card h3 { font-size: 22px; }
.price {
  display: flex;
  gap: 10px;
  align-items: baseline;
  flex-wrap: wrap;
  margin-top: 20px;
  font-family: var(--display);
  color: var(--black);
  font-variant-numeric: tabular-nums lining-nums;
}
.price strong { font-size: clamp(52px, 5.5vw, 64px); font-weight: 800; line-height: .9; letter-spacing: -.045em; }
.price span { font-family: var(--text); font-size: 16px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.billing { font-size: 14.5px; color: var(--muted); margin-top: 12px; }
.plan-scope {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 22px;
  font-size: 16px;
}
.stripe-slot { margin-top: 24px; min-height: 64px; max-width: 100%; }
stripe-buy-button { display: block; max-width: 100%; min-width: 0; }
stripe-buy-button iframe { max-width: 100%; }
.checkout-status, .fine { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin-top: 13px; }
.fine a { color: var(--brand); font-weight: 600; border-bottom: 1px solid currentColor; }

/* ---------- ownership ---------- */

.ownership {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(30px, 4.5vw, 64px);
  align-items: center;
}
.ownership > div > p:not(.label) { margin-top: 20px; max-width: 46ch; }
.ownership-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.ownership-grid > div { padding: 26px; }
.ownership-grid > div + div { border-left: 1px solid var(--line); }
.ownership-grid h3 { font-size: 18px; }
.ownership-grid ul { padding-left: 20px; margin: 16px 0 0; font-size: 15.5px; color: var(--body); }

/* ---------- about / team ---------- */

.about { background: var(--wash); border-block: 1px solid var(--line); }
.team-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.person {
  display: grid;
  grid-template-columns: 118px 1fr;
  align-items: center;
  gap: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.person:hover { border-color: var(--line-strong); }
.person img { width: 118px; height: 142px; object-fit: cover; object-position: top; }
.person strong {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--black);
  display: block;
  line-height: 1.3;
}
.person small { font-size: 14.5px; color: var(--muted); display: block; margin-top: 4px; }
.person:hover strong { color: var(--brand); }

/* ---------- how it works ---------- */

.steps {
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin: 44px 0 0;
  counter-reset: step;
}
.steps li { margin: 0; border-top: 1px solid var(--line); padding-top: 18px; }
.steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 14px;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}
.steps h3 { font-size: 18px; }
.steps p { font-size: 15.5px; margin-top: 10px; }

/* ---------- instagram ---------- */

.instagram { background: var(--wash); border-block: 1px solid var(--line); }
.instagram-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: clamp(34px, 5vw, 78px);
}
.instagram-copy > p:not(.label) { max-width: 42ch; margin-top: 18px; }
.instagram-copy .button { margin-top: 26px; }
.instagram-panel { min-width: 0; width: 100%; }
.instagram-media {
  margin: 0 !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 540px !important;
  border-radius: var(--radius) !important;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 0;
}
.instagram-media > a {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 44px 28px;
  min-height: 250px;
  justify-content: center;
}
.instagram-media strong {
  font-family: var(--display);
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--brand);
}
.instagram-media span { font-size: 15px; color: var(--muted); }
.instagram-panel iframe { width: 100% !important; min-width: 0 !important; max-width: 100% !important; }
.embed-fallback { font-size: 14.5px; color: var(--muted); margin-top: 14px; }
.embed-fallback a { color: var(--brand); font-weight: 600; border-bottom: 1px solid currentColor; }

/* ---------- faq ---------- */

.faq {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(30px, 4.5vw, 64px);
  align-items: start;
}
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -.015em;
  line-height: 1.45;
  color: var(--black);
  padding-block: 20px;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--brand); }
.faq summary::after {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  margin-top: 7px;
  background:
    linear-gradient(var(--brand), var(--brand)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--brand), var(--brand)) center / 1.5px 12px no-repeat;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 36px 22px 0; font-size: 16px; max-width: 68ch; }

/* ---------- contact ---------- */

.contact { background: var(--wash); border-top: 1px solid var(--line); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(34px, 5vw, 76px);
}
.contact-grid > div p:not(.label) { margin-top: 20px; max-width: 42ch; }
.contact-grid > div > a { margin-top: 18px; }

form {
  min-width: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 32px);
}
label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 18px;
  color: var(--black);
}
input, select, textarea {
  width: 100%;
  min-width: 0;
  display: block;
  margin-top: 7px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  padding: 12px 13px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--brand);
  outline: 1px solid var(--brand);
  outline-offset: -2px;
}
select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 19px) 55%, calc(100% - 13px) 55%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 38px;
}
textarea { resize: vertical; min-height: 125px; }
input:disabled, select:disabled, textarea:disabled { opacity: .6; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.honeypot { position: absolute; left: -9999px; opacity: 0; }
form .button { width: 100%; }
#form-status { font-size: 15px; overflow-wrap: anywhere; margin-top: 13px; }
#form-status[data-state="error"] { color: #9d2929; }
#form-status[data-state="success"] { color: var(--brand); }
button:disabled { opacity: .6; cursor: wait; }

/* ---------- footer ---------- */

footer {
  background: var(--black);
  color: #fff;
  padding-block: 56px 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
}
footer .logo span { color: #fff; }
footer p { color: #a8a8a8; font-size: 14.5px; margin-top: 16px; }
footer nav { display: flex; flex-direction: column; align-items: start; gap: 11px; }
footer a { font-size: 15px; color: #e0e0e0; }
footer nav a:hover, footer .wrap a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-base {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line-dark);
  font-size: 14px;
  color: #8d8d8d;
}

/* ---------- responsive ---------- */

@media (max-width: 1140px) {
  .header nav { gap: 15px; }
  .header nav a { font-size: 14px; }
  .nav-login { padding-left: 15px; }
}

@media (max-width: 1050px) {
  .menu-toggle { display: inline-flex; }
  .header-inner { flex-wrap: wrap; min-height: 72px; padding-block: 14px; gap: 0; }
  .header nav { flex-basis: 100%; flex-wrap: wrap; gap: 6px 22px; padding-top: 14px; }
  .header nav a { font-size: 15px; }
  .header.js-menu nav { display: none; }
  .header.js-menu nav.is-open { display: flex; }
  .nav-login { border-left: 0; padding-left: 0; }
  .header nav .button { margin-left: auto; }
  .hero-inner { grid-template-columns: 1fr; }
  .ways { max-width: 560px; }
  .ownership, .software-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 34px; }
}

@media (max-width: 767px) {
  html { scroll-padding-top: 90px; }
  :root { --gutter: 22px; }
  .header nav { flex-direction: column; align-items: stretch; gap: 0; }
  .header nav a { padding: 11px 2px; }
  .header nav .button { margin: 12px 0 2px; }
  .actions .button { width: 100%; }
  .scope-strip .wrap { grid-template-columns: 1fr 1fr; gap: 16px; }
  .scope-strip span:nth-child(3) { border-left: 0; }
  .section-heading { grid-template-columns: 1fr; gap: 18px; margin-bottom: 32px; }
  .service { padding-block: 28px; }
  .ownership-grid { grid-template-columns: 1fr; }
  .ownership-grid > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .team-preview { grid-template-columns: 1fr; }
  .person { grid-template-columns: 102px 1fr; gap: 18px; }
  .person img { width: 102px; height: 124px; }
  .instagram-grid, .faq, .contact-grid { grid-template-columns: 1fr; }
  .instagram-copy h2 br { display: none; }
  .instagram-panel { max-width: 540px; }
  .faq details p { padding-right: 8px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 460px) {
  .steps { grid-template-columns: 1fr; row-gap: 28px; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:last-child { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media print {
  .header, .actions, .stripe-slot, form, .instagram-panel, .ways { display: none; }
  body { font-size: 12pt; color: #000; }
  .section, .hero-inner, .software-grid { padding-block: 24px; }
  .wrap { max-width: none; }
  .software, footer { background: #fff !important; color: #111; }
  .software h2 { color: #111; }
  .software .lede, footer p { color: #3f3f3f; }
  details > * { display: block; }
}

/* ==========================================================================
   Station site plan (interactive)
   ========================================================================== */

.plan {
  display: grid;
  grid-template-columns: 1.25fr .85fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.plan-figure { margin: 0; min-width: 0; }
.plan-svg {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.plan-caption { margin-top: 12px; font-size: 14px; color: var(--muted); }

.plan-lot { fill: var(--wash); stroke: var(--line); stroke-width: 1; }

.zone { cursor: pointer; }
.zone-fill {
  fill: var(--paper);
  stroke: var(--line-strong);
  stroke-width: 1.5;
  transition: fill .22s ease, stroke .22s ease;
}
.zone-label {
  font-family: var(--text);
  font-size: 13px;
  font-weight: 600;
  fill: var(--black);
  transition: fill .22s ease;
  pointer-events: none;
}
.zone-art > * {
  fill: var(--line);
  stroke: var(--line);
  transition: fill .22s ease, stroke .22s ease;
  pointer-events: none;
}
.zone-art .bay { stroke-width: 2; }

.zone:hover .zone-fill { fill: var(--brand-100); stroke: var(--brand); }
.zone:focus-visible { outline: none; }
.zone:focus-visible .zone-fill { stroke: var(--brand); stroke-width: 3; }

.zone.is-active .zone-fill { fill: var(--brand); stroke: var(--brand); }
.zone.is-active .zone-label { fill: #fff; }
.zone.is-active .zone-art > * { fill: rgba(255, 255, 255, .42); stroke: rgba(255, 255, 255, .42); }

/* detail side */
.plan-detail { min-width: 0; }
.plan-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.plan-tab {
  padding: 9px 15px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--body);
  font-size: 14.5px;
  font-weight: 600;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.plan-tab:hover { border-color: var(--black); color: var(--black); }
.plan-tab.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.plan-panel { animation: panel-in .32s ease both; }
@keyframes panel-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.plan-kicker { font-size: 14px; font-weight: 600; color: var(--brand); margin-bottom: 6px; }
.plan-panel h3 { margin-bottom: 18px; }
.plan-list { list-style: none; padding: 0; margin: 0 0 20px; }
.plan-list li {
  position: relative;
  padding: 11px 0 11px 26px;
  border-top: 1px solid var(--line);
  font-size: 15.5px;
  line-height: 1.55;
}
.plan-list li + li { margin-top: 0; }
.plan-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15em;
  width: 10px;
  height: 2px;
  background: var(--brand);
}
.plan-note {
  border-left: 2px solid var(--brand);
  padding-left: 14px;
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 18px;
}

@media (max-width: 900px) {
  .plan { grid-template-columns: 1fr; }
  .plan-detail { max-width: 640px; }
}
@media (max-width: 460px) {
  .zone-label { font-size: 15px; }
  .plan-tab { font-size: 14px; padding: 8px 12px; }
}

/* ==========================================================================
   Motion: content reveals on scroll, counters, accordion content
   ========================================================================== */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.22, .61, .36, 1);
}
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-stagger > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s ease, transform .5s cubic-bezier(.22, .61, .36, 1);
}
.js .reveal-stagger.is-in > * { opacity: 1; transform: none; }
.js .reveal-stagger.is-in > *:nth-child(1) { transition-delay: .04s; }
.js .reveal-stagger.is-in > *:nth-child(2) { transition-delay: .12s; }
.js .reveal-stagger.is-in > *:nth-child(3) { transition-delay: .2s; }
.js .reveal-stagger.is-in > *:nth-child(4) { transition-delay: .28s; }
.js .reveal-stagger.is-in > *:nth-child(5) { transition-delay: .36s; }

/* the step rule draws itself in as the sequence appears */
.js .steps.reveal-stagger li { position: relative; }
.js .steps.reveal-stagger li::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  height: 1px;
  width: 0;
  background: var(--brand);
  transition: width .7s cubic-bezier(.22, .61, .36, 1);
}
.js .steps.reveal-stagger.is-in li::after { width: 100%; }
.js .steps.reveal-stagger.is-in li:nth-child(2)::after { transition-delay: .1s; }
.js .steps.reveal-stagger.is-in li:nth-child(3)::after { transition-delay: .2s; }
.js .steps.reveal-stagger.is-in li:nth-child(4)::after { transition-delay: .3s; }

/* accordion body eases open rather than snapping */
.service details[open] ul,
.service details[open] > p,
.faq details[open] p { animation: panel-in .3s ease both; }

/* header gains a shadow once the page moves */
.header { transition: box-shadow .25s ease; }
.header.is-stuck { box-shadow: 0 1px 12px rgba(0, 0, 0, .07); }

.header nav a:not(.button) { position: relative; }
.header nav a:not(.button)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 1px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}
.header nav a:not(.button):hover::after { transform: scaleX(1); }

.person img { transition: transform .5s ease; }
.person { overflow: hidden; }
.person:hover img { transform: scale(1.04); }

@media (prefers-reduced-motion: reduce) {
  .js .reveal,
  .js .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
  .js .steps.reveal-stagger li::after { width: 100%; }
  .plan-panel { animation: none; }
}

/* ==========================================================================
   Legal pages and newsroom
   ========================================================================== */

.page-head { border-bottom: 1px solid var(--line); }
.page-head-inner { padding-block: clamp(44px, 5vw, 72px) clamp(28px, 3vw, 40px); }
.page-head h1 { max-width: 20ch; }
.page-head .lede { font-size: 18px; margin-top: 18px; max-width: 60ch; color: var(--body); }
.page-meta { font-size: 14.5px; color: var(--muted); margin-top: 20px; }

/* legal document body */
.legal {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
  padding-block: clamp(40px, 5vw, 72px);
}
.legal-toc { position: sticky; top: 100px; }
.legal-toc p {
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 12px;
}
.legal-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.legal-toc li { margin: 0; border-top: 1px solid var(--line); }
.legal-toc a {
  display: block;
  padding: 9px 0;
  font-size: 14.5px;
  line-height: 1.4;
  color: var(--muted);
}
.legal-toc a:hover { color: var(--brand); }

.legal-body { min-width: 0; max-width: 74ch; }
.legal-body h2 {
  font-size: clamp(21px, 2vw, 25px);
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.legal-body h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal-body h3 { font-size: 18px; margin-top: 28px; }
.legal-body p, .legal-body ul, .legal-body ol { margin-top: 14px; }
.legal-body ul, .legal-body ol { padding-left: 22px; }
.legal-body li + li { margin-top: 8px; }
.legal-body a:not(.button) { color: var(--brand); font-weight: 500; border-bottom: 1px solid var(--line-strong); }
.legal-body a:not(.button):hover { border-bottom-color: var(--brand); }
.legal-body strong { color: var(--black); }

.legal-body table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
  font-size: 15px;
}
.legal-body th, .legal-body td {
  text-align: left;
  padding: 11px 12px;
  border: 1px solid var(--line);
  vertical-align: top;
}
.legal-body th { background: var(--wash); font-weight: 600; color: var(--black); }

.callout {
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius);
  background: var(--wash);
  padding: 18px 20px;
  margin-top: 20px;
  font-size: 15.5px;
}
.callout strong { display: block; margin-bottom: 4px; }

/* newsroom */
.news-list { padding-block: clamp(36px, 4vw, 60px); }
.news-item {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: clamp(20px, 3vw, 44px);
  padding-block: 30px;
  border-top: 1px solid var(--line);
  align-items: start;
}
.news-item:last-child { border-bottom: 1px solid var(--line); }
.news-date {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.news-tag {
  display: inline-block;
  margin-top: 8px;
  padding: 3px 9px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--brand);
}
.news-item h2 { font-size: clamp(20px, 1.9vw, 24px); }
.news-item h2 a:hover { color: var(--brand); }
.news-item p { margin-top: 10px; max-width: 66ch; font-size: 16px; }
.news-item .text-link { margin-top: 14px; }

.article { padding-block: clamp(36px, 4vw, 60px); max-width: 72ch; }
.article > p { margin-top: 16px; }
.article h2 { font-size: clamp(21px, 2vw, 26px); margin-top: 36px; }
.article ul { margin-top: 14px; padding-left: 22px; }
.article .article-foot {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  color: var(--muted);
}
.back-link { display: inline-block; font-size: 15px; font-weight: 600; color: var(--brand); padding-block: 8px; }
.back-link:hover { border-bottom: 1px solid var(--brand); }

@media (max-width: 900px) {
  .legal { grid-template-columns: 1fr; }
  .legal-toc { position: static; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
  .legal-toc ol { columns: 2; column-gap: 24px; }
  .news-item { grid-template-columns: 1fr; gap: 10px; }
  .news-date { display: flex; align-items: center; gap: 12px; }
  .news-tag { margin-top: 0; }
}
@media (max-width: 560px) {
  .legal-toc ol { columns: 1; }
  .legal-body table, .legal-body thead, .legal-body tbody, .legal-body tr, .legal-body th, .legal-body td { display: block; }
  .legal-body thead { display: none; }
  .legal-body tr { border: 1px solid var(--line); border-radius: var(--radius); margin-top: 12px; }
  .legal-body td { border: 0; border-top: 1px solid var(--line); }
  .legal-body td:first-child { border-top: 0; font-weight: 600; color: var(--black); }
}

/* ---------- footer, expanded ---------- */

.footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
.footer-col p.footer-head {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 14px;
}
.footer-legal {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px 32px;
  align-items: baseline;
}
.footer-legal p { margin: 0; font-size: 13.5px; line-height: 1.6; color: #8d8d8d; }
.footer-legal .entity { color: #a8a8a8; }
.footer-legal nav { flex-direction: row; gap: 22px; }
.footer-legal nav a { font-size: 13.5px; color: #c9c9c9; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-legal { flex-direction: column; }
}

/* ==========================================================================
   Hero headline
   Montserrat for the statement, Instrument Serif italic for the promise.
   The stroke under the second line draws itself once on load.
   ========================================================================== */

.hero-title { display: block; max-width: 21ch; }
.hero-line-1 { display: block; }
.hero-line-2 {
  display: inline-block;
  position: relative;
  padding-bottom: .12em;
  /* the drawn stroke spans the whole element, so the phrase must stay on
     one line or the stroke would underline only the last of them */
  white-space: nowrap;
}
@media (max-width: 380px) {
  .hero-line-2 { white-space: normal; }
  .hero-stroke { display: none; }
}
.hero-line-2 em {
  font-family: "Instrument Serif", Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  color: var(--brand);
  letter-spacing: -.01em;
  /* the serif runs optically smaller than Montserrat at the same size */
  font-size: 1.12em;
  line-height: 1;
}
.hero-stroke {
  position: absolute;
  left: 0;
  bottom: -.06em;
  width: 100%;
  height: .28em;
  color: var(--brand);
  overflow: visible;
  pointer-events: none;
}
.hero-stroke path {
  stroke-dasharray: 430;
  stroke-dashoffset: 430;
}
.js .hero-stroke path { animation: draw-stroke .9s cubic-bezier(.4, 0, .2, 1) .45s forwards; }
@keyframes draw-stroke { to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) {
  .hero-stroke path { stroke-dashoffset: 0; animation: none; }
}

/* ==========================================================================
   Stripe checkout, centered in the card
   ========================================================================== */

.stripe-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
stripe-buy-button { width: 100%; margin-inline: auto; }
.checkout-status { text-align: center; }

/* ==========================================================================
   Mobile refinements
   Most visitors arrive on a phone, so the small screen gets explicit attention
   rather than whatever the desktop rules happen to collapse into.
   ========================================================================== */

@media (max-width: 767px) {
  body { font-size: 16.5px; }

  /* headline needs room to breathe without dominating the fold */
  .hero-title { max-width: none; }
  h1 { font-size: clamp(34px, 9.2vw, 46px); }
  .hero-inner { padding-block: 40px 48px; }
  .hero .lede { margin-top: 20px; font-size: 17px; }
  .actions { margin-top: 26px; gap: 12px; flex-direction: column; align-items: stretch; }
  .actions .text-link { text-align: center; }

  /* one clear tap target per row, comfortably sized */
  .button { min-height: 52px; width: 100%; }
  .header nav .button { width: 100%; }
  .ways-row { padding: 16px 18px; }
  .ways-row .ways-meta { font-size: 14.5px; }

  /* the site plan is the most touch-sensitive element on the page */
  .plan-svg { border-radius: var(--radius); }
  .plan-tabs { gap: 7px; }
  .plan-tab { min-height: 44px; flex: 1 1 auto; }
  .plan-list li { padding-block: 13px; }

  /* accordions and FAQ rows need a full-width, finger-sized hit area */
  .faq summary { padding-block: 18px; min-height: 56px; align-items: center; }
  .service summary { min-height: 44px; }

  /* forms: 16px inputs prevent iOS zooming on focus */
  input, select, textarea { font-size: 16px; padding: 14px 13px; }
  label { margin-bottom: 16px; }
  form { padding: 22px 18px; }

  .section { padding-block: 52px; }
  .section-heading { margin-bottom: 28px; }
  .legal-body table { font-size: 14.5px; }
  .page-head-inner { padding-block: 36px 26px; }
}

@media (max-width: 460px) {
  h1 { font-size: clamp(31px, 8.8vw, 40px); }
  .hero-line-2 em { font-size: 1.08em; }
  h2 { font-size: clamp(26px, 7.4vw, 34px); }
  .price strong { font-size: 50px; }
  .scope-strip .wrap { padding-block: 16px; }
  .scope-strip span { font-size: 13.5px; }
  .news-item { padding-block: 24px; }
  .plan-tab { flex: 1 1 100%; }
}

/* pointer-coarse devices get larger targets regardless of viewport width */
@media (pointer: coarse) {
  .header nav a { padding-block: 13px; }
  .text-link, .light-link { padding-block: 10px; }
  footer nav a { padding-block: 4px; }
  .zone { touch-action: manipulation; }
}
