/* Sentry53 — one-page prelaunch site.
   Theme follows cyberwarden.ca (WordPress/Elementor, hello-elementor), read from
   its live stylesheets and rendered page rather than approximated:

     type     Plus Jakarta Sans. Weights 400/500/600 only — the parent site has
              no 700 anywhere. Headings line-height 1.2, prose 1.8, uppercase
              labels tracked 2px. No negative tracking.
     surface  Light-first, alternating white / #f7f7f7, with full-bleed
              near-black bands for the hero, the CTA and the footer.
     signature  A white header sitting on a black section; dark rounded cards on
              light ground; large "why" statements in pale teal #b4d6db while
              ordinary section heads are deep teal #0b5058. */

:root {
  --white:      #ffffff;
  --off:        #f7f7f7;
  --line:       #dce6e8;

  --ink:        #141212;
  --dark-1:     #1e1b1b;
  --dark-2:     #242122;

  --teal:       #1b8996;   /* fills, icons, rules */
  --teal-text:  #1b7380;   /* teal TEXT on light: #1b8996 is only 4.15:1 */
  --teal-deep:  #0b5058;
  --teal-pale:  #b4d6db;   /* large display statements on white */

  --body:       #6b6b6b;   /* parent uses #7a7a7a — 4.01:1, darkened to clear AA */
  --body-dark:  #c9c9c9;   /* prose on the dark bands */

  --wrap: 1180px;
  --radius: 10px;          /* border-radius:10px appears 26x in the live CSS */
  --glow: -1px 11px 26px 4px rgba(27,115,128,.32);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal-text); }
h1, h2, h3, h4 { line-height: 1.2; font-weight: 600; color: var(--teal-deep); margin: 0 0 18px; }
p { margin: 0 0 18px; }
p:last-child { margin-bottom: 0; }
code {
  font-family: inherit; font-weight: 600; color: var(--teal-text);
  background: rgba(27,137,150,.09); border-radius: 4px; padding: 1px 6px;
}
.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--teal-deep); color: #fff; padding: 12px 20px; border-radius: 0 0 var(--radius) 0;
}
.skip:focus { left: 0; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

/* ── Header ─────────────────────────────────────────────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: var(--white);
  padding: 18px 0;
  transition: padding .25s ease, box-shadow .25s ease;
}
.nav.scrolled { padding: 12px 0; box-shadow: 0 2px 20px rgba(20,18,18,.08); }
.nav-inner { display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-img { width: 30px; height: 30px; }
.logo-word { font-size: 1.3rem; font-weight: 600; color: var(--teal-text); line-height: 1; }
.logo-word-accent { color: var(--teal-deep); }

.nav-links { list-style: none; display: flex; gap: 30px; margin: 0 0 0 auto; padding: 0; }
.nav-links a {
  text-decoration: none; color: var(--ink); font-size: .95rem; font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover { color: var(--teal-text); }
.nav-cta { flex: 0 0 auto; }

.menu-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 40px; height: 34px; padding: 7px; margin-left: auto;
}
.menu-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; margin: 4px 0; }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: var(--radius); border: 1px solid transparent;
  font-family: inherit; font-size: .95rem; font-weight: 600; line-height: 1;
  text-decoration: none; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn-primary {
  background: linear-gradient(16deg, var(--teal-deep) 0%, var(--teal-text) 100%);
  color: #fff; box-shadow: var(--glow);
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.34); }
.btn-ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.62); }
.btn-sm { padding: 11px 18px; font-size: .88rem; }
.btn-block { width: 100%; }
.arw {
  width: 17px; height: 17px; flex: 0 0 auto; border-radius: 50%;
  border: 1.5px solid currentColor; position: relative;
  transition: transform .2s ease;
}
.arw::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  width: 5px; height: 5px; border-right: 1.5px solid currentColor; border-top: 1.5px solid currentColor;
  transform: translateX(-1px) rotate(45deg);
}
.btn:hover .arw { transform: translateX(2px); }

/* ── Hero: the black section under the white header ─────────────────────── */
.hero {
  padding: 188px 0 104px;
  background:
    radial-gradient(880px 420px at 80% 16%, rgba(27,137,150,.24), transparent 62%),
    radial-gradient(600px 360px at 98% 82%, rgba(11,80,88,.36), transparent 66%),
    var(--ink);
  position: relative; overflow: hidden;
}
.hero-inner { max-width: 1000px; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); margin: 0; color: #fff; }
.h-lead, .h-main { display: block; }
.h-lead { color: var(--teal); font-weight: 500; }
.h-main { color: #fff; font-weight: 600; }
.rule {
  border: 0; height: 1px; margin: 30px 0 28px; max-width: 760px;
  background: linear-gradient(90deg, rgba(255,255,255,.26), rgba(255,255,255,.04));
}
.lede { color: var(--body-dark); max-width: 640px; font-size: 1.06rem; margin-bottom: 36px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ── Trust strip ────────────────────────────────────────────────────────── */
.strip { background: var(--white); padding: 34px 0; border-bottom: 1px solid var(--line); }
.strip-line { text-align: center; margin: 0; font-size: .92rem; color: var(--body); }
.strip-line strong { color: var(--teal-text); font-weight: 600; }
.dot { color: var(--teal); margin: 0 10px; }

/* ── Sections ───────────────────────────────────────────────────────────── */
.sec { padding: 96px 0; background: var(--white); }
.sec-alt { background: var(--off); }
.sec h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); max-width: 860px; }
.sec-sub { max-width: 680px; margin-top: -6px; }

.eyebrow {
  font-size: .78rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  color: var(--teal-text); margin: 0 0 14px;
}
.eyebrow-dark { color: var(--teal-pale); }

/* Eyebrow in a left rail, content to the right — the parent site's signature
   two-column section head. */
.split { display: grid; grid-template-columns: 200px 1fr; gap: 40px; align-items: start; }
.split .eyebrow { margin-top: 10px; }
.split-body { max-width: 820px; }
.split-body > p, .split-body > .checks { max-width: 780px; }
/* Large "why" statements sit in pale teal on white, not the deep tone that
   ordinary section heads use. */
.display { color: var(--teal-pale); font-size: clamp(1.9rem, 3.4vw, 2.8rem); }

.checks { list-style: none; margin: 26px 0 0; padding: 0; }
.checks li { position: relative; padding-left: 30px; margin-bottom: 11px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--teal);
}
.checks li::after {
  content: ""; position: absolute; left: 5px; top: .95em;
  width: 4px; height: 7px;
  border-right: 1.6px solid var(--teal); border-bottom: 1.6px solid var(--teal);
  transform: rotate(42deg);
}
.checks-sm li { margin-bottom: 8px; font-size: .93rem; }
.checks a { text-decoration: none; }
.checks a:hover { text-decoration: underline; }

/* ── Cards: dark on light, the signature contrast ───────────────────────── */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; }
.qa { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 40px; }
.card {
  background: var(--dark-1); border-radius: var(--radius); padding: 30px 26px;
  color: var(--body-dark);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--glow); }
.card h3 { color: #fff; font-size: 1.08rem; margin-bottom: 12px; }
.card p { font-size: .93rem; }
.card code { color: var(--teal-pale); background: rgba(27,137,150,.18); }

.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.tier p:last-child { min-height: 5.4em; }
.tier { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; background: var(--white); }
.tier-name {
  font-family: inherit; font-weight: 600; color: var(--teal-text);
  letter-spacing: 2px; text-transform: uppercase; font-size: .8rem; margin-bottom: 10px;
}
.tier p:last-child { font-size: .94rem; }

/* ── CTA band + form ────────────────────────────────────────────────────── */
.cta {
  background:
    radial-gradient(700px 320px at 88% 20%, rgba(27,137,150,.2), transparent 64%),
    var(--ink);
  padding: 92px 0; color: var(--body-dark);
}
.cta-inner { display: grid; grid-template-columns: 1fr 460px; gap: 56px; align-items: start; }
.cta h2 { color: #fff; font-size: clamp(1.7rem, 2.8vw, 2.2rem); }
.cta-copy p { max-width: 520px; }

.form { background: var(--dark-2); border-radius: var(--radius); padding: 28px; }
.field { margin-bottom: 16px; }
.field label {
  display: block; font-size: .78rem; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--teal-pale); margin-bottom: 7px;
}
.opt { color: #9a9a9a; font-weight: 400; letter-spacing: 0; text-transform: none; }
.field input, .field textarea {
  width: 100%; font-family: inherit; font-size: .95rem; color: #fff;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px; padding: 11px 13px;
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--teal); outline-offset: 1px; }
.form-status { margin: 14px 0 0; font-size: .9rem; min-height: 1.2em; }
.form-status.ok { color: var(--teal-pale); }
.form-status.err { color: #ffb4b4; }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.footer { background: var(--dark-1); color: var(--body-dark); padding: 56px 0 34px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; }
.footer .logo-word { color: var(--teal); }
.footer .logo-word-accent { color: #fff; }
.rule-foot { max-width: none; margin: 26px 0 38px; background: rgba(255,255,255,.12); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1fr; gap: 36px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer p, .footer li { font-size: .93rem; }
.footer a { color: var(--body-dark); text-decoration: none; }
.footer a:hover { color: var(--teal-pale); text-decoration: underline; }
.contact { list-style: none; margin: 0; padding: 0; }
.contact li { position: relative; padding-left: 28px; margin-bottom: 12px; }
.ic { position: absolute; left: 0; top: .5em; width: 15px; height: 15px; border: 1.5px solid var(--teal); }
.ic-mail { border-radius: 3px; }
.ic-pin { border-radius: 50% 50% 50% 2px; transform: rotate(-45deg); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between;
  margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1);
}
.footer-bottom p { margin: 0; font-size: .85rem; color: #9a9a9a; }
.fine { max-width: 640px; }

/* ── Reveal. Default visible; hidden only once JS has announced itself, so a
      visitor without JS gets a readable page rather than an empty one. ───── */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.js .reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1020px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 800px) {
  .menu-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; inset: 100% 0 auto 0;
    background: var(--white); flex-direction: column; gap: 0;
    padding: 10px 28px 20px; box-shadow: 0 10px 22px rgba(20,18,18,.1);
  }
  .nav-links.open { display: flex; }
  .nav-links li { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .nav-cta { display: none; }
  .split { grid-template-columns: 1fr; gap: 12px; }
  .split .eyebrow { margin-top: 0; }
  .hero { padding: 150px 0 76px; }
  .sec { padding: 68px 0; }
  .tiers, .qa { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .actions .btn { width: 100%; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   INSTRUMENT PANEL
   ───────────────────────────────────────────────────────────────────────────
   A second pass over the base theme. The brand system is fixed — Plus Jakarta
   Sans, weights 400/500/600, leading 1.2/1.8, the cyberwarden palette — so the
   point of view has to come from composition, atmosphere and motion instead of
   from type or colour.

   The idea: a well-made piece of network equipment. Everything aligned to a
   rule, measurements visible, a faint signal behind the glass. Restraint is
   the aesthetic, so the effects are quiet and the grid is what carries it.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Grain. A single SVG turbulence tile over the whole page, at very low
      opacity. Flat dark fields read as plastic; grain reads as material. ──── */
.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  opacity: .038; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── Hero WebGL backdrop: the shader-gradient field + floating glass solid.
      Sits at the very back of the hero, beneath the CSS radial gradients, the
      signal rings and the copy. Quiet by design; if WebGL or JS is absent the
      hero still reads on its CSS background alone. ─────────────────────────── */
#hero-fx {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none; display: block;
  opacity: 0; transition: opacity 1.2s ease;
}
.js #hero-fx { opacity: 1; }

/* ── The hero signal field: concentric rings, as on any radio instrument.
      Four rings breathing out of the same origin, far enough apart in delay
      that it reads as a slow pulse rather than an animation. ─────────────── */
.signal {
  position: absolute; top: 50%; right: -160px; width: 780px; height: 780px;
  transform: translateY(-50%); pointer-events: none; z-index: 0;
}
.signal span {
  position: absolute; inset: 0; margin: auto;
  border: 1px solid rgba(27,137,150,.28); border-radius: 50%;
  animation: pulse 7s cubic-bezier(.4,0,.2,1) infinite;
}
.signal span:nth-child(2) { animation-delay: 1.75s; }
.signal span:nth-child(3) { animation-delay: 3.5s; }
.signal span:nth-child(4) { animation-delay: 5.25s; }
@keyframes pulse {
  0%   { width: 90px;  height: 90px;  opacity: 0; }
  12%  { opacity: .85; }
  100% { width: 780px; height: 780px; opacity: 0; }
}
/* A hairline crossing the field — the query path through it. */
.hero::before {
  content: ""; position: absolute; top: 50%; right: 0; width: 62%; height: 1px; z-index: 0;
  background: linear-gradient(90deg, transparent, rgba(27,137,150,.5) 55%, transparent);
}

/* ── Orchestrated entrance. One staggered load, not scattered micro-motion. ─ */
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.js .hero h1,
.js .hero .rule,
.js .hero .lede,
.js .hero .actions,
.js .hero .readout { animation: rise .85s cubic-bezier(.22,1,.36,1) backwards; }
.js .hero h1       { animation-delay: .05s; }
.js .hero .rule    { animation-delay: .16s; }
.js .hero .lede    { animation-delay: .24s; }
.js .hero .actions { animation-delay: .34s; }
.js .hero .readout { animation-delay: .44s; }

/* ── Readout strip: the measurements, in the instrument's own language. ──── */
.readout {
  display: flex; flex-wrap: wrap; gap: 0; margin: 52px 0 0; padding: 0;
  border-top: 1px solid rgba(255,255,255,.1);
}
.readout > div {
  padding: 18px 34px 0 0; margin-right: 34px;
  border-right: 1px solid rgba(255,255,255,.08);
}
.readout > div:last-child { border-right: 0; margin-right: 0; }
.readout dt {
  font-size: .68rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  /* --teal-pale, not --teal: at ~11px this is normal-size text needing 4.5:1,
     and #1b8996 lands on exactly 4.50 with no margin. This is 12.07:1, and it
     matches .eyebrow-dark, which is already the label colour on dark bands. */
  color: var(--teal-pale); margin-bottom: 6px;
}
.readout dd { margin: 0; font-size: .96rem; font-weight: 500; color: #fff; line-height: 1.2; }

/* ── Section numerals. Set in the left rail, above the label, large enough to
      register as an index and faint enough not to compete. ──────────────── */
.eyebrow { display: flex; align-items: baseline; gap: 12px; }
.num {
  font-size: 2.1rem; font-weight: 600; letter-spacing: -1px; line-height: 1;
  color: var(--teal-pale); opacity: .55;
}
.split .eyebrow { flex-direction: column; gap: 6px; align-items: flex-start; }
.split .num { font-size: 3.2rem; opacity: .35; margin-bottom: 4px; }

/* A rule running down the left rail — the thing everything aligns to. */
.split { position: relative; }
.split::before {
  content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 1px;
  background: linear-gradient(180deg, var(--teal), rgba(27,137,150,.06));
}
.split .eyebrow { padding-left: 20px; }

/* ── Cards gain an edge-light on hover rather than a generic lift. ───────── */
.card { position: relative; overflow: hidden; }
.card::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  opacity: 0; transition: opacity .3s ease;
}
.card:hover::after { opacity: 1; }
.cards .card { display: flex; flex-direction: column; }

/* Tiers get a measured top rule, keyed to the strictness of the profile. */
.tier { position: relative; overflow: hidden; }
.tier::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: var(--teal);
  transform-origin: left; transition: transform .35s cubic-bezier(.22,1,.36,1);
}
.tier:nth-child(1)::before { transform: scaleX(1); }
.tier:nth-child(2)::before { transform: scaleX(.62); }
.tier:nth-child(3)::before { transform: scaleX(.28); }
.tier:hover::before { transform: scaleX(1); }

/* ── Header: a hairline that draws itself in as the page leaves the hero. ── */
.nav { border-bottom: 1px solid transparent; }
.nav.scrolled { border-bottom-color: var(--line); }

/* ── Liquid-glass header. Where the browser supports it, the white bar becomes
      a frosted glass panel — translucent, blurred, lightly saturated — so the
      dark hero and the teal field read faintly through the chrome. Progressive:
      browsers without backdrop-filter keep the solid white bar above. ─────── */
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nav {
    background: rgba(255, 255, 255, 0.62);
    -webkit-backdrop-filter: blur(16px) saturate(1.5);
    backdrop-filter: blur(16px) saturate(1.5);
  }
  .nav.scrolled { background: rgba(255, 255, 255, 0.82); }
  /* the mobile drop-panel inherits the same glass so it doesn't read as opaque */
  @media (max-width: 800px) {
    .nav-links {
      background: rgba(255, 255, 255, 0.9);
      -webkit-backdrop-filter: blur(16px) saturate(1.5);
      backdrop-filter: blur(16px) saturate(1.5);
    }
  }
}

/* ── Dark bands get a top edge-light, as if lit from the seam. ──────────── */
.cta { position: relative; }
.cta::before, .footer::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(27,137,150,.45), transparent);
}
.footer { position: relative; }

/* ── Focus: square, teal, offset. Deliberate rather than the UA default. ─── */
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 2px; }

@media (prefers-reduced-motion: reduce) {
  .signal span { animation: none; opacity: .18; width: 460px; height: 460px; }
  .js .hero h1, .js .hero .rule, .js .hero .lede,
  .js .hero .actions, .js .hero .readout { animation: none; }
}

@media (max-width: 800px) {
  .signal { display: none; }
  .hero::before { display: none; }
  .readout { margin-top: 38px; }
  .readout > div { padding-right: 20px; margin-right: 20px; }
  .split .num { font-size: 2.4rem; }
}
