:root {
  --ink: #101b2d;
  --ink-2: #26344a;
  --muted: #617086;
  --line: #dce4ee;
  --paper: #f5f7fa;
  --white: #fff;
  --blue: #1961ed;
  --blue-dark: #0f47b8;
  --blue-pale: #eaf2ff;
  --green: #08785d;
  --green-pale: #e8f7f2;
  --navy: #111d31;
  --orange: #f59e0b;
  --radius: 16px;
  --display: "Schibsted Grotesk", sans-serif;
  --body: "Hanken Grotesk", sans-serif;
  --mono: "JetBrains Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: var(--body); }
a { color: inherit; }
img { display: block; max-width: 100%; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 10px 14px; color: #fff; background: var(--blue); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.trust-nav { position: sticky; z-index: 30; top: 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 72px; padding: 0 4vw; border-bottom: 1px solid rgba(220,228,238,.9); background: rgba(255,255,255,.94); backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; gap: 10px; width: max-content; font-family: var(--display); font-size: 19px; font-weight: 800; text-decoration: none; }
.brand-mark { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 9px; color: #fff; background: var(--ink); font-size: 13px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--ink-2); font-size: 14px; font-weight: 600; text-decoration: none; }
.nav-links a:hover { color: var(--blue); }
.nav-cta { justify-self: end; padding: 10px 15px; border-radius: 9px; color: #fff; background: var(--ink); font-size: 13px; font-weight: 700; text-decoration: none; }

.trust-hero { padding: 96px 5vw 84px; overflow: hidden; background: linear-gradient(145deg, #f8fbff 0%, #eef4ff 54%, #f2faf7 100%); }
.hero-grid, .section, .signal-strip, .subprocessor-hero, footer { width: min(1180px, 90vw); margin: 0 auto; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(310px, .72fr); gap: 64px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(8,120,93,.1); }
h1, h2, h3 { margin: 0; font-family: var(--display); }
h1 { max-width: 820px; margin-top: 19px; font-size: clamp(44px, 6vw, 76px); line-height: .98; letter-spacing: -.045em; }
.hero-copy { max-width: 720px; margin: 26px 0 0; color: var(--ink-2); font-size: 19px; line-height: 1.6; }
.hero-actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 18px; border: 1px solid transparent; border-radius: 10px; font-size: 14px; font-weight: 700; text-decoration: none; }
.button-primary { color: #fff; background: var(--blue); }
.button-primary:hover { background: var(--blue-dark); }
.button-secondary { border-color: var(--line); background: rgba(255,255,255,.72); }
.button-secondary:hover { border-color: #b7c5d8; background: #fff; }
.assurance-card { padding: 26px; border: 1px solid rgba(158,178,205,.55); border-radius: var(--radius); background: rgba(255,255,255,.72); box-shadow: 0 22px 70px rgba(17,29,49,.08); }
.card-kicker, .document-type { color: var(--blue); font-family: var(--mono); font-size: 9px; font-weight: 600; letter-spacing: .1em; }
.assurance-row { display: flex; justify-content: space-between; gap: 22px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.assurance-row b { font-family: var(--display); }
.assurance-row span { color: var(--muted); text-align: right; }
.assurance-card p { margin: 17px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }

.signal-strip { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: -28px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 18px 50px rgba(17,29,49,.08); }
.signal-strip div { padding: 20px 22px; }
.signal-strip div + div { border-left: 1px solid var(--line); }
.signal-strip span { color: var(--blue); font-family: var(--mono); font-size: 9px; }
.signal-strip b, .signal-strip small { display: block; }
.signal-strip b { margin-top: 8px; font-family: var(--display); font-size: 13px; }
.signal-strip small { margin-top: 5px; color: var(--muted); font-size: 11px; }

.section { padding: 104px 0; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: end; margin-bottom: 42px; }
.section-head h2, .aws-grid h2, .diligence-card h2 { margin-top: 13px; font-size: clamp(32px, 4vw, 50px); line-height: 1.04; letter-spacing: -.035em; }
.section-head > p, .architecture-head > p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.control-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.control-grid article { min-height: 230px; padding: 27px; background: #fff; }
.control-grid article:nth-child(n+4) { border-top: 1px solid var(--line); }
.control-grid article:not(:nth-child(3n+1)) { border-left: 1px solid var(--line); }
.control-grid span, .flow-steps span, .residency-grid span { color: var(--blue); font-family: var(--mono); font-size: 9px; }
.control-grid h3 { margin-top: 25px; font-size: 18px; }
.control-grid p { margin: 10px 0 0; color: var(--muted); font-size: 13px; line-height: 1.58; }

.architecture-section { width: auto; max-width: none; padding-right: 5vw; padding-left: 5vw; background: var(--paper); }
.architecture-section > * { width: min(1180px, 90vw); margin-right: auto; margin-left: auto; }
.architecture-figure { padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 18px 55px rgba(17,29,49,.07); }
.architecture-figure img { width: 100%; border-radius: 10px; }
.architecture-figure figcaption { padding: 14px 6px 3px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.customer-control-band { display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: center; margin-top: 18px; padding: 19px 22px; border-radius: 12px; color: #fff; background: var(--navy); }
.customer-control-band span { color: #8eb4ff; font-family: var(--mono); font-size: 9px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.customer-control-band p { margin: 0; font-family: var(--display); font-size: 13px; font-weight: 600; line-height: 1.5; }
.customer-control-band i { margin: 0 4px; color: var(--orange); font-style: normal; }
.flow-steps { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 24px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.flow-steps div { padding: 21px; }
.flow-steps div + div { border-left: 1px solid var(--line); }
.flow-steps b, .flow-steps p { display: block; }
.flow-steps b { margin-top: 13px; font-family: var(--display); font-size: 14px; }
.flow-steps p { margin: 6px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.audit-note { display: grid; grid-template-columns: .75fr 1.25fr; gap: 44px; align-items: center; margin-top: 24px; padding: 27px; border: 1px solid #bdd6cc; border-radius: 14px; background: var(--green-pale); }
.audit-note h3 { margin-top: 10px; font-size: 20px; }
.audit-note p { margin: 0; color: var(--ink-2); font-size: 13px; line-height: 1.62; }

.aws-section { width: auto; max-width: none; padding-right: 5vw; padding-left: 5vw; color: #fff; background: var(--navy); }
.aws-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; width: min(1180px, 90vw); margin: 0 auto; align-items: center; }
.eyebrow-light { color: #7ba7ff; }
.aws-grid > div > p { color: #bec9d9; font-size: 16px; line-height: 1.7; }
.text-link-light { display: inline-block; margin-top: 12px; color: #fff; font-weight: 700; text-decoration-color: #5f84c9; text-underline-offset: 5px; }
.wafr-card { padding: 29px; border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius); background: rgba(255,255,255,.06); }
.wafr-card .card-kicker { color: #7ba7ff; }
.wafr-card h3 { margin: 12px 0 18px; font-size: 23px; }
.wafr-stat { display: inline-flex; align-items: baseline; gap: 8px; margin-right: 26px; }
.wafr-stat strong { font-family: var(--display); font-size: 37px; }
.wafr-stat span { color: #bec9d9; font-size: 11px; }
.wafr-card p { color: #d5deea; font-size: 13px; line-height: 1.6; }
.wafr-card small { display: block; padding-top: 15px; border-top: 1px solid rgba(255,255,255,.12); color: #9dabbf; line-height: 1.5; }

.document-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.document-card { display: flex; min-height: 250px; padding: 26px; border: 1px solid var(--line); border-radius: 14px; background: #fff; flex-direction: column; }
.document-card.featured { border-color: #b8cef8; background: var(--blue-pale); }
.document-card.restricted { color: #fff; border-color: var(--navy); background: var(--navy); }
.document-card.restricted .document-type { color: #8eb4ff; }
.document-card h3 { margin-top: 24px; font-size: 20px; line-height: 1.15; }
.document-card p { margin: 11px 0 20px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.document-card.restricted p { color: #b8c4d5; }
.document-card a { width: max-content; margin-top: auto; color: var(--blue); font-size: 13px; font-weight: 700; text-decoration: none; }
.document-card.restricted a { color: #fff; }

.diligence-section { padding-top: 20px; }
.diligence-card { display: flex; gap: 50px; align-items: center; justify-content: space-between; padding: 44px; border-radius: 18px; background: linear-gradient(135deg, var(--blue-pale), var(--green-pale)); }
.diligence-card h2 { font-size: 36px; }
.diligence-card p { max-width: 760px; margin: 12px 0 0; color: var(--muted); line-height: 1.6; }
.diligence-card .button { flex: 0 0 auto; }

footer { padding: 72px 0 26px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 70px; }
.footer-grid > div { display: flex; align-items: flex-start; flex-direction: column; gap: 10px; }
.footer-grid p { color: var(--muted); }
.footer-grid b { margin-bottom: 6px; font-family: var(--display); font-size: 13px; }
.footer-grid a:not(.brand) { color: var(--muted); font-size: 13px; text-decoration: none; }
.footer-grid a:hover { color: var(--blue); }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 52px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }

.subprocessor-hero { display: grid; grid-template-columns: 1.5fr .55fr; gap: 70px; padding-top: 92px; padding-bottom: 76px; align-items: end; }
.subprocessor-hero h1 { font-size: clamp(42px, 5.5vw, 68px); }
.subprocessor-hero > div > p { max-width: 800px; margin: 25px 0 0; color: var(--ink-2); font-size: 18px; line-height: 1.62; }
.subprocessor-hero aside { padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.subprocessor-hero aside span { color: var(--blue); font-family: var(--mono); font-size: 9px; }
.subprocessor-hero aside b { display: block; margin-top: 10px; font-family: var(--display); }
.subprocessor-hero aside p { margin: 10px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.compact-section { padding-top: 20px; }
.notice { padding: 22px 24px; border-left: 4px solid var(--blue); background: var(--blue-pale); }
.notice b { font-family: var(--display); }
.notice p { margin: 6px 0 0; color: var(--muted); }
.table-wrap { margin-top: 30px; overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.subprocessor-table { width: 100%; min-width: 850px; border-collapse: collapse; }
.subprocessor-table th { padding: 16px; color: #fff; background: var(--navy); font-family: var(--mono); font-size: 9px; font-weight: 500; letter-spacing: .07em; text-align: left; text-transform: uppercase; }
.subprocessor-table td { padding: 20px 16px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 13px; line-height: 1.5; vertical-align: top; }
.subprocessor-table tbody tr:nth-child(even) { background: var(--paper); }
.subprocessor-table td b, .subprocessor-table td small { display: block; }
.subprocessor-table td b { color: var(--ink); font-family: var(--display); }
.subprocessor-table td small { margin-top: 5px; color: var(--muted); }
.status { display: inline-block; padding: 5px 8px; border-radius: 999px; font-family: var(--mono); font-size: 8px; font-weight: 600; text-transform: uppercase; }
.status.required { color: #075945; background: #dff5ed; }
.status.configured { color: #174aa6; background: #e3edff; }
.status.optional { color: #74500b; background: #fff1cf; }
.status.web { color: #5c3e98; background: #efe7ff; }
.residency-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 36px; border: 1px solid var(--line); border-radius: 14px; }
.residency-grid article { padding: 28px; }
.residency-grid article + article { border-left: 1px solid var(--line); }
.residency-grid h2 { margin-top: 20px; font-size: 20px; }
.residency-grid p { color: var(--muted); font-size: 13px; line-height: 1.58; }
.subprocessor-cta { margin-top: 54px; }

@media (max-width: 920px) {
  .trust-nav { grid-template-columns: 1fr auto; }
  .nav-links { display: none; }
  .hero-grid, .section-head, .aws-grid, .subprocessor-hero { grid-template-columns: 1fr; }
  .hero-grid { gap: 38px; }
  .signal-strip, .control-grid, .flow-steps { grid-template-columns: repeat(2, 1fr); }
  .signal-strip div:nth-child(3), .signal-strip div:nth-child(4), .control-grid article:nth-child(n+3), .flow-steps div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .signal-strip div:nth-child(3), .control-grid article:nth-child(odd), .flow-steps div:nth-child(odd) { border-left: 0; }
  .control-grid article:not(:nth-child(odd)), .flow-steps div:not(:nth-child(odd)) { border-left: 1px solid var(--line); }
  .customer-control-band, .audit-note { grid-template-columns: 1fr; gap: 12px; }
  .document-grid { grid-template-columns: repeat(2, 1fr); }
  .diligence-card { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 620px) {
  .trust-nav { min-height: 64px; padding: 0 20px; }
  .nav-cta { padding: 9px 11px; font-size: 11px; }
  .trust-hero { padding: 68px 20px 72px; }
  .hero-grid, .section, .signal-strip, .subprocessor-hero, footer { width: auto; margin-right: 20px; margin-left: 20px; }
  h1 { font-size: 43px; }
  .hero-copy { font-size: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .signal-strip { grid-template-columns: 1fr; margin-top: -24px; }
  .signal-strip div + div { border-top: 1px solid var(--line); border-left: 0; }
  .section { padding-top: 76px; padding-bottom: 76px; }
  .section-head { gap: 22px; }
  .control-grid, .flow-steps, .document-grid, .residency-grid { grid-template-columns: 1fr; }
  .control-grid article, .flow-steps div, .residency-grid article { min-height: auto; }
  .control-grid article + article, .flow-steps div + div, .residency-grid article + article { border-top: 1px solid var(--line); border-left: 0; }
  .customer-control-band { align-items: flex-start; }
  .customer-control-band p { font-size: 12px; }
  .architecture-section, .aws-section { padding-right: 20px; padding-left: 20px; }
  .architecture-section > *, .aws-grid { width: auto; }
  .architecture-figure { padding: 8px; overflow-x: auto; }
  .architecture-figure img { min-width: 780px; }
  .wafr-stat { display: flex; margin-bottom: 8px; }
  .diligence-card { padding: 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
  .subprocessor-hero { gap: 28px; padding-top: 64px; padding-bottom: 56px; }
}
