/* ============================================================
   Harborframe Systems — agency one-pager styles
   Standalone: this folder deploys as its own Cloudflare Pages site.
   ============================================================ */

:root {
  --navy-950: #0b1f2d;
  --navy-900: #102a3c;
  --navy-800: #163850;   /* primary dark */
  --navy-700: #1d4a68;
  --navy-600: #2a5f82;
  --steel-500: #5b87a0;
  --steel-100: #dbe7ee;

  --amber-600: #cf9232;
  --amber-500: #e8a944;  /* accent */
  --amber-100: #f8e9cd;

  --paper: #f7f9fa;
  --paper-2: #eef2f4;
  --ink: #16232c;
  --body: #33454f;
  --muted: #61747f;
  --line: #dde5e9;
  --white: #ffffff;
  --ok: #2f9e6b;

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(11,31,45,.06), 0 1px 3px rgba(11,31,45,.08);
  --shadow: 0 6px 18px rgba(11,31,45,.09), 0 2px 6px rgba(11,31,45,.06);
  --shadow-lg: 0 20px 45px rgba(11,31,45,.16);

  --container: 1080px;
  --gutter: clamp(16px, 4vw, 28px);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
[id] { scroll-margin-top: calc(var(--header-h) + 12px); } /* anchors clear the sticky header */
body {
  margin: 0; font-family: var(--font-sans); color: var(--body); background: var(--paper);
  line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--navy-700); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0 0 .4em; font-weight: 750; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5.4vw, 3.3rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); }
h3 { font-size: 1.18rem; }
p { margin: 0 0 1rem; }

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

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding: clamp(48px, 8vw, 92px) 0; }
.section--tight { padding: clamp(30px, 5vw, 52px) 0; }
.section--tint { background: var(--paper-2); }
.section--navy { background: var(--navy-900); color: var(--steel-100); }
.section--navy h2, .section--navy h3 { color: #fff; }

.eyebrow { display: inline-block; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; font-size: .74rem; color: #8a6425; margin-bottom: .8rem; }
.section--navy .eyebrow { color: var(--amber-500); }
.lead { font-size: clamp(1.05rem, 2vw, 1.2rem); }
.section-head { max-width: 660px; margin-bottom: clamp(22px, 4vw, 40px); }
.section-head.center { margin-inline: auto; text-align: center; }
.muted { color: var(--muted); }
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }

.skip-link { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--navy-900); color: #fff; padding: 10px 16px; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--amber-500); outline-offset: 2px; border-radius: 4px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; font-weight: 700;
  font-size: 1rem; line-height: 1; padding: 14px 24px; border-radius: var(--r-pill);
  border: 1.5px solid transparent; cursor: pointer; min-height: 48px; text-decoration: none;
  transition: transform .12s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--navy-800); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--navy-950); color: #fff; }
.btn-amber { background: var(--amber-500); color: #2a1f08; }
.btn-amber:hover { background: var(--amber-600); }
.btn-outline { background: transparent; color: var(--navy-800); border-color: var(--navy-700); }
.btn-outline:hover { background: var(--navy-800); color: #fff; }
.on-navy.btn-outline { color: #fff; border-color: rgba(255,255,255,.55); }
.on-navy.btn-outline:hover { background: #fff; color: var(--navy-900); }
.btn-lg { padding: 16px 30px; font-size: 1.06rem; }
.btn-block { display: flex; width: 100%; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(247,249,250,.88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.12rem; color: var(--ink); letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; }
.brand small { display: block; font-weight: 600; font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-right .nav-email { font-size: .92rem; color: var(--muted); }
@media (max-width: 720px) { .nav-right .nav-email { display: none; } }
@media (max-width: 420px) { .nav-right .btn { font-size: .9rem; padding: 9px 14px; white-space: nowrap; } }

/* Hero */
.hero { background: linear-gradient(165deg, var(--navy-900) 0%, var(--navy-800) 60%, var(--navy-700) 100%); color: var(--steel-100); position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(1000px 380px at 85% -10%, rgba(232,169,68,.16), transparent 60%); }
.hero-inner { position: relative; z-index: 1; padding-block: clamp(52px, 8vw, 104px); max-width: 720px; }
.hero h1 { color: #fff; }
.hero .lead { color: #c4d6e0; max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 14px 26px; margin-top: 30px; font-size: .93rem; color: #b7cdd9; }
.hero-points span { display: inline-flex; align-items: center; gap: 8px; }
.hero-points svg { width: 17px; height: 17px; color: var(--amber-500); }

.price-tag { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 10px; row-gap: 4px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: var(--r); padding: 10px 18px; margin-top: 26px; }
.price-tag .big { font-size: 1.5rem; font-weight: 800; color: #fff; }
.price-tag .per { color: #b7cdd9; font-size: .95rem; }

/* Cards / grids */
.grid { display: grid; gap: clamp(14px, 3vw, 24px); }
.cols-2 { grid-template-columns: 1fr 1fr; }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 880px) { .cols-3 { grid-template-columns: 1fr; } .cols-2 { grid-template-columns: 1fr; } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: clamp(20px, 3vw, 28px); }

.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.check-list li { display: flex; gap: 11px; align-items: flex-start; }
.check-list svg { flex: none; width: 21px; height: 21px; color: var(--ok); margin-top: 3px; }
.check-list.amber svg { color: var(--amber-600); }

.who-item { display: flex; gap: 12px; align-items: flex-start; }
.who-item svg { flex: none; width: 22px; height: 22px; color: var(--amber-600); margin-top: 3px; }
.who-item p { margin: 0; }

/* Steps (never zero out padding here — .card supplies it) */
.step { position: relative; }
.step .n { width: 42px; height: 42px; border-radius: 50%; background: var(--navy-800); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 1.1rem; margin-bottom: 12px; }
.step h3 { margin-bottom: 4px; }
.step p { margin: 0; color: var(--muted); font-size: .96rem; }

/* Pricing panel */
.pricing { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(16px, 3vw, 28px); align-items: start; }
@media (max-width: 880px) { .pricing { grid-template-columns: 1fr; } }
.price-card { background: var(--white); border: 2px solid var(--navy-800); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
.price-card .pc-head { background: var(--navy-800); color: #fff; padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.price-card .pc-head h3 { color: #fff; margin: 0; }
.price-card .pc-body { padding: 22px 24px; }
.price-line { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price-line .amt { font-size: 2.3rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.price-line .unit { color: var(--muted); }
.founding { background: var(--amber-100); color: #7a5716; border: 1px solid var(--amber-500); border-radius: var(--r-pill); font-size: .78rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 4px 12px; }

/* Ownership callout */
.own-callout { background: var(--white); border: 1px solid var(--line); border-left: 5px solid var(--amber-500); border-radius: var(--r); padding: 22px 26px; box-shadow: var(--shadow-sm); }
.own-callout h3 { margin-top: 0; }
.own-callout p:last-child { margin-bottom: 0; }

/* Forms */
.field { margin-bottom: 15px; }
.field label { display: block; font-weight: 700; font-size: .9rem; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--white);
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 100px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-600); box-shadow: 0 0 0 3px rgba(42,95,130,.14); }
.field .help { font-size: .83rem; color: var(--muted); margin-top: 5px; }

/* FAQ */
details.faq { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 0; margin-bottom: 10px; box-shadow: var(--shadow-sm); }
details.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); padding: 16px 20px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; font-size: 1.3rem; color: var(--muted); flex: none; }
details.faq[open] summary::after { content: "–"; }
details.faq .faq-body { padding: 0 20px 16px; color: var(--body); }

/* Footer */
.site-footer { background: var(--navy-950); color: #9db4c0; padding: 36px 0; font-size: .92rem; }
.site-footer .inner { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; }
.site-footer a { color: #cfdde5; }
.site-footer .brand { color: #fff; }
.site-footer .brand small { color: #7e97a5; }
