/* ── OpenAI-style: clean, minimal, light ── */
:root {
  --bg: #ffffff;
  --bg-alt: #f7f7f8;
  --bg-card: #ffffff;
  --text: #0d0d0d;
  --text-muted: #6e6e80;
  --border: #e5e5e5;
  --accent: #10a37f;
  --accent-hover: #0d8c6a;
  --shadow: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-lg: 0 4px 24px rgba(0,0,0,0.08);
  --radius: 8px;
  --radius-lg: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.grid-bg {
  display: none;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.logo {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
  text-decoration: none;
}

.logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--text); }

.nav-cta {
  font-size: 14px;
  font-weight: 500;
  color: var(--bg);
  background: var(--text);
  padding: 10px 20px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.2s;
}

.nav-cta:hover {
  background: #333;
}

/* ── MOBILE MENU ── */
.hamburger {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--text);
  margin: 3px 0;
  transition: 0.3s;
}

.side-menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 250px;
  height: 100vh;
  background: var(--bg);
  box-shadow: var(--shadow-lg);
  transition: right 0.3s;
  z-index: 101;
  padding: 80px 20px 20px;
}

.side-menu.open {
  right: 0;
}

.side-nav-links {
  list-style: none;
}

.side-nav-links a {
  display: block;
  padding: 15px 0;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.side-nav-links a:hover {
  color: var(--accent);
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 48px;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  animation: fadeUp 0.8s ease both;
}

.hero-tag {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(40px, 5.5vw, 56px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 24px;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 32px;
}

.hero-sub-line {
  font-size: 18px;
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-btn {
  font-size: 14px;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.2s;
}

.hero-btn-primary {
  color: #fff;
  background: var(--text);
  border: none;
}

.hero-btn-primary:hover {
  background: #333;
}

.hero-btn-secondary {
  color: var(--text);
  background: transparent;
  border: 1px solid var(--border);
}

.hero-btn-secondary:hover {
  background: var(--bg-alt);
  border-color: #ccc;
}

/* ── Section intro & badges ── */
.section-intro {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 24px;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.badge {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 20px;
}

/* ── Feature list ── */
.feature-list {
  list-style: none;
  margin-top: 32px;
}

.feature-list li {
  border-left: 2px solid var(--border);
  padding-left: 24px;
  margin-bottom: 28px;
}

.feature-list li:last-child { margin-bottom: 0; }

.feature-list h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.feature-list p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

.code-block {
  font-family: ui-monospace, monospace;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  overflow-x: auto;
  margin-top: 20px;
}

/* ── CONTACT FORM ── */
.contact-section {
  position: relative;
  padding: 140px 48px 120px;
  z-index: 1;
}

.contact-section .contact-title {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}

.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  max-width: 520px;
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 8px;
}

.form-group label .required {
  color: var(--accent);
}

.form-group input,
.form-group textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  transition: border-color 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(16,163,127,0.15);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-disclaimer {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 24px;
  margin-bottom: 12px;
}

.form-disclaimer + .form-disclaimer {
  margin-top: 12px;
}

.form-submit {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  background: var(--text);
  border: none;
  border-radius: var(--radius);
  padding: 12px 28px;
  margin-top: 24px;
  cursor: pointer;
  transition: background 0.2s;
}

.form-submit:hover {
  background: #333;
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-thank-you {
  display: none;
}

.thank-you-title {
  font-size: 28px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}

.thank-you-text {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

.thank-you-sub {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.thank-you-sub a { color: var(--accent); }

/* ── Sections & cards ── */
.section-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.section-padding { padding: 96px 48px; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.card:hover {
  box-shadow: var(--shadow-lg);
  border-color: #ddd;
}

.card-cta .hero-btn-primary {
  color: #fff;
  background: var(--text);
}

.card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.card ul {
  list-style: none;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
}

.card ul li::before { content: "→ "; color: var(--accent); font-weight: 500; }

.card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── TEAM ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.member {
  border-left: 3px solid var(--accent);
  padding-left: 20px;
}

.member h4 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
}

.member span {
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 8px;
}

.member p { font-size: 15px; color: var(--text-muted); line-height: 1.6; }

.member-featured .member-summary { max-width: 640px; font-size: 16px; line-height: 1.65; }

.experience-block { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--border); }
.experience-list { list-style: none; }
.experience-item { margin-bottom: 32px; }
.experience-item:last-child { margin-bottom: 0; }
.experience-head { font-size: 15px; color: var(--text); margin-bottom: 8px; line-height: 1.4; }
.experience-date { font-weight: 400; color: var(--text-muted); font-size: 14px; }
.experience-bullets { list-style: none; padding-left: 0; margin-top: 6px; }
.experience-bullets li { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 4px; padding-left: 18px; position: relative; }
.experience-bullets li::before { content: "•"; position: absolute; left: 0; color: var(--accent); font-weight: 600; }

/* ── FOOTER ── */
footer {
  padding: 80px 48px;
  border-top: 1px solid var(--border);
  text-align: center;
  background: var(--bg-alt);
}

.contact-email {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
  letter-spacing: -0.02em;
}

.contact-email:hover { color: var(--accent); }

.footer-legal {
  margin-top: 32px;
  font-size: 13px;
  color: var(--text-muted);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.page-home .hero { min-height: min(88vh, 820px); }
.page-home .footer-compact { padding: 32px 48px; }
.contact-hero { min-height: 75vh; }

/* ── Solutions: sections ── */
.page-solutions .solutions-section {
  padding-top: 88px;
  padding-bottom: 32px;
}

.page-solutions .solutions-section-alt {
  padding-top: 32px;
  padding-bottom: 32px;
  background: var(--bg-alt);
}

.page-solutions .solutions-section .grid-3,
.page-solutions .solutions-section-alt .grid-3 {
  gap: 16px;
}

.page-solutions .solutions-section .card,
.page-solutions .solutions-section-alt .card {
  padding: 24px 22px;
  transition: all 0.3s ease;
  border-radius: var(--radius-lg);
}

.page-solutions .solutions-section .card:hover,
.page-solutions .solutions-section-alt .card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.service-card {
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

.service-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.service-features span {
  background: var(--accent);
  color: var(--bg);
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cta-button {
  display: inline-block;
  background: var(--text);
  color: var(--bg);
  padding: 10px 20px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  margin-top: 16px;
  transition: all 0.2s ease;
}

.cta-button:hover {
  background: var(--accent);
  transform: translateY(-1px);
}

.page-solutions .solutions-section .card h3,
.page-solutions .solutions-section-alt .card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.page-solutions .solutions-section .card p,
.page-solutions .solutions-section-alt .card p {
  font-size: 14px;
  line-height: 1.5;
}

.page-solutions .solutions-section .section-tag,
.page-solutions .solutions-section-alt .section-tag {
  margin-bottom: 12px;
}

.page-solutions footer {
  padding: 24px 48px;
}

/* ── Asset Coverage ── */
.asset-coverage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.asset-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
}

.asset-card:nth-child(1) { animation-delay: 0.2s; }
.asset-card:nth-child(2) { animation-delay: 0.4s; }
.asset-card:nth-child(3) { animation-delay: 0.6s; }

.asset-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  border-color: var(--accent);
}

.asset-card h3 {
  font-size: 24px;
  margin-bottom: 12px;
  color: var(--text);
}

.asset-card p {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.asset-types {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.asset-types span {
  background: var(--bg-alt);
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid var(--border);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Brand palette for curves & dark bands ── */
:root {
  --ois: #2563eb;
  --govt: var(--accent);
  --credit: #7c3aed;
  --ink: #0b0f14;
  --ink-2: #121821;
  --ink-text: #e8eaed;
  --ink-muted: #9aa4b2;
  --ink-border: rgba(255,255,255,0.09);
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

.section-title {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 760px;
}

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ── HOME: split hero ── */
.hero.hero-split {
  display: grid;
  min-height: min(88vh, 820px);
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
  padding-top: 110px;
  padding-bottom: 64px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: -20% -10% auto auto;
  width: 820px;
  height: 820px;
  background:
    radial-gradient(circle at 30% 40%, rgba(16,163,127,0.16), transparent 55%),
    radial-gradient(circle at 70% 60%, rgba(124,58,237,0.14), transparent 55%);
  filter: blur(20px);
  animation: drift 16s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes drift {
  from { transform: translate(0, 0) rotate(0deg); }
  to   { transform: translate(-60px, 40px) rotate(12deg); }
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 36px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}

.hero-proof span::before { content: "●"; color: var(--accent); font-size: 8px; margin-right: 8px; vertical-align: 2px; }

.hero-visual {
  position: relative;
  z-index: 1;
  animation: fadeUp 0.9s 0.15s ease both;
}

.window {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 30px 80px -20px rgba(13,13,13,0.25), 0 2px 6px rgba(0,0,0,0.05);
  overflow: hidden;
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}

.window-bar i { width: 10px; height: 10px; border-radius: 50%; background: #e2e2e6; }
.window-bar i:nth-child(1) { background: #ff5f57; }
.window-bar i:nth-child(2) { background: #febc2e; }
.window-bar i:nth-child(3) { background: #28c840; }

.window-title {
  margin-left: 10px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-muted);
}

.window-live {
  margin-left: auto;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 6px;
}

.window-live b {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  animation: blink 1.6s ease-in-out infinite;
}

@keyframes blink { 50% { opacity: 0.25; } }

.window-body { padding: 18px 18px 10px; }

.chart-legend { display: flex; gap: 16px; font-size: 12px; font-weight: 500; color: var(--text-muted); }
.lg::before { content: ""; display: inline-block; width: 14px; height: 3px; border-radius: 2px; margin-right: 6px; vertical-align: 3px; }
.lg-ois::before { background: var(--ois); }
.lg-govt::before { background: var(--govt); }
.lg-credit::before { background: var(--credit); }

.curve-chart { width: 100%; height: auto; display: block; margin-top: 6px; }
.grid-lines line { stroke: var(--border); stroke-dasharray: 3 5; }
.axis-labels text { font-family: var(--mono); font-size: 11px; fill: var(--text-muted); text-anchor: middle; }

.curve {
  fill: none;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 1.8s cubic-bezier(.65,0,.35,1) forwards;
}

.curve-ois    { stroke: var(--ois);    animation-delay: 0.3s; }
.curve-govt   { stroke: var(--govt);   animation-delay: 0.6s; }
.curve-credit { stroke: var(--credit); animation-delay: 0.9s; }

@keyframes draw { to { stroke-dashoffset: 0; } }

.spread-area { opacity: 0; animation: fadeIn 1s 2.2s ease forwards; }
.spread-label { opacity: 0; animation: fadeIn 0.8s 2.6s ease forwards; }
.spread-label line { stroke: var(--credit); stroke-width: 1.2; stroke-dasharray: 2 3; }
.spread-label text { font-family: var(--mono); font-size: 11px; fill: var(--credit); }

@keyframes fadeIn { to { opacity: 1; } }

.pulse { opacity: 0; animation: fadeIn 0.4s 2.4s forwards, ping 2.4s 2.8s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.pulse-ois    { fill: var(--ois); }
.pulse-govt   { fill: var(--govt); }
.pulse-credit { fill: var(--credit); }

@keyframes ping {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.8); }
  100% { transform: scale(1); }
}

.window-foot {
  text-align: right;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #b0b0bc;
  padding-top: 4px;
}

.float-chip {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 12px 30px -10px rgba(0,0,0,0.2);
  animation: bob 6s ease-in-out infinite;
}

.chip-k { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent); }
.chip-v { font-size: 13px; font-weight: 500; color: var(--text); white-space: nowrap; }
.chip-a { left: -36px; bottom: -22px; }
.chip-b { right: -18px; top: -58px; animation-delay: -3s; }
.chip-b .chip-k { color: var(--credit); }

@keyframes bob { 50% { transform: translateY(-8px); } }

/* ── HOME: asset tiles ── */
.asset-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.asset-tile {
  position: relative;
  display: block;
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.asset-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.asset-tile h3 { font-size: 19px; font-weight: 600; margin: 16px 0 8px; }
.asset-tile p { font-size: 14px; line-height: 1.55; color: var(--text-muted); }
.asset-tile:nth-child(2) { transition-delay: 0.05s; }

.tile-icon {
  display: inline-flex;
  width: 40px; height: 40px;
  border-radius: 10px;
  align-items: center; justify-content: center;
  background: rgba(16,163,127,0.1);
}

.tile-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.tile-new {
  border-color: rgba(124,58,237,0.35);
  background: linear-gradient(160deg, #fff 40%, rgba(124,58,237,0.07));
}

.tile-new:hover { border-color: var(--credit); box-shadow: 0 14px 34px -12px rgba(124,58,237,0.35); }
.tile-new .tile-icon { background: rgba(124,58,237,0.1); }
.tile-new .tile-icon svg { stroke: var(--credit); }

.tile-badge {
  position: absolute;
  top: 18px; right: 18px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--credit);
  padding: 4px 9px;
  border-radius: 20px;
}

/* ── Dark band (platform) ── */
.dark-band {
  background:
    radial-gradient(900px 400px at 85% 0%, rgba(16,163,127,0.18), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(124,58,237,0.16), transparent 60%),
    var(--ink);
  color: var(--ink-text);
}

.dark-band .section-tag { color: #5eead4; }
.dark-band .section-title { color: #fff; }

.band-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.band-grid.reverse { grid-template-columns: 1.1fr 1fr; }

.band-lead { font-size: 17px; line-height: 1.65; color: var(--text-muted); max-width: 560px; }
.dark-band .band-lead { color: var(--ink-muted); }

.check-list { list-style: none; margin: 28px 0 32px; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 12px; font-size: 15px; line-height: 1.5; color: var(--ink-text); }
.check-list li::before {
  content: "";
  position: absolute; left: 0; top: 3px;
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(16,163,127,0.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235eead4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.hero-btn-light { display: inline-block; color: var(--ink); background: #fff; }
.hero-btn-light:hover { background: #5eead4; }

.terminal {
  background: var(--ink-2);
  border: 1px solid var(--ink-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.7);
}

.window-bar.dark { background: rgba(255,255,255,0.03); border-bottom-color: var(--ink-border); }
.window-bar.dark .window-title { color: var(--ink-muted); }

.basis-table { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 13px; }
.basis-table th {
  text-align: right;
  font-weight: 500;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-muted);
  padding: 14px 16px 10px;
  border-bottom: 1px solid var(--ink-border);
}
.basis-table td { text-align: right; padding: 12px 16px; color: var(--ink-text); border-bottom: 1px solid var(--ink-border); white-space: nowrap; }
.basis-table th:first-child, .basis-table td:first-child { text-align: left; }
.basis-table tbody tr { transition: background 0.2s; }
.basis-table tbody tr:hover { background: rgba(255,255,255,0.04); }
.basis-table tr.ctd td { color: #fff; background: rgba(16,163,127,0.12); }
.basis-table tr.ctd td:nth-child(4) { color: #5eead4; font-weight: 500; }

.ctd-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  color: var(--ink);
  background: #5eead4;
  padding: 2px 6px;
  border-radius: 4px;
  margin-right: 10px;
  vertical-align: 1px;
}

.terminal-foot { padding: 10px 16px 12px; font-size: 11px; color: var(--ink-muted); text-align: right; }

/* ── AI band ── */
.ai-band { background: linear-gradient(180deg, var(--bg-alt), var(--bg)); }

.chat {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid rgba(124,58,237,0.2);
  border-radius: 16px;
  box-shadow: 0 30px 60px -30px rgba(124,58,237,0.35);
}

.msg { max-width: 88%; padding: 14px 18px; border-radius: 14px; font-size: 15px; line-height: 1.55; }
.msg-user { align-self: flex-end; background: var(--text); color: #fff; border-bottom-right-radius: 4px; }
.msg-ai { align-self: flex-start; background: var(--bg-alt); color: var(--text); border-bottom-left-radius: 4px; }
.msg-note { display: block; margin-top: 8px; font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: #b0b0bc; }

.msg-tools { display: flex; gap: 8px; flex-wrap: wrap; }
.msg-tools span {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--credit);
  background: rgba(124,58,237,0.08);
  border: 1px solid rgba(124,58,237,0.2);
  padding: 4px 10px;
  border-radius: 20px;
}
.msg-tools span::before { content: "⚙ "; }

/* ── CTA band ── */
.cta-band { padding-top: 32px; }

.cta-card {
  text-align: center;
  padding: 64px 32px;
  border-radius: 20px;
  background:
    radial-gradient(600px 240px at 20% 0%, rgba(16,163,127,0.14), transparent 70%),
    radial-gradient(600px 240px at 80% 100%, rgba(124,58,237,0.12), transparent 70%),
    var(--bg-alt);
  border: 1px solid var(--border);
}

.cta-card h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 600; letter-spacing: -0.03em; margin-bottom: 12px; }
.cta-card p { font-size: 17px; color: var(--text-muted); max-width: 520px; margin: 0 auto 28px; line-height: 1.6; }
.hero-buttons.center { justify-content: center; }

/* ── SOLUTIONS: page head ── */
.page-head { padding: 140px 48px 56px; max-width: 900px; }
.page-head h1 { font-size: clamp(34px, 4.6vw, 52px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.08; margin-bottom: 20px; }
.page-head p { font-size: 18px; line-height: 1.6; color: var(--text-muted); max-width: 640px; }

.jump-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.jump-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: border-color 0.2s, background 0.2s;
}
.jump-links a:hover { border-color: var(--accent); background: rgba(16,163,127,0.06); }

/* ── SOLUTIONS: platform modules ── */
.platform-section { scroll-margin-top: 60px; }

.platform-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 48px;
}

.platform-head .hero-btn-light { flex-shrink: 0; }

.module-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--ink-border);
  border: 1px solid var(--ink-border);
  border-radius: 16px;
  overflow: hidden;
}

.module {
  position: relative;
  padding: 32px 28px;
  background: var(--ink);
  transition: background 0.3s;
}

.module:hover { background: var(--ink-2); }
.module::after {
  content: "";
  position: absolute; left: 0; top: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, #5eead4, var(--credit));
  transition: width 0.4s ease;
}
.module:hover::after { width: 100%; }

.module-num { font-family: var(--mono); font-size: 12px; color: #5eead4; }
.module h3 { font-size: 19px; font-weight: 600; color: #fff; margin: 12px 0 10px; }
.module p { font-size: 14px; line-height: 1.6; color: var(--ink-muted); }
.module .service-features span { background: rgba(94,234,212,0.1); color: #5eead4; border: 1px solid rgba(94,234,212,0.2); }

.platform-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 28px;
  font-size: 13px;
  color: var(--ink-muted);
}
.platform-foot b { font-weight: 500; color: var(--ink-text); padding: 4px 10px; border: 1px solid var(--ink-border); border-radius: 6px; }

/* ── SOLUTIONS: coverage ── */
.coverage-section { scroll-margin-top: 40px; }

.coverage-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 20px;
  margin-top: 32px;
}

.coverage-card {
  position: relative;
  padding: 28px 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.coverage-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.coverage-card h3 { font-size: 22px; font-weight: 600; margin-bottom: 10px; }
.coverage-card p { font-size: 14px; line-height: 1.6; color: var(--text-muted); margin-bottom: 18px; }
.coverage-card .asset-types { justify-content: flex-start; }

.coverage-credit {
  grid-column: 1;
  grid-row: 1 / span 2;
  scroll-margin-top: 90px;
  border-color: rgba(124,58,237,0.35);
  background:
    radial-gradient(500px 260px at 100% 0%, rgba(124,58,237,0.12), transparent 70%),
    var(--bg-card);
}
.coverage-credit:hover { border-color: var(--credit); box-shadow: 0 18px 40px -16px rgba(124,58,237,0.4); }
.coverage-credit { display: flex; flex-direction: column; }
.coverage-credit .credit-list li { padding: 13px 0 13px 22px; }
.coverage-credit .asset-types { margin-top: auto; }
.coverage-credit h3 { font-size: 28px; }
.coverage-credit .asset-types span { color: var(--credit); background: rgba(124,58,237,0.07); border-color: rgba(124,58,237,0.2); }

.credit-list { list-style: none; margin-bottom: 22px; }
.credit-list li {
  position: relative;
  padding: 10px 0 10px 22px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}
.credit-list li::before { content: "→"; position: absolute; left: 0; color: var(--credit); font-weight: 600; }
.credit-list b { color: var(--text); font-weight: 600; }

#services { scroll-margin-top: 40px; }

/* ── SOLUTIONS: developers / API ── */
.api-section { scroll-margin-top: 40px; }

.api-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: center;
}

.api-points { list-style: none; margin-top: 28px; }
.api-points li { display: flex; flex-direction: column; gap: 4px; padding: 14px 0; border-top: 1px solid var(--border); }
.api-points code { font-family: var(--mono); font-size: 13px; color: var(--accent); }
.api-points span { font-size: 14px; color: var(--text-muted); }

.code-window {
  min-width: 0;
  background: var(--ink);
  border: 1px solid var(--ink-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(13,13,13,0.5);
}

.code-tabs {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 8px 10px 0;
  background: var(--ink-2);
  border-bottom: 1px solid var(--ink-border);
  overflow-x: auto;
}

.code-tabs button {
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 10px 14px 11px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}

.code-tabs button:hover { color: var(--ink-text); }
.code-tabs button.active { color: #fff; border-bottom-color: #5eead4; }

.code-tabs .code-copy {
  margin-left: auto;
  font-size: 12px;
  border: 1px solid var(--ink-border);
  border-radius: 6px;
  padding: 5px 12px;
  margin-bottom: 7px;
}
.code-tabs .code-copy:hover { border-color: #5eead4; color: #5eead4; }

.code-pane {
  display: none;
  margin: 0;
  padding: 22px 24px;
  height: 400px;
  overflow: auto;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.65;
  color: #d6dde6;
  tab-size: 4;
}
.code-pane.active { display: block; }
.code-pane code { font-family: inherit; white-space: pre; }

.code-pane .token.comment { color: #6b7686; font-style: italic; }
.code-pane .token.keyword,
.code-pane .token.builtin { color: #c4a5ff; }
.code-pane .token.string,
.code-pane .token.template-string,
.code-pane .token.char { color: #5eead4; }
.code-pane .token.number,
.code-pane .token.boolean { color: #fbbf77; }
.code-pane .token.function,
.code-pane .token.class-name { color: #7cc4ff; }
.code-pane .token.operator,
.code-pane .token.punctuation { color: #8b96a5; }
.code-pane .token.interpolation { color: #d6dde6; }

.code-foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 16px;
  border-top: 1px solid var(--ink-border);
  font-size: 11px;
  color: var(--ink-muted);
}

.code-status { display: flex; align-items: center; gap: 6px; font-family: var(--mono); }
.code-status b { width: 7px; height: 7px; border-radius: 50%; background: #5eead4; animation: blink 1.6s ease-in-out infinite; }

@media (max-width: 1100px) {
  .api-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 640px) {
  .code-pane { font-size: 11.5px; padding: 18px 16px; height: 360px; }
  .code-foot span:last-child { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .curve { stroke-dashoffset: 0; }
}

@media (max-width: 1100px) {
  .hero.hero-split { grid-template-columns: 1fr; gap: 64px; }
  .hero-visual { max-width: 560px; }
  .asset-tiles { grid-template-columns: repeat(3, 1fr); }
  .band-grid, .band-grid.reverse { grid-template-columns: 1fr; gap: 48px; }
  .band-grid.reverse .chat { order: 2; }
  .module-grid { grid-template-columns: repeat(2, 1fr); }
  .coverage-grid { grid-template-columns: 1fr; }
  .coverage-credit { grid-row: auto; }
}

@media (max-width: 768px) {
  .nav-cta { display: none; }
}

@media (max-width: 640px) {
  .chip-b { display: none; }
  .asset-tiles, .module-grid, .coverage-grid { grid-template-columns: 1fr; }
  .platform-head { flex-direction: column; align-items: flex-start; }
  .chip-a { left: 8px; bottom: -28px; }
  .basis-table { font-size: 11px; }
  .basis-table th, .basis-table td { padding: 10px 8px; }
  .terminal { overflow-x: auto; }
  .page-head { padding: 120px 16px 40px; }
  .section-padding, .page-solutions .solutions-section, .page-solutions .solutions-section-alt { padding-left: 16px; padding-right: 16px; }
  .hero { padding-left: 16px; padding-right: 16px; }
}

@media (max-width: 900px) {
  nav { padding: 16px 24px; display: flex; justify-content: space-between; }
  .nav-links { gap: 16px; position: static; transform: none; left: auto; }
  .grid-3 { grid-template-columns: 1fr; }
  .section-padding { padding: 64px 24px; }
  .hero { padding: 0 24px; }
  footer { padding: 64px 24px; }
  .page-home .footer-compact { padding: 32px 24px; }
  .page-solutions .solutions-section { padding-top: 80px; padding-left: 24px; padding-right: 24px; }
  .page-solutions .solutions-section-alt { padding-left: 24px; padding-right: 24px; }
  .page-solutions footer { padding: 24px 24px; }
  .hero-buttons { flex-direction: column; align-items: flex-start; }
  .badge-row { gap: 8px; }
  .code-block { font-size: 12px; padding: 16px 20px; }
  .contact-section { padding: 120px 24px 80px; }
  .form-card { padding: 28px 24px; }
}

@media (max-width: 480px) {
  nav { padding: 14px 16px; }
  .nav-links { gap: 12px; position: static; transform: none; left: auto; }
  .nav-links a { font-size: 13px; }
  .logo { font-size: 15px; }
}

/* ── Phone polish ── */
.side-menu { z-index: 99; }
.hamburger span { transform-origin: center; }
.hamburger.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

@media (max-width: 640px) {
  .hero.hero-split { padding-top: 96px; gap: 48px; min-height: 0; }
  .hero h1 { font-size: 38px; }
  .hero-sub { font-size: 16px; }
  .hero-buttons, .hero-buttons.center { flex-direction: row; align-items: stretch; justify-content: center; }
  .hero-buttons .hero-btn { flex: 1 1 0; text-align: center; padding: 13px 12px; }
  .hero-proof { margin-top: 28px; }

  .section-padding { padding-top: 56px; padding-bottom: 56px; }
  .section-title { font-size: 26px; }
  .band-lead { font-size: 16px; }

  .asset-tiles { grid-template-columns: 1fr; gap: 12px; margin-top: 24px; }
  .asset-tile { display: grid; grid-template-columns: 34px 1fr; column-gap: 14px; padding: 18px 16px; }
  .asset-tile .tile-icon { grid-row: 1 / span 2; }
  .asset-tile h3 { font-size: 16px; margin: 4px 0 4px; }
  .asset-tile p { font-size: 13px; }
  .tile-icon { width: 34px; height: 34px; }
  .tile-badge { top: 12px; right: 12px; }

  .basis-table th:nth-child(3), .basis-table td:nth-child(3) { display: none; }
  .terminal { overflow-x: visible; }

  .chat { padding: 18px; }
  .msg { max-width: 94%; font-size: 14px; }

  .cta-card { padding: 40px 20px; }

  .code-tabs { padding: 6px 6px 0; }
  .code-tabs button { font-size: 12px; padding: 9px 9px 10px; }
  .code-tabs .code-copy { display: none; }
  .code-pane { height: auto; max-height: 380px; }

  .module { padding: 24px 20px; }
  .platform-foot { gap: 8px 10px; }

  .coverage-card { padding: 22px 20px; }
  .coverage-credit h3 { font-size: 24px; }

  footer, .page-home .footer-compact, .page-solutions footer { padding: 28px 16px; }
  .footer-legal { margin-top: 0; }
}
