/* Galaxy Technology Partners — site styles */
:root {
  --bg: #F5F4FA;
  --surface: #FFFFFF;
  --ink: #1A1446;
  --muted: #4E4A6B;
  --line: #DDD9EC;
  --purple: #5B21B6;
  --purple-dark: #4A1A96;
  --blue: #2563EB;
  --green: #10B981;
  --navy: #1E3A8A;
  --deep: #18123F;
  --display: "Saira", "Segoe UI", system-ui, sans-serif;
  --body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--purple); text-underline-offset: 3px; }
a:hover { color: var(--purple-dark); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 {
  font-family: var(--display);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  color: var(--ink);
}
h1 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); font-weight: 600; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.4rem); font-weight: 600; }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0 0 1em; max-width: 68ch; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 52ch; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 10; }
.skip:focus { left: 8px; top: 8px; }

/* Header */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand img { width: 196px; }
.nav { display: flex; align-items: center; gap: 2px; flex-wrap: nowrap; white-space: nowrap; }
.nav a {
  color: var(--ink); text-decoration: none; font-weight: 500;
  padding: 8px 10px; border-radius: 6px;
}
.nav a:hover { background: var(--bg); color: var(--purple); }
.nav a[aria-current="page"] { color: var(--purple); box-shadow: inset 0 -2px 0 var(--purple); border-radius: 0; }
.nav .call { margin-left: 8px; background: var(--purple); color: #fff; border-radius: 6px; }
.nav .call:hover { background: var(--purple-dark); color: #fff; }
.menu-toggle { display: none; }

/* Buttons */
.btn {
  display: inline-block; font-family: var(--body); font-weight: 600; font-size: 1rem;
  padding: 13px 22px; border-radius: 8px; text-decoration: none; border: 2px solid var(--purple);
  background: var(--purple); color: #fff; cursor: pointer;
}
.btn:hover { background: var(--purple-dark); border-color: var(--purple-dark); color: #fff; }
.btn.ghost { background: transparent; color: var(--purple); }
.btn.ghost:hover { background: var(--surface); color: var(--purple-dark); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Hero */
.hero { padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.hero h1 { max-width: 14ch; }
.status { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; color: var(--muted); margin-bottom: 18px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(16,185,129,.18); flex: none; }

/* Orbit map */
.orbit { width: 100%; max-width: 600px; justify-self: end; }
.orbit text { font-family: var(--body); font-size: 17px; font-weight: 500; fill: var(--ink); }
.orbit .center-label { font-family: var(--display); font-size: 22px; font-weight: 600; fill: var(--purple); }
.orbit .ring { fill: none; stroke: var(--blue); stroke-width: 3; }
.orbit .hex { fill: var(--surface); stroke: var(--purple); stroke-width: 7; stroke-linejoin: round; }
.orbit .node { fill: var(--surface); stroke: var(--line); stroke-width: 1.5; }
.orbit .ok { fill: var(--green); }
.orbit .sat { fill: var(--green); }
@media (prefers-reduced-motion: reduce) { .orbit .sat-motion { display: none; } }

/* Sections */
section.band { padding: clamp(56px, 8vw, 96px) 0; }
section.band.white { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
section.band.dark { background: var(--deep); color: #E9E6F7; }
section.band.dark h2, section.band.dark h3 { color: #fff; }
section.band.dark a { color: #B9A4F2; }
.section-head { max-width: 640px; margin-bottom: 40px; }

/* Included list — two columns of plain rows, not cards */
.included { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; margin: 0; padding: 0; list-style: none; }
.included li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding: 20px 0; border-top: 1px solid var(--line); }
.included li .dot { margin-top: 9px; }
.included h3 { font-size: 1.15rem; margin: 0 0 4px; }
.included p { margin: 0; color: var(--muted); font-size: 1rem; }

/* Steps — a real sequence */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.steps li { counter-increment: step; border-top: 3px solid var(--purple); padding-top: 18px; }
.steps li::before { content: "Step " counter(step); display: block; font-family: var(--display); font-weight: 600; color: var(--purple); margin-bottom: 6px; }
.steps p { color: var(--muted); margin: 0; }
section.band.dark .steps li { border-top-color: var(--green); }
section.band.dark .steps li::before { color: var(--green); }
section.band.dark .steps p { color: #C9C3E4; }

/* Area band */
.area { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; }
.area svg { width: 120px; }
.area p { margin: 0; font-size: 1.15rem; }

/* Page header for inner pages */
.page-head { padding: clamp(44px, 7vw, 80px) 0 clamp(28px, 4vw, 44px); }
.page-head h1 { max-width: 18ch; }

/* Two-column prose blocks */
.split { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(24px, 5vw, 64px); }
.split + .split { margin-top: 56px; padding-top: 56px; border-top: 1px solid var(--line); }

.plain-list { margin: 0; padding-left: 1.2em; }
.plain-list li { margin-bottom: 8px; }
.plain-list li::marker { color: var(--purple); }

/* Projects */
.project { padding: 28px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1.6fr; gap: 32px; }
.project:last-child { border-bottom: 1px solid var(--line); }
.project h3 { margin: 0; }
.project p { margin: 0; color: var(--muted); }

/* FAQ */
details { border-top: 1px solid var(--line); padding: 18px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; font-size: 1.1rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--display); color: var(--purple); font-size: 1.4rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin: 12px 0 0; color: var(--muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-direct { font-size: 1.15rem; }
.contact-direct .big { display: block; font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 600; text-decoration: none; color: var(--purple); margin: 4px 0 18px; word-break: break-word; }
.contact-direct .big.email { font-size: clamp(1.1rem, 2vw, 1.35rem); }
form.card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: clamp(20px, 3vw, 32px); }
label { display: block; font-weight: 600; margin: 0 0 6px; }
.field { margin-bottom: 18px; }
input, textarea, select {
  width: 100%; font: inherit; color: var(--ink); background: var(--bg);
  border: 1px solid #C9C3DE; border-radius: 8px; padding: 11px 13px;
}
input:focus, textarea:focus, select:focus { outline: 3px solid rgba(37,99,235,.35); border-color: var(--blue); }
textarea { min-height: 140px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: .95rem; color: var(--muted); margin: 14px 0 0; }

/* CTA strip */
.cta-strip .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-strip h2 { margin: 0; max-width: 22ch; }

/* Footer */
.site-footer { background: var(--deep); color: #C9C3E4; padding: 48px 0 32px; font-size: .97rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.foot-brand { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-size: 1.25rem; font-weight: 600; color: #fff; margin-bottom: 10px; }
.foot-brand img { width: 52px; background: #fff; border-radius: 10px; padding: 4px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.legal { max-width: none; grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; margin-top: 8px; font-size: .9rem; color: #A39CC4; }

/* Responsive */
@media (max-width: 900px) {
  .hero .wrap, .split, .contact-grid { grid-template-columns: 1fr; }
  .orbit { justify-self: center; }
  .steps { grid-template-columns: 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
  .site-footer .wrap > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 1120px) {
  .menu-toggle {
    display: inline-flex; align-items: center; gap: 8px; font: inherit; font-weight: 600;
    background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; color: var(--ink); cursor: pointer;
  }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 76px; background: var(--surface); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 16px; z-index: 5; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 8px; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--purple); padding-left: 14px; }
  .nav .call { margin: 8px 0 0; text-align: center; }
  .site-header { position: relative; }
}
@media (max-width: 760px) {
  .brand img { width: 170px; }
  .included { grid-template-columns: 1fr; }
  .project { grid-template-columns: 1fr; gap: 8px; }
  .row2 { grid-template-columns: 1fr; }
  .area { grid-template-columns: 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr; }
}