/* Boardwalk Inc. website · Navy and White
   Colours are taken from the Boardwalk logo: --navy is the logo navy, --brand is the lightning-bolt blue,
   --accent is a lighter tint of that blue for text and markers on the dark ground. */

:root {
  --navy: #00112F;
  --navy-2: #061B42;
  --navy-3: #0A2350;
  --input: #000B21;
  --sheet: #123068;
  --sheet-top: #1A4390;

  --text: #EEF1F6;
  --text-strong: #FFFFFF;
  --muted: #AEBBD6;
  --muted-2: #C9D4E8;
  --dim: #8A9BC0;
  --dim-2: #93A4C6;
  --dim-3: #7F90B3;
  --line: rgba(255, 255, 255, 0.10);
  --line-soft: rgba(255, 255, 255, 0.08);

  --accent: #7AABFF;
  --on-accent: #00112F;
  --brand: #0049C5;
  --on-brand: #FFFFFF;

  --font-sans: Archivo, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;
  --pad-x: clamp(20px, 5vw, 72px);
  --radius: 6px;
}

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

body {
  margin: 0;
  background: var(--navy);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: #B9D9FF; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.wrap { max-width: 1440px; margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }
.skip-link { position: absolute; left: -999px; top: 8px; padding: 8px 12px; background: var(--accent); color: var(--on-accent); border-radius: var(--radius); z-index: 50; }
.skip-link:focus { left: 8px; }

/* Type */
.eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin: 0; }
h1, h2, h3 { color: var(--text-strong); margin: 0; text-wrap: balance; }
h1 { font-size: clamp(42px, 5.2vw, 76px); line-height: 1.02; font-weight: 700; letter-spacing: -0.03em; }
h2 { font-size: clamp(30px, 3.4vw, 48px); line-height: 1.06; font-weight: 700; letter-spacing: -0.025em; }
h3 { font-size: clamp(20px, 1.6vw, 24px); line-height: 1.2; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }
.lede { font-size: clamp(17px, 1.4vw, 21px); line-height: 1.5; color: var(--muted); max-width: 520px; }
.muted { color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 26px; border-radius: var(--radius); font-size: 16px; font-weight: 600; line-height: 1; border: 1px solid transparent; cursor: pointer; font-family: inherit; white-space: nowrap; transition: filter 120ms, transform 120ms, border-color 120ms; }
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { color: var(--on-accent); filter: brightness(1.06); }
.btn-brand { background: var(--brand); color: var(--on-brand); }
.btn-brand:hover { color: var(--on-brand); filter: brightness(1.12); }
.btn-ghost { background: transparent; color: var(--text-strong); border-color: rgba(255, 255, 255, 0.22); }
.btn-ghost:hover { color: var(--text-strong); border-color: rgba(255, 255, 255, 0.45); }
.btn-inverse { background: var(--on-brand); color: var(--brand); }
.btn-inverse:hover { color: var(--brand); filter: brightness(0.96); }
.btn-small { padding: 12px 20px; font-size: 14px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line-soft); position: relative; z-index: 10; background: var(--navy); }
.nav { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.wordmark { display: flex; align-items: center; gap: 12px; color: var(--text-strong); font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.wordmark:hover { color: var(--text-strong); }
.wordmark img { display: block; }
.nav-links { display: flex; align-items: center; gap: 32px; margin: 0; padding: 0; list-style: none; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--muted-2); }
.nav-links a:hover { color: var(--text-strong); }
.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; background: transparent; border: 0; color: var(--muted-2); cursor: pointer; border-radius: var(--radius); }
.nav-right { display: flex; align-items: center; gap: 10px; }

/* Hero */
.hero { padding: clamp(56px, 7vw, 104px) 0 clamp(40px, 5vw, 72px); background-image: radial-gradient(720px 480px at 88% 40%, rgba(122, 171, 255, 0.18), transparent 70%), linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px); background-size: auto, 48px 48px, 48px 48px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 64px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.hero-proof { font-size: 14px; line-height: 1.5; color: var(--dim); max-width: 480px; }
.hero-art { display: flex; justify-content: flex-end; }
.schematic { width: min(616px, 100%); border-radius: 12px; background-color: var(--navy-2); border: 1px solid var(--line); background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px); background-size: 20px 20px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6); }
.schematic svg { display: block; width: 100%; height: auto; }
.schematic .acc-stroke { stroke: var(--accent); }
.schematic .acc-fill { fill: var(--accent); }
.schematic .navy-fill { fill: var(--navy); }
.schematic .navy-stroke { stroke: var(--navy); }
.schematic .sheet-fill { fill: var(--sheet); }
.schematic .sheet-top { fill: var(--sheet-top); }
.schematic .t-dim { fill: var(--dim-2); }
.schematic .t-dim3 { fill: var(--dim-3); }
.schematic text { font-family: var(--font-mono); }
.schematic .flow { animation: dash 1.4s linear infinite; }
.schematic .node { animation: rise 0.7s ease-out both; }
.schematic .n1 { animation-delay: 0.1s; }
.schematic .n2 { animation-delay: 0.35s; }
.schematic .n3 { animation-delay: 0.6s; }
.schematic .n4 { animation-delay: 0.85s; }
@keyframes dash { to { stroke-dashoffset: -16; } }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Proof strip */
.proof { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: var(--navy-2); }
.proof-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-top: 36px; padding-bottom: 36px; align-items: start; }
.stat { display: flex; flex-direction: column; gap: 6px; padding-left: 20px; border-left: 2px solid var(--accent); }
.stat-num { font-size: clamp(34px, 3.2vw, 46px); line-height: 1; font-weight: 700; letter-spacing: -0.03em; color: var(--text-strong); font-variant-numeric: tabular-nums; }
.stat-label { font-size: 14px; line-height: 1.4; color: var(--muted); }
.proof-note { grid-column: 1 / -1; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim-3); }

/* Sections */
.section { padding: clamp(56px, 6.6vw, 96px) 0; border-top: 1px solid var(--line-soft); }
.section-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: clamp(32px, 4vw, 56px); max-width: 720px; }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.step { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: 12px; background: var(--navy-3); border: 1px solid var(--line-soft); transition: transform 160ms, border-color 160ms; }
.step:hover { transform: translateY(-3px); border-color: rgba(122, 171, 255, 0.4); }
.step-num { position: absolute; top: 20px; right: 24px; font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.12em; color: var(--accent); }
.step svg { display: block; color: var(--accent); }
.step h3 { font-size: 24px; }
.step p { font-size: 16px; color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; gap: 12px; padding: 32px; border-radius: 12px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent); transition: transform 160ms, border-color 160ms; }
.card:hover { transform: translateY(-3px); border-color: rgba(122, 171, 255, 0.4); }
.marker { width: 14px; height: 14px; background: var(--accent); margin-bottom: 6px; }
.card h3 { font-size: 24px; }
.card p { font-size: 16px; color: var(--muted); }

.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.product-copy { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.product-copy p:not(.eyebrow) { font-size: 18px; color: var(--muted); max-width: 560px; }
.supported { display: flex; flex-direction: column; gap: 18px; padding: 32px; border-radius: 12px; border: 1px solid var(--line); }
.supported .eyebrow { color: var(--dim); }
.supported ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; margin: 0; padding: 0; list-style: none; }
.supported li { font-size: 16px; font-weight: 600; color: #E3E8F0; }

.faq-wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.faq-wrap .section-head { margin-bottom: 0; }
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; font-size: 20px; font-weight: 600; color: var(--text-strong); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg); transition: transform 160ms; margin-right: 6px; }
.faq details[open] summary::after { transform: rotate(225deg); }
.faq details p { padding: 0 0 22px; font-size: 17px; color: var(--muted); max-width: 640px; }

.cta { margin: 0 var(--pad-x) 80px; padding: clamp(40px, 5vw, 72px); border-radius: 14px; background: var(--brand); color: var(--on-brand); display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 48px; align-items: center; max-width: calc(1440px - 2 * var(--pad-x)); }
@media (min-width: 1440px) { .cta { margin-left: auto; margin-right: auto; } }
.cta h2 { color: inherit; }
.cta p { font-size: 20px; opacity: 0.85; margin-top: 12px; }
.cta .btn { white-space: nowrap; padding: 18px 30px; font-size: 16px; }

.site-footer { margin-top: auto; padding: 32px 0; border-top: 1px solid var(--line-soft); }
.site-footer .row { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--dim); }
.site-footer a { color: var(--dim); }
.site-footer a:hover { color: var(--text-strong); }

/* Contact page */
.contact { padding: clamp(56px, 6.6vw, 96px) 0 88px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 96px; align-items: start; background-image: radial-gradient(720px 480px at 90% 10%, rgba(122, 171, 255, 0.18), transparent 70%), linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px); background-size: auto, 48px 48px, 48px 48px; }
.contact-copy { display: flex; flex-direction: column; gap: 28px; }
.contact-copy h1 { font-size: clamp(34px, 3.9vw, 56px); letter-spacing: -0.025em; }
.contact-copy .lede { max-width: 600px; }
.form { display: flex; flex-direction: column; gap: 20px; margin-top: 8px; }
.row-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 13px; font-weight: 600; letter-spacing: 0.02em; color: var(--muted-2); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 16px; border-radius: var(--radius); background: var(--input); border: 1px solid rgba(255, 255, 255, 0.14); color: var(--text); font: inherit; font-size: 16px; }
.field input::placeholder, .field textarea::placeholder { color: var(--dim-3); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none' stroke='%237F90B3' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 44px; }
.field textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); outline: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 4px; }
.form-note { font-size: 14px; color: var(--dim); }
.form-status { font-size: 15px; color: var(--text-strong); min-height: 1.5em; }
.form-status.is-error { color: #FFB4B4; }
.contact-card { display: flex; flex-direction: column; gap: 24px; padding: 40px; border-radius: 12px; background: var(--navy-3); border: 1px solid var(--line); margin-top: 60px; }
.contact-card .eyebrow { color: var(--dim); }
.contact-card dl { margin: 0; display: flex; flex-direction: column; gap: 20px; }
.contact-card dt { font-size: 13px; font-weight: 600; color: var(--muted-2); margin-bottom: 4px; }
.contact-card dd { margin: 0; font-size: 18px; line-height: 1.5; color: var(--text); }
.contact-card dd.big { font-size: 22px; font-weight: 600; }
.contact-card hr { border: 0; height: 1px; background: var(--line); margin: 0; }
.contact-card p:not(.eyebrow) { font-size: 16px; color: var(--muted); }

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { justify-content: flex-start; }
  .proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards { grid-template-columns: 1fr; }
  .product { grid-template-columns: 1fr; gap: 40px; }
  .faq-wrap { grid-template-columns: 1fr; gap: 32px; }
  .contact { grid-template-columns: 1fr; gap: 40px; }
  .contact-card { margin-top: 0; }
}
@media (max-width: 900px) {
  .nav { height: 72px; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 72px; flex-direction: column; align-items: stretch; gap: 0; background: var(--navy-2); border-bottom: 1px solid var(--line); padding: 8px 0; }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: 14px var(--pad-x); }
  .nav-toggle { display: inline-flex; }
  .cta { grid-template-columns: 1fr; gap: 24px; margin-bottom: 56px; }
  .cta .btn { justify-self: start; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .steps { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .stat-num { font-size: 32px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .row-2 { grid-template-columns: 1fr; }
  .supported ul { grid-template-columns: 1fr; }
  .supported, .contact-card, .card, .step { padding: 24px; }
  .site-footer .row { flex-direction: column; align-items: flex-start; }
  .cta .btn { width: 100%; }
  .faq summary { font-size: 18px; }
}
