/* UNCHOR OS public site. One family for display (Bricolage Grotesque), one for text (Figtree).
   Night-blue ink, mineral paper, a single signal-amber accent; live states in green. */
@font-face { font-family: 'Bricolage Grotesque'; src: url('/fonts/bricolage.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('/fonts/figtree-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('/fonts/figtree-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('/fonts/figtree-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('/fonts/figtree-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --night: #061C22; --ink: #0B2A31; --ink-2: #3F5F64; --ink-3: #6E8A8D;
  --paper: #F4F7F6; --card: #FFFFFF; --line: #D5E0DD;
  --amber: #F2A71B; --amber-deep: #B87A06; --amber-soft: #FDF1D8;
  --live: #2BD48E; --on-night: #EAF4F2; --on-night-2: #9DBCBA;
  --scripts: 'Noto Sans Arabic', 'Noto Naskh Arabic', 'Geeza Pro', 'Noto Sans Ethiopic', 'Nyala', 'Noto Sans Devanagari', 'Kohinoor Devanagari', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC';
  --display: 'Bricolage Grotesque', ui-sans-serif, system-ui, var(--scripts), sans-serif;
  --text: 'Figtree', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', var(--scripts), sans-serif;
  --r: 18px;
}
* { 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(--paper); color: var(--ink); font: 17px/1.6 var(--text); }
a { color: inherit; }
img, svg { display: block; }
.wrap { width: min(1160px, 100% - 32px); margin: 0 auto; }
h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -0.02em; line-height: 1.04; }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 720; max-width: 18ch; }
h3 { font-size: 1.25rem; font-weight: 680; letter-spacing: -0.01em; line-height: 1.2; }
p { margin: 0 0 12px; }
.lede { font-size: 1.15rem; color: var(--ink-2); max-width: 58ch; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; font: 650 1rem/1 var(--text); padding: 15px 22px; border-radius: 12px; text-decoration: none; border: 0; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease; }
.btn:active { transform: translateY(1px); }
.btn.amber { background: var(--amber); color: var(--night); }
.btn.amber:hover { background: #F6B93F; }
.btn.line { background: transparent; color: var(--on-night); box-shadow: inset 0 0 0 1.5px rgba(234, 244, 242, .35); }
.btn.line:hover { box-shadow: inset 0 0 0 1.5px var(--on-night); }
.btn.ink { background: var(--ink); color: var(--paper); }

/* top bar */
.top { position: absolute; inset: 0 0 auto 0; z-index: 3; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--on-night); font: 760 1.25rem/1 var(--display); letter-spacing: -0.01em; }
.brand img { width: 34px; height: 34px; }
.brand span { color: var(--amber); font-weight: 600; margin-left: 2px; }
.top nav { display: flex; gap: 22px; align-items: center; }
.top nav a { color: var(--on-night-2); text-decoration: none; font-weight: 600; font-size: .95rem; }
.top nav a:hover { color: var(--on-night); }
.top nav .btn { padding: 11px 16px; font-size: .95rem; }
@media (max-width: 820px) { .top nav a:not(.btn) { display: none; } }

/* hero: the network, alive */
.hero { position: relative; background: radial-gradient(1200px 600px at 75% 40%, #0C3440 0%, var(--night) 60%); color: var(--on-night); overflow: hidden; }
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 24px; align-items: center; min-height: min(760px, 92vh); padding: 112px 0 64px; }
.hero h1 { font-size: clamp(2.5rem, 5.2vw, 4.4rem); font-weight: 760; line-height: 1; letter-spacing: -0.04em; max-width: 15ch; }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero .hero-sub { margin: 18px 0 0; font-family: var(--display); font-size: clamp(1.35rem, 2.4vw, 1.85rem); font-weight: 650; line-height: 1.2; letter-spacing: -0.015em; color: var(--amber); max-width: 26ch; }
.hero .lede { color: var(--on-night-2); margin: 16px 0 30px; font-size: 1.2rem; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .proof { margin-top: 34px; display: flex; gap: 22px; flex-wrap: wrap; font-size: .92rem; color: var(--on-night-2); }
.hero .proof b { color: var(--on-night); font-weight: 650; }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--live); margin-inline-end: 8px; box-shadow: 0 0 0 0 rgba(43, 212, 142, .6); animation: beat 2s infinite; vertical-align: middle; }
@keyframes beat { 0% { box-shadow: 0 0 0 0 rgba(43, 212, 142, .55); } 70% { box-shadow: 0 0 0 10px rgba(43, 212, 142, 0); } 100% { box-shadow: 0 0 0 0 rgba(43, 212, 142, 0); } }
.stage { position: relative; margin: 0; width: 100%; max-width: 640px; justify-self: end; }
.stage svg { width: 100%; height: auto; overflow: visible; }
.stage-cap { font-size: .78rem; color: var(--on-night-2); opacity: .8; margin-top: 4px; text-align: center; }
/* the network drawing */
#net .ln { stroke: rgba(234, 244, 242, .14); stroke-width: 1.5; transition: stroke .5s ease; }
#net .ln.on { stroke: rgba(242, 167, 27, .55); stroke-width: 2.2; }
#net .ln.standby { stroke: rgba(234, 244, 242, .14); stroke-dasharray: 3 6; }
#net .ln.bad { stroke: #F25F5C; stroke-dasharray: 2 7; stroke-width: 2.2; }
#net .ln.vpn { stroke: #7FD6F5; stroke-width: 2.2; stroke-dasharray: 8 5; }
#net .ln.idle { stroke: rgba(234, 244, 242, .1); stroke-dasharray: 2 8; }
#net .tile { fill: #0B2A31; stroke: rgba(234, 244, 242, .22); stroke-width: 1.4; transition: stroke .4s ease, fill .4s ease; }
#net .ic { fill: none; stroke: #EAF4F2; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#net .lbl { fill: var(--on-night-2); font: 600 13px var(--text); }
#net .halo { fill: none; stroke: transparent; stroke-width: 2; }
#net .nd.bad .tile { stroke: #F25F5C; fill: #2A1F25; } #net .nd.bad .halo { stroke: rgba(242, 95, 92, .45); }
#net .nd.warn .tile { stroke: var(--amber); } #net .nd.warn .halo { stroke: rgba(242, 167, 27, .5); animation: ping 1.4s ease-out infinite; transform-box: fill-box; transform-origin: center; }
#net .nd.good .tile { stroke: var(--live); } #net .nd.good .halo { stroke: rgba(43, 212, 142, .35); }
#net .core { fill: #0B2A31; stroke: rgba(242, 167, 27, .6); stroke-width: 1.6; }
#net .pk { fill: var(--amber); } #net .pk.vpnp { fill: #7FD6F5; }
@keyframes ping { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
/* operations feed */
.feed { position: relative; margin: -6px auto 0; width: min(520px, 100%); background: rgba(6, 28, 34, .86); border: 1px solid rgba(234, 244, 242, .14);
  backdrop-filter: blur(8px); border-radius: 16px; padding: 12px 16px 8px; box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
.feed-h { display: flex; align-items: center; font-size: .78rem; font-weight: 700; color: var(--on-night); margin-bottom: 6px; }
.feed ol { list-style: none; margin: 0; padding: 0; min-height: 118px; }
.feed li { display: grid; grid-template-columns: 4.6em 1fr; gap: 2px 12px; padding: 7px 0; border-top: 1px solid rgba(234, 244, 242, .08); font-size: .82rem; line-height: 1.35; color: var(--on-night-2); animation: feedin .45s ease both; }
.feed li:first-child { color: var(--on-night); border-top: 0; }
.feed li time { font-variant-numeric: tabular-nums; color: var(--on-night-2); opacity: .7; font-size: .74rem; padding-top: 1px; }
.feed li.warn span { color: #FFC56B; } .feed li.ok:first-child span { color: #8CF0C2; }
@keyframes feedin { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .feed li { animation: none; } #net .nd.warn .halo { animation: none; } }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 100px; min-height: 0; }
  .stage { justify-self: center; max-width: 520px; }
}
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }

/* the loop strip */
.loop { background: var(--night); color: var(--on-night-2); border-top: 1px solid rgba(234, 244, 242, .08); }
.loop ol { list-style: none; margin: 0; padding: 22px 0; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.loop li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .95rem; }
.loop li b { color: var(--on-night); font-family: var(--display); font-weight: 650; }
.loop li + li::before { content: ''; width: 34px; height: 1.5px; background: linear-gradient(90deg, rgba(242, 167, 27, .1), var(--amber)); margin-right: 6px; }
@media (max-width: 760px) { .loop li + li::before { width: 14px; } .loop ol { justify-content: flex-start; } }

section { padding: clamp(64px, 9vw, 120px) 0; }
.kick { display: block; color: var(--amber-deep); font-weight: 700; font-size: .95rem; margin-bottom: 14px; }

/* how it starts: a real sequence */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 46px 0 0; padding: 0; list-style: none; counter-reset: s; }
.step { background: var(--card); border-radius: var(--r); padding: 26px 24px 24px; position: relative; border: 1px solid var(--line); }
.step::before { counter-increment: s; content: counter(s); font: 760 3.6rem/1 var(--display); color: var(--amber); letter-spacing: -0.04em; display: block; margin-bottom: 18px; }
.step p { color: var(--ink-2); margin: 10px 0 0; }
.step code { display: block; margin-top: 14px; background: var(--night); color: #D7F5EA; font: 500 .82rem/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; padding: 12px; border-radius: 10px; overflow-x: auto; white-space: nowrap; }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* capabilities with their proof status */
.caps-head { display: flex; justify-content: space-between; gap: 24px; align-items: end; flex-wrap: wrap; }
.legend { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 650; padding: 5px 10px; border-radius: 99px; background: #E7EEEC; color: var(--ink-2); white-space: nowrap; }
.chip::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); }
.chip.verified { background: #DDF5E9; color: #0F6B45; } .chip.verified::before { background: #18A866; }
.chip.implemented { background: var(--amber-soft); color: #7A5205; } .chip.implemented::before { background: var(--amber); }
.chip.not_verified_hw { background: #EAE6F7; color: #4B3B8F; } .chip.not_verified_hw::before { background: #7A64D8; }
.caps { columns: 3 300px; column-gap: 18px; margin-top: 40px; }
.plane { break-inside: avoid; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 20px 14px; margin-bottom: 18px; }
.plane h3 { font-size: 1.05rem; margin-bottom: 10px; }
.plane ul { list-style: none; margin: 0; padding: 0; }
.plane li { padding: 9px 0; border-top: 1px solid var(--line); display: grid; gap: 6px; font-size: .95rem; }
.plane li .chip { justify-self: start; }
.caps-note { color: var(--ink-3); font-size: .92rem; margin-top: 10px; max-width: 70ch; }

/* who it is for */
.places { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-top: 40px; }
.place { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.place svg { width: 34px; height: 34px; color: var(--amber-deep); }
.place p { color: var(--ink-2); font-size: .95rem; margin: 0; }
.place .from { margin-top: auto; padding-top: 8px; font-weight: 650; font-size: .9rem; color: var(--ink); }

/* intelligence: dark band */
.dark { background: var(--night); color: var(--on-night); }
.dark .lede { color: var(--on-night-2); }
.dark .kick { color: var(--amber); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.ask-demo { background: #0B2A31; border: 1px solid rgba(234, 244, 242, .12); border-radius: 22px; padding: 18px; }
.ask-demo .q { display: flex; gap: 10px; align-items: center; background: #0F343C; border-radius: 12px; padding: 14px 16px; color: var(--on-night); font-weight: 600; }
.ask-demo .q::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--amber); flex: none; }
.ask-demo .a { padding: 14px 6px 4px; }
.ask-demo .a p { color: var(--on-night-2); font-size: .95rem; }
.ask-demo .h { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; align-items: baseline; padding: 8px 0; border-top: 1px solid rgba(234, 244, 242, .08); font-size: .93rem; }
.ask-demo .h span { font-size: .72rem; font-weight: 700; padding: 3px 8px; border-radius: 99px; }
.ask-demo .likely { background: rgba(242, 95, 92, .18); color: #FF9E9B; }
.ask-demo .ruled { background: rgba(43, 212, 142, .14); color: var(--live); }
.ask-demo .example { font-size: .72rem; color: var(--amber); font-weight: 700; margin: 0 0 10px; }
.points { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; }
.points li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; }
.points svg { width: 28px; height: 28px; color: var(--amber); margin-top: 2px; }
.points b { display: block; color: var(--on-night); font-weight: 650; }
.points span { color: var(--on-night-2); font-size: .97rem; }

/* survey visual */
.survey-art { border-radius: 22px; overflow: hidden; background: #0B2A31; border: 1px solid rgba(234, 244, 242, .12); }
.survey-art .cap { font-size: .8rem; color: var(--on-night-2); padding: 10px 14px; }

/* trust */
.trust { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 40px; }
.trust .col { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.trust ul { margin: 12px 0 0; padding-inline-start: 20px; color: var(--ink-2); }
.trust li { margin: 8px 0; }
.trust .never { background: var(--ink); color: var(--on-night); border: 0; }
.trust .never ul { color: var(--on-night-2); }
@media (max-width: 860px) { .trust { grid-template-columns: 1fr; } }

/* academy */
.courses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.course { border-radius: var(--r); padding: 22px; background: var(--card); border: 1px solid var(--line); }
.course .lvl { font-size: .8rem; font-weight: 700; color: var(--amber-deep); }
.course p { color: var(--ink-2); font-size: .96rem; }
.course .n { font-size: .88rem; color: var(--ink-3); }
@media (max-width: 860px) { .courses { grid-template-columns: 1fr; } }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 40px; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.plan .price { font: 760 2.2rem/1.1 var(--display); letter-spacing: -0.03em; margin: 10px 0; }
.plan .price small { font: 500 .95rem var(--text); color: var(--ink-3); }

/* faq */
.faq { margin-top: 32px; max-width: 820px; }
.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font: 650 1.12rem/1.3 var(--display); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: '+'; color: var(--amber-deep); font-weight: 700; }
.faq details[open] summary::after { content: '−'; }
.faq p { color: var(--ink-2); margin: 10px 0 0; }

/* final call */
.final { background: var(--amber); color: var(--night); }
.final .wrap { display: flex; justify-content: space-between; gap: 24px; align-items: center; flex-wrap: wrap; }
.final h2 { max-width: 20ch; }

/* one footer on every public page (built by the server from the deployment's settings) */
.site-foot { background: var(--night); color: var(--on-night-2); padding: 56px 0 40px; font-size: .92rem; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.3fr); gap: 32px 28px; }
.site-foot h2 { font: 700 .78rem/1.2 var(--text); letter-spacing: .08em; text-transform: uppercase; color: var(--on-night); margin: 6px 0 14px; max-width: none; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-foot a { color: var(--on-night-2); text-decoration: none; }
.site-foot a:hover, .site-foot a:focus-visible { color: var(--on-night); text-decoration: underline; text-underline-offset: 3px; }
.site-foot .muted { color: var(--ink-3); font-size: .85rem; }
.foot-tag { color: var(--on-night); font: 650 1.05rem/1.35 var(--display); margin: 14px 0 8px; max-width: 24ch; }
.foot-id { font-size: .82rem; color: var(--ink-3); max-width: 36ch; }
.foot-legal ul { grid-template-columns: 1fr 1fr; column-gap: 18px; }
@media (max-width: 1000px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-about, .foot-legal { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } .foot-legal ul { grid-template-columns: 1fr 1fr; } }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--amber); color: var(--night); padding: 10px 14px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* certificate page */
.cert-page { background: var(--night); min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.cert { background: var(--paper); color: var(--ink); max-width: 640px; border-radius: 22px; padding: 48px; text-align: center; border-top: 10px solid var(--amber); }
.cert h1 { font-size: clamp(2rem, 6vw, 3rem); margin: 10px 0 16px; }
.cert .cert-k { color: var(--ink-3); }

section.flush { padding-top: 0; }
.foot-brand { margin-bottom: 10px; }
.trust-note { margin-top: 14px; color: var(--ink-2); }
.lede.gap { margin-top: 16px; }
.ask-demo b.hl { color: var(--on-night); }

.split h2 { margin-bottom: 18px; }
.caps-more { margin-top: 6px; background: transparent; border: 1.5px solid var(--line); color: var(--ink); font: 650 .95rem var(--text); padding: 11px 16px; border-radius: 12px; cursor: pointer; }
.caps-more:hover { border-color: var(--ink-3); }
.top nav .btn { white-space: nowrap; }
@media (max-width: 480px) { .top nav { gap: 8px; } .top nav .btn { padding: 9px 12px; font-size: .88rem; } .brand { font-size: 1.1rem; } .brand img { width: 28px; height: 28px; } }

/* language picker */
.lang { position: relative; display: inline-flex; align-items: center; gap: 6px; color: var(--on-night-2); }
.lang svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.lang select { appearance: none; background: transparent; border: 0; color: var(--on-night); font: 600 .92rem var(--text); padding: 6px 2px; cursor: pointer; max-width: 9.5em; }
.lang select option { color: var(--ink); background: var(--paper); }
.lang:focus-within { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 8px; }
.lang select:focus-visible { outline: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 820px) { .lang select { max-width: 6.5em; } }

/* platform explorer */
.platform { padding-bottom: clamp(56px, 7vw, 96px); }
.platform-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: end; }
.platform-head .lede { margin: 0; }
@media (max-width: 900px) { .platform-head { grid-template-columns: 1fr; gap: 14px; } }
.explorer { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 0; margin-top: 44px; background: var(--card); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.areas { display: flex; flex-direction: column; padding: 12px; background: #EEF3F2; border-inline-end: 1px solid var(--line); }
.areas button { display: flex; align-items: center; gap: 12px; text-align: start; background: transparent; border: 0; border-radius: 12px; padding: 12px 14px;
  font: 650 1rem var(--text); color: var(--ink-2); cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.areas button svg { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.areas button:hover { color: var(--ink); background: rgba(11, 42, 49, .05); }
.areas button[aria-selected="true"] { background: var(--ink); color: var(--on-night); }
.areas button[aria-selected="true"] svg { color: var(--amber); }
.area-panel { position: relative; padding: clamp(24px, 4vw, 44px); min-height: 460px; }
.area-panel:focus-visible { outline-offset: -4px; }
.area-panel h3 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); font-weight: 720; letter-spacing: -0.025em; max-width: 20ch; }
.area-panel .lede { margin: 14px 0 22px; font-size: 1.08rem; max-width: 52ch; }
.area-glyph { position: absolute; inset-inline-end: clamp(18px, 3vw, 40px); top: clamp(18px, 3vw, 36px); width: 64px; height: 64px; fill: none; stroke: var(--amber-deep); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; opacity: .55; }
.ticks { list-style: none; padding: 0; margin: 0 0 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 26px; }
.ticks li { position: relative; padding-inline-start: 26px; color: var(--ink); font-weight: 520; }
.ticks li::before { content: ''; position: absolute; inset-inline-start: 0; top: .5em; width: 14px; height: 8px; border-inline-start: 2.5px solid var(--live); border-bottom: 2.5px solid var(--live); transform: rotate(-45deg); transform-origin: center; }
[dir="rtl"] .ticks li::before { transform: rotate(45deg); }
.proof-box { border-top: 1px dashed var(--line); padding-top: 18px; }
.proof-h { font-size: .85rem; font-weight: 700; color: var(--ink-3); margin-bottom: 8px; }
.proof-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.proof-list li { display: flex; gap: 10px; align-items: baseline; font-size: .9rem; color: var(--ink-2); }
.proof-list .chip { flex: none; }
.muted { color: var(--ink-3); }
@media (max-width: 860px) {
  .explorer { grid-template-columns: minmax(0, 1fr); }
  .areas { min-width: 0; flex-direction: row; overflow-x: auto; border-inline-end: 0; border-bottom: 1px solid var(--line); scrollbar-width: none; }
  .areas button { white-space: nowrap; padding: 10px 12px; }
  .ticks { grid-template-columns: 1fr; }
  .area-glyph { display: none; }
  .area-panel { min-height: 0; }
}
.measured { margin-top: 30px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 20px 40px; align-items: start; }
.measured p { color: var(--ink-2); font-size: .95rem; margin: 6px 0 0; }
.measured dl { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.measured dt { font: 740 clamp(1.5rem, 2.6vw, 2.1rem)/1 var(--display); letter-spacing: -0.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.measured dd { margin: 6px 0 0; color: var(--ink-2); font-size: .9rem; line-height: 1.35; }
@media (max-width: 900px) { .measured { grid-template-columns: 1fr; } .measured dl { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* private network */
.vpn { background: linear-gradient(180deg, var(--paper), #E6EFED); }
.points.light b { color: var(--ink); }
.points.light span, .points.light div { color: var(--ink-2); }
.points svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.points.light svg { color: var(--amber-deep); }
.points li > div b { display: block; }
.vpn-art { background: var(--night); border-radius: 24px; padding: 18px; }
#vpnmap { width: 100%; height: auto; }
#vpnmap .tun { stroke: #7FD6F5; stroke-width: 2.2; stroke-dasharray: 8 6; animation: flow 1.6s linear infinite; }
#vpnmap .tun.phone { stroke: var(--amber); }
@keyframes flow { to { stroke-dashoffset: -28; } }
@media (prefers-reduced-motion: reduce) { #vpnmap .tun { animation: none; } }
#vpnmap .v-hub { fill: #0F343C; stroke: var(--amber); stroke-width: 1.8; }
#vpnmap .v-site { fill: #0F343C; stroke: rgba(234, 244, 242, .35); stroke-width: 1.4; }
#vpnmap .v-ic { fill: none; stroke: #EAF4F2; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#vpnmap .qr { fill: #EAF4F2; }
#vpnmap .v-lbl { fill: var(--on-night-2); font: 600 14px var(--text); }
#vpnmap .v-shield { fill: #0B2A31; stroke: var(--live); stroke-width: 1.6; }
.sv-lbl { fill: #EAF4F2; font: 700 13px var(--text); }

/* other scripts: no negative tracking, a little more leading */
:lang(ar) h1, :lang(ar) h2, :lang(ar) h3, :lang(am) h1, :lang(am) h2, :lang(am) h3, :lang(hi) h1, :lang(hi) h2, :lang(hi) h3, :lang(zh) h1, :lang(zh) h2, :lang(zh) h3 { letter-spacing: 0; line-height: 1.2; }
:lang(ar) .hero h1, :lang(hi) .hero h1, :lang(am) .hero h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 1.15; }
:lang(zh) .hero h1 { font-size: clamp(2.4rem, 6vw, 4.8rem); line-height: 1.1; }
:lang(ar) body, :lang(hi) body, :lang(am) body { line-height: 1.75; }
.tr-note { font-size: .8rem; opacity: .8; max-width: 46ch; margin-top: 10px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 0; align-content: start; }
.chip.field_proven { background: #0F6B45; color: #fff; } .chip.field_proven::before { background: #8CF0C2; }
.chip.field_problems { background: #FDE3DF; color: #9A2A16; } .chip.field_problems::before { background: #D6453D; }
.field-line { display: block; color: var(--ink-3); font-size: .8rem; }
.community-line { max-width: 70ch; margin: 18px 0 0; padding: 16px 18px; border-inline-start: 4px solid var(--amber); background: var(--card); border-radius: 0 14px 14px 0; color: var(--ink-2); }
[dir="rtl"] .community-line { border-radius: 14px 0 0 14px; }
.community-line b { color: var(--ink); }
.proof-list li { flex-wrap: wrap; } .proof-list .field-line { flex-basis: 100%; padding-inline-start: 2px; }
@media (max-width: 560px) {
  .top nav #signin { display: none; }
  .top nav { gap: 10px; }
  .lang select { max-width: 5.6em; font-size: .85rem; }
  .brand { font-size: 1rem; gap: 7px; } .brand img { width: 26px; height: 26px; }
}

/* operations: an incident timeline drawn as a single rule with events hanging off it */
.ops-art { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 22px 22px 12px; }
.ops-art .tl { list-style: none; margin: 0; padding: 0 0 0 20px; border-left: 2px solid var(--line); }
.ops-art .tl li { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 8px; padding: 0 0 16px 8px; font-size: .95rem; }
.ops-art .tl li::before { content: ""; position: absolute; left: -27px; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: var(--card); border: 2px solid var(--ink-3); }
.ops-art .tl li.bad::before { background: #B3261E; border-color: #B3261E; }
.ops-art .tl li.auto::before { border-color: var(--amber); }
.ops-art .tl li.pub::before { border-color: var(--live); }
.ops-art .tl li.good::before { background: var(--live); border-color: var(--live); }
.ops-art time { font-variant-numeric: tabular-nums; color: var(--ink-3); }
.ops-art .cap { font-size: .8rem; color: var(--ink-3); margin: 4px 0 0; }

/* ---------- /check: UNCHOR Shield message check ---------- */
.check-page .top nav { gap: 8px; }
.check { padding: 40px 0 72px; max-width: 760px; }
.check h1 { font-size: clamp(2rem, 6vw, 3.2rem); margin-bottom: 12px; }
.check-form { display: grid; gap: 16px; margin: 28px 0 20px; }
.check-form label { display: grid; gap: 6px; font-weight: 600; color: var(--ink); }
.check-form textarea, .check-form input { font: 1rem/1.5 var(--text); padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--card); color: var(--ink); width: 100%; }
.check-form textarea:focus, .check-form input:focus { outline: 3px solid var(--amber-soft); border-color: var(--amber-deep); }
.check-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.c-result { border-radius: var(--r); padding: 22px 24px; background: var(--card); border: 1.5px solid var(--line); outline: none; }
.c-result h3 { font-size: 1rem; margin: 18px 0 6px; font-family: var(--text); font-weight: 700; }
.c-result ul { margin: 0; padding-left: 1.2em; }
.c-result li { margin: 4px 0; }
.c-level { font-family: var(--display); font-size: 1.6rem; font-weight: 650; margin: 0 0 4px; }
.c-summary { margin: 0; }
.c-note, .check-fine { color: var(--ink-3); font-size: .9rem; margin-top: 16px; }
/* never green: "low" means no known signs, not safe */
.c-result.lvl-high { border-color: #B3261E; background: #FCEEEC; }
.c-result.lvl-high .c-level { color: #8C1D18; }
.c-result.lvl-medium { border-color: var(--amber-deep); background: var(--amber-soft); }
.c-result.lvl-medium .c-level { color: #7A5204; }
.c-result.lvl-low .c-level { color: var(--ink-2); }
@media (max-width: 520px) { .check { padding-top: 24px; } .c-result { padding: 18px; } }
/* the check page sits on paper, not on the night hero: give the header its own night band and
   draw outline buttons inside the page in ink */
.check-page .top { position: static; background: var(--night); }
.check-page .top .wrap { padding: 14px 0; }
.check .btn.line { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.check .btn.line:hover { box-shadow: inset 0 0 0 1.5px var(--ink-2); }

/* hero: the third way in is a quiet text link, not a third button */
.hero .ctas { align-items: center; }
.hero-link { color: var(--on-night-2); font-weight: 600; text-underline-offset: 4px; padding: 8px 4px; }
.hero-link:hover { color: var(--on-night); }

/* "tell it what is wrong": the real planner, one problem at a time */
.investigate { background: var(--card); border-block: 1px solid var(--line); }
.inv-split { align-items: start; }
.investigate h2 { margin-bottom: 16px; }
.inv-pick { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 18px; }
.inv-chip { font: 650 .98rem/1.2 var(--text); color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 999px; padding: 11px 16px; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.inv-chip:hover { border-color: var(--ink-3); }
.inv-chip[aria-selected="true"] { background: var(--night); color: var(--on-night); border-color: var(--night); }
.inv-note { color: var(--ink-3); font-size: .9rem; max-width: 52ch; }
.inv-plan { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: step; position: relative; }
.inv-plan::before { content: ""; position: absolute; inset-block: 22px; inset-inline-start: 21px; width: 2px; background: var(--line); }
.inv-row { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 0 0 22px; }
.inv-row svg { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--night); fill: none; stroke: var(--amber); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; position: relative; }
.inv-row strong { display: block; font: 680 1.08rem/1.3 var(--display); margin: 10px 0 4px; }
.inv-row p { color: var(--ink-2); margin: 0; font-size: .97rem; max-width: 56ch; }
/* choosing a problem replays the plan in order: the one deliberate motion on this section */
@media (prefers-reduced-motion: no-preference) {
  .inv-plan.replay .inv-row { animation: inv-step .42s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i) * 90ms); }
}
@keyframes inv-step { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
[dir="rtl"] .inv-plan.replay .inv-row { animation-name: inv-step-rtl; }
@keyframes inv-step-rtl { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }

/* free tools and partners: two doors, one light, one dark */
.duo { padding-top: clamp(48px, 6vw, 80px); }
.duo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.duo-card { display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: clamp(24px, 3vw, 36px); }
.duo-card h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); max-width: 20ch; }
.duo-card p { color: var(--ink-2); max-width: 46ch; margin: 0; }
.duo-card.dark { background: var(--night); color: var(--on-night); border-color: var(--night); }
.duo-card.dark p { color: var(--on-night-2); }
.duo-go { margin-top: auto; padding-top: 10px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; text-decoration-color: var(--amber); }
.duo-card:hover .duo-go, .duo-card:focus-visible .duo-go { color: var(--amber-deep); }
.duo-card.dark:hover .duo-go, .duo-card.dark:focus-visible .duo-go { color: var(--amber); }
@media (max-width: 820px) { .duo-grid { grid-template-columns: 1fr; } }

/* phones: the front page's links behind one menu that opens in place */
.top-menu { display: none; position: relative; }
.top-menu summary { list-style: none; cursor: pointer; color: var(--on-night); font-weight: 650; font-size: .95rem; padding: 10px 12px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px rgba(234, 244, 242, .35); }
.top-menu summary::-webkit-details-marker { display: none; }
.top-menu-list { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); z-index: 20; background: var(--night); border-radius: 16px; padding: 10px; min-width: 220px; display: grid; gap: 2px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(234, 244, 242, .12); }
.top nav .top-menu-list a { display: block; color: var(--on-night); padding: 11px 12px; border-radius: 10px; }
.top nav .top-menu-list a:hover { background: rgba(234, 244, 242, .08); }
@media (max-width: 820px) { .top-menu { display: block; } .top nav .top-menu-list a:not(.btn) { display: block; } }
@media (max-width: 440px) { .top nav > .btn.amber { display: none; } }
