/* Wakefence ZeroSOC website. Tokens from the Wakefence visual identity (direction D, Glass). */
@font-face { font-family: "Atkinson Hyperlegible Next"; src: url("/assets/fonts/atkinson-hyperlegible-next.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible Mono"; src: url("/assets/fonts/atkinson-hyperlegible-mono.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  --night: #120E17; --surface: #1E1924; --surface-2: #2A2231; --line-dark: #3A3143;
  --paper: #F6F2EA; --paper-2: #EDE7DC; --line-paper: #DDD5C8;
  --text-on-dark: #F4F1F5; --text-2-on-dark: #DBD4DF; --text-3-on-dark: #A89EAF;
  --text-on-paper: #1B1520; --text-2-on-paper: #4A4152; --text-3-on-paper: #6B6172;
  --leaf: #6EA95D; --leaf-text: #B8E6AA; --leaf-on-paper: #3F7A30;
  --bract: #823A74; --bract-text: #E7BFDC;
  --decision: #F5B35C; --decision-text: #FFC77D; --on-decision: #2A1A05;
  --danger: #F43F5E; --info: #38BDF8; --action: #5EEAD4;
  --font: "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Atkinson Hyperlegible Mono", ui-monospace, monospace;
  --radius-pill: 999px; --radius-pane: 24px; --radius-card: 18px;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; background: var(--night); color: var(--text-on-dark); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--leaf-text); text-underline-offset: 3px; }
a:hover { color: #D9F2D0; }
:focus-visible { outline: 2px solid var(--leaf-text); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; line-height: 1.15; font-weight: 800; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: 24px; }
.skip { position: absolute; left: -999px; top: 8px; padding: 8px 14px; background: var(--decision); color: var(--on-decision); border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(18,14,23,0.82); backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%); border-bottom: 1px solid rgba(255,255,255,0.08); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.brand img { width: 230px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--text-2-on-dark); text-decoration: none; padding: 9px 14px; border-radius: var(--radius-pill); font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,0.08); }
.nav .btn { margin-left: 8px; }
.menu { display: none; }
.menu summary { list-style: none; cursor: pointer; padding: 10px 16px; border-radius: var(--radius-pill); border: 1px solid rgba(255,255,255,0.28); color: #fff; font-weight: 700; font-size: 15px; }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] .nav { display: flex; position: absolute; left: 0; right: 0; top: 72px; flex-direction: column; align-items: stretch; padding: 12px 24px 20px; background: var(--night); border-bottom: 1px solid rgba(255,255,255,0.1); }
@media (max-width: 960px) {
  .site-header .nav.desktop { display: none; }
  .menu { display: block; }
  .brand img { width: 190px; }
}

/* buttons: liquid pills */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 24px; border-radius: var(--radius-pill); font-weight: 800; font-size: 16px; text-decoration: none; border: 1px solid rgba(255,255,255,0.3); color: #fff; background: linear-gradient(180deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.06) 50%, rgba(255,255,255,0.03) 100%); box-shadow: inset 0 1px 1px rgba(255,255,255,0.4); }
.btn:hover { color: #fff; background: linear-gradient(180deg, rgba(255,255,255,0.28) 0%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.05) 100%); }
.btn-cta, .nav a.btn-cta { color: #fff; border-color: rgba(255,255,255,0.4); background: linear-gradient(180deg, rgba(255,255,255,0.38) 0%, rgba(255,255,255,0.06) 48%, rgba(255,255,255,0) 54%), linear-gradient(180deg, #9E4E8C, #6F2E62); box-shadow: inset 0 1px 1px rgba(255,255,255,0.55), inset 0 -3px 6px rgba(40,0,30,0.35), 0 10px 26px rgba(130,58,116,0.4); }
.btn-cta:hover, .nav a.btn-cta:hover { color: #fff; background: linear-gradient(180deg, rgba(255,255,255,0.46) 0%, rgba(255,255,255,0.1) 48%, rgba(255,255,255,0) 54%), linear-gradient(180deg, #A9599A, #7A356C); }
.on-paper .btn:not(.btn-cta) { color: var(--text-on-paper); border-color: rgba(27,21,32,0.2); background: rgba(255,255,255,0.7); box-shadow: 0 6px 16px rgba(27,21,32,0.08); }

/* sections */
.section { position: relative; overflow: hidden; padding-block: 96px; }
.section-dark { background-color: var(--night); background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px); background-size: 48px 48px; }
.on-paper { background-color: var(--paper); color: var(--text-on-paper); background-image: linear-gradient(rgba(27,21,32,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(27,21,32,0.04) 1px, transparent 1px); background-size: 48px 48px; }
.on-paper a { color: var(--leaf-on-paper); }
.glow::before, .glow::after { content: ""; position: absolute; width: 760px; height: 760px; border-radius: 50%; pointer-events: none; }
/* glows touch only the left and right edges of the window; they fade out before a section's top and bottom */
.glow::before { right: -380px; top: -110px; background: radial-gradient(circle, rgba(130,58,116,0.55), rgba(130,58,116,0) 66%); }
.glow::after { left: -380px; bottom: -110px; background: radial-gradient(circle, rgba(110,169,93,0.4), rgba(110,169,93,0) 66%); }
.page-hero.glow::before, .page-hero.glow::after, .cta.glow::before, .cta.glow::after { width: 400px; height: 400px; }
.page-hero.glow::before, .cta.glow::before { right: -200px; top: -20px; }
.page-hero.glow::after, .cta.glow::after { left: -200px; bottom: -20px; }
.on-paper.glow::before { background: radial-gradient(circle, rgba(130,58,116,0.16), rgba(130,58,116,0) 66%); }
.on-paper.glow::after { background: radial-gradient(circle, rgba(110,169,93,0.2), rgba(110,169,93,0) 66%); }
.section > .wrap { position: relative; z-index: 1; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--leaf-text); margin-bottom: 12px; }
.eyebrow.amber { color: var(--decision-text); }
.on-paper .eyebrow { color: var(--bract); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); }
.section-head p { margin-top: 16px; font-size: 19px; color: var(--text-2-on-dark); }
.on-paper .section-head p { color: var(--text-2-on-paper); }

/* hero */
.hero { padding-block: 72px 96px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5.4vw, 64px); letter-spacing: -0.01em; }
.hero-lines { margin-top: 26px; display: grid; gap: 12px; }
.hero-lines p { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; font-size: 21px; font-weight: 700; line-height: 1.35; }
.hero-lines p::before { content: ""; height: 2px; margin-top: 0.7em; background: var(--decision); }
.hero-lines p.leaf::before { background: var(--leaf); }
.hero .lead { margin-top: 26px; font-size: 18px; color: var(--text-2-on-dark); max-width: 560px; }
.actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.shots { position: relative; padding-bottom: 72px; }
.shot { border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,0.14); box-shadow: 0 30px 60px rgba(0,0,0,0.45); background: var(--surface); }
.shot-float { position: absolute; right: -12px; bottom: 0; width: 52%; filter: drop-shadow(0 24px 36px rgba(0,0,0,0.5)); }
/* a picture that brings its own rounded card (the Teams approval): no frame, a shadow that follows its shape */
.shot-card { filter: drop-shadow(0 24px 36px rgba(0,0,0,0.45)); }
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 48px; }
  .shot-float { right: 0; width: 64%; }
}

/* cards and grids */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.card { border-radius: var(--radius-card); padding: 26px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 20px 40px rgba(0,0,0,0.22); }
.card h3 { font-size: 21px; margin-bottom: 10px; }
.card p { color: var(--text-2-on-dark); }
.on-paper .card { background: rgba(255,255,255,0.72); border-color: rgba(27,21,32,0.08); box-shadow: 0 12px 28px rgba(27,21,32,0.07); }
.on-paper .card p { color: var(--text-2-on-paper); }
.step { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; align-items: start; }
.step .n { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 20px; color: #fff; background: var(--night); }
.feature h3 { font-size: 20px; margin-bottom: 8px; }
.feature p { color: var(--text-2-on-dark); }
.on-paper .feature p { color: var(--text-2-on-paper); }
.dots { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.dots li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; color: var(--text-2-on-dark); }
.dots li::before { content: ""; width: 9px; height: 9px; margin-top: 0.6em; border-radius: 50%; background: var(--leaf); }
.dots b { color: var(--text-on-dark); }
.on-paper .dots li { color: var(--text-2-on-paper); }
.on-paper .dots b { color: var(--text-on-paper); }
.built-on { display: flex; align-items: center; gap: 14px; margin-top: 28px; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; color: var(--text-3-on-dark); }
.built-on img { width: 120px; }

/* split rows with a picture */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.split + .split { margin-top: 96px; }
.split.reverse > :first-child { order: 2; }
.split h2 { font-size: clamp(28px, 3.4vw, 38px); margin-bottom: 16px; }
.split p + p, .split p + ul, .split ul + p { margin-top: 14px; }
.split p { color: var(--text-2-on-dark); }
.on-paper .split p { color: var(--text-2-on-paper); }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; gap: 32px; } .split.reverse > :first-child { order: 0; } }

/* timeline */
.timeline { list-style: none; margin: 0; padding: 22px 24px; display: grid; gap: 14px; border-radius: var(--radius-card); background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); }
.timeline li { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 12px; font-size: 15px; color: var(--text-2-on-dark); }
.timeline li::before { content: ""; width: 10px; height: 10px; margin-top: 0.5em; border-radius: 50%; background: var(--tone, var(--info)); box-shadow: 0 0 10px var(--tone, var(--info)); }
.timeline .k { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--tone, var(--info)); }
.timeline .t { font-family: var(--mono); font-size: 12px; color: var(--text-3-on-dark); margin-right: 8px; }
.timeline .attacker { --tone: var(--danger); }
.timeline .action { --tone: var(--action); }
.timeline .person { --tone: var(--decision); }

/* comparison table */
.table-wrap { overflow-x: auto; border-radius: var(--radius-card); border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.04); }
table { width: 100%; border-collapse: collapse; min-width: 720px; }
th, td { text-align: left; vertical-align: top; padding: 18px 22px; border-bottom: 1px solid rgba(255,255,255,0.08); }
thead th { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3-on-dark); }
tbody th { width: 22%; font-weight: 700; color: var(--text-on-dark); }
td { color: var(--text-2-on-dark); }
td.us { color: var(--text-on-dark); background: rgba(110,169,93,0.06); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }

/* call to action band */
.cta { text-align: center; }
.cta h2 { font-size: clamp(30px, 4vw, 44px); }
.cta p { margin: 16px auto 0; max-width: 620px; font-size: 19px; color: var(--text-2-on-dark); }
.on-paper.cta p { color: var(--text-2-on-paper); }
.cta .actions { justify-content: center; }
.mail { font-family: var(--mono); font-size: 17px; }

/* page hero for inner pages */
.page-hero { padding-block: 80px 40px; }
.page-hero h1 { font-size: clamp(38px, 5vw, 56px); max-width: 880px; }
.page-hero p { margin-top: 18px; max-width: 720px; font-size: 20px; color: var(--text-2-on-dark); }
.prose { max-width: 760px; }
.prose h2 { font-size: 26px; margin: 40px 0 12px; }
.prose p, .prose li { color: var(--text-2-on-paper); }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 20px; }

/* footer */
.site-footer { border-top: 1px solid rgba(255,255,255,0.08); padding-block: 56px 40px; font-size: 15px; color: var(--text-3-on-dark); }
.site-footer .cols { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.site-footer img { width: 150px; margin-bottom: 14px; }
.site-footer h2 { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-2-on-dark); margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--text-2-on-dark); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.08); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; }
@media (max-width: 860px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer .cols { grid-template-columns: 1fr; } }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding-block: 64px; }
  .wrap { padding-inline: 16px; }
}
@media (prefers-reduced-transparency: reduce) {
  .site-header { background: var(--night); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .card, .timeline { background: var(--surface); }
  .on-paper .card { background: #fff; }
  .glow::before, .glow::after { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
