@font-face{font-family:'Schibsted Grotesk Variable';src:url('/fonts/schibsted-grotesk.woff2') format('woff2-variations');font-weight:100 900;font-style:normal;font-display:swap}@font-face{font-family:'JetBrains Mono Variable';src:url('/fonts/jetbrains-mono.woff2') format('woff2-variations');font-weight:100 900;font-style:normal;font-display:swap}/* SECDASH — styles derived from the secuma app (colors, type, tile format) */

:root {
  --page: #151516;
  --bg: #1c1c1e;          /* secuma app background */
  --deep: #0d0d0e;        /* tile fill */
  --line: #2a2a2d;
  --border: #252525;
  --text: #a4a4a6;
  --dim: #6e6e72;
  --white: #fefefe;
  --primary: #78ff62;
  --secondary: #8338ea;
  --success: #dbeda4;
  --warning: #ffac4a;
  --error: #ff6d51;
  --f-head: 'Schibsted Grotesk Variable', 'Schibsted Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-body: 'JetBrains Mono Variable', 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  --wrap: 1240px;
  --gut: clamp(20px, 4vw, 48px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 15px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
::selection { color: var(--deep); background: var(--primary); }
img, svg { max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
strong { color: var(--white); font-weight: 600; }
h1, h2, h3 {
  font-family: var(--f-head);
  color: var(--white);
  font-weight: 500;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); line-height: 1.02; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.06; letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; line-height: 1.25; letter-spacing: -0.005em; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--primary); color: var(--deep); padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-body); font-size: 14px; font-weight: 500;
  text-decoration: none; color: var(--deep);
  background: var(--primary);
  border: 1px solid var(--primary);
  padding: 12px 20px; border-radius: 999px;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { background: #9dff8c; border-color: #9dff8c; }
.btn-ghost { background: transparent; color: var(--white); border-color: #3a3a3d; }
.btn-ghost:hover { background: #232326; border-color: #4a4a4e; }
.btn-small { padding: 7px 16px; font-size: 13px; background: transparent; color: var(--white); border-color: #3a3a3d; }
.btn-small:hover { background: #232326; border-color: #4a4a4e; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(21, 21, 22, .82);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}
.header-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); font-family: var(--f-head); font-weight: 600; font-size: 20px; letter-spacing: -0.02em; }
.mark { width: 24px; height: 24px; flex: none; }
.mark.small { width: 16px; height: 16px; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 13px; color: var(--text); }
.nav a:hover { color: var(--white); }
@media (max-width: 900px) {
  .nav { display: none; }
  .header-inner .btn-small { margin-left: auto; }
}

/* ---------- hero ---------- */
.hero { padding-top: clamp(40px, 8vw, 96px); padding-bottom: clamp(56px, 8vw, 112px); }
.hero-text { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 56px; align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.hero h1 { max-width: 11ch; }
.lead { font-size: 15px; max-width: 46ch; }
.lead p { margin-bottom: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (max-width: 900px) { .hero-text { grid-template-columns: 1fr; } }

/* ---------- app frame (secuma look) ---------- */
.app {
  margin: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.02) inset;
}
.app-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 22px; border-bottom: 1px solid var(--border);
  font-size: 12px;
}
.app-brand { display: inline-flex; align-items: center; gap: 8px; color: var(--white); font-family: var(--f-head); font-weight: 600; font-size: 15px; }
.app-overall { color: var(--dim); text-align: right; }
.app-overall strong { color: var(--primary); font-weight: 600; margin-left: 6px; }
.app-crumbs {
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px;
  padding: 16px 22px 0; font-size: 12px; color: var(--dim);
}
.crumb { font: inherit; color: var(--text); background: none; border: 0; padding: 4px 6px; border-radius: 8px; }
.crumb.dim { color: var(--dim); }
.crumb-root { cursor: pointer; }
.crumb-root:hover { color: var(--white); background: #26262a; }
.crumb.current { color: var(--white); }
.crumb-current { display: inline-flex; align-items: center; gap: 6px; }
.app-body { padding: 18px 22px 24px; }

/* tile grid */
.tile-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tile-grid.sub { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
@media (max-width: 1000px) { .tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }


/* The secuma tile: gradient hairline border, deep fill */
.tile {
  position: relative; isolation: isolate;
  display: flex; flex-direction: column; align-items: stretch; text-align: left;
  font: inherit; color: inherit;
  padding: 16px; border: 0; border-radius: 18px;
  background: linear-gradient(to bottom right, #202022 0%, #3c3c3f 10%, #202022 15%, #151517 50%, #3c3c3f 90%, #202022 95%, #202022 100%);
  transition: transform .2s ease;
}
.tile::after {
  content: ''; position: absolute; inset: 1px; z-index: -1;
  background: var(--deep); border-radius: 17px; transition: background .2s ease;
}
button.tile { cursor: pointer; }
button.tile:hover { transform: translate3d(0, -2px, 0); }
button.tile:hover::after { background: #141416; }
.tile-name { display: flex; align-items: flex-start; gap: 8px; color: var(--white); font-family: var(--f-head); font-weight: 500; font-size: 15px; line-height: 1.25; min-height: 2.5em; }
.tile-name .ico { flex: none; margin-top: 1px; color: var(--text); }
.tile-meta { font-size: 11px; color: var(--dim); margin: 6px 0 14px; }

/* degree-of-fulfillment box: red base, success fill (as in the app) */
.tile-progress, .task-progress {
  position: relative; overflow: hidden;
  display: flex; align-items: flex-end;
  margin-top: auto; height: 84px; border-radius: 11px;
  background: rgba(255, 109, 81, .1);
  box-shadow: inset 0 0 0 1px rgba(255, 109, 81, .2);
}
.tile-progress .bar, .task-progress .bar {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: calc(var(--p, 0) * 100%);
  background: rgba(219, 237, 164, .2);
  box-shadow: inset -1px 0 0 rgba(219, 237, 164, .35);
}
.tile-pct { position: relative; color: var(--white); font-family: var(--f-head); font-size: 26px; line-height: 1; padding: 11px 12px; }

/* single orchestrated load moment: hero bars fill once */
@keyframes fill { from { width: 0; } }
.tile-grid.main .bar { animation: fill 1.3s cubic-bezier(.2, .7, .2, 1) both; }
.tile-grid.main .tile:nth-child(2) .bar { animation-delay: .06s; }
.tile-grid.main .tile:nth-child(3) .bar { animation-delay: .12s; }
.tile-grid.main .tile:nth-child(4) .bar { animation-delay: .18s; }
.tile-grid.main .tile:nth-child(5) .bar { animation-delay: .24s; }
.tile-grid.main .tile:nth-child(6) .bar { animation-delay: .30s; }
.tile-grid.main .tile:nth-child(7) .bar { animation-delay: .36s; }
.tile-grid.main .tile:nth-child(8) .bar { animation-delay: .42s; }
.tile-grid.sub:not([hidden]) .bar { animation: fill .7s cubic-bezier(.2, .7, .2, 1) both; }
@media (prefers-reduced-motion: reduce) { .bar { animation: none !important; } button.tile:hover { transform: none; } }

.demo-caption { font-size: 12px; color: var(--dim); margin-top: 14px; }

/* ---------- sections ---------- */
.section { padding-top: clamp(64px, 9vw, 128px); padding-bottom: clamp(8px, 2vw, 16px); }
.sec-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 20px 56px; align-items: start; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head h2 { max-width: 16ch; }
.sec-intro { max-width: 58ch; padding-top: 6px; }
@media (max-width: 900px) { .sec-head { grid-template-columns: 1fr; } }

.challenge .sec-head { margin-bottom: 0; }
.challenge .sec-intro p:first-child { color: var(--white); }

/* three views: the top rule is itself the meter */
.lenses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
@media (max-width: 900px) { .lenses { grid-template-columns: 1fr; gap: 36px; } }
.lens-meter { position: relative; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; margin-bottom: 22px; }
.lens-meter .bar { position: absolute; inset: 0 auto 0 0; width: calc(var(--p) * 100%); background: var(--primary); border-radius: 4px; }
.lens-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.lens-top h3 { font-size: 1.6rem; }
.lens-val { font-size: 12px; color: var(--dim); }
.lens p:first-of-type strong { font-weight: 500; }

/* split layout: visual + features */
.split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px 64px; align-items: start; }
.split-wide { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
@media (max-width: 1000px) { .split, .split-wide { grid-template-columns: 1fr; } }
.features { display: grid; gap: 28px; }
.feature h3 { margin-bottom: 8px; }
.feature { padding-left: 18px; border-left: 1px solid var(--line); }
.footnote { font-size: 11px; color: var(--dim); }

/* task list mock */
.app-tasks .app-overall { color: var(--text); }
.task-progress { margin: 20px 22px 8px; height: 64px; }
.tasks { list-style: none; margin: 0; padding: 8px 22px 22px; }
.task {
  display: grid; grid-template-columns: 22px minmax(0, 1fr) auto auto; align-items: center; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 13px;
}
.task:last-child { border-bottom: 0; }
.task .box { width: 18px; height: 18px; border: 1px solid #45454a; border-radius: 6px; display: grid; place-items: center; color: var(--deep); }
.task.done .box { background: var(--success); border-color: var(--success); }
.task.done .task-name { color: var(--dim); text-decoration: line-through; text-decoration-color: #4a4a4e; }
.task.progress .box { border-color: var(--warning); }
.task-name { color: var(--white); }
.task-extra { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; color: var(--dim); }
.task-extra .ico { margin-left: 6px; }
.chip { font-size: 11px; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.chip.done { color: var(--success); background: rgba(219, 237, 164, .1); }
.chip.progress { color: var(--warning); background: rgba(255, 172, 74, .1); }
.chip.open { color: var(--error); background: rgba(255, 109, 81, .1); }
@media (max-width: 560px) { .task { grid-template-columns: 22px minmax(0, 1fr) auto; } .task-extra { display: none; } }

/* spreadsheet mock */
.sheet { margin: 0; background: #1a1a1c; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; font-size: 12px; }
.sheet-bar { display: flex; align-items: center; gap: 10px; padding: 11px 16px; background: #212124; border-bottom: 1px solid var(--border); color: var(--text); }
.sheet-dot { width: 14px; height: 14px; border-radius: 4px; background: #1f7a45; box-shadow: inset 0 0 0 3px #26a15a; }
.sheet-formula { display: flex; align-items: center; gap: 12px; padding: 8px 16px; border-bottom: 1px solid var(--border); }
.fx { font-style: italic; color: var(--dim); font-family: var(--f-head); }
.sheet-formula code { font-family: var(--f-body); color: var(--white); font-size: 12px; }
.sheet-scroll { overflow-x: auto; }
.sheet table { border-collapse: collapse; width: 100%; min-width: 560px; }
.sheet th, .sheet td { border: 1px solid #2a2a2d; padding: 0 8px; height: 32px; text-align: center; font-weight: 400; }
.sheet thead th { color: var(--dim); background: #202023; height: 24px; }
.sheet .rn { color: var(--dim); background: #202023; width: 34px; }
.sheet .hdr td { color: var(--white); font-weight: 600; background: #202023; }
.sheet .hdr td:first-of-type { text-align: left; }
.sheet .dom { text-align: left; color: var(--white); white-space: nowrap; }
.sheet .num { color: var(--text); font-variant-numeric: tabular-nums; }
.sheet td.c { width: 44px; padding: 5px; }
.sheet td.c::before { content: ''; display: block; height: 100%; border-radius: 4px; }
.sheet td.lv-0::before, .sheet td.lv-1::before { background: rgba(255, 109, 81, .55); }
.sheet td.lv-2::before { background: rgba(255, 172, 74, .55); }
.sheet td.lv-3::before { background: rgba(219, 237, 164, .45); }
.sheet td.lv-4::before, .sheet td.lv-5::before { background: rgba(120, 255, 98, .5); }
.sheet td.target { box-shadow: inset 0 0 0 2px var(--secondary); }
.sheet .total td { font-weight: 600; background: #1f1f22; }
.sheet .total .dom, .sheet .total .num { color: var(--primary); }
.sheet-tabs { display: flex; gap: 2px; padding: 0 12px; background: #202023; border-top: 1px solid var(--border); overflow-x: auto; }
.tab { padding: 8px 14px; color: var(--dim); white-space: nowrap; }
.tab.active { color: var(--primary); background: #1a1a1c; box-shadow: inset 0 2px 0 var(--primary); }

/* ATT&CK comparison */
.attack { margin: 0; background: var(--bg); border: 1px solid var(--border); border-radius: 24px; padding: 22px; }
.legend { display: flex; flex-wrap: wrap; gap: 18px; font-size: 12px; margin-bottom: 16px; }
.lg { display: inline-flex; align-items: center; gap: 8px; }
.lg::before { content: ''; width: 12px; height: 12px; border-radius: 3px; }
.lg.prev::before { background: #4a4a4e; }
.lg.latest::before { background: var(--primary); }
.tactics { list-style: none; margin: 0; padding: 0; }
.tactics li { display: grid; grid-template-columns: 170px minmax(0, 1fr); align-items: center; gap: 14px; padding: 6px 0; border-top: 1px solid var(--border); }
.tactic { font-size: 12px; color: var(--white); }
.bars { display: grid; gap: 3px; }
.b { position: relative; display: flex; align-items: center; height: 9px; }
.b .bar { height: 100%; width: calc(var(--p) * 100%); border-radius: 3px; }
.b.prev .bar { background: #4a4a4e; }
.b.latest .bar { background: var(--primary); }
.b em { font-style: normal; font-size: 10px; color: var(--dim); margin-left: 8px; line-height: 1; }
.attack figcaption { font-size: 11px; color: var(--dim); margin-top: 14px; }
@media (max-width: 560px) { .tactics li { grid-template-columns: 1fr; gap: 6px; } }

/* compliance frameworks: large type rows */
.frameworks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.frameworks li { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 12px 56px; align-items: start; padding: 28px 0; border-bottom: 1px solid var(--line); }
.frameworks h3 { font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1; letter-spacing: -0.025em; font-weight: 500; }
.frameworks li div { max-width: 58ch; padding-top: 6px; }
@media (max-width: 900px) { .frameworks li { grid-template-columns: 1fr; } }

/* contact */
.contact { padding-bottom: clamp(64px, 9vw, 128px); }
.mails { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .mails { grid-template-columns: 1fr; } }
.mail {
  display: flex; flex-direction: column; gap: 14px; text-decoration: none;
  padding: 28px; border-radius: 24px; background: var(--bg); border: 1px solid var(--border);
  transition: border-color .15s ease, background .15s ease;
}
.mail:hover { border-color: var(--primary); background: #1f1f21; }
.mail-addr { display: inline-flex; align-items: center; gap: 12px; color: var(--white); font-family: var(--f-head); font-size: clamp(1.3rem, 2.6vw, 2rem); letter-spacing: -0.015em; word-break: break-all; }
.mail-addr .ico { color: var(--primary); flex: none; }
.mail-note { font-size: 13px; color: var(--text); }

/* footer */
.site-footer { border-top: 1px solid var(--border); padding: 36px 0 44px; font-size: 12px; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; }
.footer-brand { display: flex; gap: 14px; align-items: flex-start; line-height: 1.6; }
.footer-brand .mark { margin-top: 2px; }
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; color: var(--dim); }
.footer-nav a { color: var(--text); text-decoration: none; }
.footer-nav a:hover { color: var(--white); }

/* legal pages: overlay shown via #legal / #privacy */
.legal { display: none; }
.legal:target { display: block; position: fixed; inset: 0; z-index: 50; overflow-y: auto; background: var(--page); }
.legal-inner { max-width: 760px; margin: 0 auto; padding: 48px var(--gut) 80px; }
.legal-close { float: right; }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 48px 0 28px; }
.legal h2 { font-size: 1.3rem; margin: 32px 0 10px; letter-spacing: 0; }
.legal a { color: var(--primary); }

.notfound { padding-top: 20vh; }
.notfound h1 { margin-bottom: 32px; }

/* compact secuma tiles on small screens */
@media (max-width: 560px) {
  .app-body { padding: 14px 14px 18px; }
  .tile-grid, .tile-grid.sub { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tile { padding: 12px; border-radius: 14px; }
  .tile::after { border-radius: 13px; }
  .tile-name { font-size: 13px; }
  .tile-name .ico { display: none; }
  .tile-meta { margin: 2px 0 10px; }
  .tile-progress { height: 54px; border-radius: 9px; }
  .tile-pct { font-size: 20px; padding: 8px 9px; }
  .app-bar, .app-crumbs { padding-left: 14px; padding-right: 14px; }
}
.p-0{--p:0}.p-1{--p:0.01}.p-2{--p:0.02}.p-3{--p:0.03}.p-4{--p:0.04}.p-5{--p:0.05}.p-6{--p:0.06}.p-7{--p:0.07}.p-8{--p:0.08}.p-9{--p:0.09}.p-10{--p:0.1}.p-11{--p:0.11}.p-12{--p:0.12}.p-13{--p:0.13}.p-14{--p:0.14}.p-15{--p:0.15}.p-16{--p:0.16}.p-17{--p:0.17}.p-18{--p:0.18}.p-19{--p:0.19}.p-20{--p:0.2}.p-21{--p:0.21}.p-22{--p:0.22}.p-23{--p:0.23}.p-24{--p:0.24}.p-25{--p:0.25}.p-26{--p:0.26}.p-27{--p:0.27}.p-28{--p:0.28}.p-29{--p:0.29}.p-30{--p:0.3}.p-31{--p:0.31}.p-32{--p:0.32}.p-33{--p:0.33}.p-34{--p:0.34}.p-35{--p:0.35}.p-36{--p:0.36}.p-37{--p:0.37}.p-38{--p:0.38}.p-39{--p:0.39}.p-40{--p:0.4}.p-41{--p:0.41}.p-42{--p:0.42}.p-43{--p:0.43}.p-44{--p:0.44}.p-45{--p:0.45}.p-46{--p:0.46}.p-47{--p:0.47}.p-48{--p:0.48}.p-49{--p:0.49}.p-50{--p:0.5}.p-51{--p:0.51}.p-52{--p:0.52}.p-53{--p:0.53}.p-54{--p:0.54}.p-55{--p:0.55}.p-56{--p:0.56}.p-57{--p:0.57}.p-58{--p:0.58}.p-59{--p:0.59}.p-60{--p:0.6}.p-61{--p:0.61}.p-62{--p:0.62}.p-63{--p:0.63}.p-64{--p:0.64}.p-65{--p:0.65}.p-66{--p:0.66}.p-67{--p:0.67}.p-68{--p:0.68}.p-69{--p:0.69}.p-70{--p:0.7}.p-71{--p:0.71}.p-72{--p:0.72}.p-73{--p:0.73}.p-74{--p:0.74}.p-75{--p:0.75}.p-76{--p:0.76}.p-77{--p:0.77}.p-78{--p:0.78}.p-79{--p:0.79}.p-80{--p:0.8}.p-81{--p:0.81}.p-82{--p:0.82}.p-83{--p:0.83}.p-84{--p:0.84}.p-85{--p:0.85}.p-86{--p:0.86}.p-87{--p:0.87}.p-88{--p:0.88}.p-89{--p:0.89}.p-90{--p:0.9}.p-91{--p:0.91}.p-92{--p:0.92}.p-93{--p:0.93}.p-94{--p:0.94}.p-95{--p:0.95}.p-96{--p:0.96}.p-97{--p:0.97}.p-98{--p:0.98}.p-99{--p:0.99}.p-100{--p:1}