/* Promontora landing – styles. Tokens drive the whole system; re-theme here. */

:root {
  /* ground + surfaces */
  --abyss: #0A1A2B;
  --deep: #12283D;
  --deep-2: #163049;
  --deep-line: #1E3A52;
  /* accents – navy + antique gold, sampled from the logo (#00183C / #8C6C3C) */
  --beacon: #B98F46;
  --beacon-bright: #D6B05E;
  --beacon-ink: #241C0A;
  --gold-deep: #8C6C3C;
  --signal: #C2A056;
  --signal-ink: #6E5226;
  /* light neutrals */
  --fog: #F5F7FA;
  --mist: #E3E9F0;
  --cloud: #EAF1F8;
  --cloud-muted: #A8BACB;
  --slate: #33414F;
  --slate-muted: #5E7083;
  /* semantic risk ramp */
  --risk-calm: #35C9B5;
  --risk-elevated: #B98F46;
  --risk-critical: #E5544B;
  /* type */
  --font-display: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', monospace;
  /* shape + rhythm */
  --r-sm: 6px; --r-md: 10px; --r-lg: 16px;
  --container: 1140px;
  --pad: clamp(1.25rem, 4vw, 2rem);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--abyss);
  color: var(--cloud);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--beacon); text-decoration: none; }
a:hover { color: var(--beacon-bright); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.15; letter-spacing: -0.01em; color: #fff; }
h1 { font-size: clamp(2.25rem, 5.5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.35rem); }
h3 { font-size: 1.2rem; }
p { color: var(--cloud-muted); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: var(--pad); }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.eyebrow { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--signal); margin-bottom: 0.9rem; }
.lead { font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: var(--cloud-muted); max-width: 46ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

.skip { position: absolute; left: -999px; top: 0; background: var(--beacon); color: var(--beacon-ink); padding: 0.6rem 1rem; border-radius: var(--r-md); z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-body); font-weight: 500; font-size: 0.95rem; padding: 0.8rem 1.3rem; border-radius: var(--r-md); border: 1px solid transparent; cursor: pointer; transition: background .18s ease, border-color .18s ease, color .18s ease, transform .1s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--gold-deep); color: #fff; }
.btn-primary:hover { background: #9C7A3E; color: #fff; }
.btn-secondary { background: transparent; color: var(--cloud); border-color: var(--deep-line); }
.btn-secondary:hover { border-color: var(--beacon); color: #fff; }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(140, 108, 60, 0.5); }

/* coming-soon top bar (light) */
.topbar { background: var(--fog); border-bottom: 1px solid var(--mist); }
.topbar-in { display: flex; align-items: center; justify-content: center; gap: 0.7rem; padding-block: 0.5rem; flex-wrap: wrap; text-align: center; }
.topbar-pill { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; background: var(--beacon); color: var(--beacon-ink); padding: 3px 10px; border-radius: var(--r-sm); font-weight: 500; }
.topbar-txt { font-size: 0.85rem; color: var(--slate-muted); }
.topbar-txt a { color: var(--signal-ink); font-weight: 500; }

/* header / nav (light) */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.site-header.scrolled { border-bottom-color: var(--mist); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; }
.brand-logo { height: 44px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links a:not(.btn) { color: var(--slate-muted); font-size: 0.92rem; }
.nav-links a:not(.btn):hover { color: var(--abyss); }
.nav-toggle { display: none; background: none; border: 0; color: var(--slate); cursor: pointer; }

/* hero (dark) */
.hero { position: relative; overflow: hidden; padding-block: clamp(3.5rem, 9vw, 7rem);
  background-image:
    linear-gradient(to right, rgba(10, 26, 43, 0.95) 0%, rgba(10, 26, 43, 0.86) 38%, rgba(10, 26, 43, 0.58) 70%, rgba(10, 26, 43, 0.42) 100%),
    url("assets/hero-cargo.jpg");
  background-size: cover; background-position: center; background-repeat: no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(60% 50% at 78% 8%, rgba(185, 143, 70, 0.20), transparent 70%),
  radial-gradient(55% 45% at 12% 92%, rgba(214, 176, 94, 0.10), transparent 70%);
  pointer-events: none; }
.hero .container { position: relative; }
.hero h1 { max-width: 16ch; }
.hero .lead { margin-top: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.9rem; }
.tagline { margin-top: 2.2rem; font-family: var(--font-mono); font-size: 0.82rem; letter-spacing: 0.06em; color: var(--signal); }
.hero-credit { position: absolute; right: var(--pad); bottom: 0.7rem; margin: 0; z-index: 2; font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.02em; color: rgba(234, 241, 248, 0.5); }
.hero-credit a { color: rgba(234, 241, 248, 0.68); text-decoration: underline; text-underline-offset: 2px; }
.hero-credit a:hover { color: #fff; }

/* stats band */
.band-dark { background: var(--deep); border-block: 1px solid var(--deep-line); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.stat .num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 4vw, 2.8rem); color: var(--beacon); line-height: 1; }
.stat .num.teal { color: var(--signal); }
.stat p { margin-top: 0.5rem; color: var(--cloud-muted); font-size: 0.98rem; }
.footnote { margin-top: 2rem; font-size: 0.78rem; color: var(--slate-muted); }

/* light sections */
.band-light { background: var(--fog); color: var(--slate); }
.band-light h2 { color: var(--abyss); }
.band-light .eyebrow { color: var(--signal-ink); }
.band-light p { color: var(--slate); }
.band-light .muted { color: var(--slate-muted); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; margin-top: 2.5rem; }
.step { background: #fff; border: 1px solid var(--mist); border-radius: var(--r-lg); padding: 1.5rem; }
.step .idx { font-family: var(--font-mono); font-size: 0.8rem; color: var(--gold-deep); font-weight: 500; letter-spacing: 0.1em; }
.step h3 { color: var(--abyss); margin: 0.6rem 0 0.4rem; }
.step p { font-size: 0.95rem; }

/* coverage grid */
.coverage { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin-top: 2.5rem; }
.cov { display: flex; gap: 0.85rem; align-items: flex-start; background: #fff; border: 1px solid var(--mist); border-radius: var(--r-lg); padding: 1.15rem 1.25rem; }
.cov .ico { flex: 0 0 auto; width: 38px; height: 38px; display: grid; place-items: center; background: rgba(185, 143, 70, 0.14); border-radius: var(--r-md); color: var(--gold-deep); }
.cov .ico svg { width: 20px; height: 20px; }
.cov h3 { font-size: 1rem; color: var(--abyss); margin-bottom: 0.15rem; }
.cov p { font-size: 0.85rem; color: var(--slate-muted); }

/* why */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.why-item { border-top: 2px solid var(--beacon); padding-top: 1rem; }
.why-item h3 { color: #fff; margin-bottom: 0.4rem; }
.why-item p { font-size: 0.95rem; }

/* early access */
.cta-band { background: var(--deep); border-top: 1px solid var(--deep-line); }
.cta-card { max-width: 620px; margin-inline: auto; text-align: center; }
.signup { display: flex; flex-direction: column; gap: 0.9rem; max-width: 520px; margin: 1.8rem auto 0; text-align: left; }
.fld { display: block; }
.fld-label { display: block; font-size: 0.82rem; color: var(--cloud); margin-bottom: 0.35rem; }
.signup input, .signup textarea { width: 100%; padding: 0.7rem 1rem; border-radius: var(--r-md); border: 1px solid var(--deep-line); background: var(--abyss); color: var(--cloud); font-family: var(--font-body); font-size: 0.95rem; }
.signup input { height: 48px; }
.signup textarea { resize: vertical; min-height: 76px; line-height: 1.45; }
.signup input::placeholder, .signup textarea::placeholder { color: var(--slate-muted); }
.signup input:focus-visible, .signup textarea:focus-visible { outline: none; border-color: var(--beacon); box-shadow: 0 0 0 3px rgba(185, 143, 70, 0.3); }
.signup .btn { height: 48px; width: 100%; margin-top: 0.2rem; }
.form-note { margin-top: 0.9rem; font-size: 0.8rem; color: var(--slate-muted); }
.form-ok { display: none; margin-top: 1rem; color: var(--beacon); font-size: 0.95rem; }
.form-err { display: none; margin-top: 1rem; color: #e08a6e; font-size: 0.95rem; }
.form-err a { color: #e08a6e; text-decoration: underline; }
/* honeypot — off-screen so it never shows + bots still see a fillable field */
.signup .hp { position: absolute; left: -9999px; width: 1px; height: 1px; padding: 0; border: 0; overflow: hidden; }

/* footer (light) */
.site-footer { background: var(--fog); border-top: 1px solid var(--mist); padding-block: 2.5rem; }
.foot { display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: center; justify-content: space-between; }
.brand-logo-foot { height: 60px; width: auto; }
.foot-meta { font-size: 0.82rem; color: var(--slate-muted); text-align: right; }
.foot-meta a { color: var(--slate); }

/* pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(232px, 1fr)); gap: 1rem; margin-top: 2.5rem; align-items: stretch; }
.price-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--mist); border-radius: var(--r-lg); padding: 1.5rem 1.4rem; }
.price-card.featured { border: 2px solid var(--beacon); }
.price-badge { align-self: flex-start; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; background: var(--beacon); color: var(--beacon-ink); padding: 3px 9px; border-radius: var(--r-sm); margin-bottom: 0.8rem; font-weight: 500; }
.price-name { font-family: var(--font-display); font-weight: 500; font-size: 1.25rem; color: var(--abyss); }
.price-tag { color: var(--slate-muted); font-size: 0.86rem; margin-top: 0.15rem; }
.price-amount { margin: 1rem 0 0.1rem; display: flex; align-items: baseline; gap: 2px; }
.price-amount .amt { font-family: var(--font-display); font-weight: 700; font-size: 2.1rem; color: var(--abyss); }
.price-amount .per { color: var(--slate-muted); font-size: 0.95rem; }
.price-billed { font-size: 0.78rem; color: var(--slate-muted); margin-bottom: 1rem; }
.price-monitors { font-size: 0.9rem; color: var(--slate); font-weight: 500; border-top: 1px solid var(--mist); padding-top: 0.9rem; }
.price-seats { font-size: 0.85rem; color: var(--slate-muted); margin-top: 0.2rem; margin-bottom: 0.9rem; }
.price-feats { list-style: none; margin: 0 0 1.3rem; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.price-feats li { font-size: 0.86rem; color: var(--slate); padding-left: 1.35rem; position: relative; }
.price-feats li::before { content: ""; position: absolute; left: 1px; top: 0.35em; width: 9px; height: 5px; border-left: 2px solid var(--beacon); border-bottom: 2px solid var(--beacon); transform: rotate(-45deg); }
.price-card .btn { margin-top: auto; justify-content: center; width: 100%; }
.price-card.featured .btn { background: var(--gold-deep); color: #fff; }
.price-card:not(.featured) .btn { background: transparent; border-color: var(--mist); color: var(--abyss); }
.price-card:not(.featured) .btn:hover { border-color: var(--beacon); color: var(--abyss); }
.pricing-note { margin-top: 1.5rem; font-size: 0.78rem; color: var(--slate-muted); text-align: center; }

/* facts: sensitivity dial */
.dial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; margin-top: 2.5rem; }
.dial-card { background: var(--deep-2); border: 1px solid var(--deep-line); border-radius: var(--r-lg); padding: 1.6rem; }
.dial-tag { display: inline-block; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--beacon); margin-bottom: 0.7rem; }
.dial-card h3 { color: #fff; margin-bottom: 0.4rem; }
.dial-card p { font-size: 0.95rem; color: var(--cloud-muted); }
.dial-note { margin-top: 1.8rem; max-width: 72ch; font-size: 0.92rem; color: var(--cloud-muted); border-top: 1px solid var(--deep-line); padding-top: 1.3rem; }

/* facts: source groups */
.src-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 0.3rem 1.5rem; margin-top: 2.2rem; }
.src { font-size: 0.92rem; color: var(--slate); padding: 0.8rem 0; border-top: 1px solid var(--mist); }
.src-h { display: block; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--signal-ink); margin-bottom: 0.3rem; }

/* responsive */
@media (max-width: 760px) {
  .nav-links { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; background: #fff; border-bottom: 1px solid var(--mist); padding: 0.5rem var(--pad) 1rem; display: none; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.7rem 0; width: 100%; }
  .nav-links .btn { margin-top: 0.5rem; }
  .nav-toggle { display: block; }
  .hero { background-image: linear-gradient(180deg, rgba(10, 26, 43, 0.84) 0%, rgba(10, 26, 43, 0.93) 100%), url("assets/hero-cargo.jpg"); }
  .hero-credit { position: static; right: auto; bottom: auto; text-align: left; margin-top: 1.6rem; }
  .signup { flex-direction: column; }
  .foot { justify-content: center; text-align: center; }
  .foot-meta { text-align: center; }
}

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