/* SwitchLogix website. Brand: Open Sans, cobalt #003FF0 on midnight (branding/06_Brand_Tokens). */
@font-face { font-family: "Open Sans"; src: url("fonts/OpenSans-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("fonts/OpenSans-Semibold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("fonts/OpenSans-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("fonts/OpenSans-ExtraBold.ttf") format("truetype"); font-weight: 800; font-display: swap; }

:root {
  --cobalt: #003FF0; --cobalt-hover: #1F57FF; --sky: #3AA8FE; --reverse-cobalt: #79A5FF;
  --bg: #070B14; --bg-2: #0A101C; --panel: #0E1524; --panel-2: #121B2D;
  --line: #1A2335; --line-2: #24314A; --text: #E6ECF5; --soft: #B4C0D3; --muted: #8A97AD; --white: #FFFFFF;
  --ok: #5FD38D; --warn: #F5C451; --bad: #FF8A7A; --flag: #FFB08A;
  --radius: 16px; --max: 1200px;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 "Open Sans", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--reverse-cobalt); text-decoration: none; }
a:hover { color: var(--white); }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { color: var(--white); margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); color: #000; padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

/* Header */
.site-head { border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; background: rgba(7, 11, 20, 0.88); backdrop-filter: blur(10px); }
.site-head .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; padding-top: 16px; padding-bottom: 16px; }
.logo img { height: 54px; width: auto; display: block; }
.nav-links { display: flex; flex-wrap: wrap; gap: 4px 24px; flex: 1 1 auto; font-size: 15px; }
.nav-links a { color: var(--soft); }
.nav-links a:hover { color: var(--white); }
.nav-cta { display: flex; gap: 8px; align-items: center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 11px 20px; border-radius: 10px; font: 600 15px/1.2 "Open Sans", Arial, sans-serif; border: 1px solid transparent; cursor: pointer; }
.btn-pri { background: var(--cobalt); color: var(--white); }
.btn-pri:hover { background: var(--cobalt-hover); color: var(--white); }
.btn-ghost { border-color: #2B3954; color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: #4A5C80; color: var(--white); }
.btn-text { color: var(--text); padding-left: 12px; padding-right: 12px; }
.btn-lg { min-height: 52px; padding: 14px 24px; font-size: 16px; }

/* Hero */
.hero { padding: 88px 0 72px; }
.hero .wrap { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.hero-copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.pill { align-self: flex-start; border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 12px; font-size: 13px; color: var(--reverse-cobalt); }
.hero h1 { font-size: clamp(40px, 5.4vw, 62px); line-height: 1.05; font-weight: 800; }
.lede { font-size: 19px; color: var(--soft); max-width: 540px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.fine { font-size: 14px; color: var(--muted); }
.hero-art { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.panel { background: var(--panel); border: 1px solid #1F2A40; border-radius: var(--radius); }
.queue { padding: 20px; box-shadow: 0 30px 80px -30px rgba(0, 63, 240, 0.45); }
.queue-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.queue-head strong { color: var(--white); font-size: 15px; }
.tag-warn { font-size: 12px; color: var(--warn); border: 1px solid #5A4A1E; border-radius: 999px; padding: 3px 10px; }
.hold { background: var(--panel-2); border: 1px solid #22304A; border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.hold-meta { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--muted); }
.hold-text { font-size: 15px; color: var(--text); }
.hold-actions { display: flex; gap: 8px; }
.hold-actions span { border-radius: 8px; padding: 8px 16px; font-weight: 600; font-size: 14px; }
.hold-actions .yes { background: var(--cobalt); color: var(--white); }
.hold-actions .no { border: 1px solid #2B3954; color: var(--text); }
.flagged { margin-top: 10px; background: var(--panel-2); border: 1px solid #3A2A22; border-radius: 12px; padding: 14px 16px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; font-size: 14px; }
.flagged em { font-style: normal; color: var(--flag); }
.log { background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; font: 13px/1.8 var(--mono); color: var(--muted); overflow-x: auto; white-space: pre; }
.log .ok { color: var(--ok); } .log .warn { color: var(--warn); } .log .bad { color: var(--bad); }

/* Bands and sections */
.services { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.services ul { list-style: none; margin: 0 auto; padding: 28px 24px; max-width: var(--max); display: flex; flex-wrap: wrap; gap: 10px 32px; justify-content: center; font-size: 15px; color: var(--muted); }
.services li:first-child { color: var(--soft); }
.section { padding: 96px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 660px; margin-bottom: 40px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--reverse-cobalt); }
.section h2 { font-size: clamp(30px, 3.6vw, 42px); line-height: 1.12; font-weight: 800; }
.sub { color: var(--soft); }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.step { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.step.center { border: 2px solid var(--cobalt); padding: 23px; }
.step .num { font: 13px var(--mono); color: var(--reverse-cobalt); }
.step h3 { font-size: 19px; }
.step p, .feature p { color: var(--soft); }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.feature { background: var(--bg-2); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.feature svg { width: 24px; height: 24px; stroke: var(--reverse-cobalt); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 17px; }

/* Pricing */
.pricing-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 32px; }
.switch { display: flex; background: var(--panel); border: 1px solid #1F2A40; border-radius: 10px; padding: 4px; }
.switch button { background: transparent; color: var(--soft); border: 0; border-radius: 7px; min-height: 40px; padding: 8px 14px; font: 600 14px "Open Sans", Arial, sans-serif; cursor: pointer; }
.switch button[aria-pressed="true"] { background: #1F2A40; color: var(--white); }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.plan { padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.plan.best { border: 2px solid var(--cobalt); padding: 27px; }
.plan-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.plan-top h3 { font-size: 18px; }
.badge { font-size: 12px; color: var(--white); background: var(--cobalt); border-radius: 999px; padding: 4px 10px; }
.price { font-size: 44px; font-weight: 800; color: var(--white); line-height: 1; }
.price small { font-size: 15px; font-weight: 400; color: var(--muted); }
.plan ul { margin: 0; padding-left: 20px; color: var(--soft); line-height: 1.9; }
.plan .btn { margin-top: auto; }
.plans-note { margin-top: 16px; font-size: 14px; color: var(--muted); }

/* Security */
.trust { background: linear-gradient(180deg, var(--panel), var(--bg-2)); border: 1px solid #1F2A40; border-radius: 20px; padding: 48px; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.trust > div { flex: 1 1 360px; display: flex; flex-direction: column; gap: 12px; }
.trust h2 { font-size: 32px; }
.trust ul { flex: 1 1 320px; margin: 0; padding-left: 20px; line-height: 2; }

/* Footer */
.site-foot { border-top: 1px solid var(--line); }
.site-foot .wrap { padding-top: 32px; padding-bottom: 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--muted); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* Legal pages */
.legal { padding: 64px 0 96px; }
.legal .wrap { max-width: 800px; }
.legal h1 { font-size: 40px; font-weight: 800; margin-bottom: 8px; }
.legal h2 { font-size: 22px; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--soft); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 22px; }
.legal li + li { margin-top: 6px; }
.legal .updated { color: var(--muted); font-size: 14px; }
.legal table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 15px; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--soft); }
.legal th { color: var(--white); font-weight: 600; }
.table-box { overflow-x: auto; }

@media (max-width: 720px) {
  .hero { padding: 56px 0 48px; }
  .section { padding: 64px 0; }
  .trust { padding: 28px; }
  .nav-links { order: 3; flex-basis: 100%; }
  .logo img { height: 42px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
