/* CJ Guard product page. CloudJune navy + orange; Source Serif 4 headlines (CloudJune's serif voice), Public Sans text
   (same as the dashboard). The one bold moment is the hero: an attack timeline with the alert landing on a phone. */
:root {
  --navy: #13233A;
  --navy-deep: #0D1828;
  --navy-2: #24384F;
  --orange: #F08321;
  --orange-ink: #B85A0A;
  --critical: #D64545;
  --paper: #F6F8FB;
  --ink: #13233A;
  --slate: #536479;
  --line: #DCE3EC;
  --white: #fff;
  --serif: "Source Serif 4", Cambria, Georgia, serif;
  --sans: "Public Sans", Calibri, "Segoe UI", system-ui, sans-serif;
  --wrap: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--white); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 600; max-width: 24ch; }
h3 { font-size: 20px; font-weight: 600; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }
section { padding: 96px 0; }
.band { background: var(--paper); }
.intro { color: var(--slate); max-width: 64ch; margin-top: 16px; font-size: 18px; }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 8px;
  font: 600 16px/1.2 var(--sans); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; white-space: nowrap; }
.btn-lg { padding: 15px 26px; font-size: 17px; }
.btn-primary { background: var(--orange); color: var(--navy-deep); }
.btn-primary:hover { background: #F49A48; }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); }
.btn-ghost-dark { border-color: var(--navy); color: var(--navy); }
.btn-ghost-dark:hover { background: var(--navy); color: var(--white); }

/* ---------------------------------------------------------------- header */
.top { position: sticky; top: 0; z-index: 5; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.4) blur(6px); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 20px var(--serif); }
.nav { display: flex; align-items: center; gap: 26px; font-size: 15px; font-weight: 500; }
.nav a { text-decoration: none; color: var(--slate); }
.nav a:hover { color: var(--ink); }
.nav .signin { color: var(--ink); }
.nav .btn { color: var(--navy-deep); padding: 9px 16px; }
.menu-btn { display: none; background: none; border: 1.5px solid var(--line); border-radius: 8px; padding: 8px 12px; font: 600 15px var(--sans); color: var(--ink); }

/* ---------------------------------------------------------------- hero */
.hero { background: var(--navy); color: var(--white); padding: 88px 0 104px; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(34px, 4.2vw, 52px); font-weight: 600; max-width: 20ch; }
.lead { margin-top: 24px; font-size: 19px; color: #C3CFDE; max-width: 54ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.assure { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 8px; font-size: 15px; color: #C3CFDE; }
.assure li { padding-left: 26px; position: relative; }
.assure li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 8px; border-left: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange); transform: rotate(-45deg); }

.incident { margin: 0; position: relative; padding: 28px 28px 0; border-left: 1px solid rgba(255, 255, 255, .14); }
.incident figcaption { font-size: 13px; color: #8FA2BA; letter-spacing: .02em; margin-bottom: 18px; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.timeline li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; font-size: 15px; color: #DCE5F0; line-height: 1.45; }
.timeline time { font: 600 15px var(--sans); color: #8FA2BA; font-variant-numeric: tabular-nums; }
.timeline li span { padding-left: 14px; border-left: 2px solid #3A5170; }
.timeline .t2 span, .timeline .t3 span { border-left-color: var(--critical); }
.phone { margin: 28px 0 0 56px; background: var(--white); color: var(--ink); border-radius: 18px 18px 18px 4px; padding: 16px 18px 18px;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .55); max-width: 400px; }
.phone-bar { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--slate); margin-bottom: 8px; }
.phone-bar .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.msg { font-size: 15px; line-height: 1.5; }
.msg b { display: block; margin-bottom: 4px; }
.msg u { color: var(--orange-ink); text-decoration-thickness: 1px; }

/* one orchestrated moment: the attack unfolds, then the alert lands */
@media (prefers-reduced-motion: no-preference) {
  .timeline li, .phone { opacity: 0; animation: rise .5s ease-out forwards; }
  .timeline .t1 { animation-delay: .25s; }
  .timeline .t2 { animation-delay: .75s; }
  .timeline .t3 { animation-delay: 1.25s; }
  .phone { animation: land .6s cubic-bezier(.2, .9, .3, 1.2) 2s forwards; }
  @keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
  @keyframes land { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
}

/* ---------------------------------------------------------------- attack sequence */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0; border-top: 2px solid var(--navy); }
.steps li { counter-increment: step; padding: 22px 22px 0 0; position: relative; }
.steps li + li { padding-left: 22px; border-left: 1px solid var(--line); }
.steps li::before { content: counter(step); display: block; font: 600 34px var(--serif); color: var(--orange); margin-bottom: 8px; }
.steps h3 { font-size: 19px; margin-bottom: 10px; }
.steps p { font-size: 15.5px; color: var(--slate); }
.steps p b { color: var(--ink); font-weight: 600; }
.chain-note { margin-top: 40px; max-width: 70ch; padding: 18px 22px; background: var(--white); border-left: 4px solid var(--critical); font-size: 16px; }

/* ---------------------------------------------------------------- features */
.feature-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 48px; }
.feature h3 { font-size: 19px; margin-bottom: 8px; }
.feature p { font-size: 15.5px; color: var(--slate); }
.lead-feature { grid-column: span 3; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 48px; align-items: baseline;
  padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.lead-feature h3 { font-size: 28px; }
.lead-feature p { font-size: 18px; }

/* ---------------------------------------------------------------- setup */
.setup-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.setup .btn { margin-top: 28px; }
.setup-steps { margin: 0; padding: 0 0 0 26px; display: grid; gap: 22px; }
.setup-steps li { padding-left: 8px; }
.setup-steps li::marker { font: 600 18px var(--serif); color: var(--orange-ink); }
.setup-steps b { display: block; font-size: 17px; }
.setup-steps span { display: block; color: var(--slate); font-size: 15.5px; margin-top: 2px; }

/* ---------------------------------------------------------------- pricing */
.billing { display: inline-flex; margin-top: 32px; border: 1.5px solid var(--line); border-radius: 10px; padding: 4px; gap: 4px; }
.billing button { border: 0; background: none; padding: 8px 16px; border-radius: 7px; font: 600 15px var(--sans); color: var(--slate); cursor: pointer; }
.billing button[aria-pressed="true"] { background: var(--navy); color: var(--white); }
.billing span { font-weight: 500; color: var(--orange); margin-left: 4px; }
.billing button[aria-pressed="true"] span { color: #F7B36F; }
.plans { margin-top: 32px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.plan { border: 1.5px solid var(--line); border-radius: 14px; padding: 30px 28px 32px; display: flex; flex-direction: column; position: relative; }
.plan.featured { border-color: var(--navy); box-shadow: 0 0 0 1.5px var(--navy); }
.plan .tag { position: absolute; top: -13px; left: 26px; background: var(--orange); color: var(--navy-deep); font-size: 13px; font-weight: 700;
  padding: 3px 10px; border-radius: 6px; }
.plan h3 { font-size: 24px; }
.plan .for { color: var(--slate); font-size: 15px; margin-top: 6px; min-height: 48px; }
.price { margin-top: 18px; display: flex; align-items: baseline; gap: 8px; }
.amt, .amt-text { font: 600 44px/1 var(--serif); font-variant-numeric: tabular-nums; }
.per { color: var(--slate); font-size: 15px; }
.billed { color: var(--slate); font-size: 14px; margin: 4px 0 20px; }
.plan .btn { width: 100%; }
.plan ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; font-size: 15px; }
.plan li { padding-left: 24px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 11px; height: 6px; border-left: 2px solid var(--orange-ink);
  border-bottom: 2px solid var(--orange-ink); transform: rotate(-45deg); }
.plan li:first-child { font-weight: 600; }
.plan:first-child li:first-child { font-weight: 400; }
.price-note { margin-top: 20px; color: var(--slate); font-size: 14px; max-width: 80ch; }
.free-check { margin-top: 48px; display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 30px 32px;
  background: var(--navy); color: var(--white); border-radius: 14px; }
.free-check h3 { font-size: 24px; }
.free-check p { color: #C3CFDE; margin-top: 8px; max-width: 64ch; font-size: 16px; }

/* ---------------------------------------------------------------- security */
.sec-cols { margin-top: 44px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.sec-cols h3 { font-size: 19px; padding-bottom: 12px; border-bottom: 2px solid var(--navy); margin-bottom: 14px; }
.plain { margin: 0; padding-left: 18px; display: grid; gap: 8px; font-size: 15.5px; color: var(--slate); }
.plain li::marker { color: var(--orange-ink); }
.plain.cols { margin-top: 28px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 48px; max-width: 980px; }

/* ---------------------------------------------------------------- faq */
.faq-in { display: grid; grid-template-columns: minmax(0, .6fr) minmax(0, 1.4fr); gap: 48px; }
.qa details { border-top: 1px solid var(--line); padding: 20px 0; }
.qa details:last-child { border-bottom: 1px solid var(--line); }
.qa summary { font: 600 18px/1.4 var(--serif); cursor: pointer; list-style: none; position: relative; padding-right: 32px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 4px; top: -2px; font: 400 26px var(--sans); color: var(--orange-ink); }
.qa details[open] summary::after { content: "–"; }
.qa details p { margin-top: 12px; color: var(--slate); font-size: 16px; max-width: 70ch; }

/* ---------------------------------------------------------------- closing + footer */
.terms { padding: 64px 0; }
.terms h2 { font-size: 26px; }
.closing { background: var(--navy); color: var(--white); padding: 88px 0; }
.closing-in { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.closing h2 { max-width: 20ch; }
.closing .cta-row { margin-top: 0; }
.foot { background: var(--navy-deep); color: #9FB0C6; padding: 36px 0 44px; font-size: 14px; }
.foot-in { display: grid; gap: 12px; }
.foot b { color: var(--white); }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot a { color: #C3CFDE; text-decoration: none; }
.foot a:hover { color: var(--white); text-decoration: underline; }
.foot .small { font-size: 12.5px; color: #7D8FA6; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 980px) {
  section { padding: 72px 0; }
  .hero-in, .setup-in, .faq-in { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .incident { border-left: 0; padding: 0; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lead-feature { grid-column: span 2; grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
  .sec-cols { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .menu-btn { display: inline-block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--white); flex-direction: column;
    align-items: stretch; gap: 0; padding: 8px 24px 20px; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 12px; border-bottom: 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  section { padding: 56px 0; }
  .hero { padding: 56px 0 64px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li, .steps li + li { padding: 22px 0 0; border-left: 0; }
  .steps li + li { border-top: 1px solid var(--line); margin-top: 22px; }
  .feature-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .lead-feature { grid-column: auto; }
  .phone { margin-left: 0; }
  .timeline li { grid-template-columns: 48px 1fr; }
  .free-check { flex-direction: column; align-items: flex-start; padding: 24px; }
  .plain.cols { grid-template-columns: minmax(0, 1fr); }
  .btn-lg { width: 100%; }
  .billing { display: flex; }
  .billing button { flex: 1; }
}
