/* 48Forge: light "sky tint" theme. Pale sky page, white cards, ink text, cyan accents. */
:root {
  color-scheme: light;
  --bg: #F0F9FF;        /* sky page */
  --surface: #FFFFFF;
  --tint: #E0F2FE;
  --line: #E0F2FE;
  --line-2: #CBD5E1;
  --ink: #0F172A;
  --text: #0F172A;
  --muted: #475569;
  --faint: #64748B;
  --cyan: #0891B2;      /* brand: logo, "max", icons */
  --cyan-deep: #0E7490; /* text links and white-on-cyan surfaces (AA contrast) */
  --cyan-light: #22D3EE;
  --ok-bg: #DCFCE7; --ok: #166534;
  --warn-bg: #FEF3C7; --warn: #92400E;
  --max: 1160px;
  --radius: 16px;
  --shadow: 0 1px 3px rgba(15, 23, 42, .06);
  --shadow-lg: 0 12px 32px rgba(8, 145, 178, .12);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--text);
  font: 17px/1.6 Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: Inter, sans-serif; font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; }
h3, h4 { font-weight: 700; letter-spacing: -0.015em; }
h1 em, h2 em { font-style: normal; color: var(--cyan); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.mono { font-family: "JetBrains Mono", ui-monospace, monospace; }
.eyebrow {
  font-family: "JetBrains Mono", monospace; font-size: 13px; font-weight: 500; color: var(--cyan-deep);
  letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 14px;
}
.text-link { color: var(--cyan-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.text-link:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 10px;
  font-weight: 600; font-size: 16px; background: var(--ink); color: #fff; border: 1.5px solid var(--ink);
  transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(15, 23, 42, .18); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--surface); box-shadow: none; }
.btn.light { background: #fff; color: var(--ink); border-color: #fff; }
.btn.outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .8); }
.btn.outline-light:hover { background: rgba(255, 255, 255, .08); box-shadow: none; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }

/* Nav: plain links, each opens its own page */
nav { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
nav.scrolled { box-shadow: 0 4px 16px rgba(15, 23, 42, .06); }
nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: "DM Sans", sans-serif; font-weight: 700; font-size: 23px; letter-spacing: -0.03em; color: var(--ink); white-space: nowrap; }
.brand svg { width: 30px; height: 30px; flex: none; }
.brand em { font-style: normal; color: var(--cyan); }
.menu { display: flex; gap: 4px; list-style: none; }
.menu > li { position: relative; }
.menu > li > button { display: flex; align-items: center; gap: 6px; padding: 9px 13px; border: 0; background: none; border-radius: 8px; font: 500 15px/1 Inter, sans-serif; color: var(--muted); cursor: pointer; }
.menu > li > button:hover, .menu > li.open > button { color: var(--ink); background: var(--bg); }
.menu > li.active > button { color: var(--ink); }
.menu > li > button::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: -14px; height: 2px; background: var(--cyan); border-radius: 2px; opacity: 0; transition: opacity .15s; }
/* The underline marks the current section, and moves to whichever menu is hovered or open */
.menu > li.active > button::after, .menu > li:hover > button::after, .menu > li.open > button::after { opacity: 1; }
.menu:has(> li:hover, > li.open) > li.active:not(:hover, .open) > button::after { opacity: 0; }
.caret { width: 10px; height: 10px; transition: transform .2s; }
.menu > li.open .caret { transform: rotate(180deg); }
.dropdown { position: absolute; top: calc(100% + 12px); left: -8px; min-width: 340px; background: #fff; border: 1px solid var(--line-2); border-radius: 14px; box-shadow: 0 18px 40px rgba(15, 23, 42, .12); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .16s, transform .16s, visibility .16s; }
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.menu > li.open .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown.wide { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 8px; width: 700px; left: 50%; transform: translate(-50%, 6px); }
.menu > li.open .dropdown.wide { transform: translate(-50%, 0); }
.dd-head { font-family: "JetBrains Mono", monospace; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); padding: 10px 12px 4px; }
.dd-item { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 10px; }
.dd-item:hover, .dd-item[aria-current="page"] { background: var(--bg); }
.dd-item .icon { flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--tint); color: var(--cyan-deep); display: grid; place-items: center; }
.dd-item .icon svg { width: 19px; height: 19px; }
.dd-item strong { display: block; font-size: 15px; font-weight: 600; color: var(--ink); }
.dd-item .d { display: block; font-size: 13px; color: var(--faint); line-height: 1.45; margin-top: 2px; }
.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-right .btn { padding: 9px 16px; font-size: 15px; }
.lang { display: flex; border: 1px solid var(--line-2); border-radius: 8px; overflow: hidden; font-size: 13px; font-weight: 600; }
.lang a { padding: 5px 9px; color: var(--faint); }
.lang a[aria-current="true"] { background: var(--ink); color: #fff; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger i { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu .mobile-cta { display: none; }
.link-card { display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.link-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.link-card p { flex-grow: 1; }
.link-card .go { margin-top: 14px; font-weight: 600; font-size: 15px; color: var(--cyan-deep); }

/* Home hero */
.hero { padding: 88px 0 80px; }
/* Hero depth: faint diagonal lines and a large outlined keyhole O from the logo */
.hero, .page-hero { position: relative; overflow: hidden; isolation: isolate; }
.hero > .wrap, .page-hero > .wrap { position: relative; z-index: 1; }
.hero::before, .page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: repeating-linear-gradient(115deg, transparent 0 46px, rgba(8, 145, 178, .07) 46px 47px);
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); }
.hero::after, .page-hero::after { content: ""; position: absolute; z-index: -1; pointer-events: none; aspect-ratio: 1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%230891B2' stroke-opacity='.22' stroke-width='1.5'%3E%3Ccircle cx='32' cy='32' r='30.5' vector-effect='non-scaling-stroke'/%3E%3Ccircle cx='32' cy='32' r='21.5' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M27.67 31.85A6.5 6.5 0 1 1 36.33 31.85L38.5 44H25.5Z' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center / contain no-repeat; }
.hero::after { width: min(600px, 80vw); top: -70px; left: calc(50% - 230px); }
@media (max-width: 1020px) { .hero::after { left: auto; right: -120px; top: -80px; } }
.page-hero::after { width: min(460px, 60vw); top: -90px; right: -90px; }

.hero .wrap { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.hero-copy { flex: 1 1 520px; min-width: 0; }
.hero h1 { font-size: clamp(42px, 6vw, 68px); letter-spacing: -0.045em; line-height: 1.03; margin-bottom: 22px; }
.hero .lead { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 580px; margin-bottom: 32px; }
.decisions { flex: 1 1 420px; min-width: 0; background: var(--surface); border: 1px solid #BAE6FD; border-radius: 20px; padding: 24px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 12px; }
.decisions .label { font-family: "JetBrains Mono", monospace; font-size: 12px; color: var(--muted); letter-spacing: .05em; }
.decision { background: var(--surface); border: 1px solid var(--line-2); border-radius: 12px; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.decision b { display: block; font-size: 15px; font-weight: 600; }
.decision span { font-size: 13px; color: var(--faint); }
.decisions .note { font-size: 13px; color: var(--muted); }
.tag { flex: none; font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.tag.allow { color: var(--ok); background: var(--ok-bg); }
.tag.approve { color: var(--warn); background: var(--warn-bg); }
.tag.deny { color: #fff; background: var(--ink); }
.strip { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip .wrap { display: flex; align-items: center; gap: 28px; padding-top: 18px; padding-bottom: 18px; font-size: 14px; color: var(--muted); }
.strip b { color: var(--ink); font-weight: 600; white-space: nowrap; }
.marquee { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee .track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.marquee ul { display: flex; list-style: none; margin: 0; padding: 0; }
.marquee li { padding: 0 30px; white-space: nowrap; font-size: 17px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: #94A3B8; }
.carousel .track { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 4px; scroll-behavior: smooth; padding: 4px 4px 8px; margin: -4px; scrollbar-width: none; }
.carousel .track::-webkit-scrollbar { display: none; }
.carousel .track:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; border-radius: var(--radius); }
.carousel .card { flex: 0 0 calc((100% - 44px) / 3.15); scroll-snap-align: start; opacity: 1; transform: none; }
.carousel-nav { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }
.carousel-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 18px; cursor: pointer; transition: background .15s, opacity .15s; }
.carousel-nav button:hover:not(:disabled) { background: var(--tint); }
.carousel-nav button:disabled { opacity: .35; cursor: default; }
@media (max-width: 1020px) { .carousel .card { flex-basis: calc((100% - 22px) / 2.1); } }
@media (max-width: 600px) { .carousel .card { flex-basis: 85%; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee .track { animation: none; width: auto; }
  .marquee ul { flex-wrap: wrap; row-gap: 10px; }
  .marquee ul[aria-hidden] { display: none; }
}
@media (max-width: 700px) { .strip .wrap { flex-direction: column; gap: 12px; } .marquee { width: 100%; } }

/* Inner page hero */
.page-hero { padding: 64px 0 56px; background: var(--surface); border-bottom: 1px solid var(--line); }
.crumbs { font-size: 14px; color: var(--faint); margin-bottom: 18px; }
.crumbs a:hover { color: var(--ink); }
.crumbs b { color: var(--ink); font-weight: 500; }
.page-hero h1 { font-size: clamp(36px, 5vw, 56px); letter-spacing: -0.04em; max-width: 860px; margin-bottom: 18px; }
.page-hero .lead { font-size: clamp(18px, 2vw, 20px); color: var(--muted); max-width: 720px; margin-bottom: 28px; }
.page-hero .lead:last-child { margin-bottom: 0; }

/* Sections */
section { padding: 88px 0; }
section.alt { background: var(--surface); }
section.tight { padding-top: 0; }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 18px; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { background: var(--surface); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
section.alt .card { background: var(--bg); box-shadow: none; }
.card h3 { font-size: 21px; margin-bottom: 8px; }
.card p, .card li { color: var(--muted); font-size: 16px; }
.card .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--tint); color: var(--cyan-deep); display: grid; place-items: center; margin-bottom: 16px; }
section.alt .card .icon { background: var(--surface); }
.card .icon svg { width: 22px; height: 22px; }
.card .num { font-family: "JetBrains Mono", monospace; color: var(--cyan); font-size: 14px; margin-bottom: 10px; }
.card ul { padding-left: 18px; margin-top: 10px; }
.card.dashed { border: 1.5px dashed var(--line-2); box-shadow: none; }
.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.split > * { flex: 1 1 420px; min-width: 0; }
.checks { list-style: none; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; color: var(--muted); }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E7490' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat; }
.checks li b { color: var(--ink); font-weight: 600; }

/* Tier table */
.table-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; box-shadow: var(--shadow); }
table.tiers { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 16px; }
.tiers th { text-align: left; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--faint); font-weight: 600; background: #F8FAFC; padding: 14px 20px; }
.tiers td { padding: 15px 20px; border-top: 1px solid var(--line); color: var(--muted); vertical-align: top; }
.tiers td:first-child { color: var(--ink); font-weight: 600; white-space: nowrap; }
.tiers td.hi { color: var(--warn); font-weight: 600; }
.tiers td.max { color: var(--ink); font-weight: 600; }

/* Steps */
.steps { list-style: none; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); counter-reset: s; }
.steps li { counter-increment: s; background: var(--surface); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
section.alt .steps li { background: var(--bg); box-shadow: none; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; font-size: 15px; margin-bottom: 14px; font-family: Inter, sans-serif; }
.steps h3 { font-size: 19px; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 16px; }

/* Enforcement architecture */
.arch { display: grid; gap: 18px; }
.arch .points { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.arch .point { background: var(--surface); border: 1.5px solid #BAE6FD; border-radius: 14px; padding: 20px; }
.arch .point b { display: block; font-family: Inter, sans-serif; font-size: 18px; margin-bottom: 4px; }
.arch .point span { color: var(--muted); font-size: 15px; }
.arch .arrow { text-align: center; color: var(--cyan); font-size: 22px; line-height: 1; }
.arch .plane { background: var(--ink); color: #fff; border-radius: 14px; padding: 22px 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; align-items: center; }
.arch .plane b { font-family: Inter, sans-serif; font-size: 20px; }
.arch .plane span { color: #CBD5E1; font-size: 15px; }

/* Policy code sample */
pre.policy { background: var(--ink); color: #E2E8F0; border-radius: 14px; padding: 22px 24px; overflow-x: auto; font: 14px/1.7 "JetBrains Mono", monospace; }
pre.policy .k { color: var(--cyan-light); }
pre.policy .c { color: #94A3B8; }

/* Call-to-action band */
.cta-band { padding: 0 0 96px; }
.cta-band .box { position: relative; overflow: hidden; isolation: isolate; background: var(--ink); color: #fff; border-radius: 24px; padding: 56px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.cta-band .box::before { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(115deg, transparent 0 46px, rgba(255, 255, 255, .045) 46px 47px); }
.cta-band .box::after { content: ""; position: absolute; z-index: -1; width: 520px; aspect-ratio: 1; left: -170px; bottom: -260px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%2322D3EE' stroke-opacity='.28' stroke-width='1.5'%3E%3Ccircle cx='32' cy='32' r='30.5' vector-effect='non-scaling-stroke'/%3E%3Ccircle cx='32' cy='32' r='21.5' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M27.67 31.85A6.5 6.5 0 1 1 36.33 31.85L38.5 44H25.5Z' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center / contain no-repeat; animation: breathe 9s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.06) rotate(4deg); } }
.cta-band .eyebrow { color: var(--cyan-light); }
.cta-band h2 { font-size: clamp(32px, 4.2vw, 48px); margin-bottom: 14px; color: #fff; }
.cta-band h2 em { font-style: normal; color: var(--cyan-light); }
.cta-band .sub { color: #CBD5E1; font-size: 18px; margin-bottom: 28px; max-width: 520px; }
.cta-band .cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 22px; }
.cta-band .btn.light:hover { background: var(--cyan-light); border-color: var(--cyan-light); }
.cta-band .text-link { color: #E2E8F0; }
.cta-band .text-link:hover { color: #fff; }
.cta-points { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: #94A3B8; }
.cta-points li::before { content: "✓"; color: var(--cyan-light); margin-right: 8px; font-weight: 700; }
.feed { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px; padding: 18px; }
.feed-head { display: flex; align-items: center; gap: 10px; font-family: "JetBrains Mono", monospace; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #94A3B8; margin-bottom: 12px; }
.feed-note { margin-left: auto; text-transform: none; letter-spacing: 0; color: #64748B; }
.live { width: 8px; height: 8px; border-radius: 50%; background: #34D399; box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
.feed ul { list-style: none; margin: 0; padding: 0; height: 252px; overflow: hidden; display: flex; flex-direction: column; gap: 8px; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
.feed li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); border-radius: 12px; padding: 12px 14px; font-size: 14px; flex: none; }
.feed .who { font-family: "JetBrains Mono", monospace; font-size: 12px; color: var(--cyan-light); }
.feed .what { color: #E2E8F0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed .tag.deny { color: #FECACA; background: rgba(239, 68, 68, .22); }
.feed .tag.allow { color: #A7F3D0; background: rgba(16, 185, 129, .2); }
.feed .tag.approve { color: #FDE68A; background: rgba(245, 158, 11, .2); }
.feed li.enter { animation: feed-in .5s ease-out; }
@keyframes feed-in { from { opacity: 0; transform: translateY(-14px) scale(.98); } }
@media (max-width: 900px) { .cta-band .box { grid-template-columns: 1fr; padding: 40px 24px; } }
@media (max-width: 520px) { .feed li { grid-template-columns: 1fr auto; row-gap: 2px; } .feed .who { grid-column: 1 / -1; } .feed ul { height: 300px; } }
@media (prefers-reduced-motion: reduce) { .cta-band .box::after, .live, .feed li.enter { animation: none; } }

/* People */
.people { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.person { background: var(--surface); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
section.alt .person { background: var(--bg); box-shadow: none; }
.person.placeholder { border: 1.5px dashed var(--line-2); box-shadow: none; }
.avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--tint); color: var(--cyan-deep); display: grid; place-items: center; font-family: Inter, sans-serif; font-weight: 700; font-size: 22px; margin-bottom: 14px; }
.person h3 { font-size: 20px; margin-bottom: 2px; }
.person .role { color: var(--faint); font-size: 15px; margin-bottom: 12px; }
.person p { color: var(--muted); font-size: 15px; }

/* Forms */
.form-card { background: var(--surface); border-radius: 20px; padding: 32px; box-shadow: var(--shadow-lg); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.row2 { display: grid; gap: 0 16px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
label { font-size: 14px; font-weight: 600; }
input, select, textarea { font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: 10px; padding: 12px 14px; width: 100%; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--cyan); outline-offset: 0; border-color: transparent; }
textarea { min-height: 130px; resize: vertical; }
button.btn { cursor: pointer; font-family: inherit; }
.form-note { font-size: 13px; color: var(--faint); margin-top: 16px; }
.form-status { font-size: 14px; margin-top: 14px; }
.form-status:empty { display: none; }
.form-status.ok { color: #047857; }
.form-status.err { color: #B91C1C; }
.form-status.err a { color: inherit; text-decoration: underline; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Prose (privacy) */
.prose { max-width: 780px; }
.prose-sec { padding: 0 0 34px; }
.prose h2 { font-size: 26px; margin-bottom: 12px; }
.prose h3 { font-size: 19px; margin: 18px 0 8px; }
.prose p, .prose li { color: var(--muted); margin-bottom: 10px; }
.prose ul { padding-left: 22px; }
.prose strong { color: var(--ink); }
.fine { font-size: 14px; color: var(--faint); }

/* Footer */
footer { background: var(--surface); border-top: 1px solid var(--line); padding: 56px 0 32px; font-size: 15px; }
.fgrid { display: grid; gap: 32px; grid-template-columns: 1.6fr repeat(4, 1fr); margin-bottom: 36px; }
footer p { color: var(--muted); margin-top: 14px; max-width: 320px; }
footer .eu-map { display: block; width: 150px; height: 150px; margin-top: 20px; border-radius: 50%; box-shadow: 0 10px 28px rgba(15, 23, 42, .12); }
footer h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); margin-bottom: 12px; font-family: Inter, sans-serif; font-weight: 600; }
footer ul { list-style: none; display: grid; gap: 8px; }
footer ul a { color: var(--muted); }
footer ul a:hover { color: var(--ink); }
.flegal { font-size: 13px; color: var(--faint); margin-bottom: 14px; }
.fbottom { border-top: 1px solid var(--line); padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 14px; color: var(--faint); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in, .no-js .reveal, .static .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Phone and tablet */
@media (max-width: 1020px) {
  .menu { display: none; }
  .burger { display: flex; }
  .nav-right .btn { display: none; }
  body.menu-open .menu { display: flex; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 12px 16px 20px; box-shadow: 0 12px 24px rgba(15, 23, 42, .08); }
  body.menu-open .menu { max-height: calc(100vh - 70px); overflow-y: auto; }
  .menu > li > button { width: 100%; justify-content: space-between; font-size: 17px; padding: 14px 12px; }
  .menu > li > button::after { display: none; }
  .dropdown { position: static; min-width: 0; box-shadow: none; border: 0; padding: 0 0 8px 8px; display: none; opacity: 1; visibility: visible; transform: none; }
  .dropdown::before { display: none; }
  .menu > li.open .dropdown { display: block; }
  .dropdown.wide { display: none; width: auto; transform: none; }
  .menu > li.open .dropdown.wide { display: block; transform: none; }
  body.menu-open .menu .mobile-cta { display: block; margin-top: 8px; }
  body.menu-open .menu .mobile-cta a { display: block; color: #fff; background: var(--ink); text-align: center; padding: 13px; border-radius: 10px; font-weight: 600; }
  body.menu-open .burger i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.menu-open .burger i:nth-child(2) { opacity: 0; }
  body.menu-open .burger i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .fgrid { grid-template-columns: 1fr 1fr; }
  .grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  section { padding: 64px 0; }
  .wrap { padding: 0 16px; }
  .hero { padding: 56px 0; }
  .brand { font-size: 20px; }
  .brand svg { width: 26px; height: 26px; }
  .form-card { padding: 22px; }
  .fgrid { grid-template-columns: 1fr; }
  .grid.two, .grid.three { grid-template-columns: 1fr; }
}



/* ===================================================================
   Dark steel theme (demo): Linear-style dark look in blue-grey steel
   instead of black, with brushed-metal panels. Overrides the light tokens above.
   =================================================================== */
:root {
  color-scheme: dark;
  --bg: #1A1F26;        /* dark steel page */
  --surface: #232A33;   /* raised steel panels */
  --tint: #2D3642;
  --line: rgba(255, 255, 255, .07);
  --line-2: rgba(255, 255, 255, .13);
  --ink: #EDF1F5;       /* silver-white text */
  --text: #EEF0F3;
  --muted: #A2ADBB;
  --faint: #7A8594;
  --cyan: #22D3EE;
  --cyan-deep: #67E8F9;
  --cyan-light: #67E8F9;
  --ok-bg: rgba(52, 211, 153, .14); --ok: #6EE7B7;
  --warn-bg: rgba(251, 191, 36, .14); --warn: #FCD34D;
  --shadow: 0 0 0 1px rgba(255, 255, 255, .06);
  --shadow-lg: 0 0 0 1px rgba(255, 255, 255, .08), 0 24px 60px rgba(0, 0, 0, .45);
}
body { background: radial-gradient(1200px 600px at 70% -10%, rgba(34, 211, 238, .07), transparent 60%), repeating-linear-gradient(90deg, rgba(255, 255, 255, .012) 0 1px, transparent 1px 3px), linear-gradient(180deg, #202630, var(--bg) 600px); background-color: var(--bg); background-attachment: fixed; }
h1, h2 { background: linear-gradient(180deg, #FFFFFF 25%, #A9B4C2); -webkit-background-clip: text; background-clip: text; color: transparent; }
h1 em, h2 em { -webkit-text-fill-color: var(--cyan); }
.btn { color: #141920; background: linear-gradient(180deg, #F4F6F9, #D3DAE3); border-color: #DDE3EA; }
.btn:hover { box-shadow: 0 0 0 4px rgba(238, 240, 243, .12); }
.btn.ghost { color: var(--ink); background: rgba(255, 255, 255, .04); border-color: var(--line-2); }
.btn.ghost:hover { background: rgba(255, 255, 255, .08); }
nav { background: rgba(26, 31, 38, .8); }
nav.scrolled { box-shadow: 0 1px 0 var(--line); }
.brand svg circle:first-child { stroke: #EEF0F3; }
.dropdown { background: #252C35; box-shadow: 0 24px 60px rgba(0, 0, 0, .5); }
.dd-item:hover, .dd-item[aria-current="page"] { background: rgba(255, 255, 255, .05); }
.lang a[aria-current="true"] { background: #EEF0F3; color: #15181C; }
.hero::before { background: repeating-linear-gradient(115deg, transparent 0 46px, rgba(255, 255, 255, .025) 46px 47px); }
.decisions { background: linear-gradient(180deg, #2B333E, #20262E); border-color: var(--line-2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), var(--shadow-lg); }
.decision { background: rgba(255, 255, 255, .03); }
.tag.deny { color: #FCA5A5; background: rgba(239, 68, 68, .16); }
.strip, .page-hero, section.alt, footer { background: rgba(255, 255, 255, .02); }
.card, .person, .steps li, .table-box, .form-card { background: linear-gradient(180deg, #27303A, #20262E); border: 1px solid var(--line); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07); }
section.alt .card, section.alt .person, section.alt .steps li { background: linear-gradient(180deg, #27303A, #20262E); }
.card:hover { border-color: var(--line-2); }
.tiers th { background: #2A323D; }
.steps li::before { background: var(--tint); color: var(--cyan); border: 1px solid var(--line-2); }
.arch .point { background: var(--surface); border-color: var(--line-2); }
.arch .plane { background: linear-gradient(180deg, #313A46, #262D37); color: var(--ink); border: 1px solid var(--line-2); }
pre.policy { background: #141920; border: 1px solid var(--line); }
.cta-band .box { background: linear-gradient(160deg, #2E3743, #1D232B); border: 1px solid var(--line-2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1); }
.cta-band .btn.light { background: #EEF0F3; color: #15181C; border-color: #EEF0F3; }
input, select, textarea { background: #1A1F26; color: var(--ink); }
footer .eu-map { box-shadow: 0 0 0 1px var(--line-2); }
@media (max-width: 1020px) {
  body.menu-open .menu { background: #232A33; }
  body.menu-open .menu .mobile-cta a { background: #EEF0F3; color: #15181C; }
}
