/* Atomic Helm shared styles for inner pages (start, terms, thanks).
   Mirrors the homepage's deep-sea / reactor-glow design system. */
@font-face { font-family: "PJS Fallback A"; src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("Helvetica"); size-adjust: 104.3%; ascent-override: 99.7%; descent-override: 21.1%; line-gap-override: 0%; }
@font-face { font-family: "PJS Fallback A"; font-weight: 600 900; src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("Helvetica Bold"); size-adjust: 101.3%; ascent-override: 102.7%; descent-override: 21.7%; line-gap-override: 0%; }
@font-face { font-family: "PJS Fallback R"; src: local("Roboto"), local("Roboto-Regular"); size-adjust: 105.3%; ascent-override: 98.8%; descent-override: 20.9%; line-gap-override: 0%; }
@font-face { font-family: "PJS Fallback R"; font-weight: 600 900; src: local("Roboto Bold"), local("Roboto-Bold"); size-adjust: 108%; ascent-override: 96.3%; descent-override: 20.4%; line-gap-override: 0%; }
:root {
  --abyss: #071a2c;
  --deep: #0a2238;
  --hull: #0e2b45;
  --hull-2: #14385a;
  --line: rgba(79, 216, 255, .14);
  --line-2: rgba(234, 242, 248, .10);
  --text: #eaf2f8;
  --text-2: #a9bed0;
  --glow: #4fd8ff;
  --glow-ink: #032333;
  --glow-tint: rgba(79, 216, 255, .12);
  --brass: #e2b65b;
  --brass-tint: rgba(226, 182, 91, .14);
  --radius: 22px;
  --glow-shadow: 0 0 0 1px rgba(79,216,255,.35), 0 10px 30px -8px rgba(79,216,255,.55);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--abyss); }
[id] { scroll-margin-top: 90px; }
body { font-family: "Plus Jakarta Sans", "PJS Fallback A", "PJS Fallback R", system-ui, -apple-system, Segoe UI, Roboto, sans-serif; background: var(--abyss); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
strong, b { color: var(--text); }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--glow); outline-offset: 3px; border-radius: 6px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.btn:hover { transform: translateY(-2px); }
.btn[disabled] { opacity: .65; cursor: default; transform: none; }
.btn-primary { background: var(--glow); color: var(--glow-ink); box-shadow: var(--glow-shadow); }
.btn-primary:hover { background: #7ae3ff; }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--glow); }
.btn svg { width: 18px; height: 18px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(7,26,44,.8); backdrop-filter: saturate(1.3) blur(12px); -webkit-backdrop-filter: saturate(1.3) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; text-decoration: none; color: var(--text); }
.logo-mark { width: 40px; height: 40px; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { text-decoration: none; font-weight: 600; color: var(--text-2); font-size: .97rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-login { padding-left: 24px; border-left: 1px solid var(--line-2); }
.nav .btn { padding: 11px 20px; font-size: .95rem; color: var(--glow-ink); }
.nav-call { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; flex: none; text-decoration: none; color: var(--text); font-weight: 700; font-size: .9rem; line-height: 1.12; white-space: nowrap; padding: 4px 12px 4px 4px; border-radius: 999px; border: 1px solid var(--line); background: rgba(79,216,255,.05); transition: border-color .18s, box-shadow .18s, background .18s; }
.nav-call .nc-ic { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--glow-tint); color: var(--glow); }
.nav-call .nc-ic svg { width: 15px; height: 15px; }
.nav-call small { display: block; font-size: .64rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brass); }
.nav-call:hover { border-color: rgba(79,216,255,.55); background: rgba(79,216,255,.1); box-shadow: 0 0 20px -6px rgba(79,216,255,.6); }
.logo, .nav-links a { white-space: nowrap; }
@media (min-width: 1001px) { .nav-links { gap: 22px; } .nav-login { padding-left: 20px; } }
@media (min-width: 1001px) and (max-width: 1099px) { .nav-call { padding: 4px; } .nav-call .nc-txt { display: none; } }
@media (max-width: 1000px) { .nav-call { padding: 0; width: 44px; height: 44px; justify-content: center; margin-right: -6px; } .nav-call .nc-ic { width: 36px; height: 36px; } .nav-call .nc-ic svg { width: 17px; height: 17px; } .nav-call .nc-txt { display: none; } }
.menu-btn { display: none; background: none; border: 0; width: 44px; height: 44px; border-radius: 12px; cursor: pointer; }
.menu-btn span { display: block; width: 22px; height: 2.5px; background: var(--text); border-radius: 2px; margin: 5px auto; transition: transform .2s, opacity .2s; }

/* Page hero: glow, faint turning helm wheel, wave into the next section */
.page-hero { position: relative; overflow: hidden; padding: 64px 0 96px; }
.page-hero::before { content: ""; position: absolute; right: -12%; top: -30%; width: 760px; height: 760px; border-radius: 50%; background: radial-gradient(circle, rgba(79,216,255,.18), rgba(79,216,255,.05) 42%, transparent 68%); pointer-events: none; }
.page-hero .wheel { position: absolute; right: -160px; top: -40px; width: 560px; opacity: .07; pointer-events: none; animation: turn 120s linear infinite; }
.page-hero .wrap { position: relative; }
@keyframes turn { to { transform: rotate(360deg); } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brass); }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--brass); border-radius: 2px; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.06; letter-spacing: -0.035em; font-weight: 800; margin-top: 16px; max-width: 22ch; }
h1 .glow { color: var(--glow); text-shadow: 0 0 28px rgba(79,216,255,.45); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); line-height: 1.12; letter-spacing: -0.03em; font-weight: 800; }
.lede { font-size: 1.15rem; color: var(--text-2); margin-top: 18px; max-width: 60ch; }
[hidden] { display: none !important; }
.pill-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; background: var(--hull); border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px 7px 8px; font-size: .92rem; font-weight: 600; color: var(--text-2); }
.pill-link b { background: var(--glow-tint); color: var(--glow); border-radius: 999px; padding: 2px 10px; font-size: .8rem; white-space: nowrap; }
.pill-link a { overflow-wrap: anywhere; }
.pill-link a { color: var(--glow); }

/* Waves between sections */
.wave { display: block; width: 100%; height: 84px; overflow: hidden; }
.wave.to-deep { background: var(--abyss); color: var(--deep); }
.wave.to-abyss { background: var(--deep); color: var(--abyss); }
.wave .wave-front { animation: wave-roll 20s linear infinite; }
.wave .wave-mid { animation: wave-roll 31s linear infinite reverse; }
.wave .wave-back { animation: wave-roll 47s linear infinite; }
.wave .wave-bob { animation: wave-bob 6s ease-in-out infinite alternate; }
.wave .wave-bob--2 { animation-duration: 4.6s; animation-delay: -2s; }
.wave .wave-back use { fill: color-mix(in srgb, currentColor 80%, #4fd8ff); }
.wave .wave-mid use { fill: color-mix(in srgb, currentColor 88%, #4fd8ff); }
.wave .wave-foam { stroke: rgba(120,226,255,.30); stroke-width: 2px; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 3px rgba(79,216,255,.55)); }
@keyframes wave-bob { from { transform: translateY(0); } to { transform: translateY(4px); } }
@keyframes wave-roll { from { transform: translateX(0); } to { transform: translateX(-1440px); } }
.deep { background: var(--deep); }
section.block { padding: 80px 0; }

/* Cards & forms */
.card { background: var(--hull); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
label { display: grid; gap: 7px; font-weight: 600; font-size: .92rem; }
label .opt { font-weight: 500; color: var(--text-2); }
input, textarea, select { font: inherit; color: var(--text); background: var(--abyss); border: 1.5px solid var(--line-2); border-radius: 14px; padding: 12px 14px; width: 100%; transition: border-color .15s, box-shadow .15s; }
input::placeholder, textarea::placeholder { color: #6f86a0; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--glow); box-shadow: 0 0 0 4px rgba(79,216,255,.15); }
textarea { min-height: 120px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp { position: absolute; left: -9999px; }
.status { font-weight: 600; min-height: 1.5em; }
.status.ok { color: var(--glow); }
.status.err { color: #ff9b8a; }
.tick { width: 20px; height: 20px; flex: none; border-radius: 50%; background: var(--glow-tint); display: grid; place-items: center; }
.tick svg { width: 12px; height: 12px; }

/* Footer */
footer { padding: 40px 0; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid var(--line); padding-top: 28px; color: var(--text-2); font-size: .93rem; }
.foot nav { display: flex; flex-wrap: wrap; gap: 22px; }
.foot a { text-decoration: none; font-weight: 600; }
.foot a:hover { color: var(--text); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .page-hero .wheel, .wave .wave-front, .wave .wave-mid, .wave .wave-back, .wave .wave-bob { animation: none; }
  .btn:hover { transform: none; }
}
@media (max-width: 1000px) {
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--abyss); border-bottom: 1px solid var(--line); padding: 8px 16px 18px; }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 12px 8px; font-size: 1.05rem; }
  .nav-links .btn { margin-top: 8px; display: flex; justify-content: center; }
  .nav-login { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-2); margin-top: 6px; padding-top: 6px; }
  .menu-btn { display: block; }
  .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .page-hero { padding: 40px 0 72px; }
  .page-hero .wheel { width: 420px; right: -200px; }
  section.block { padding: 56px 0; }
  .row2 { grid-template-columns: 1fr; }
  .card { padding: 22px; }
  .wave { height: 44px; }
  .pill-link { flex-wrap: wrap; border-radius: 16px; padding: 8px 14px 8px 8px; }
  .foot nav a { display: inline-flex; align-items: center; min-height: 44px; }
}

/* Menu (11-02): text on desktop with an underline on the current item; icon tiles and Call/Text on phones. */
.nl-ic, .nav-contact { display: none; }
.nav-links a.is-active { color: var(--text); position: relative; }
@media (min-width: 1001px) { .nav-links a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; border-radius: 2px; background: var(--glow); box-shadow: 0 0 10px rgba(79,216,255,.7); } }
@media (max-width: 1000px) {
  .nav-links a { display: flex; align-items: center; gap: 12px; padding: 9px 8px; border-radius: 12px; }
  .nav-links a.is-active { background: var(--glow-tint); }
  .nl-ic { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 10px; background: rgba(79,216,255,.08); border: 1px solid var(--line); color: var(--glow); }
  .nl-ic svg { width: 17px; height: 17px; }
  .nav-links a.is-active .nl-ic { background: var(--glow); color: var(--glow-ink); border-color: var(--glow); }
  .nav-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
  .nav-contact .btn { margin-top: 0; gap: 8px; color: var(--text); }
  .nav-contact .btn svg { width: 17px; height: 17px; color: var(--glow); }
  .nav-contact span { grid-column: 1 / -1; text-align: center; color: var(--text-2); font-size: .85rem; }
}

/* Sticky header: in-page links land below it */
section[id] { scroll-margin-top: 76px; }
