/* Secpine Technologies — site styles */

@font-face { font-family: "Poppins"; font-weight: 400; font-style: normal; font-display: swap; src: url("assets/fonts/poppins-regular.woff") format("woff"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-style: normal; font-display: swap; src: url("assets/fonts/poppins-medium.woff") format("woff"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-style: normal; font-display: swap; src: url("assets/fonts/poppins-bold.woff") format("woff"); }

:root {
  --navy: #0A1B3D;
  --navy-2: #102650;
  --navy-line: #22386A;
  --blue: #2160F3;
  --blue-hover: #1846C4;
  --blue-light: #3D86FF;
  --green: #10B981;
  --green-light: #2FD69B;
  --slate: #46546E;
  --frost: #EEF3F9;
  --line: #D9E1EC;
  --ink: #0A1B3D;
  --on-navy: #FFFFFF;
  --on-navy-soft: #C3CEE2;
  --radius: 10px;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: #FFFFFF;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 { margin: 0; line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); max-width: 22ch; }
h3 { font-size: 1.25rem; }
p { margin: 0; }

a { color: var(--blue); }
a:hover { color: var(--blue-hover); }
:focus-visible { outline: 3px solid var(--green-light); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--navy); padding: 8px 14px; border-radius: 6px; z-index: 10; }
.skip:focus { left: 16px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 22px; border-radius: var(--radius);
  font-weight: 500; font-size: 1rem; text-decoration: none; line-height: 1.2;
  border: 2px solid transparent; transition: background-color .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-hover); color: #fff; }
.btn-ghost { color: var(--on-navy); border-color: var(--navy-line); }
.btn-ghost:hover { color: var(--on-navy); border-color: var(--on-navy-soft); }
.btn-outline { color: var(--navy); border-color: var(--line); background: #fff; }
.btn-outline:hover { color: var(--navy); border-color: var(--navy); }
.btn-small { min-height: 44px; padding: 8px 16px; font-size: .95rem; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ---------- header ---------- */
.site-header { background: var(--navy); color: var(--on-navy); border-bottom: 1px solid var(--navy-line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand img { height: 46px; width: auto; }
.site-header nav { display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--on-navy-soft); text-decoration: none; font-size: .95rem; }
.nav-links a:hover { color: #fff; }

/* ---------- hero ---------- */
.hero { background: var(--navy); color: var(--on-navy); padding: 88px 0 104px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.1rem); line-height: 1.04; letter-spacing: -0.025em; max-width: 12ch; }
.lede { margin-top: 24px; font-size: 1.15rem; color: var(--on-navy-soft); max-width: 46ch; }

/* the access ledger */
.ledger { margin: 0; background: var(--navy-2); border: 1px solid var(--navy-line); border-radius: 14px; padding: 10px; }
.ledger-rows { list-style: none; margin: 0; padding: 0; }
.row {
  display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; grid-template-areas: "kind who tag" "kind what tag";
  column-gap: 14px; row-gap: 2px; align-items: center; padding: 14px 14px; border-radius: 10px;
}
.row + .row { border-top: 1px solid var(--navy-line); border-top-left-radius: 0; border-top-right-radius: 0; }
.kind { grid-area: kind; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; }
.kind svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.kind-person { background: rgba(47, 214, 155, .14); color: var(--green-light); }
.kind-machine { background: rgba(61, 134, 255, .16); color: #8DB6FF; }
.kind-agent { background: rgba(141, 182, 255, .12); color: #C9B6FF; }
.who { grid-area: who; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; min-width: 0; }
.name { font-weight: 500; color: #fff; font-size: .98rem; }
.type { color: var(--on-navy-soft); font-size: .82rem; }
.what { grid-area: what; color: #E3E9F4; font-size: .88rem; }
.tag { grid-area: tag; justify-self: end; font-size: .78rem; font-weight: 500; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.tag-ok { background: rgba(47, 214, 155, .16); color: var(--green-light); }
.tag-info { background: rgba(61, 134, 255, .18); color: #9DC0FF; }
.tag-time { background: rgba(195, 206, 226, .14); color: #DCE3EF; }
.tag-off { background: rgba(251, 146, 120, .16); color: #FFB49E; }
.ledger figcaption { padding: 12px 14px 6px; font-size: .8rem; color: var(--on-navy-soft); }

/* one orchestrated load moment: decisions arrive in order */
@media (prefers-reduced-motion: no-preference) {
  .row { animation: arrive .5s cubic-bezier(.2, .7, .2, 1) both; }
  .row:nth-child(1) { animation-delay: .25s; }
  .row:nth-child(2) { animation-delay: .55s; }
  .row:nth-child(3) { animation-delay: .85s; }
  .row:nth-child(4) { animation-delay: 1.15s; }
  .row:nth-child(5) { animation-delay: 1.45s; }
  .row .tag { animation: stamp .35s ease-out both; }
  .row:nth-child(1) .tag { animation-delay: .6s; }
  .row:nth-child(2) .tag { animation-delay: .9s; }
  .row:nth-child(3) .tag { animation-delay: 1.2s; }
  .row:nth-child(4) .tag { animation-delay: 1.5s; }
  .row:nth-child(5) .tag { animation-delay: 1.8s; }
}
@keyframes arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes stamp { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }

/* ---------- sections ---------- */
.band { padding: 96px 0; }
.intro { margin-top: 18px; color: var(--slate); max-width: 62ch; font-size: 1.1rem; }

/* identity types echo the three tiers of the logo */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 56px; }
.tier { position: relative; padding-top: 44px; }
.tier::before {
  content: ""; position: absolute; top: 0; left: 0; width: 56px; height: 26px;
  clip-path: polygon(50% 0, 100% 100%, 78% 100%, 50% 38%, 22% 100%, 0 100%);
}
.tier-1::before { background: #12A58F; }
.tier-2::before { background: #1A86C2; }
.tier-3::before { background: var(--blue); }
.tier > p { margin-top: 8px; color: var(--slate); }
.tier ul { margin: 18px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); list-style: none; }
.tier li { position: relative; padding-left: 22px; margin-top: 10px; font-size: .98rem; }
.tier li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 2px; background: var(--green); }

.services { background: var(--frost); }
.svc-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; margin: 48px 0 0; }
.svc { padding: 26px 0; border-top: 1px solid var(--line); }
.svc dt { font-weight: 700; font-size: 1.15rem; }
.svc dd { margin: 8px 0 0; color: var(--slate); max-width: 52ch; }
.note { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--slate); font-size: .98rem; }

.table-wrap { margin-top: 40px; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 560px; }
th, td { text-align: left; padding: 18px 20px 18px 0; vertical-align: top; }
thead th { font-size: .85rem; font-weight: 500; color: var(--slate); border-bottom: 2px solid var(--navy); }
tbody th { font-weight: 700; white-space: nowrap; }
tbody tr { border-bottom: 1px solid var(--line); }
tbody td:last-child { white-space: nowrap; color: var(--slate); }

.why { background: var(--navy); color: var(--on-navy); }
.why-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; }
.why-list { list-style: none; margin: 0; padding: 0; }
.why-list li { padding: 20px 0; border-top: 1px solid var(--navy-line); color: var(--on-navy-soft); }
.why-list li:first-child { border-top: 0; padding-top: 0; }
.why-list strong { color: #fff; font-weight: 500; }

.contact-box > p { margin-top: 16px; color: var(--slate); font-size: 1.1rem; max-width: 58ch; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: var(--on-navy-soft); padding: 56px 0 28px; font-size: .95rem; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.footer-grid img { height: 40px; width: auto; }
.footer-tag { margin-top: 14px; max-width: 34ch; }
.social { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; margin: 0; padding: 0; }
.site-footer a { color: var(--on-navy-soft); }
.site-footer a:hover { color: #fff; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--navy-line); font-size: .88rem; }

/* ---------- simple pages ---------- */
.page { padding: 72px 0 96px; }
.page .wrap { max-width: 760px; }
.page h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
.page h2 { font-size: 1.35rem; margin-top: 40px; max-width: none; }
.page p, .page li { color: var(--slate); }
.page p { margin-top: 14px; }
.page .updated { font-size: .9rem; }


/* ---------- cited statistic ---------- */
.stat { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px; margin-top: 32px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); max-width: 760px; }
.stat-num { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; color: var(--blue); line-height: 1; letter-spacing: -0.02em; }
.stat-text { flex: 1 1 280px; min-width: 0; color: var(--ink); }
.stat-text a { display: block; margin-top: 4px; font-size: .85rem; color: var(--slate); }

/* ---------- platforms ---------- */
.platforms { margin-top: 40px; }
.platforms h3 { font-size: 1.05rem; }
.platforms ul { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 16px 0 0; padding: 0; }
.platforms li { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: .92rem; font-weight: 500; }
.platforms p { margin-top: 14px; color: var(--slate); font-size: .95rem; }

/* ---------- risk check: one card, one step at a time ---------- */
.risk { background: #FFFFFF; }
.rc-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 64px; align-items: center; }
.rc-intro .rc-how { margin: 28px 0 0; padding-left: 22px; color: var(--ink); }
.rc-intro .rc-how li { padding-left: 4px; }
.rc-intro .rc-how li + li { margin-top: 10px; }
.rc-intro .rc-how li::marker { color: var(--blue); font-weight: 700; }

.rc-card { background: var(--navy); color: var(--on-navy); border-radius: 16px; padding: 32px; min-height: 380px; display: flex; flex-direction: column; justify-content: center; }
.rc-card > .rc-step { width: 100%; }
.rc-top { margin-bottom: 28px; }
.rc-progress { display: flex; justify-content: space-between; gap: 12px; font-size: .88rem; color: var(--on-navy-soft); }
.rc-progress #rc-area { color: var(--green-light); font-weight: 500; }
.rc-qtext { font-size: clamp(1.2rem, 2vw, 1.45rem); font-weight: 500; line-height: 1.35; color: #fff; min-height: 3.9em; }
.rc-opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 24px; }
.rc-opt-btn { min-height: 52px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--navy-line); background: var(--navy-2); color: #fff; font: inherit; font-size: .95rem; font-weight: 500; cursor: pointer; transition: background-color .15s, border-color .15s; }
.rc-opt-btn:hover { border-color: var(--on-navy-soft); }
.rc-opt-btn[data-value="2"][aria-pressed="true"] { background: var(--green); border-color: var(--green); }
.rc-opt-btn[data-value="1"][aria-pressed="true"] { background: #F5B942; border-color: #F5B942; color: var(--navy); }
.rc-opt-btn[data-value="0"][aria-pressed="true"] { background: #fff; border-color: #fff; color: var(--navy); }
.rc-opt-btn:focus-visible { outline: 3px solid var(--green-light); outline-offset: 2px; }
.rc-back { margin-top: 18px; }

.rc-score { margin-top: 8px; font-weight: 700; line-height: 1; }
.rc-score #rc-score { font-size: 3.5rem; letter-spacing: -0.02em; }
.rc-outof { font-size: 1.75rem; color: var(--on-navy-soft); margin-left: 2px; }
.rc-band { margin-top: 12px; color: #fff; }
.rc-areas { margin: 20px 0 0; display: grid; gap: 8px; }
.rc-areas div { display: flex; justify-content: space-between; padding-top: 8px; border-top: 1px solid var(--navy-line); font-size: .95rem; }
.rc-areas dt { color: var(--on-navy-soft); }
.rc-areas dd { margin: 0; font-weight: 500; font-variant-numeric: tabular-nums; }
.rc-fixes { margin-top: 24px; }
.rc-fixes h3 { font-size: 1rem; color: var(--green-light); }
.rc-fixes ol { margin: 10px 0 0; padding-left: 20px; color: #E3E9F4; font-size: .93rem; }
.rc-fixes li + li { margin-top: 8px; }

/* risk check panel steps */
.rc-card h3 { font-size: 1.15rem; color: #fff; }
.rc-bar { height: 6px; margin-top: 10px; border-radius: 999px; background: var(--navy-line); overflow: hidden; }
.rc-bar span { display: block; height: 100%; width: 0; background: var(--green-light); transition: width .25s ease; }
.rc-wide { width: 100%; margin-top: 22px; }
.rc-wide:disabled { opacity: .7; cursor: progress; }
.rc-msg { margin-top: 12px; color: #FFB49E; font-size: .92rem; }
.rc-msg:empty { display: none; }
.rc-sub { margin-top: 10px; color: var(--on-navy-soft); font-size: .95rem; }
.rc-sub strong { color: #fff; font-weight: 500; overflow-wrap: anywhere; }
.rc-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; margin-top: 18px; }
.rc-field { display: grid; gap: 6px; align-content: start; }
#rc-verify .rc-field { margin-top: 18px; }
.rc-field label { font-size: .9rem; color: var(--on-navy-soft); }
.rc-opt { color: #8FA0BF; }
.rc-field input { font: inherit; font-size: 1rem; color: var(--navy); background: #fff; border: 2px solid transparent; border-radius: 8px; padding: 10px 12px; min-height: 46px; width: 100%; }
.rc-field input:focus-visible { outline: none; border-color: var(--green-light); }
#rc-code { letter-spacing: .4em; font-size: 1.3rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.rc-consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; font-size: .85rem; color: var(--on-navy-soft); }
.rc-consent input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--green); }
.rc-consent a { color: #fff; }
.rc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rc-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 14px; }
.rc-link { margin-top: 14px; padding: 6px 0; background: none; border: 0; color: var(--on-navy-soft); font: inherit; font-size: .9rem; text-decoration: underline; cursor: pointer; }
.rc-links .rc-link { margin-top: 0; }
.rc-link:hover { color: #fff; }
.rc-link:disabled { opacity: .6; cursor: progress; }
.rc-preview { margin-top: 16px; padding: 10px 12px; border: 1px dashed var(--navy-line); border-radius: 8px; color: var(--on-navy-soft); font-size: .82rem; }
#rc-results:focus { outline: none; }
@media (prefers-reduced-motion: reduce) { .rc-bar span, .rc-opt-btn { transition: none; } }

/* ---------- FAQ ---------- */
.faq-list { margin-top: 36px; max-width: 820px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-weight: 500; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 40px 22px 0; color: var(--slate); max-width: 68ch; }
.contact { background: var(--frost); }

@media (max-width: 960px) {
  .rc-layout { grid-template-columns: minmax(0, 1fr); gap: 36px; }
}
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .tiers { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .why-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .svc-list { grid-template-columns: minmax(0, 1fr); }
  .band { padding: 72px 0; }
  .hero { padding: 56px 0 72px; }
  .brand img { height: 38px; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .row { grid-template-columns: 36px minmax(0, 1fr); grid-template-areas: "kind who" "kind what" "kind tag"; }
  .kind { width: 36px; height: 36px; }
  .tag { justify-self: start; margin-top: 6px; }
  .actions .btn { width: 100%; }
}

@media (max-width: 600px) {
  table { min-width: 0; }
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  tbody tr { display: block; padding: 16px 0; }
  tbody th, tbody td { display: block; padding: 0; white-space: normal; }
  tbody td { margin-top: 4px; }
  tbody td:last-child { margin-top: 6px; font-size: .92rem; }
  .table-wrap { border-top: 2px solid var(--navy); }
}

@media (max-width: 480px) {
  .rc-card { padding: 24px 20px; min-height: 0; }
  .rc-opts { grid-template-columns: minmax(0, 1fr); }
  .rc-qtext { min-height: 0; }
  .rc-fields { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- hero identity network (background) ---------- */
.hero { position: relative; isolation: isolate; }
.hero-grid { position: relative; z-index: 1; }
.net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(100deg, transparent 12%, rgba(0,0,0,.25) 42%, #000 72%);
          mask-image: linear-gradient(100deg, transparent 12%, rgba(0,0,0,.25) 42%, #000 72%); }
.net-lines line { stroke: #22386A; stroke-width: 1; }
.net-pulses line { stroke: var(--green-light); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 14 86; stroke-dashoffset: 100; opacity: 0; }
.n { stroke: none; }
.n-p { fill: #1E8F78; }
.n-m { fill: #2F5FB8; }
.n-a { fill: #7B6FD0; }
@media (prefers-reduced-motion: no-preference) {
  .net-pulses line { animation: travel 7s linear infinite; }
  .p1 { animation-delay: 0s; } .p2 { animation-delay: .8s; } .p3 { animation-delay: 1.6s; }
  .p4 { animation-delay: 2.4s; } .p5 { animation-delay: 3.2s; } .p6 { animation-delay: 4s; }
  .p7 { animation-delay: 4.8s; } .p8 { animation-delay: 5.6s; } .p9 { animation-delay: 6.4s; }
  .n.g1, .n.g2, .n.g3, .n.g4, .n.g5, .n.g6 { animation: blink 6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
  .g2 { animation-delay: 1s !important; } .g3 { animation-delay: 2s !important; } .g4 { animation-delay: 3s !important; }
  .g5 { animation-delay: 4s !important; } .g6 { animation-delay: 5s !important; }
}
@keyframes travel {
  0% { stroke-dashoffset: 100; opacity: 0; }
  10% { opacity: .9; }
  45% { stroke-dashoffset: 0; opacity: .9; }
  55%, 100% { stroke-dashoffset: 0; opacity: 0; }
}
@keyframes blink { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .55; transform: scale(1.6); } }

/* ---------- why secpine illustration ---------- */
.why-head { display: flex; flex-direction: column; gap: 36px; }
.why-art { width: 100%; max-width: 460px; height: auto; }
@media (max-width: 960px) { .why-art { max-width: 380px; } }

/* ---------- contact extras ---------- */
.contact-box > p.contact-alt { margin-top: 18px; color: var(--slate); font-size: .98rem; max-width: none; }
@media (max-width: 760px) { .net { opacity: .45; } }
button.btn { font-family: inherit; cursor: pointer; }

/* ---------- call-back form ---------- */
.contact-layout { align-items: start; }
.rc-span { grid-column: 1 / -1; }
.rc-field select, .rc-field textarea { font: inherit; font-size: 1rem; color: var(--navy); background: #fff; border: 2px solid transparent; border-radius: 8px; padding: 10px 12px; width: 100%; }
.rc-field select { min-height: 46px; }
.rc-field textarea { resize: vertical; min-height: 84px; }
.rc-field select:focus-visible, .rc-field textarea:focus-visible { outline: none; border-color: var(--green-light); }
.cb-card { min-height: 0; }
#cb-done:focus { outline: none; }
