/* ===================================================================
   Loopient AI Services — stylesheet
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@500;700;800&family=Archivo+Expanded:wght@700;800&family=Public+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@500;600&display=swap');

:root {
  /* ---- palette (Loopient AI — white / near-black / purple) ---- */
  --bg: #ffffff;
  --bg-panel: #faf9fc;
  --bg-panel-2: #f1eef8;
  --ink: #0b0b0f;
  --ink-soft: #52525b;
  --ink-faint: #a1a1aa;
  --teal: #6366f1;
  --teal-deep: #0b0b0f;
  --teal-deeper: #000000;
  --on-teal: #f5f5f7;
  --on-teal-soft: #b4b4bd;
  --gold: #8a2be2;
  --gold-bright: #a855f7;
  --line: rgba(11, 11, 15, 0.1);
  --line-on-teal: rgba(255, 255, 255, 0.12);
  --shadow: 0 1px 2px rgba(11, 11, 15, 0.06), 0 8px 24px -12px rgba(138, 43, 226, 0.18);

  --font-display: 'Archivo Expanded', 'Archivo', Arial, sans-serif;
  --font-body: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --max: 1180px;
  --radius: 3px;
  --radius-lg: 6px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #08080b;
    --bg-panel: #0f0f13;
    --bg-panel-2: #17171d;
    --ink: #f4f3f6;
    --ink-soft: #b4b4bd;
    --ink-faint: #7d7d87;
    --teal: #8b7cf6;
    --teal-deep: #0b0b0f;
    --teal-deeper: #000000;
    --on-teal: #f5f5f7;
    --on-teal-soft: #b4b4bd;
    --gold: #9d4edd;
    --gold-bright: #b06bfa;
    --line: rgba(244, 243, 246, 0.12);
    --line-on-teal: rgba(255, 255, 255, 0.12);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.35), 0 8px 28px -12px rgba(138, 43, 226, 0.35);
  }
}

:root[data-theme="dark"] {
  --bg: #08080b;
  --bg-panel: #0f0f13;
  --bg-panel-2: #17171d;
  --ink: #f4f3f6;
  --ink-soft: #b4b4bd;
  --ink-faint: #7d7d87;
  --teal: #8b7cf6;
  --teal-deep: #0b0b0f;
  --teal-deeper: #000000;
  --on-teal: #f5f5f7;
  --on-teal-soft: #b4b4bd;
  --gold: #9d4edd;
  --gold-bright: #b06bfa;
  --line: rgba(244, 243, 246, 0.12);
  --line-on-teal: rgba(255, 255, 255, 0.12);
}

:root[data-theme="light"] {
  --bg: #ffffff;
  --bg-panel: #faf9fc;
  --bg-panel-2: #f1eef8;
  --ink: #0b0b0f;
  --ink-soft: #52525b;
  --ink-faint: #a1a1aa;
  --teal: #6366f1;
  --teal-deep: #0b0b0f;
  --teal-deeper: #000000;
  --on-teal: #f5f5f7;
  --on-teal-soft: #b4b4bd;
  --gold: #8a2be2;
  --gold-bright: #a855f7;
  --line: rgba(11, 11, 15, 0.1);
  --line-on-teal: rgba(255, 255, 255, 0.12);
}

/* ---- reset ---- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }

a { color: inherit; text-decoration: none; }

button { font-family: inherit; cursor: pointer; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

.on-teal { color: var(--on-teal); }

/* ---- eyebrow / labels ---- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}
section .eyebrow { margin-bottom: 14px; }
.on-teal .eyebrow { color: var(--gold-bright); }

/* ---- buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 2px;
}
.btn-gold {
  background: var(--gold-bright);
  color: var(--teal-deeper);
}
.btn-gold:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-outline {
  background: transparent;
  border-color: var(--line-on-teal);
  color: var(--on-teal);
}
.btn-outline:hover { border-color: var(--gold-bright); color: var(--gold-bright); }
.btn-outline-dark {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn-outline-dark:hover { border-color: var(--teal); color: var(--teal); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 0.85rem; }

/* ===================================================================
   Header
   =================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo {
  display: flex;
  align-items: center;
}
.logo img {
  height: 30px;
  width: auto;
  display: block;
}
.logo img.logo-dark { display: none; }
@media (prefers-color-scheme: dark) {
  .logo img.logo-light { display: none; }
  .logo img.logo-dark { display: block; }
}
:root[data-theme="dark"] .logo img.logo-light { display: none; }
:root[data-theme="dark"] .logo img.logo-dark { display: block; }
:root[data-theme="light"] .logo img.logo-light { display: block; }
:root[data-theme="light"] .logo img.logo-dark { display: none; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
.main-nav a:not(.btn) {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color 0.15s ease;
}
.main-nav a:not(.btn):hover { color: var(--teal); }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 10px;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: transform 0.2s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* ===================================================================
   Hero
   =================================================================== */
.hero {
  background: var(--bg);
  color: var(--ink);
  position: relative;
  overflow: hidden;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.hero::before {
  top: -20%;
  left: -12%;
  background: radial-gradient(circle, rgba(138, 43, 226, 0.16) 0%, rgba(138, 43, 226, 0) 70%);
}
.hero::after {
  bottom: -28%;
  right: -12%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.14) 0%, rgba(99, 102, 241, 0) 70%);
}
.hero .wrap {
  position: relative;
  z-index: 1;
  padding-top: 84px;
  padding-bottom: 84px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.35rem, 4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #a855f7 0%, #6366f1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  margin-top: 20px;
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 46ch;
}
.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.hero-meta {
  margin-top: 40px;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.hero-meta div {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-faint);
  letter-spacing: 0.02em;
}
.hero-meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

/* control-panel mock card */
.panel-card {
  background: var(--bg-panel);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px -20px rgba(11,11,15,0.35);
  overflow: hidden;
  border: 1px solid var(--line);
}
.panel-card-head {
  background: var(--teal-deeper);
  color: var(--on-teal-soft);
  padding: 13px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}
.panel-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-bright); display: inline-block; margin-right: 8px; }
.panel-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.panel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: var(--bg-panel-2);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.panel-row-info { display: flex; align-items: center; gap: 11px; }
.panel-icon {
  width: 30px; height: 30px;
  border-radius: 6px;
  background: var(--teal);
  color: var(--on-teal);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.panel-icon svg { width: 16px; height: 16px; }
.panel-row-info span { font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.panel-row-info small { display: block; font-size: 0.72rem; color: var(--ink-faint); font-weight: 500; }
.toggle {
  width: 34px; height: 19px;
  background: var(--gold-bright);
  border-radius: 20px;
  position: relative;
  flex-shrink: 0;
}
.toggle::after {
  content: "";
  position: absolute;
  top: 2px; right: 2px;
  width: 15px; height: 15px;
  background: #fff;
  border-radius: 50%;
}
.panel-footer {
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-faint);
}
.panel-footer strong { color: var(--teal); font-size: 0.85rem; }

/* ===================================================================
   Section scaffolding
   =================================================================== */
section { padding: 96px 0; }
.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
}
.section-head p {
  margin-top: 16px;
  font-size: 1.08rem;
  color: var(--ink-soft);
}
.section-teal {
  background: var(--bg-panel-2);
  color: var(--ink);
}
.section-panel { background: var(--bg-panel); }

/* ===================================================================
   About
   =================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.about-copy p { color: var(--ink-soft); font-size: 1.05rem; margin-bottom: 18px; }
.about-copy p:last-child { margin-bottom: 0; }
.about-copy strong { color: var(--ink); }
.stat-ledger {
  border-top: 1px solid var(--line);
}
.stat-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  gap: 20px;
}
.stat-row .label { font-size: 0.95rem; color: var(--ink-soft); font-weight: 600; }
.stat-row .value {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--teal);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* ===================================================================
   Services
   =================================================================== */
.service-groups {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.service-group {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 20px;
}
.service-group-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 26px;
  background: var(--bg-panel-2);
  border-bottom: 1px solid var(--line);
}
.service-group-icon {
  width: 42px; height: 42px;
  border-radius: 8px;
  background: var(--teal-deep);
  color: var(--gold-bright);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.service-group-icon svg { width: 22px; height: 22px; }
.service-group-head h3 { font-size: 1.2rem; font-weight: 700; }
.service-group-head p { color: var(--ink-soft); font-size: 0.92rem; margin-top: 3px; }
.service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  background: var(--bg-panel);
}
.service-item {
  padding: 20px 26px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.service-list .service-item:nth-child(2n) { border-right: none; }
.service-item h4 {
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 5px;
}
.service-item p { font-size: 0.88rem; color: var(--ink-soft); }

.subsection-head {
  max-width: 640px;
  margin: 12px 0 32px;
}
.subsection-head h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  font-weight: 800;
}
.subsection-head p {
  margin-top: 12px;
  font-size: 1rem;
  color: var(--ink-soft);
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}
.workflow-card {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold-bright);
  border-radius: var(--radius-lg);
  padding: 30px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.workflow-card-icon {
  width: 46px; height: 46px;
  border-radius: 9px;
  background: var(--teal-deep);
  color: var(--gold-bright);
  display: flex; align-items: center; justify-content: center;
}
.workflow-card-icon svg { width: 24px; height: 24px; }
.workflow-card .tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}
.workflow-card h3 { font-size: 1.15rem; font-weight: 700; }
.workflow-card p { color: var(--ink-soft); font-size: 0.92rem; flex-grow: 1; }
.workflow-card .btn { align-self: flex-start; margin-top: 4px; }

.feature-card {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold-bright);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  margin-bottom: 20px;
}
.feature-card-icon {
  width: 64px; height: 64px;
  border-radius: 12px;
  background: var(--teal-deep);
  color: var(--gold-bright);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.feature-card-icon svg { width: 32px; height: 32px; }
.feature-card-body .tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 8px;
}
.feature-card-body h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 8px; }
.feature-card-body > p { color: var(--ink-soft); max-width: 60ch; margin-bottom: 18px; }
.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 24px;
  max-width: 72ch;
}
.feature-list li {
  font-size: 0.88rem;
  color: var(--ink-soft);
  display: flex;
  gap: 9px;
  align-items: flex-start;
}
.feature-list li svg { flex-shrink: 0; width: 15px; height: 15px; margin-top: 2px; color: var(--gold); }
.feature-card > .btn { align-self: center; }

.capstone {
  margin-top: 8px;
  background: var(--bg-panel);
  color: var(--ink);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold-bright);
  box-shadow: 0 30px 60px -34px rgba(138, 43, 226, 0.35);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}
.capstone-icon {
  width: 64px; height: 64px;
  border-radius: 12px;
  background: rgba(138,43,226,0.14);
  color: var(--gold-bright);
  display: flex; align-items: center; justify-content: center;
}
.capstone-icon svg { width: 32px; height: 32px; }
.capstone h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 8px; }
.capstone p { color: var(--ink-soft); max-width: 60ch; }
.capstone .tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-bright);
  display: block;
  margin-bottom: 8px;
}

/* ===================================================================
   How it works
   =================================================================== */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.process-step {
  padding: 32px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.process-step .num {
  font-family: var(--font-mono);
  color: var(--gold);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 18px;
  display: block;
}
.process-step h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.process-step p { color: var(--ink-soft); font-size: 0.92rem; }

/* ===================================================================
   Pricing
   =================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}
.price-card {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.price-card.featured {
  border-color: var(--gold-bright);
  box-shadow: 0 20px 40px -24px rgba(0,0,0,0.25);
}
.price-card.featured::before {
  content: "Most Popular";
  position: absolute;
  top: -13px;
  left: 26px;
  background: var(--gold-bright);
  color: var(--teal-deeper);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
}
.price-tier { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }
.price-card.dark-tier { background: var(--teal-deep); color: var(--on-teal); border-color: var(--teal-deep); }
.price-card.dark-tier .price-tier { color: var(--gold-bright); }
.price-amount {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 2rem;
  margin: 14px 0 4px;
  font-variant-numeric: tabular-nums;
}
.price-card.dark-tier .price-amount { color: var(--on-teal); }
.price-amount span { font-size: 0.95rem; font-weight: 500; color: var(--ink-faint); }
.price-card.dark-tier .price-amount span { color: var(--on-teal-soft); }
.price-sub { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 22px; }
.price-card.dark-tier .price-sub { color: var(--on-teal-soft); }
.price-features {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex-grow: 1;
}
.price-features li {
  font-size: 0.88rem;
  color: var(--ink-soft);
  display: flex;
  gap: 9px;
  align-items: flex-start;
}
.price-card.dark-tier .price-features li { color: var(--on-teal-soft); }
.price-features li svg { flex-shrink: 0; width: 15px; height: 15px; margin-top: 2px; color: var(--gold); }
.price-note {
  margin-top: 28px;
  padding: 18px 22px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.price-note strong { color: var(--ink); }

/* ===================================================================
   FAQ
   =================================================================== */
.faq-list { border-top: 1px solid var(--line); max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
}
.faq-q .plus { flex-shrink: 0; width: 20px; height: 20px; position: relative; }
.faq-q .plus::before, .faq-q .plus::after {
  content: "";
  position: absolute;
  background: var(--teal);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.faq-q .plus::before { width: 14px; height: 2px; }
.faq-q .plus::after { width: 2px; height: 14px; transition: transform 0.2s ease; }
.faq-item[data-open="true"] .plus::after { transform: translate(-50%, -50%) rotate(90deg) scaleY(0); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.faq-a p { padding: 0 4px 22px; color: var(--ink-soft); font-size: 0.96rem; max-width: 68ch; }
.faq-item[data-open="true"] .faq-a { max-height: 260px; }

/* ===================================================================
   Contact
   =================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
}
.contact-info-card {
  background: var(--bg-panel);
  color: var(--ink);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold-bright);
  border-radius: var(--radius-lg);
  padding: 38px;
}
.contact-info-card h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 14px; }
.contact-info-card p { color: var(--ink-soft); font-size: 0.96rem; margin-bottom: 26px; }
.contact-line {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}
.contact-line:last-child { border-bottom: 1px solid var(--line); }
.contact-line svg { width: 17px; height: 17px; color: var(--gold-bright); flex-shrink: 0; }

.form-card {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 38px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field.full { grid-column: 1 / -1; }
.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 7px;
}
.field .req { color: var(--gold); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.94rem;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--teal);
}
.field textarea { resize: vertical; min-height: 110px; }
.check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px 16px;
}
.check-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.check-item input { width: auto; }
.form-foot { font-size: 0.82rem; color: var(--ink-faint); margin-top: 16px; }
.form-success {
  display: none;
  padding: 18px 20px;
  background: var(--bg-panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.92rem;
  color: var(--ink);
  margin-top: 18px;
}
.form-success.visible { display: block; }
.form-success.error {
  background: rgba(220, 38, 38, 0.08);
  border-color: rgba(220, 38, 38, 0.35);
  color: #b91c1c;
}
:root[data-theme="dark"] .form-success.error { color: #f87171; }
@media (prefers-color-scheme: dark) {
  .form-success.error { color: #f87171; }
}

/* ===================================================================
   Footer
   =================================================================== */
.site-footer {
  background: var(--bg-panel-2);
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.footer-brand p { margin-top: 14px; font-size: 0.9rem; max-width: 32ch; }
.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.9rem; }
.footer-col a:hover { color: var(--teal); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 10px;
}

/* ===================================================================
   Responsive
   =================================================================== */
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .service-list { grid-template-columns: 1fr; }
  .service-list .service-item { border-right: none; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .capstone { grid-template-columns: 1fr; text-align: left; }
  .workflow-grid { grid-template-columns: 1fr; }
  .feature-card { grid-template-columns: 1fr; text-align: left; }
  .feature-card > .btn { justify-self: flex-start; }
}
@media (max-width: 700px) {
  section { padding: 64px 0; }
  .main-nav { position: fixed; inset: 76px 0 0 0; background: var(--bg); flex-direction: column; align-items: flex-start; padding: 30px 28px; gap: 22px; border-top: 1px solid var(--line); transform: translateX(100%); transition: transform 0.25s ease; }
  .main-nav.open { transform: translateX(0); }
  .nav-toggle { display: block; }
  .hero-meta { gap: 22px; }
  .process { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .form-row, .check-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .feature-list { grid-template-columns: 1fr; }
}
