/* Soft Coast LLC public site — navy, teal, gold. Shared with portal tokens. */

:root {
  --navy: #0b3a4f;
  --navy-deep: #072838;
  --teal: #1e6e80;
  --teal-ink: #14515f;
  --teal-tint: #e4f3f5;
  --gold: #b89c6a;
  --gold-ink: #6e572e;
  --gold-tint: #f3ead8;
  --sand: #d4e0e4;
  --paper: #eef3f5;
  --surface: #f7fbfc;
  --ink: #0b3a4f;
  --ink-dim: #3d5661;
  --ink-faint: #3f5863;
  --line: #c5d2d7;
  --bg: #e8eef1;

  /* Legacy aliases so leftover markup cannot fall back to purple-blue. */
  --dusk: var(--gold);
  --dusk-ink: var(--gold-ink);
  --dusk-tint: var(--gold-tint);
  --coral: #9a5348;
  --coral-ink: #6e332c;
  --coral-tint: #f3e4e0;
  --sun: var(--gold);
  --sun-ink: var(--gold-ink);
  --sun-tint: var(--gold-tint);
  --tint: #efe8db;
  --tint-2: var(--gold-tint);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

::selection {
  background: var(--gold);
  color: var(--navy);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Plus Jakarta Sans", ui-sans-serif, sans-serif;
  font-weight: 750;
  letter-spacing: -0.03em;
  text-wrap: balance;
  margin: 0;
  color: var(--navy);
}

h1 { letter-spacing: -0.035em; }
p { margin: 0; }
a { color: inherit; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }

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

/* ---------------- buttons ---------------- */

.btn {
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 22px;
  border-radius: 4px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--navy);
  color: #fff;
}
.btn-primary:hover { background: var(--teal); }

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
}
.btn-ghost:hover { background: var(--navy); color: #fff; }

.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--teal); }

.btn-white,
.btn-gold {
  background: var(--gold);
  color: var(--navy);
}
.btn-white:hover,
.btn-gold:hover { background: #c9b07c; }

.link-arrow {
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--teal-ink);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.15s ease; }
.link-arrow:hover svg { transform: translateX(3px); }

.btn-sm { padding: 10px 16px; font-size: 13px; }

.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;
}

/* ---------------- nav ---------------- */

.site-header,
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  background: var(--navy);
  color: #f4efe6;
  border-bottom: 1px solid rgba(184, 156, 106, 0.35);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
  font-size: 17px;
  text-decoration: none;
  color: #fff;
}

.brand .mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: block;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--surface);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(244, 239, 230, 0.78);
}
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: #fff; }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-actions .link-arrow { display: none; }
.nav-actions .btn-ghost {
  border-color: rgba(244, 239, 230, 0.45);
  color: #f4efe6;
}
.nav-actions .btn-ghost:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.nav-actions .btn-dark { background: var(--gold); color: var(--navy); }
.nav-actions .btn-dark:hover { background: #c9b07c; }

@media (max-width: 780px) {
  .nav-links { display: none; }
  .nav-actions .btn-ghost { display: none; }
  .nav-actions .btn-dark { padding: 10px 14px; }
}

/* ---------------- mega menu ---------------- */

.nav-item { position: relative; }

.nav-trigger {
  appearance: none; border: none; background: transparent; cursor: pointer;
  font: inherit; font-size: 14px; font-weight: 600; color: rgba(244, 239, 230, 0.78);
  display: inline-flex; align-items: center; gap: 5px; padding: 0;
}
.nav-trigger:hover { color: #fff; }
.nav-trigger .chevron { width: 14px; height: 14px; transition: transform 0.15s ease; }
.nav-item.open .nav-trigger { color: #fff; }
.nav-item.open .nav-trigger .chevron { transform: rotate(180deg); }

.mega-panel {
  position: absolute; top: calc(100% + 16px); left: 50%;
  transform: translate(-50%, -6px);
  width: min(560px, 90vw);
  background: var(--surface);
  color: var(--navy);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 18px 40px -24px rgba(7, 40, 56, 0.45);
  padding: 22px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 60;
}
.mega-panel-narrow { width: min(220px, 90vw); }

.nav-item.open .mega-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mega-grid-single { grid-template-columns: 1fr; }

.mega-col { display: flex; flex-direction: column; gap: 3px; }
.mega-col h6 {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-ink);
  margin: 0 0 8px;
}
.mega-col a {
  font-size: 14px; font-weight: 600; color: var(--ink-dim); text-decoration: none;
  padding: 7px 8px; margin: 0 -8px; border-radius: 3px;
}
.mega-col a:hover { background: var(--teal-tint); color: var(--navy); }

.mega-feature {
  background: var(--paper);
  border-radius: 4px;
  padding: 16px;
  justify-content: flex-start;
  gap: 10px;
}
.mega-feature p { font-size: 13px; color: var(--ink-dim); margin: 0; }
.mega-feature .btn { margin-top: 8px; align-self: flex-start; }

@media (max-width: 780px) {
  .mega-panel { display: none; }
}

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

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 28px;
  background:
    linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 58%, #0e4a5c 100%);
  color: #f4efe6;
}

.hero h1,
.hero .lede,
.chip-row-label { color: #f4efe6; }

.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 48px;
  align-items: end;
}

.hero-inner,
.hero-copy { position: relative; z-index: 1; }

.hero h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  line-height: 1.02;
  max-width: 13ch;
  color: #fff;
}

.hero h1 em,
.hero h1 .grad {
  font-style: normal;
  color: var(--gold);
  background: none;
}

.hero p.lede {
  margin: 22px 0 0;
  max-width: 38ch;
  font-size: 1.12rem;
  color: rgba(244, 239, 230, 0.82);
}

.hero-actions { margin-top: 32px; display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.hero-actions .btn-primary { background: var(--gold); color: var(--navy); }
.hero-actions .btn-primary:hover { background: #c9b07c; }
.hero-actions .link-arrow { color: #f4efe6; }

.chip-row {
  margin-top: 40px;
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
}

.chip {
  font-size: 12.5px; font-weight: 600; color: #f4efe6;
  background: transparent; border: 1px solid rgba(244, 239, 230, 0.28);
  padding: 6px 12px; border-radius: 999px;
}

.chip-row-label { font-size: 12px; color: rgba(244, 239, 230, 0.55); font-weight: 600; margin-right: 4px; }

@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding: 56px 0 8px; }
}

/* ---------------- product mockup ---------------- */

.mock-shell {
  position: relative;
  background: var(--surface);
  border-radius: 6px 6px 0 0;
  border: 1px solid rgba(232, 223, 208, 0.22);
  border-bottom: none;
  box-shadow: 0 28px 50px -28px rgba(3, 16, 24, 0.55);
  overflow: hidden;
  color: var(--navy);
}

.mock-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #efe8db; }
.mock-bar span { width: 8px; height: 8px; border-radius: 999px; background: #c9bba6; }
.mock-bar .url { margin-left: 10px; font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 11px; color: var(--ink-faint); }

.mock-body { display: flex; background: var(--surface); }
.mock-side { width: 158px; flex-shrink: 0; border-right: 1px solid var(--line); padding: 16px 12px; display: none; }
.mock-side .item { font-size: 12.5px; font-weight: 600; color: var(--ink-dim); padding: 8px 10px; margin-bottom: 2px; }
.mock-side .item.active { background: var(--navy); color: #fff; }

@media (min-width: 640px) { .mock-side { display: block; } }

.mock-main { flex: 1; padding: 20px; }
.mock-main h4 { font-size: 14px; font-weight: 750; margin-bottom: 14px; }

.mock-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 16px; }
@media (max-width: 640px) { .mock-tiles { grid-template-columns: repeat(2, 1fr); } }

.mock-tile { border-radius: 3px; padding: 12px; background: var(--paper); color: var(--navy); }
.mock-tile .label { font-size: 10px; font-weight: 700; letter-spacing: 0.06em; opacity: 0.7; }
.mock-tile .value { font-size: 20px; font-weight: 750; margin-top: 6px; }

.mock-tile.teal { background: var(--teal-tint); color: var(--teal-ink); }
.mock-tile.coral,
.mock-tile.sun,
.mock-tile.dusk { background: var(--gold-tint); color: var(--gold-ink); }

.mock-chart { display: flex; align-items: flex-end; gap: 8px; height: 84px; padding: 12px; border: 1px solid var(--line); }
.mock-chart i { flex: 1; background: var(--teal); opacity: 0.9; }
.mock-chart i:nth-child(2n) { background: var(--navy); opacity: 0.85; }
.mock-chart i:nth-child(3n) { background: var(--gold); }

/* ---------------- reveal ---------------- */

[data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity 0.5s ease, transform 0.5s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { transition: none; transform: none; opacity: 1; }
  html { scroll-behavior: auto; }
}

/* ---------------- stats ---------------- */

.stats-band { background: var(--navy-deep); padding: 48px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 760px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
.stat b { display: block; font-size: clamp(1.8rem, 3.2vw, 2.3rem); font-weight: 750; color: var(--gold); }
.stat .teal-text,
.stat .coral-text,
.stat .sun-text,
.stat .dusk-text { color: var(--gold); }
.stat span.lbl { display: block; margin-top: 6px; font-size: 13px; color: rgba(244,239,230,0.68); font-weight: 600; }

/* ---------------- section shell ---------------- */

.band { padding: 88px 0; }
.band-tint { background: var(--tint); }

.section-head { max-width: 36rem; margin: 0 0 48px; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.section-head p { margin-top: 14px; color: var(--ink-dim); font-size: 1.05rem; max-width: 48ch; }

/* ---------------- features ---------------- */

.feature-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
  padding: 56px 0;
}
.feature-row:not(:last-child) { border-bottom: 1px solid var(--line); }
.feature-row.reverse .feature-visual { order: 2; }

@media (max-width: 860px) {
  .feature-row, .feature-row.reverse .feature-visual { order: 0; }
  .feature-row { grid-template-columns: 1fr; }
}

.badge-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  background: var(--navy);
  color: var(--gold);
}
.badge-icon svg { width: 22px; height: 22px; }
.badge-icon.teal,
.badge-icon.coral { background: var(--navy); color: var(--gold); }

.feature-copy h3 { font-size: 1.7rem; margin: 0 0 14px; }
.feature-copy > p { color: var(--ink-dim); font-size: 1.02rem; margin-bottom: 22px; max-width: 46ch; }

.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.checklist li { display: flex; gap: 10px; font-size: 15px; color: var(--ink); font-weight: 500; }
.checklist .tick {
  flex-shrink: 0; width: 18px; height: 18px;
  display: flex; align-items: center; justify-content: center;
  color: var(--teal-ink);
}
.checklist .tick svg { width: 14px; height: 14px; }

.feature-visual {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 24px;
}

.platform-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.platform-pill {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 14px 8px; background: var(--paper);
  font-size: 12px; font-weight: 700; color: var(--ink-dim);
}
.platform-pill svg { width: 20px; height: 20px; color: var(--navy); }
.platform-pill.on { background: var(--navy); color: #fff; }
.platform-pill.on svg { color: var(--gold); }
.platform-pill .dot { width: 5px; height: 5px; border-radius: 999px; background: currentColor; }

/* ---------------- catalog (also-available services) ---------------- */

.more-services { margin-top: 72px; padding-top: 56px; border-top: 1px solid var(--line); }

.catalog,
.mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
@media (max-width: 700px) {
  .catalog, .mini-grid { grid-template-columns: 1fr; }
}

.catalog-row,
.mini-card {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 22px 20px 22px 0;
}

.catalog-row:nth-child(odd),
.mini-card:nth-child(odd) { padding-right: 28px; }
.catalog-row:nth-child(even),
.mini-card:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line); }

@media (max-width: 700px) {
  .catalog-row:nth-child(odd),
  .catalog-row:nth-child(even),
  .mini-card:nth-child(odd),
  .mini-card:nth-child(even) { padding: 20px 0; border-left: none; }
}

.mini-icon { display: none; }
.catalog-row h4,
.mini-card h3,
.mini-card h4 { font-size: 1.05rem; font-weight: 750; margin-bottom: 8px; }
.catalog-row p,
.mini-card p { font-size: 14.5px; color: var(--ink-dim); max-width: 42ch; }

/* ---------------- process ---------------- */

.process-rail,
.process-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  counter-reset: step;
}
@media (max-width: 860px) {
  .process-rail, .process-grid { grid-template-columns: 1fr; }
}

.process-step,
.process-card {
  background: transparent;
  border: none;
  padding: 8px 32px 8px 0;
  position: relative;
}
.process-step + .process-step,
.process-card + .process-card { border-left: 1px solid var(--line); padding-left: 32px; }
@media (max-width: 860px) {
  .process-step + .process-step,
  .process-card + .process-card { border-left: none; border-top: 1px solid var(--line); padding: 28px 0 0; margin-top: 28px; }
}

.process-card::before { display: none; }

.process-step .step-num,
.process-card .step-num {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-weight: 600;
  font-size: 12px;
  color: var(--gold-ink);
  margin-bottom: 12px;
  display: block;
}

.process-step h3,
.process-card h3 { font-size: 1.35rem; margin-bottom: 10px; }
.process-step p,
.process-card p { color: var(--ink-dim); font-size: 15px; max-width: 36ch; }

/* ---------------- industries ---------------- */

.industry-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.industry-chip {
  font-size: 14px; font-weight: 650; padding: 10px 16px;
  border: 1px solid var(--line); background: transparent; color: var(--navy);
}
.industry-chip:nth-child(4n+1) { border-color: var(--teal); }
.industry-chip:nth-child(4n+2),
.industry-chip:nth-child(4n+3),
.industry-chip:nth-child(4n+4) { border-color: var(--line); }
.industry-chip:hover { border-color: var(--navy); }

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

.pricing-grid { display: grid; grid-template-columns: 1fr 1.08fr 1fr; gap: 18px; align-items: stretch; }
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; } }

.plan {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
}
.plan.featured {
  background: var(--navy);
  border-color: var(--navy);
  color: #f4efe6;
}
.plan.featured .tier,
.plan.featured .price,
.plan.featured li { color: #f4efe6; }
.plan.featured .price span,
.plan.featured .tier { color: var(--gold); }
.plan.featured .btn-primary { background: var(--gold); color: var(--navy); }

.ribbon {
  align-self: flex-start;
  background: var(--gold);
  color: var(--navy);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 10px;
  margin-bottom: 16px;
}

.plan .tier { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; color: var(--gold-ink); }
.plan .price { font-size: 2.5rem; font-weight: 750; margin: 10px 0 2px; }
.plan .price span { font-size: 0.95rem; font-weight: 500; color: var(--ink-faint); }
.plan ul { list-style: none; margin: 22px 0 28px; padding: 0; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.plan li { font-size: 14px; color: var(--ink-dim); }
.plan .btn { width: 100%; }

/* ---------------- final CTA ---------------- */

.cta-band {
  padding: 88px 0;
  background: var(--navy);
  color: #f4efe6;
}
.cta-card,
.cta-inner {
  max-width: 40rem;
  background: none;
  padding: 0;
  text-align: left;
  color: #f4efe6;
}
.cta-card h2,
.cta-inner h2 { color: #fff; font-size: clamp(2rem, 4vw, 2.8rem); max-width: 16ch; margin: 0 0 16px; }
.cta-card p,
.cta-inner p { color: rgba(244,239,230,0.78); max-width: 40ch; margin: 0 0 28px; }

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

footer {
  background: var(--navy-deep);
  color: rgba(244, 239, 230, 0.78);
  border-top: 1px solid rgba(184, 156, 106, 0.28);
  padding: 56px 0 28px;
}
footer .brand { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
@media (max-width: 700px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-brand p { color: rgba(244,239,230,0.68); margin-top: 12px; max-width: 34ch; font-size: 14px; }
.foot-col h5 { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.foot-col a { display: block; font-size: 14px; color: rgba(244,239,230,0.78); text-decoration: none; margin-bottom: 10px; }
.foot-col a:hover { color: #fff; }
.foot-bottom {
  border-top: 1px solid rgba(244,239,230,0.12);
  padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 13px; color: rgba(244,239,230,0.5);
}
.foot-bottom a { color: inherit; text-decoration: none; }
.foot-bottom a:hover { color: #fff; }

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

.page-header {
  background: var(--navy);
  color: #f4efe6;
  padding: 64px 0 52px;
}
.page-header .wrap { position: relative; z-index: 1; max-width: 40rem; }
.page-header h1 { font-size: clamp(2.2rem, 4.4vw, 3.2rem); margin: 0; color: #fff; }
.page-header p.lede { margin: 16px 0 0; max-width: 46ch; font-size: 1.08rem; color: rgba(244,239,230,0.78); }

.blob { display: none; }

/* ---------------- content grid (About) ---------------- */

.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
@media (max-width: 860px) { .content-grid { grid-template-columns: 1fr; } }
.content-grid p { color: var(--ink-dim); font-size: 1.02rem; margin-bottom: 16px; max-width: 48ch; }
.content-grid p:last-child { margin-bottom: 0; }

.value-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 0; margin-top: 56px; border-top: 1px solid var(--line); }
@media (max-width: 860px) { .value-grid { grid-template-columns: 1fr; } }
.value-grid .mini-card { padding: 28px 24px 28px 0; }
.value-grid .mini-card:not(:first-child) { padding-left: 28px; border-left: 1px solid var(--line); }
.value-grid .mini-card:first-child { background: var(--navy); color: #f4efe6; padding: 28px; margin-top: -1px; }
.value-grid .mini-card:first-child h3,
.value-grid .mini-card:first-child h4 { color: #fff; }
.value-grid .mini-card:first-child p { color: rgba(244,239,230,0.74); }
@media (max-width: 860px) {
  .value-grid .mini-card:not(:first-child) { border-left: none; padding-left: 0; }
}

/* ---------------- forms ---------------- */

.form-shell { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: flex-start; }
@media (max-width: 860px) { .form-shell { grid-template-columns: 1fr; } }

.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 32px;
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.form-grid .field.full { grid-column: 1 / -1; }

.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field:last-of-type { margin-bottom: 0; }
.field label { font-size: 13px; font-weight: 700; color: var(--navy); }

.field input, .field select, .field textarea {
  font: inherit; font-size: 15px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: 3px;
  padding: 11px 14px; width: 100%;
}
.field input[type="checkbox"],
.field input[type="radio"] {
  width: auto;
  height: auto;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-tint);
}
.field.hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }

.form-status { margin-top: 14px; font-size: 13.5px; color: var(--ink-dim); min-height: 1.2em; }

.info-card { background: var(--navy); color: #f4efe6; padding: 32px; }
.info-card h3 { font-size: 1.25rem; margin-bottom: 10px; color: #fff; }
.info-card p { color: rgba(244,239,230,0.74); margin-bottom: 20px; }
.info-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.info-list li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; font-weight: 600; }
.info-list a { text-decoration: none; color: #fff; }
.info-list a:hover { color: var(--gold); }

.pricing-note { margin-top: 40px; color: var(--ink-dim); font-size: 14.5px; }
.pricing-note a { color: var(--teal-ink); font-weight: 700; text-decoration: none; }
.pricing-note a:hover { text-decoration: underline; }

/* ---------------- problem / solution ---------------- */

.ps-grid { display: flex; flex-direction: column; gap: 0; max-width: 860px; border-top: 1px solid var(--line); }

.ps-row {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: start;
  background: transparent; border: none; border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
@media (max-width: 720px) {
  .ps-row { grid-template-columns: 1fr; }
  .ps-arrow { transform: rotate(90deg); justify-self: start; }
}

.ps-problem, .ps-solution { display: flex; align-items: flex-start; gap: 12px; }
.ps-problem p, .ps-solution p { font-size: 15px; font-weight: 500; margin: 0; }
.ps-problem p { color: var(--ink-dim); }
.ps-solution p { color: var(--navy); }

.ps-icon {
  flex-shrink: 0; width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
}
.ps-icon svg { width: 15px; height: 15px; }
.ps-x { color: var(--coral-ink); background: none; }
.ps-check { color: var(--teal-ink); background: none; }
.ps-arrow { color: var(--gold); flex-shrink: 0; padding-top: 2px; }
.ps-arrow svg { width: 18px; height: 18px; }

/* ---------------- FAQ ---------------- */

.faq-list { max-width: 720px; display: flex; flex-direction: column; }
.faq-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 0;
  border-radius: 0;
}

.faq-item summary {
  cursor: pointer; list-style: none;
  padding: 18px 0; font-weight: 700; font-size: 16px; color: var(--navy);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  flex-shrink: 0; width: 9px; height: 9px;
  border-right: 1.5px solid var(--navy); border-bottom: 1.5px solid var(--navy);
  transform: rotate(45deg);
}
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-item p { color: var(--ink-dim); font-size: 15px; padding: 0 0 18px; margin: 0; max-width: 58ch; }
.faq-item p a { color: var(--teal-ink); font-weight: 700; text-decoration: none; }
.faq-item p a:hover { text-decoration: underline; }

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

.foot-grid-fat { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; }
@media (max-width: 900px) { .foot-grid-fat { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .foot-grid-fat { grid-template-columns: 1fr; } }

.social-row { display: flex; gap: 10px; margin-top: 18px; }
.social-icon {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(244,239,230,0.22);
  color: #f4efe6;
}
.social-icon svg { width: 16px; height: 16px; }
.social-icon:hover { border-color: var(--gold); color: var(--gold); }

.foot-newsletter p { color: rgba(244,239,230,0.68); font-size: 13.5px; margin-bottom: 14px; }
.newsletter-row { display: flex; gap: 8px; }
.newsletter-row input {
  flex: 1; min-width: 0; font: inherit; font-size: 13.5px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(244,239,230,0.2);
  padding: 10px 14px; color: #fff; border-radius: 3px;
}
.newsletter-row input:focus {
  outline: none; border-color: var(--gold);
}
.foot-newsletter .form-status { color: rgba(244,239,230,0.55); }

/* ---------------------------------------------------------------------------
   Legal pages
--------------------------------------------------------------------------- */
.legal-meta {
  margin-top: 18px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 13px;
  color: rgba(244, 239, 230, 0.55);
}

.legal-body { max-width: 720px; }
.legal-body h2 {
  margin: 48px 0 14px;
  font-size: 26px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { margin: 30px 0 10px; font-size: 17px; font-weight: 700; color: var(--navy); }
.legal-body p { margin: 0 0 16px; font-size: 16px; line-height: 1.75; color: var(--ink-dim); }
.legal-body ul { margin: 0 0 18px; padding-left: 22px; }
.legal-body li { margin-bottom: 10px; font-size: 16px; line-height: 1.7; color: var(--ink-dim); }
.legal-body strong { color: var(--navy); font-weight: 650; }
.legal-body a { color: var(--teal-ink); text-decoration: underline; text-underline-offset: 2px; }
.legal-body a:hover { color: var(--navy); }

@media (max-width: 640px) {
  .legal-body h2 { font-size: 22px; margin-top: 38px; }
}

/* Eyebrows are retired; hide if any page still emits them. */
.eyebrow { display: none; }

/* ---------------- n8n workflow catalog ---------------- */

.wf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}
@media (max-width: 980px) { .wf-grid { grid-template-columns: 1fr; } }

.wf-card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.wf-kicker {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.wf-card h3 { font-size: 1.35rem; }
.wf-card > p { color: var(--ink-dim); font-size: 15px; max-width: 42ch; }
.wf-dl {
  margin: 4px 0 10px;
  display: flex;
  flex-direction: column;
  gap: 0;
  font-size: 13.5px;
}
.wf-dl dt {
  color: var(--ink-faint);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 12px 0 2px;
}
.wf-dl dt:first-child { margin-top: 0; }
.wf-dl dd { margin: 0; color: var(--navy); font-weight: 600; }
.wf-price-block { margin-top: auto; padding-top: 8px; }
.wf-price-block .price { font-size: 1.85rem; font-weight: 750; color: var(--navy); margin: 0; }
.wf-price-block .price span { font-size: 0.85rem; font-weight: 500; color: var(--ink-faint); }
.wf-price-note { font-size: 13px; color: var(--ink-dim); margin: 6px 0 14px; }
.wf-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.wf-actions .btn { flex: 1 1 140px; justify-content: center; }

.wf-split {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 48px;
  align-items: start;
}
.wf-split h2 { font-size: 1.7rem; }
.wf-split h3 { font-size: 1.05rem; }
.wf-split code {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.86em;
  background: var(--paper);
  padding: 1px 5px;
}
@media (max-width: 860px) { .wf-split { grid-template-columns: 1fr; } }

.wf-buy {
  background: var(--navy);
  color: #f4efe6;
  padding: 28px;
  position: sticky;
  top: 88px;
}
.wf-buy h3 { color: #fff; font-size: 1.2rem; margin-bottom: 14px; }
.wf-buy p, .wf-buy li { color: rgba(244,239,230,0.78); font-size: 14.5px; }
.wf-buy .price { color: #fff; font-size: 2rem; font-weight: 750; margin: 0 0 4px; }
.wf-buy .price span { font-size: 0.9rem; font-weight: 500; color: var(--gold); }
.wf-buy .wf-actions { margin-top: 18px; }
.wf-buy .btn-ghost {
  border-color: rgba(244,239,230,0.45);
  color: #f4efe6;
}
.wf-buy .btn-ghost:hover { background: rgba(255,255,255,0.08); color: #fff; }
.wf-buy .btn-primary { background: var(--gold); color: var(--navy); }
.wf-buy .btn-primary:hover { background: #c9b07c; }
.wf-buy-note { margin-top: 14px; font-size: 13px; color: rgba(244,239,230,0.62); }

.path-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 760px) { .path-grid { grid-template-columns: 1fr; } }
.path-card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 28px 24px;
}
.path-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.path-card p { color: var(--ink-dim); font-size: 15px; margin-bottom: 16px; }
.path-card .price { font-size: 1.6rem; font-weight: 750; margin: 0 0 14px; }

.need-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.need-list li {
  display: flex; gap: 10px; font-size: 15px; color: var(--ink); font-weight: 500;
}

.choice-list { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.choice {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  width: max-content;
  max-width: 100%;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}
.choice input { margin: 0; flex: 0 0 auto; accent-color: var(--navy); }

.form-success {
  background: var(--teal-tint);
  border: 1px solid var(--teal);
  padding: 28px 24px;
}
.form-success h3 { margin-bottom: 8px; }
.form-success p { color: var(--ink-dim); }
.is-hidden { display: none !important; }

.wf-crumb {
  font-size: 13px; font-weight: 600; color: rgba(244,239,230,0.62);
  margin-bottom: 14px;
}
.wf-crumb a { color: inherit; text-decoration: none; }
.wf-crumb a:hover { color: #fff; }

/* ---------------- blog ---------------- */

.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 36px;
}
.blog-filter {
  appearance: none;
  font: inherit;
  font-size: 13.5px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--navy);
  cursor: pointer;
}
.blog-filter:hover { border-color: var(--navy); }
.blog-filter.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.blog-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}
.blog-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}
.blog-card:hover h2 { color: var(--teal); }
.blog-card-kicker {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: 10px;
}
.blog-card h2 {
  font-size: 1.45rem;
  margin: 0 0 10px;
  max-width: 28ch;
}
.blog-card p {
  color: var(--ink-dim);
  font-size: 15.5px;
  max-width: 58ch;
  margin: 0;
}
.blog-card-meta {
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-faint);
}
.blog-empty {
  padding: 36px 0;
  color: var(--ink-dim);
}
.blog-status {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--coral-ink);
}

.blog-article { max-width: 720px; }
.blog-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 18px 0 0;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(244, 239, 230, 0.7);
}
.blog-article-meta .cat { color: var(--gold); }

.blog-body { max-width: 720px; }
.blog-body h2 {
  margin: 48px 0 14px;
  font-size: 26px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.blog-body h2:first-child { margin-top: 0; }
.blog-body h3 { margin: 30px 0 10px; font-size: 17px; font-weight: 700; }
.blog-body p { margin: 0 0 16px; font-size: 16.5px; line-height: 1.75; color: var(--ink-dim); }
.blog-body ul, .blog-body ol { margin: 0 0 18px; padding-left: 22px; }
.blog-body li { margin-bottom: 10px; font-size: 16.5px; line-height: 1.7; color: var(--ink-dim); }
.blog-body strong { color: var(--navy); font-weight: 650; }
.blog-body a { color: var(--teal-ink); text-decoration: underline; text-underline-offset: 2px; }
.blog-body a:hover { color: var(--navy); }

.blog-cta {
  margin-top: 48px;
  padding: 32px 28px;
  background: var(--navy);
  color: #f4efe6;
}
.blog-cta h2 { color: #fff; font-size: 1.45rem; margin: 0 0 10px; }
.blog-cta p { color: rgba(244, 239, 230, 0.78); margin: 0 0 22px; max-width: 46ch; }
.blog-cta .wf-actions { margin: 0; }
.blog-cta .btn-primary { background: var(--gold); color: var(--navy); }
.blog-cta .btn-primary:hover { background: #c9b07c; }
.blog-cta .btn-ghost {
  border-color: rgba(244, 239, 230, 0.45);
  color: #f4efe6;
}
.blog-cta .btn-ghost:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }

.nav-links a[aria-current="page"] { color: #fff; }

@media (max-width: 700px) {
  .blog-card { grid-template-columns: 1fr; gap: 10px; }
  .blog-body h2 { font-size: 22px; margin-top: 38px; }
}
