/* Cyberjeck.io — brand tokens derived from the logo (cyan to navy gradient, shield mark) */
:root {
  --navy: #0f2a5c;
  --navy-deep: #0a1c40;
  --blue: #1e7fc8;
  --cyan: #2fb0e8;
  --ink: #152238;
  --muted: #5b6b85;
  --line: #d7dfeb;
  --bg: #ffffff;
  --bg-alt: #f3f7fc;
  --card: #ffffff;
  --accent-grad: linear-gradient(135deg, #2fb0e8 0%, #1e7fc8 55%, #0f2a5c 100%);
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 42, 92, 0.10);
  --font-display: "Sora", "Segoe UI", Arial, sans-serif;
  --font-body: "Nunito Sans", "Segoe UI", Arial, sans-serif;
  --container: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 14px; color: var(--navy); text-wrap: balance; }
h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 600; }
h3 { font-size: 20px; font-weight: 600; }
p { margin: 0 0 14px; }
ul { margin: 0 0 14px; padding-left: 20px; }
.container { width: min(var(--container), 100% - 32px); margin-inline: auto; }
.lead { font-size: 19px; color: var(--muted); max-width: 62ch; }
.eyebrow { font-family: var(--font-display); font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); margin: 0 0 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 12px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: 15px; padding: 11px 20px; border-radius: 10px; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; text-decoration: none; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid rgba(47, 176, 232, .45); outline-offset: 2px; }
.btn-lg { padding: 14px 26px; font-size: 16px; }
.btn-primary { background: var(--accent-grad); color: #fff; box-shadow: 0 6px 18px rgba(30, 127, 200, .3); }
.btn-primary:hover { box-shadow: 0 10px 24px rgba(30, 127, 200, .38); color: #fff; }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: var(--bg-alt); }
.btn-light { background: #fff; color: var(--navy); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); color: #fff; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand img { width: 150px; height: auto; }
.nav-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav-menu a:not(.btn) { display: block; padding: 8px 12px; border-radius: 8px; color: var(--ink); font-weight: 600; font-size: 15px; }
.nav-menu a:not(.btn):hover, .nav-menu a.active { background: var(--bg-alt); color: var(--navy); text-decoration: none; }
.nav-cta { margin-left: 6px; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav-toggle span:not(.sr-only) { display: block; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: transform .2s; }

/* hero */
.hero { padding: 64px 0 40px; background: radial-gradient(1200px 500px at 80% -10%, rgba(47,176,232,.18), transparent 60%), radial-gradient(800px 400px at 0% 100%, rgba(15,42,92,.08), transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 12px; }
.hero-note { font-size: 14px; color: var(--muted); }
.hero-shot img, .shot img { border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }
.hero-shot figcaption, .shot figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; }
figure { margin: 0; min-width: 0; }

/* sections */
.section { padding: 72px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.section-head .lead { margin-inline: auto; }
.page-hero { padding: 64px 0 24px; background: linear-gradient(180deg, rgba(47,176,232,.12), transparent); }
.page-hero .lead { margin-top: 6px; }

.stats { padding: 36px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.stat-n { font-family: var(--font-display); font-size: 30px; font-weight: 700; margin: 0 0 8px; background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat p:last-child { margin: 0; color: var(--muted); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; }
.step-n { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--accent-grad); color: #fff; font-family: var(--font-display); font-weight: 700; margin-bottom: 14px; }
.steps p { margin: 0; color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.split.reverse > :last-child { order: 1; }
.split > * { min-width: 0; }
.pills { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 600; color: var(--navy); }
.section.alt .pills li { background: #fff; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; min-width: 0; }
.card p:last-child { margin: 0; color: var(--muted); }
.card.quote { background: var(--navy); color: #fff; border: 0; font-size: 20px; font-family: var(--font-display); line-height: 1.5; }
.card.quote p { color: #fff; }

.checks { list-style: none; padding: 0; }
.checks li { position: relative; padding-left: 28px; margin-bottom: 9px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 6px; width: 17px; height: 17px; border-radius: 50%; background: var(--accent-grad); -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M4 10.5l4 4 8-9'/></svg>") center/contain no-repeat, linear-gradient(#000 0 0); mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M4 10.5l4 4 8-9'/></svg>") center/contain no-repeat; }

/* features */
.feature-rows { display: grid; gap: 56px; }
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.feature-row:nth-child(even) > :first-child { order: 2; }
.feature-row > * { min-width: 0; }
.diagram-note { background: var(--bg-alt); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.fineprint { font-size: 13px; color: var(--muted); }

/* pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.plan-featured { border: 2px solid var(--blue); box-shadow: var(--shadow); }
.badge { position: absolute; top: -13px; left: 24px; background: var(--accent-grad); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; margin: 0; }
.plan-for { color: var(--muted); min-height: 48px; }
.price { margin: 6px 0 18px; display: flex; align-items: baseline; gap: 6px; }
.amount { font-family: var(--font-display); font-size: 40px; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
.per { color: var(--muted); }
.plan .checks { flex: 1; }
.plan .btn { margin-top: 8px; width: 100%; }
.pricing-grid + .fineprint { text-align: center; margin-top: 22px; }

.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; }
.faq summary { cursor: pointer; font-family: var(--font-display); font-weight: 600; color: var(--navy); }
.faq details p { margin: 10px 0 0; color: var(--muted); }

/* contact */
.contact-form .field { display: grid; gap: 6px; margin-bottom: 14px; }
.contact-form label { font-weight: 700; font-size: 14px; }
.contact-form input, .contact-form select, .contact-form textarea { font: inherit; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 3px solid rgba(47,176,232,.35); border-color: var(--blue); }
.hp { position: absolute; left: -9999px; }
.form-status { margin: 12px 0 0; font-size: 14px; color: var(--muted); min-height: 20px; }
.form-status.ok { color: #1b7f4b; }
.form-status.err { color: #b42318; }

/* insights */
.post-card h3 a { color: var(--navy); }
.posts { display: grid; gap: 40px; max-width: 820px; margin: 0 auto; }
.post { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.post p { max-width: 68ch; }

/* legal */
.legal { max-width: 820px; }
.legal h2 { font-size: 22px; margin-top: 32px; }
.legal h3 { font-size: 17px; margin-top: 18px; }

/* cta band */
.cta-band { background: var(--navy-deep); color: #fff; padding: 64px 0; background-image: radial-gradient(700px 300px at 90% 0%, rgba(47,176,232,.35), transparent 60%); }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.8); max-width: 60ch; margin: 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* footer */
.site-footer { background: #0b1730; color: rgba(255,255,255,.78); padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand img { width: 150px; background: #fff; border-radius: 10px; padding: 8px; margin-bottom: 14px; }
.footer-brand p { max-width: 42ch; font-size: 15px; }
.site-footer h3 { color: #fff; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.footer-link { display: block; color: rgba(255,255,255,.78); margin-bottom: 8px; font-size: 15px; }
.footer-link:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 18px; font-size: 13px; }

/* responsive */
@media (max-width: 980px) {
  .hero-grid, .split, .feature-row { grid-template-columns: 1fr; }
  .split.reverse > :first-child, .feature-row:nth-child(even) > :first-child { order: 0; }
  .split.reverse > :last-child { order: 0; }
  .cards, .steps, .stats-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-menu { display: none; position: absolute; left: 0; right: 0; top: 76px; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 12px 16px 18px; gap: 6px; }
  .nav-menu.open { display: flex; }
  .nav-cta { margin: 4px 0 0; }
  .nav-cta .btn { width: 100%; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .section { padding: 52px 0; }
  .cards, .cards.three, .steps, .stats-grid, .pricing-grid, .footer-grid { grid-template-columns: 1fr; }
  .brand img { width: 120px; }
  .hero { padding-top: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
