@font-face { font-family: "IBM Plex Sans"; src: url("/static/fonts/plex-sans-400.ttf") format("truetype"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("/static/fonts/plex-sans-600.ttf") format("truetype"); font-style: normal; font-weight: 600 700; font-display: swap; }
@font-face { font-family: "IBM Plex Sans Condensed"; src: url("/static/fonts/plex-condensed-700.ttf") format("truetype"); font-style: normal; font-weight: 700; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/static/fonts/plex-mono-600.ttf") format("truetype"); font-style: normal; font-weight: 600; font-display: swap; }

:root {
  --paper: #f1e9d6;
  --paper-light: #faf5e8;
  --ink: #10262d;
  --ink-soft: #355058;
  --azure: #009ccc;
  --azure-light: #72d2e9;
  --seal: #c8553c;
  --rule: #789093;
  --bg: var(--paper);
  --surface: var(--paper-light);
  --surface-strong: #e8dec8;
  --muted: #40575c;
  --line: #b7b5a7;
  --line-strong: var(--ink);
  --blue: #007da7;
  --blue-dark: #006d91;
  --blue-soft: #dceef0;
  --cyan: var(--azure-light);
  --hero: var(--ink);
  --hero-muted: #d7e2dc;
  --green-soft: #d9eee7;
  --coral-soft: #f6e2d7;
  --radius: 0;
  --shadow: 4px 4px 0 var(--ink);
  --container: min(1360px, calc(100% - 64px));
}

html { scroll-behavior: smooth; }
body {
  color: var(--ink);
  background-color: var(--paper);
  background-image: radial-gradient(rgba(16,38,45,.085) .5px, transparent .5px);
  background-size: 5px 5px;
  font-family: "IBM Plex Sans", sans-serif;
}
body::selection { background: var(--azure); color: white; }
button, input, textarea { font-family: inherit; }
:is(a, button, input, textarea, summary):focus-visible { outline: 3px solid var(--azure); outline-offset: 3px; }

.site-header { border-bottom: 2px solid var(--ink); background: var(--paper-light); backdrop-filter: none; }
.header-inner { min-height: 82px; }
.brand { gap: 12px; font: 700 23px/1 "IBM Plex Sans Condensed", sans-serif; letter-spacing: -.035em; text-transform: uppercase; }
.brand img, .footer-brand img, .auth-dialog-brand img { width: 34px; height: 42px; object-fit: contain; filter: drop-shadow(0 1px 1px rgba(16,38,45,.25)); }
.desktop-nav { gap: clamp(12px, 2vw, 34px); }
.desktop-nav a, .mobile-menu a { color: var(--ink); font: 600 13px/1.2 "IBM Plex Mono", monospace; text-transform: uppercase; }
.desktop-nav a::after { bottom: 20px; height: 3px; background: var(--azure); }
.header-actions { gap: 8px; }
.primary-link, .primary-btn, .secondary-btn, .ghost-btn, .menu-btn, .chip-btn, .copy-btn {
  border-radius: 0;
  font: 600 13px/1.3 "IBM Plex Mono", monospace;
  text-transform: uppercase;
  letter-spacing: .015em;
}
.primary-link, .primary-btn.dark { color: #fff; border-color: var(--ink); background: var(--ink); }
.primary-link:hover, .primary-btn.dark:hover { color: var(--ink); background: var(--azure-light); }
.ghost-btn, .menu-btn, .secondary-btn.dark, .chip-btn, .copy-btn { border-color: var(--ink); background: var(--paper-light); }
.mobile-menu { top: 82px; border-bottom: 2px solid var(--ink); background: var(--paper-light); }

.page-home .hero-section {
  min-height: 690px;
  padding: 0 max(32px, calc((100vw - 1360px) / 2));
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(420px, .94fr);
  border-bottom: 3px solid var(--ink);
  background: var(--paper);
}
.page-home .hero-copy {
  width: auto;
  min-height: 690px;
  margin: 0;
  padding: 72px 36px 42px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--ink);
  animation: none;
}
.hero-kicker {
  margin: 0 0 24px;
  padding: 9px 12px;
  border: 1px solid var(--ink);
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  font: 600 11px/1.2 "IBM Plex Mono", monospace;
  letter-spacing: .08em;
}
.page-home .hero-copy h1 {
  max-width: 790px;
  margin: 0 0 23px;
  color: var(--ink);
  font: 700 clamp(62px, 6.9vw, 112px)/.84 "IBM Plex Sans Condensed", "Arial Narrow", sans-serif;
  letter-spacing: -.055em;
  text-wrap: initial;
}
.page-home .hero-copy h1 em { color: var(--azure); font-style: normal; }
.page-home .hero-description { max-width: 530px; margin-bottom: 28px; color: var(--ink-soft); font-size: 17px; line-height: 1.55; }
.hero-actions { gap: 12px; margin-bottom: auto; }
.hero-section .primary-btn.light, .hero-section .secondary-btn.light { min-width: 0; min-height: 52px; padding: 14px 20px; border: 2px solid var(--ink); box-shadow: none; }
.hero-section .primary-btn.light { color: #fff; background: var(--ink); }
.hero-section .primary-btn.light:hover { color: var(--ink); background: var(--azure-light); }
.hero-section .secondary-btn.light { color: var(--ink); background: transparent; }
.hero-section .secondary-btn.light:hover { border-color: var(--ink); background: var(--paper-light); }
.hero-printline {
  width: 100%;
  margin-top: 32px;
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 2px solid var(--ink);
  font: 600 11px/1.4 "IBM Plex Mono", monospace;
  letter-spacing: .08em;
}
.page-home .hero-product {
  position: relative;
  inset: auto;
  min-width: 0;
  min-height: 690px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 22px 26px 18px;
  border-left: 3px solid var(--ink);
  border-right: 3px solid var(--ink);
  color: var(--paper-light);
  background: var(--azure);
  animation: none;
}
.page-home .hero-product::before, .page-home .hero-product::after { display: none; }
.hero-product::before { display: none; }
.poster-index, .poster-edition, .poster-route-list > span {
  position: relative;
  z-index: 2;
  font: 600 11px/1.35 "IBM Plex Mono", monospace;
  letter-spacing: .08em;
}
.poster-index { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 2px solid currentColor; }
.poster-disc {
  position: relative;
  width: min(78%, 390px);
  aspect-ratio: 1;
  margin: 18px auto 5px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #bce8e9;
  box-shadow: 0 0 0 19px rgba(255,255,255,.16), 0 0 0 39px rgba(255,255,255,.11);
}
.poster-disc::before { content: ""; position: absolute; inset: -21px; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; }
.poster-disc::after {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  opacity: .25;
  background: repeating-conic-gradient(from -15deg, transparent 0 10deg, var(--azure) 10deg 10.5deg);
}
.poster-disc img { position: relative; z-index: 2; width: 50%; height: auto; max-height: 67%; filter: drop-shadow(8px 10px 0 rgba(16,38,45,.2)); transform: rotate(-7deg); }
.poster-orbit { position: absolute; z-index: 1; width: 130%; height: 33%; border: 3px solid var(--paper-light); border-radius: 50%; transform: rotate(-27deg); }
.poster-orbit-two { width: 120%; height: 23%; transform: rotate(29deg); opacity: .5; }
.poster-caption { position: relative; z-index: 2; display: flex; flex-direction: column; margin-top: -10px; font: 700 clamp(35px, 4.2vw, 68px)/.93 "IBM Plex Sans Condensed", sans-serif; letter-spacing: -.035em; text-shadow: 2px 2px 0 var(--ink); }
.poster-route-list { position: relative; z-index: 2; margin-top: auto; padding-top: 12px; border-top: 2px solid var(--paper-light); }
.poster-route-list > span { display: block; margin-bottom: 6px; }
.poster-route-list .phone-server-list { display: grid; gap: 0; }
.poster-route-list .phone-server-row {
  min-width: 0;
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-top: 1px solid rgba(255,255,255,.46);
  border-radius: 0;
  color: var(--paper-light);
  background: transparent;
  box-shadow: none;
}
.poster-route-list .phone-server-flag { width: 23px; font-size: 15px; }
.poster-route-list .phone-server-name { color: inherit; font-size: 11px; }
.poster-route-list .phone-server-meta, .poster-route-list .phone-server-updated { display: none; }
.poster-route-list .phone-server-reading { margin-left: auto; }
.poster-route-list .phone-server-ping { color: inherit; font-size: 10px; }
.poster-edition { margin-top: 9px; padding-top: 8px; border-top: 2px solid currentColor; text-align: right; }

.page-home .trust-strip { margin: 0 auto; padding: 0; gap: 0; border: 0; border-bottom: 2px solid var(--ink); border-radius: 0; background: transparent; box-shadow: none; }
.page-home .trust-strip > .benefit-item, .page-home .trust-strip > .benefit-item + .benefit-item { padding: 22px 15px; border-right: 1px solid var(--ink); border-left: 0; }
.page-home .benefit-item:first-child { border-left: 1px solid var(--ink); }
.benefit-icon { border: 1px solid var(--ink); border-radius: 0; color: var(--ink); background: var(--azure-light); }
.trust-strip strong { color: var(--ink); font-family: "IBM Plex Sans Condensed", sans-serif; font-size: 17px; text-transform: uppercase; }
.trust-strip small { color: var(--ink-soft); font-size: 12px; }

.workflow-section, .network-section, .pricing-preview, .faq-section { padding-block: clamp(70px, 8vw, 120px); }
.section-heading h2, .network-copy h2, .referral-band h2, .support-cta h2, .page-head h1 { color: var(--ink); font: 700 clamp(42px, 5vw, 74px)/.96 "IBM Plex Sans Condensed", sans-serif; letter-spacing: -.035em; text-transform: uppercase; }
.page-head h1 { margin-bottom: 18px; }
.section-heading p, .network-copy p, .referral-band p, .support-cta p, .page-head p { color: var(--ink-soft); }
.workflow-list { border-top: 2px solid var(--ink); }
.workflow-list li { grid-template-columns: 72px minmax(0,1fr); border-bottom: 1px solid var(--ink); }
.workflow-list > li > span { color: var(--azure); font: 700 35px/1 "IBM Plex Sans Condensed", sans-serif; }
.workflow-list h3, .faq-list summary { font-family: "IBM Plex Sans Condensed", sans-serif; font-weight: 700; }
.network-section { grid-template-columns: .65fr 1.35fr; gap: 48px; border-top: 2px solid var(--ink); }
.server-map, .server-location-card { border: 2px solid var(--ink); border-radius: 0; box-shadow: none; }
.pricing-preview { border-top: 2px solid var(--ink); }
.plan-card, .glass-card, .device-card, .auth-panel, .pricing-control-panel, .support-cta, .map-command-card { border: 1px solid var(--ink); border-radius: 0; background: var(--paper-light); box-shadow: none; }
.plan-card.featured { border: 2px solid var(--azure); box-shadow: 5px 5px 0 var(--ink); }
.plan-price { font-family: "IBM Plex Sans Condensed", sans-serif; font-size: 40px; }
.plan-badge, .status-pill { color: var(--blue-dark); font-family: "IBM Plex Mono", monospace; }
.referral-band { border-block: 2px solid var(--ink); background: var(--azure-light); }
.referral-band p, .support-cta p { color: var(--ink-soft); }
.faq-list { border-top: 2px solid var(--ink); }
.faq-list details { border-bottom-color: var(--ink); }
.faq-list summary::after { color: var(--azure); }
.auth-panel { background: var(--paper-light); }
.auth-panel::after { border-color: rgba(0,156,204,.13); }
.auth-mark { border-radius: 0; background: var(--paper-light); }
.auth-mark img { object-fit: contain; }
.map-command-card { color: var(--paper-light); background: var(--ink); }
.map-command-card h2 { color: var(--paper-light); }
.server-location-card { background: var(--paper-light); }
.support-cta { border-left: 8px solid var(--seal); background: var(--paper-light); }
.footer { border-top: 2px solid var(--ink); }
.auth-dialog { border: 2px solid var(--ink); border-radius: 0; background: var(--paper-light); }
.auth-dialog-brand img { background: transparent; }
.auth-dialog h2 { font-family: "IBM Plex Sans Condensed", sans-serif; text-transform: uppercase; }
.toast { border: 1px solid var(--ink); border-radius: 0; }

@media (max-width: 1040px) {
  :root { --container: min(100% - 40px, 1360px); }
  .page-home .hero-section { padding-inline: 20px; grid-template-columns: minmax(0,1fr) minmax(350px,.85fr); }
  .page-home .hero-copy h1 { font-size: clamp(59px, 7.4vw, 82px); }
  .poster-disc { width: 75%; }
}
@media (max-width: 760px) {
  :root { --container: min(100% - 28px, 1360px); }
  .header-inner { min-height: 70px; }
  .mobile-menu { top: 70px; }
  .page-home .hero-section { grid-template-columns: minmax(0,1fr); padding-inline: 14px; }
  .page-home .hero-copy { min-height: 0; padding: 35px 0 28px; }
  .page-home .hero-copy h1 { font-size: clamp(58px, 14vw, 88px); }
  .page-home .hero-description { font-size: 15px; }
  .hero-actions { width: 100%; }
  .hero-section .primary-btn.light, .hero-section .secondary-btn.light { flex: 1 1 100%; }
  .hero-printline { margin-top: 30px; }
  .page-home .hero-product { min-height: 555px; height: auto; padding: 18px; border: 2px solid var(--ink); }
  .poster-disc { width: min(72%, 280px); margin: 21px auto 11px; }
  .poster-caption { margin-top: 7px; font-size: clamp(43px, 11vw, 70px); }
  .page-home .trust-strip { grid-template-columns: 1fr 1fr; gap: 0; }
  .page-home .trust-strip > .benefit-item, .page-home .trust-strip > .benefit-item + .benefit-item { padding: 14px 9px; border-bottom: 1px solid var(--ink); }
  .trust-strip strong { font-size: 14px; }
  .network-section, .faq-section { display: grid; grid-template-columns: 1fr; gap: 32px; }
  .page:not(.page-home) { padding-block: 42px 76px; }
  .page-head h1 { font-size: clamp(48px, 13vw, 72px); }
}
@media (max-width: 460px) {
  .brand { font-size: 19px; }
  .header-actions .primary-link { padding-inline: 8px; font-size: 11px; }
  .page-home .hero-product { min-height: 505px; }
  .poster-index { font-size: 9px; }
  .poster-index span { max-width: 90px; text-align: right; }
  .page-home .trust-strip { grid-template-columns: 1fr 1fr; }
  .page-home .trust-strip > .benefit-item { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .page-home .hero-copy, .page-home .hero-product { animation: none; }
  .neon-route-line, .network-map > svg .map-route-line { animation: none; }
}
