/* =========================================================
   Gliese Technology Pte Ltd — Shared Stylesheet
   Design direction: "Signal & Precision" — an instrument-panel
   aesthetic for an AI engineering firm. Deep navy + a refined
   gold signal accent (drawn from the logo's orange spark and
   the gold company mark), set in a technical type system.
   ========================================================= */

@font-face {
  font-family: "BankGothic Md BT";
  src: url("../assets/fonts/Bank Gothic Medium.otf") format("opentype"),
       url("../assets/fonts/bank gothic medium bt.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  /* --- Core brand darks (deep space, not bright royal blue) --- */
  --void:      #060c18;
  --navy-900:  #0a1830;
  --navy-800:  #0d2144;
  --navy-700:  #123566;
  --blue-500:  #2f5fa3;
  --blue-400:  #5a83bd;
  --blue-100:  #eaf0f9;

  /* --- Signal accent: refined gold/amber (from logo spark + gold mark) --- */
  --signal:        #c8933f;
  --signal-bright: #e8b25c;
  --signal-100:    #fbf1e0;

  /* --- Neutrals: warm paper, not stock white --- */
  --paper:    #faf8f4;
  --surface:  #ffffff;
  --ink:      #14181f;
  --muted:    #5c6472;
  --line:     #e5e1d7;
  --line-dark: rgba(255,255,255,.14);

  --radius:   10px;
  --radius-sm: 7px;
  --shadow:   0 1px 2px rgba(10,20,40,.04), 0 8px 24px rgba(10,20,40,.06);
  --shadow-lg: 0 4px 8px rgba(10,20,40,.06), 0 24px 48px rgba(10,20,40,.12);
  --maxw:     1180px;

  --font-display: "Space Grotesk", "Segoe UI", Arial, sans-serif;
  --font: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "Consolas", monospace;

  /* legacy aliases kept so existing markup/inline colors still resolve */
  --orange: var(--signal);
  --orange-light: var(--signal-bright);
  --blue-600: var(--navy-700);
  --blue-300: var(--blue-400);
  --bg: var(--paper);
  --bg-soft: #f2efe7;
  --white: #ffffff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

img { max-width: 100%; display: block; }

a { color: var(--navy-700); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--signal); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

section { padding: 92px 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy-900);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.22rem; font-weight: 600; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: .76rem;
  font-weight: 500;
  color: var(--signal);
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; display: inline-block; width: 22px; height: 1px; background: var(--signal); }

.lead { font-size: 1.1rem; color: var(--muted); max-width: 720px; }

.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-head .eyebrow { justify-content: center; }
.section-head .lead { margin: 14px auto 0; }

/* ---------- Icon system ---------- */
.ico-svg { width: 22px; height: 22px; stroke: currentColor; display: block; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 26px; border-radius: var(--radius-sm);
  font-family: var(--font); font-weight: 600; font-size: .95rem;
  cursor: pointer; border: 1px solid transparent; transition: all .2s ease;
  letter-spacing: .1px;
}
.btn .ico-svg { width: 16px; height: 16px; }
.btn-primary { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.btn-primary:hover { color: #fff; background: var(--navy-800); border-color: var(--navy-800); transform: translateY(-1px); }
.btn-accent { background: var(--signal); color: #1b1204; border-color: var(--signal); }
.btn-accent:hover { color: #1b1204; background: var(--signal-bright); border-color: var(--signal-bright); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--navy-900); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy-700); color: var(--navy-700); }
.btn-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-light:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,248,244,.88);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 52px; width: auto; }
.brand-name {
  font-family: "BankGothic Md BT", "Space Grotesk", "Arial Narrow", sans-serif;
  color: var(--navy-900);
  font-size: 1.12rem;
  font-weight: normal;
  letter-spacing: 3px;
  text-transform: uppercase;
  line-height: 1.15;
  white-space: nowrap;
  padding-left: 14px;
  margin-left: 2px;
  border-left: 1px solid var(--line);
}

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  color: var(--ink); font-weight: 500; font-size: .93rem;
  padding: 9px 14px; border-radius: var(--radius-sm);
  font-family: var(--font-mono); letter-spacing: .3px;
}
.nav-links a:hover { background: var(--blue-100); color: var(--navy-700); }
.nav-links a.active { color: var(--signal); }
.nav-links a.active::after { content:""; display:block; height:2px; background:var(--signal); margin-top:3px; border-radius:2px; }
.nav-cta { margin-left: 12px; }
.nav-links .nav-cta a {
  font-family: var(--font); font-weight: 600; letter-spacing: normal;
  color: #fff; background: var(--navy-900); border: 1px solid var(--navy-900);
}
.nav-links .nav-cta a:hover { background: var(--signal); border-color: var(--signal); color: #1b1204; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy-900); margin: 5px 0; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: var(--void);
}
.hero::before {
  content:""; position:absolute; inset:0; pointer-events:none;
  background:
    radial-gradient(720px 420px at 88% -10%, rgba(200,147,63,.16), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(47,95,163,.28), transparent 60%);
}
.hero::after {
  content:""; position:absolute; inset:0; pointer-events:none;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 28px 28px; opacity:.6;
}
.orbit-mark {
  position:absolute; right:-120px; top:50%; translate: 0 -50%;
  width:640px; height:640px; pointer-events:none; opacity:.5;
}
.orbit-mark svg { width:100%; height:100%; }
.hero .container { position: relative; z-index: 2; padding-top: 108px; padding-bottom: 96px; }
.hero h1 { color: #fff; max-width: 780px; font-weight: 500; }
.hero h1 .accent { color: var(--signal-bright); font-style: italic; }
.hero p { color: #b7c3d6; font-size: 1.14rem; max-width: 600px; margin-top: 22px; }
.hero-actions { margin-top: 38px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 48px; margin-top: 60px; flex-wrap: wrap; }
.hero-stats .stat strong { display: block; font-family: var(--font-mono); font-size: 1.9rem; color: #fff; }
.hero-stats .stat span { color: #7c8ba3; font-size: .82rem; letter-spacing: .5px; font-family: var(--font-mono); }

/* telemetry coordinate tag — the page's signature detail */
.telemetry {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: .78rem; letter-spacing: 1.5px;
  color: var(--signal-bright); text-transform: uppercase;
  border: 1px solid rgba(232,178,92,.35); border-radius: 99px;
  padding: 7px 16px 7px 12px; margin-bottom: 28px;
}
.telemetry .dot { width:7px; height:7px; border-radius:50%; background: var(--signal-bright); box-shadow: 0 0 0 3px rgba(232,178,92,.22); }

.trust { border-top: 1px solid var(--line-dark); margin-top: 48px; padding-top: 26px; }
.trust p { font-family: var(--font-mono); color:#7c8ba3; font-size:.74rem; letter-spacing:2px; text-transform:uppercase; margin-bottom:16px; }
.trust-logos { display:flex; flex-wrap:wrap; gap:14px 30px; align-items:center; }
.trust-logos span { font-family: var(--font-mono); color:#c3ccdc; font-weight:500; font-size:.94rem; opacity:.9; }

/* page hero (inner pages) */
.page-hero {
  color:#fff; padding: 78px 0 66px;
  background: var(--void);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content:""; position:absolute; inset:0; pointer-events:none;
  background: radial-gradient(680px 340px at 90% 0%, rgba(200,147,63,.16), transparent 60%);
}
.page-hero::after {
  content:""; position:absolute; inset:0; pointer-events:none;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 28px 28px; opacity:.6;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color:#fff; font-weight:500; }
.page-hero p { color:#b7c3d6; margin-top: 14px; max-width: 640px; }
.breadcrumb { font-family: var(--font-mono); color:#7c8ba3; font-size:.78rem; margin-bottom: 16px; letter-spacing:1px; text-transform:uppercase; }
.breadcrumb a { color:#a9b8cf; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; transition: border-color .2s ease, transform .2s ease;
  border-top: 2px solid var(--line);
}
.card:hover { border-top-color: var(--signal); transform: translateY(-3px); }
.card .icon {
  width: 46px; height: 46px; border-radius: var(--radius-sm); display: grid; place-items: center;
  background: var(--navy-900); color: var(--signal-bright);
  margin-bottom: 20px;
}
.card h3 { margin-bottom: 10px; font-size: 1.08rem; }
.card p { color: var(--muted); font-size: .96rem; }

.bg-soft { background: var(--bg-soft); }

/* ---------- Feature list / chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.chip {
  font-family: var(--font-mono);
  background: var(--surface); color: var(--navy-800); border: 1px solid var(--line);
  padding: 6px 13px; border-radius: var(--radius-sm); font-size: .82rem; font-weight: 500;
}

.ticklist { list-style: none; margin-top: 16px; }
.ticklist li { position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--ink); }
.ticklist li::before {
  content:""; position:absolute; left:0; top:3px; color: var(--signal);
  width:16px; height:16px; border: 1.5px solid var(--signal); border-radius:50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23c8933f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='m4.5 12.5 5 5 10-11'/%3E%3C/svg%3E") center/60% no-repeat;
}

/* ---------- Services detailed block ---------- */
.service-block {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 50px; align-items: center;
  padding: 54px 0; border-bottom: 1px solid var(--line);
}
.service-block:last-child { border-bottom: 0; }
.service-block.reverse .service-media { order: 2; }
.service-media {
  border-radius: var(--radius); min-height: 300px;
  background: var(--navy-900);
  display:grid; place-items:center; color: var(--signal-bright); position:relative; overflow:hidden;
}
.service-media .ico-svg { width: 72px; height: 72px; position: relative; z-index: 2; stroke-width: 1.1; }
.service-media::after {
  content:""; position:absolute; inset:0;
  background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 22px 22px;
}
.service-num { font-family: var(--font-mono); font-size: .78rem; font-weight: 600; letter-spacing: 2px; color: var(--signal); text-transform: uppercase; }

/* ---------- Process / steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step {
  background: var(--surface); border:1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; position: relative;
}
.step .num {
  font-family: var(--font-mono); font-size: .82rem; font-weight: 600;
  color: var(--signal); letter-spacing: 1px; margin-bottom: 20px; display: block;
}
.step h3 { font-size: 1.08rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .94rem; }

/* ---------- Metrics band ---------- */
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.metric strong { display:block; font-family: var(--font-mono); font-size: 2.2rem; color: var(--navy-900); }
.metric span { color: var(--muted); font-size: .88rem; }

/* ---------- Industries ---------- */
.ind-card {
  background: var(--surface); border:1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px; transition: border-color .2s ease, transform .2s ease;
}
.ind-card:hover { border-color: var(--signal); transform: translateY(-3px); }
.ind-card .ico { width: 40px; height: 40px; display: grid; place-items: center; color: var(--navy-800); margin-bottom: 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.ind-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.ind-card p { color: var(--muted); font-size: .92rem; }

/* ---------- Customer logos ---------- */
.logo-wall {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; align-items: center;
}
.logo-slot {
  aspect-ratio: 3 / 2; border: 1px dashed var(--line); border-radius: var(--radius-sm);
  display: grid; place-items: center; background: var(--surface); padding: 18px;
  color: var(--muted); font-size: .82rem; text-align: center;
}
.logo-slot img { max-height: 100%; width: auto; object-fit: contain; filter: grayscale(1); opacity:.85; transition:.25s; }
.logo-slot img:hover { filter: none; opacity:1; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-family: var(--font-mono); font-weight: 500; font-size: .8rem; letter-spacing: .5px; text-transform: uppercase; margin-bottom: 8px; color: var(--navy-800); }
.field .req { color: var(--signal); }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--font); font-size: .97rem; color: var(--ink); background: var(--paper); transition: border .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 3px rgba(18,53,102,.1);
}
.field input[type="file"] { padding: 10px; background: var(--bg-soft); cursor: pointer; }
.field .hint { font-size: .8rem; color: var(--muted); margin-top: 6px; }
.form-note { font-size: .84rem; color: var(--muted); margin-top: 8px; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-sm); font-size: .92rem; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: #eef6ef; color: #1f5c33; border: 1px solid #c7e0cb; }
.form-status.err { background: #fbecea; color: #8c2f24; border: 1px solid #eec6c0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; }
.contact-info .info-item { display: flex; gap: 16px; margin-bottom: 26px; }
.contact-info .info-item .ico {
  flex: none; width: 42px; height: 42px; border-radius: var(--radius-sm); display: grid; place-items: center;
  background: var(--navy-900); color: var(--signal-bright);
}
.contact-info .info-item h4 { margin-bottom: 3px; }
.contact-info .info-item p, .contact-info .info-item a { color: var(--muted); }
.map-embed { border:0; width:100%; height: 320px; border-radius: var(--radius); margin-top: 40px; filter: grayscale(.15) contrast(1.02); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--void); color: #fff; text-align: center;
  border-radius: 16px; padding: 64px 30px; position: relative; overflow: hidden;
}
.cta-band::before {
  content:""; position:absolute; inset:0; pointer-events:none;
  background: radial-gradient(560px 300px at 50% 0%, rgba(200,147,63,.18), transparent 65%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-weight: 500; }
.cta-band p { color: #b7c3d6; max-width: 560px; margin: 12px auto 28px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--void); color: #8697ae; padding: 64px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h4 { font-family: var(--font-mono); color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 18px; font-weight: 500; }
.site-footer a { color: #8697ae; display: block; margin-bottom: 10px; font-size: .92rem; }
.site-footer a:hover { color: var(--signal-bright); }
.footer-brand p { font-size: .92rem; margin-top: 16px; max-width: 280px; }
.footer-brand img { height: 84px; width: auto; }
.footer-bottom {
  border-top: 1px solid var(--line-dark); margin-top: 46px; padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-family: var(--font-mono); font-size: .78rem; color: #5f6d82;
}

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .metrics { grid-template-columns: 1fr 1fr; gap: 30px; }
  .service-block { grid-template-columns: 1fr; gap: 26px; }
  .service-block.reverse .service-media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .logo-wall { grid-template-columns: repeat(3, 1fr); }
  .orbit-mark { width:440px; height:440px; right:-140px; }
}
@media (max-width: 720px) {
  section { padding: 64px 0; }
  .nav-links {
    position: fixed; top: 76px; right: 0; left: 0; background: var(--paper);
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 20px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-140%); transition: transform .3s ease; z-index: 99;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 13px 8px; border-radius: var(--radius-sm); }
  .nav-links li { width: 100%; }
  .nav-cta { margin: 8px 0 0; }
  .nav-toggle { display: block; }
  .grid-3, .grid-2, .grid-4, .form-row { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 30px; }
  .orbit-mark { display: none; }
}

/* =========================================================
   Extended components
   ========================================================= */

.statband { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.statband .s { background: var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:26px 20px; text-align:center; }
.statband .s strong { display:block; font-family: var(--font-mono); font-size:2.1rem; color:var(--navy-900); line-height:1; }
.statband .s span { display:block; margin-top:9px; color:var(--muted); font-size:.86rem; }

.cat-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:24px; }
.cat-card { background: var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:32px 30px; border-top: 2px solid var(--line); transition: border-color .2s ease; }
.cat-card:hover { border-top-color: var(--signal); }
.cat-card .icon { width:44px; height:44px; border-radius:var(--radius-sm); display:grid; place-items:center; background: var(--navy-900); color: var(--signal-bright); margin-bottom:18px; }
.cat-card h3 { margin-bottom:14px; }
.cat-list { list-style:none; display:grid; grid-template-columns:1fr 1fr; gap:9px 18px; }
.cat-list li { position:relative; padding-left:16px; color:var(--muted); font-size:.93rem; }
.cat-list li::before { content:""; position:absolute; left:0; top:9px; width:6px; height:1px; background: var(--signal); }

.stack-group { margin-bottom:22px; }
.stack-group h4 { font-family: var(--font-mono); color:var(--navy-800); font-size:.82rem; letter-spacing:.5px; text-transform:uppercase; margin-bottom:12px; font-weight: 500; }
.stack-group h4 .ico-svg { width:15px; height:15px; vertical-align:-2px; margin-right:6px; color: var(--signal); }

/* ---------- AI Solution Finder (quiz) ---------- */
.quiz { max-width:760px; margin:0 auto; background: var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:38px 36px; }
.quiz-bar { height:3px; background:var(--line); overflow:hidden; margin-bottom:12px; }
.quiz-bar i { display:block; height:100%; width:25%; background: var(--signal); transition:width .3s ease; }
.quiz-count { font-family: var(--font-mono); text-align:right; font-size:.76rem; color:var(--muted); margin-bottom:22px; letter-spacing:.5px; text-transform:uppercase; }
.quiz-step { display:none; }
.quiz-step.active { display:block; animation:quizfade .25s ease; }
@keyframes quizfade { from{opacity:0; transform:translateY(6px);} to{opacity:1; transform:none;} }
.quiz-step h3 { margin-bottom:6px; }
.quiz-step .q-sub { color:var(--muted); margin-bottom:20px; font-size:.95rem; }
.opt-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:10px; }
.opt { border:1px solid var(--line); border-radius:var(--radius-sm); padding:14px 16px; cursor:pointer; font-weight:500; color:var(--ink); font-size:.94rem; transition:.16s; background: var(--paper); text-align:left; display:flex; align-items:center; gap:10px; font-family:var(--font); }
.opt:hover { border-color: var(--navy-700); background: var(--blue-100); }
.opt.sel { border-color: var(--signal); background: var(--signal-100); color: var(--navy-900); }
.quiz-nav { display:flex; justify-content:flex-start; margin-top:24px; }
.quiz-nav .btn[hidden] { display:none; }
.quiz-result { text-align:center; }
.quiz-result .ico { color: var(--signal); display:flex; justify-content:center; margin-bottom: 6px; }
.quiz-result .ico .ico-svg { width: 34px; height: 34px; }
.quiz-result h3 { margin:6px 0 4px; }
.quiz-summary { background:var(--bg-soft); border:1px solid var(--line); border-radius:var(--radius-sm); padding:18px 20px; text-align:left; margin:18px 0 24px; font-size:.95rem; color:var(--ink); }
.quiz-summary p { margin-bottom:6px; }
.quiz-summary b { color:var(--navy-900); }
.quiz-summary .rec { color:var(--navy-700); font-weight:700; }

@media (max-width:940px){
  .statband { grid-template-columns:1fr 1fr; }
  .cat-grid { grid-template-columns:1fr; }
}
@media (max-width:720px){
  .cat-list { grid-template-columns:1fr; }
  .opt-grid { grid-template-columns:1fr; }
  .quiz { padding:28px 20px; }
  .brand-name { font-size:.7rem; letter-spacing:1px; white-space:normal; max-width:150px; padding-left:10px; }
}
@media (max-width:430px){
  .brand-name { display:none; }
}
