@font-face { font-family: Geist; src: url("assets/Geist.ttf") format("truetype"); font-style: normal; font-weight: 100 900; font-display: swap; }
:root { color-scheme: light; --background: #f4f6f9; --foreground: #0f2645; --surface: #fff; --border: #e3e8ee; --muted: #667085; --accent: #157a7b; --accent-soft: #e6f4f4; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) { color-scheme: dark; --background: #090c11; --foreground: #e9eef4; --surface: #10151c; --border: #1f2833; --muted: #8792a2; --accent: #4fcaca; --accent-soft: #14292f; }
  :root:not([data-theme=light]) .logo-light { display: none; }
  :root:not([data-theme=light]) .logo-dark { display: block; }
}
:root[data-theme=dark] { color-scheme: dark; --background: #090c11; --foreground: #e9eef4; --surface: #10151c; --border: #1f2833; --muted: #8792a2; --accent: #4fcaca; --accent-soft: #14292f; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--background); color: var(--foreground); font: 1rem/1.7 Geist, system-ui, sans-serif; }
h1,h2,h3,p,figure { margin: 0; }
h1,h2,h3 { font-weight: 500; line-height: 1.15; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
button,select { font: inherit; }
button,a,select { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
[hidden] { display: none !important; }
.skip-link { position: absolute; top: 10px; left: 10px; padding: 10px 18px; background: var(--surface); z-index: 10; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.site-header { max-width: 1440px; margin: auto; height: 100px; padding-inline: 56px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; }
.logo-dark { display: none; }
:root[data-theme=dark] .logo-light { display: none; }
:root[data-theme=dark] .logo-dark { display: block; }
.header-actions { display: flex; align-items: center; gap: 32px; font-size: .875rem; }
.theme-control { position: relative; }
select { appearance: none; color: var(--muted); background: transparent; border: 1px solid var(--border); border-radius: 30px; padding: 6px 30px 6px 14px; cursor: pointer; font-size: .8125rem; }
select option { color: var(--foreground); background: var(--surface); }
.theme-control::after { content: ""; position: absolute; right: 13px; top: 14px; width: 5px; height: 5px; border-right: 1px solid var(--muted); border-bottom: 1px solid var(--muted); transform: rotate(45deg); pointer-events: none; }
.hero { min-height: calc(100svh - 100px); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 42px 24px 24px; }
.eyebrow { font-size: .75rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 24px; }
h1 { font-size: clamp(2.8rem, 5.6vw, 5rem); line-height: 1.06; letter-spacing: -.065em; }
h1 span { color: var(--accent); }
.intro { color: var(--muted); margin-top: 24px; font-size: 1rem; }
.diagram { width: min(800px, 100%); margin-top: 16px; }
.security-visual { display: block; width: 100%; height: auto; color: var(--accent); overflow: visible; }
.orbits { stroke: var(--border); stroke-width: 1; }
.connection { fill: none; stroke: var(--border); stroke-width: 1.5; }
.signal { fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 5 185; opacity: .6; animation: transmit 5s linear infinite; }
.signal-right { animation-delay: -2.5s; }
.satellite > rect { fill: var(--surface); stroke: var(--border); transition: stroke .4s; }
.glyph { fill: none; stroke: var(--muted); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: stroke .4s; }
.phone-body { fill: var(--surface); stroke: var(--muted); stroke-width: 1; }
.phone-screen { fill: var(--background); stroke: var(--border); }
.phone-detail { fill: var(--border); stroke: var(--border); stroke-width: 3; stroke-linecap: round; }
.shield { stroke: var(--accent); stroke-width: 1.6; }
.shield-check { opacity: 0; transition: opacity .4s; }
.scan-line { stroke: var(--accent); stroke-width: 1; opacity: 0; }
[data-stage=scan] .scan-line { opacity: .6; animation: scan 4s ease-in-out infinite; }
[data-stage=connect] .connect-node > rect, [data-stage=review] .review-node > rect { stroke: var(--accent); }
[data-stage=connect] .connect-node .glyph, [data-stage=review] .review-node .glyph { stroke: var(--accent); }
[data-stage=review] .shield-check { opacity: 1; }
.orbit-point { fill: var(--accent); opacity: .5; }
.secondary { opacity: .25; }
.diagram-controls { display: flex; align-items: center; justify-content: center; gap: 14px; }
.diagram-controls button { border: 0; background: transparent; padding: 8px 10px; color: var(--muted); font-size: .875rem; cursor: pointer; transition: color .2s; }
.diagram-controls button[aria-pressed=true], .diagram-controls button:hover { color: var(--accent); }
.diagram-controls span { color: var(--border); }
figcaption { color: var(--muted); font-size: .8125rem; min-height: 2.8em; margin-top: 5px; }
.scroll-link { margin-top: 32px; color: var(--muted); font-size: .75rem; display: flex; align-items: center; flex-direction: column; gap: 12px; }
.scroll-line { width: 1px; height: 30px; background: var(--border); }
.content-section { max-width: 1080px; margin: auto; padding: 120px 40px; scroll-margin-top: 20px; }
.overview { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
h2 { font-size: clamp(2rem, 3.3vw, 3rem); letter-spacing: -.05em; }
.section-intro > p:last-child { color: var(--muted); margin-top: 24px; max-width: 370px; }
.details article { padding-block: 28px; border-top: 1px solid var(--border); }
.details article:first-child { padding-top: 0; border-top: 0; }
h3 { font-size: 1.125rem; letter-spacing: -.025em; margin-bottom: 12px; }
.details p { color: var(--muted); }
.project { text-align: center; border-top: 1px solid var(--border); }
.project-description { max-width: 580px; margin: 28px auto 0; font-size: 1.125rem; color: var(--muted); }
.project-note { max-width: 500px; margin: 32px auto 0; font-size: .8125rem; color: var(--muted); }
.contact { text-align: center; border-top: 1px solid var(--border); }
.contact-email { display: inline-block; margin-top: 24px; color: var(--accent); font-size: clamp(1rem, 3vw, 1.375rem); overflow-wrap: anywhere; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
footer { max-width: 1328px; margin: auto; padding: 28px 40px; display: flex; gap: 24px; align-items: center; border-top: 1px solid var(--border); color: var(--muted); font-size: .75rem; }
footer > span { font-size: 1rem; color: var(--foreground); }
footer a { margin-left: auto; }
.reveal { transition: opacity .7s ease, transform .7s ease; }
.reveal.pending { opacity: 0; transform: translateY(20px); }
@keyframes transmit { to { stroke-dashoffset: -190; } }
@keyframes scan { 0%,100% { transform: translateY(0); opacity: 0; } 15%,85% { opacity: .6; } 50% { transform: translateY(130px); } }
@media (max-width: 700px) {
  .site-header { height: 84px; padding-inline: 24px; }
  .brand img { width: 110px; height: auto; }
  .header-actions { gap: 16px; font-size: .8125rem; }
  .hero { min-height: calc(100svh - 84px); padding-top: 40px; }
  h1 { font-size: clamp(2.5rem, 8.8vw, 3.7rem); }
  .hero .eyebrow { font-size: .6875rem; letter-spacing: .1em; }
  .diagram { margin-top: 40px; }
  .diagram-controls { margin-top: 20px; }
  .scroll-link { margin-top: 32px; }
  .content-section { padding: 80px 24px; }
  .overview { grid-template-columns: 1fr; gap: 48px; }
  .section-intro > p:last-child { max-width: none; }
  footer { padding-inline: 24px; flex-wrap: wrap; gap: 12px; }
  footer p { width: 100%; order: 3; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal.pending { opacity: 1; transform: none; }
}
@media print {
  .header-actions, .scroll-link, .diagram-controls { display: none; }
  .hero { min-height: 0; }
  .content-section { padding-block: 32px; }
  .reveal.pending { opacity: 1; transform: none; }
}
