/* SG Tech landing — Nocturne tokens (dark, blue accent), Montserrat headings, Inter body. */
:root {
  --bg: #0B0E15;
  --surface: #131823;
  --surface-line: #1B202B;
  --text: #EEF1F7;
  --text-2: #C3C9D6;
  --text-3: #AEB5C4;
  --muted: #9FA7B8;
  --accent: #2F6BFF;
  --accent-hover: #2456D6;
  --accent-400: #7AA0FF;
  --accent-300: #A9C2FF;
  --accent-200: #D6E2FF;
  --accent-900: #0F1E45;
  --divider: color-mix(in srgb, #EEF1F7 14%, transparent);
  --font-heading: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--font-heading); margin: 0; line-height: 1.12; letter-spacing: -0.015em; }
a { text-underline-offset: 3px; }
p { margin: 0; }
a { color: var(--accent-300); }
a:hover { color: var(--accent-200); }
:focus-visible { outline: 2px solid var(--accent-400); outline-offset: 3px; border-radius: 6px; }
img { display: block; max-width: 100%; height: auto; }
.lighten { mix-blend-mode: lighten; background-color: transparent; }
.accent { color: var(--accent); }
.accent-soft { color: var(--accent-400); }
.accent-text { color: var(--accent-300); }

.page {
  min-height: 100vh;
  text-wrap: pretty;
  background:
    radial-gradient(1200px 720px at 82% -160px, color-mix(in srgb, #0F1E45 85%, transparent), transparent 60%),
    radial-gradient(1100px 800px at -10% 100%, rgba(0, 0, 0, .35), transparent 55%),
    var(--bg);
  overflow-x: clip;
}
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; border-radius: 10px; text-decoration: none; white-space: nowrap;
  transition: background-color .15s, color .15s;
}
.btn-primary {
  height: 52px; padding: 0 22px; gap: 10px; border: 1px solid var(--accent); background: var(--accent); color: #F7F9FF;
  font-family: var(--font-heading); font-weight: 600; font-size: 16px; box-shadow: 0 0 28px rgba(47, 107, 255, .4);
}
.btn-primary .ic { font-size: 20px; }
.btn-primary:hover { background: var(--accent-hover); color: #F7F9FF; }
.btn-ghost { height: 52px; padding: 0 20px; border: 1px solid var(--divider); color: var(--text); font-size: 15px; }
.btn-ghost:hover { background: var(--surface); color: var(--text); }
.btn-outline { height: 40px; padding: 0 16px; border-radius: 8px; border: 1px solid var(--accent); color: var(--accent-300); font-size: 14px; font-weight: 500; }
.btn-outline:hover { background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent-200); }
.btn-sm { height: 40px; padding: 0 14px; border-radius: 8px; font-size: 14px; align-self: flex-start; }
.btn-sm:hover { background: var(--surface-line); }

/* ---- nav ---- */
.nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--surface-line); }
.nav-row { height: 64px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-family: var(--font-heading); font-weight: 800; font-size: 16px; white-space: nowrap; }
.brand:hover { color: var(--text); }
.brand img { width: 34px; height: 34px; border-radius: 50%; }
.nav-links { display: flex; gap: 22px; font-size: 14px; }
.nav-links a { color: var(--text-2); text-decoration: none; white-space: nowrap; }
.nav-links a:hover { color: var(--text); }
.nav-cta { margin-left: auto; }

/* ---- hero ---- */
.hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: center; padding: clamp(56px, 9vw, 112px) 0 clamp(56px, 8vw, 96px); }
.hero-text { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.hero h1 { font-weight: 700; font-size: clamp(40px, 6vw, 80px); line-height: 1.08; letter-spacing: -.015em; }
.hero h1 span, .cta h2 span { display: block; }
.lead { font-size: 18px; line-height: 1.6; color: var(--text-2); max-width: 56ch; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.facts { display: flex; gap: 20px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.facts span { display: flex; align-items: center; gap: 6px; }
.facts .ic { color: var(--accent-400); }
.hero-art { display: grid; place-items: center; position: relative; }
.hero-art .glow { position: absolute; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(47, 107, 255, .35), transparent 65%); }
.hero-art img { position: relative; width: min(420px, 100%); border-radius: 50%; }

/* ---- numbers ---- */
.numbers { background: radial-gradient(900px 420px at 85% -40%, rgba(47, 107, 255, .45), transparent 64%), var(--accent-900); padding: 56px 0; }
.numbers-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 40px; }
.numbers-grid > div { display: flex; flex-direction: column; gap: 10px; }
.num { font-family: var(--font-heading); font-weight: 700; font-size: clamp(40px, 4vw, 56px); line-height: 1; }
.num-label { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: #C3D3FA; }

/* ---- sections ---- */
.section { scroll-margin-top: 64px; }
.heading { display: flex; flex-direction: column; gap: 12px; }
.kicker { font-family: var(--font-heading); font-weight: 600; font-size: 12px; letter-spacing: .24em; color: var(--accent-400); }
.section h2 { font-weight: 600; font-size: clamp(28px, 3vw, 38px); line-height: 1.15; }
.rule { height: 1px; background: linear-gradient(to right, transparent, var(--divider) 48px calc(100% - 48px), transparent); }
.text-link { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-size: 15px; text-decoration: none; }

/* services */
.services { padding: 96px 0 72px; display: flex; flex-direction: column; gap: 36px; }
.services h2 { max-width: 22ch; }
.cats { display: flex; gap: 8px; flex-wrap: wrap; }
.cats button {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 8px; border: 0; cursor: pointer;
  font: inherit; font-size: 14px; white-space: nowrap; color: var(--text-2); background: transparent; box-shadow: inset 0 0 0 1px rgba(238, 241, 247, .14);
  transition: background-color .15s, box-shadow .15s, color .15s;
}
.cats button .ic { font-size: 18px; }
.cats button:hover { color: var(--text); }
.cats button[aria-pressed="true"] { color: var(--accent-200); background: var(--accent-900); box-shadow: inset 0 0 0 1px var(--accent), 0 0 18px rgba(47, 107, 255, .3); }
.svc-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 2px 40px; }
.svc-list[hidden] { display: none; }
.svc-list li { display: flex; gap: 16px; padding: 22px 0; border-top: 1px solid var(--surface-line); }
.svc-list .ic { font-size: 26px; color: var(--accent); flex: none; margin-top: 2px; }
.svc-list div { display: flex; flex-direction: column; gap: 6px; }
.svc-list h3 { font-weight: 600; font-size: 18px; }
.svc-list p { font-size: 15px; line-height: 1.55; color: var(--text-3); }

/* steps */
.steps { padding: 88px 0; display: flex; flex-direction: column; gap: 12px; }
.steps h2 { margin-bottom: 24px; max-width: 24ch; }
.steps ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.steps li { display: grid; grid-template-columns: minmax(48px, 120px) minmax(0, 380px) minmax(0, 1fr); gap: 12px clamp(20px, 4vw, 64px); align-items: baseline; padding: 28px 0; border-top: 1px solid #2C3240; }
.step-n { font-family: var(--font-heading); font-weight: 600; font-size: 15px; color: var(--accent); font-variant-numeric: tabular-nums; }
.steps h3 { font-weight: 600; font-size: 22px; line-height: 1.25; }
.steps p { font-size: 15.5px; line-height: 1.6; color: var(--text-3); max-width: 52ch; }
.note { margin-top: 20px; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 12px; box-shadow: inset 0 0 0 1px #1C42A3; max-width: 620px; font-size: 15px; line-height: 1.45; }
.note .ic { font-size: 28px; color: var(--accent); flex: none; }

/* where */
.where { padding: 88px 0; display: flex; flex-direction: column; gap: 32px; }
.where-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.card { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: 14px; background: var(--surface); box-shadow: 0 0 0 1px var(--surface-line); }
.card-head { display: flex; align-items: center; gap: 10px; }
.card-head .ic { font-size: 22px; color: var(--accent); }
.card h3 { font-weight: 600; font-size: 19px; }
.stand { font-family: var(--font-heading); font-weight: 600; font-size: 13px; letter-spacing: .06em; color: var(--accent-300); }
.card p { font-size: 15px; line-height: 1.55; color: var(--text-2); }
.small { font-size: 13px; color: var(--muted); }
.card-hours { background: var(--accent-900); box-shadow: 0 0 0 1px var(--accent), 0 0 24px rgba(47, 107, 255, .25); }
.card-hours .card-head .ic { color: var(--accent-400); }
.hours { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; font-size: 15px; margin: 0; }
.hours dt { color: var(--accent-200); }
.hours dd { margin: 0; font-family: var(--font-heading); font-weight: 600; font-variant-numeric: tabular-nums; }
.hours dd.closed { font-family: var(--font-body); font-weight: 400; color: var(--accent-300); }
.hours-note { color: #C3D3FA; }

/* cta + footer */
.cta { padding: 88px 0 72px; display: flex; flex-direction: column; gap: 20px; }
.cta h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.12; }
.cta .actions { margin-top: 8px; }
.footer { padding: 28px 0 40px; display: flex; flex-direction: column; gap: 14px; font-size: 13px; color: #7D8699; }
.footer-line { display: flex; align-items: center; }
.footer-line span:nth-child(odd) { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--accent); flex: none; }
.footer-line span:nth-child(2) { flex: 1; height: 1px; background: linear-gradient(to right, #152F70, var(--accent) 50%, #152F70); }
.footer-row { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.tagline { font-family: var(--font-heading); font-weight: 600; letter-spacing: .28em; font-size: 11px; color: var(--muted); }
.copy { margin-left: auto; }

.fab {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 20; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent); color: #F7F9FF; text-decoration: none;
  box-shadow: 0 0 0 1px var(--accent-400), 0 8px 28px rgba(47, 107, 255, .5); transition: background-color .15s;
}
.fab .ic { font-size: 26px; }
.fab:hover { background: var(--accent-hover); color: #F7F9FF; }

/* ---- smaller screens ---- */
@media (max-width: 900px) {
  .numbers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li { grid-template-columns: 48px minmax(0, 1fr); }
  .steps li p { grid-column: 2; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; gap: 8px; }
  .hero-art { order: -1; justify-self: start; }
  .hero-art img { width: 132px; }
  .hero-art .glow { width: 150%; }
  .lead { font-size: 17px; }
  .services, .steps, .where, .cta { padding-top: 64px; padding-bottom: 56px; }
  .copy { margin-left: 0; }
}
@media (max-width: 420px) {
  .actions .btn { width: 100%; justify-content: center; }
  .btn-primary { padding: 0 16px; }
  .nav-cta { padding: 0 12px; }
}

/* Icons: Phosphor glyphs inlined as an SVG sprite (sized by font-size, colored by currentColor). */
.ic { width: 1em; height: 1em; fill: currentColor; flex: none; display: inline-block; vertical-align: -.125em; }
.btn-ghost .ic, .btn-outline .ic, .text-link .ic { font-size: 1.1em; }
