:root {
  --ink: #111111;
  --ink-2: #1c1c1c;
  --navy: #0b1f3a;
  --slate: #475467;
  --muted: #667085;
  --line: #e4e7ec;
  --line-2: #eef1f4;
  --bg: #f8f9fa;
  --surface: #ffffff;
  --bg-soft: #f1f3f5;
  --brand: #ff6b35;
  --brand-dark: #d9480f;
  --brand-soft: #fff4ef;
  --success: #12b76a;
  --warning: #f79009;
  --radius: 6px;
  --radius-lg: 8px;
  --radius-sm: 4px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05);
  --shadow: 0 4px 12px -4px rgba(16, 24, 40, 0.1);
  --shadow-lg: 0 12px 28px -14px rgba(16, 24, 40, 0.18);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;
  --container: 1200px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

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

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

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

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

.container-narrow {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3, h4 {
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 4.4vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); }
h3 { font-size: 1.15rem; }
h4 { font-size: 1rem; }

p { color: var(--slate); }

.lead { font-size: 1.1rem; color: var(--slate); }

.section {
  padding: 96px 0;
}

.section-sm {
  padding: 64px 0;
}

.section-soft,
.section-white {
  background: var(--surface);
}

.section-dark {
  background: #111111;
  color: #fff;
}

.section-dark p {
  color: rgba(255, 255, 255, 0.7);
}

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 16px;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head p {
  margin-top: 14px;
}

.section-head-left {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-head-left p {
  margin-top: 14px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9375rem;
  font-family: var(--font);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.btn i { font-size: 0.85em; }

.btn-primary {
  background: var(--ink);
  color: #fff;
}

.btn-primary:hover {
  background: var(--ink-2);
}

.btn-secondary {
  background: var(--brand);
  color: #fff;
}

.btn-secondary:hover {
  background: var(--brand-dark);
}

.btn-outline {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.btn-ghost-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #fff;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.8125rem;
}

.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--brand);
}

.link-arrow i { transition: transform 0.15s ease; }
.link-arrow:hover i { transform: translateX(3px); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(248, 249, 250, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -20px rgba(16, 24, 40, 0.35);
}

.nav {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  flex: none;
}

.brand-mark span { color: var(--brand); }

.brand-name {
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  display: flex;
  flex-direction: column;
}

.brand-sub {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.nav-item { position: relative; }

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 15px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate);
  transition: color 0.15s ease, background 0.15s ease;
  font-family: var(--font);
  background: none;
  border: none;
  cursor: pointer;
}

.nav-link:hover,
.nav-link.active {
  color: var(--ink);
}

@media (min-width: 1081px) {
  .nav-link::after {
    content: "";
    position: absolute;
    left: 15px;
    right: 15px;
    bottom: 3px;
    height: 2px;
    border-radius: 2px;
    background: var(--brand);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.2s ease;
  }
  .nav-link:hover::after,
  .nav-link.active::after { transform: scaleX(1); }
}

.nav-link .caret {
  font-size: 0.55rem;
  transition: transform 0.2s ease;
}

.nav-item.open .caret { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 300px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
}

.dropdown::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}

.nav-item.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (min-width: 1081px) {
  .nav-item.has-dropdown:hover > .nav-link,
  .nav-item.has-dropdown:focus-within > .nav-link { color: var(--ink); }
  .nav-item.has-dropdown:hover .dropdown,
  .nav-item.has-dropdown:focus-within .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav-item.has-dropdown:hover .caret,
  .nav-item.has-dropdown:focus-within .caret { transform: rotate(180deg); }
}

.dropdown a {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  transition: background 0.15s ease;
}

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

.dropdown a i {
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  margin-top: 2px;
}

.dropdown a strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

.dropdown a span {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.35rem;
  color: var(--ink);
  cursor: pointer;
}

@media (max-width: 1080px) {
  .nav-menu {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    height: calc(100vh - 76px);
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 24px 40px;
    overflow-y: auto;
    display: none;
    border-top: 1px solid var(--line);
  }
  .nav-menu.active { display: flex; }
  .nav-link {
    padding: 15px 12px;
    font-size: 1rem;
    justify-content: space-between;
    border-radius: var(--radius-sm);
    width: 100%;
  }
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 8px 12px;
    display: none;
  }
  .nav-item.open .dropdown { display: block; }
  .nav-toggle { display: block; }
  .nav-actions .btn-outline { display: none; }
}

/* Hero */
.hero {
  position: relative;
  padding: 96px 0 88px;
  background:
    radial-gradient(circle at 85% 12%, rgba(255, 107, 53, 0.055), transparent 34%),
    radial-gradient(circle at 6% 88%, rgba(59, 91, 140, 0.05), transparent 40%),
    var(--bg);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(17, 17, 17, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(17, 17, 17, 0.04) 1px, transparent 1px);
  background-size: 68px 68px;
  -webkit-mask-image: radial-gradient(circle at 50% -10%, #000 0%, transparent 70%);
  mask-image: radial-gradient(circle at 50% -10%, #000 0%, transparent 70%);
  pointer-events: none;
}

.hero > .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}

.hero h1 { margin-bottom: 22px; }
.hero .lead { margin-bottom: 30px; max-width: 580px; }

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.trust-line {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.85rem;
  color: var(--muted);
  flex-wrap: wrap;
}

.trust-line i { color: var(--brand); }

.cap-index {
  border-left: 1px solid var(--line);
  padding-left: 40px;
}

.cap-index h4 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 6px;
}

.cap-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line-2);
}

.cap-row:last-child { border-bottom: none; }
.cap-row i { color: var(--brand); width: 18px; text-align: center; font-size: 0.95rem; }
.cap-row span { font-weight: 600; font-size: 0.95rem; }
.cap-row .cap-note { margin-left: auto; color: var(--muted); font-size: 0.8rem; font-weight: 400; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .cap-index { border-left: none; border-top: 1px solid var(--line); padding-left: 0; padding-top: 28px; }
}

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

@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* Cards */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.card-hover:hover {
  border-color: var(--line);
  box-shadow: var(--shadow);
}

.icon-badge {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid var(--line);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  margin-bottom: 18px;
}

.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.925rem; }

.card-list {
  list-style: none;
  margin-top: 18px;
  display: grid;
  gap: 9px;
}

.card-list li {
  display: flex;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--slate);
}

.card-list li i { color: var(--brand); margin-top: 4px; font-size: 0.75rem; }

.pillar {
  border-top: 2px solid var(--ink);
}

/* Stats */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-item {
  text-align: center;
  padding: 24px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.stat-item .value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.02em;
}

.stat-item .label {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 4px;
}

@media (max-width: 760px) {
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
}

/* Steps */
.steps {
  display: grid;
  gap: 16px;
}

.step {
  display: flex;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.step-num {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.step h3 { margin-bottom: 6px; }
.step p { font-size: 0.925rem; }

/* Pills / tags */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--slate);
}

.pill-brand {
  background: var(--brand-soft);
  border-color: transparent;
  color: var(--brand-dark);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

/* Plans */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.plan {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.plan.featured {
  border-color: var(--ink);
  position: relative;
}

.plan.featured::before {
  content: "Most popular";
  position: absolute;
  top: -11px;
  left: 28px;
  background: var(--brand);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.plan .plan-name { font-size: 1.05rem; font-weight: 700; }
.plan .plan-desc { font-size: 0.85rem; color: var(--muted); margin: 6px 0 18px; min-height: 40px; }
.plan .plan-price { font-size: 2.1rem; font-weight: 800; letter-spacing: -0.03em; }
.plan .plan-price small { font-size: 0.85rem; font-weight: 500; color: var(--muted); }
.plan .plan-features { list-style: none; margin: 22px 0 26px; display: grid; gap: 10px; flex: 1; }
.plan .plan-features li { display: flex; gap: 10px; font-size: 0.875rem; color: var(--slate); }
.plan .plan-features li i { color: var(--brand); margin-top: 4px; font-size: 0.75rem; }

@media (max-width: 960px) {
  .plan-grid { grid-template-columns: 1fr; }
}

/* Chips */
.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  padding: 11px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  background: #fff;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.chip:hover {
  border-color: var(--ink);
  color: var(--ink);
}

/* CTA band */
.cta-band {
  background:
    radial-gradient(circle at 88% 15%, rgba(255, 107, 53, 0.16), transparent 44%),
    #111111;
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.72); margin-top: 12px; max-width: 560px; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 760px) {
  .cta-band { padding: 36px 28px; }
}

/* Page hero (inner pages) */
.page-hero {
  padding: 72px 0 56px;
  background:
    radial-gradient(circle at 88% 10%, rgba(255, 107, 53, 0.05), transparent 36%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}

.breadcrumb {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 18px;
}

.breadcrumb a:hover { color: var(--brand); }
.breadcrumb span { margin: 0 8px; }

.page-hero h1 { max-width: 900px; }
.page-hero .lead { margin-top: 18px; max-width: 720px; }

/* Prose */
.prose h2 { margin: 40px 0 16px; }
.prose h3 { margin: 28px 0 12px; }
.prose p { margin-bottom: 16px; }
.prose ul, .prose ol { margin: 0 0 16px 22px; color: var(--slate); }
.prose li { margin-bottom: 8px; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 620px;
}

table.data th, table.data td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-2);
}

table.data th {
  background: var(--bg-soft);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 700;
}

table.data tr:last-child td { border-bottom: none; }

/* Accordion */
.accordion { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.accordion-item { border-bottom: 1px solid var(--line); }
.accordion-item:last-child { border-bottom: none; }
.accordion-head {
  width: 100%;
  text-align: left;
  background: #fff;
  border: none;
  padding: 20px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font);
}

.accordion-head i { color: var(--brand); transition: transform 0.2s ease; }
.accordion-item.open .accordion-head i { transform: rotate(45deg); }
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.accordion-body-inner { padding: 0 24px 22px; font-size: 0.925rem; color: var(--slate); }

/* Forms */
.form-grid { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 7px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.925rem;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(11, 15, 20, 0.06);
}

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

.form-note { font-size: 0.8rem; color: var(--muted); }
.form-status {
  display: none;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: #ecfdf3;
  color: #027a48;
  font-size: 0.9rem;
  font-weight: 500;
}
.form-status.show { display: block; }
.form-status.error { background: #fef3f2; color: #b42318; }

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(11, 15, 20, 0.72);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal.open { display: flex; }
.modal-card {
  background: #fff;
  border-radius: var(--radius-lg);
  max-width: 560px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 26px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: #fff;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.modal-head h3 { font-size: 1.15rem; }
.modal-close {
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
}
.modal-close:hover { color: var(--brand); }
.modal-body { padding: 26px; }

/* Verification result */
.verify-result {
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: none;
}
.verify-result.show { display: block; }
.verify-result.valid { border-color: var(--success); background: #f6fef9; }
.verify-result.invalid { border-color: #fda29b; background: #fffbfa; }

.verify-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-2);
  font-size: 0.9rem;
}
.verify-row:last-child { border-bottom: none; }
.verify-row .k { color: var(--muted); }
.verify-row .v { font-weight: 600; text-align: right; }

/* Footer */
.site-footer {
  background: #050505;
  color: #fff;
  padding: 72px 0 32px;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .brand { color: #fff; }
.footer-brand .brand-mark { background: #fff; color: var(--ink); }
.footer-brand .brand-mark span { color: var(--brand); }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: rgba(255, 255, 255, 0.5); }
.footer-brand p { color: rgba(255, 255, 255, 0.55); font-size: 0.875rem; margin-top: 18px; max-width: 300px; }

.footer-col h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 18px;
}

.footer-col ul { list-style: none; display: grid; gap: 11px; }
.footer-col a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.875rem;
  transition: color 0.15s ease;
}
.footer-col a:hover { color: var(--brand); }

.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a { color: rgba(255, 255, 255, 0.45); font-size: 0.8rem; }
.footer-legal a:hover { color: var(--brand); }

.footer-social { display: flex; gap: 16px; }
.footer-social a { color: rgba(255, 255, 255, 0.6); }
.footer-social a:hover { color: var(--brand); }

@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* Corporate homepage components */
.sol-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 56px;
}

.sol-item {
  border-top: 1px solid var(--line);
  padding: 28px 0;
}

.sol-item i { color: var(--brand); font-size: 1.05rem; }
.sol-item h3 { margin: 14px 0 8px; font-size: 1.15rem; }
.sol-item p { font-size: 0.9rem; margin-bottom: 14px; }
.sol-item .link-arrow { font-size: 0.875rem; }

.col-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.col-block {
  border-top: 2px solid var(--ink);
  padding-top: 22px;
}

.col-block i { color: var(--brand); font-size: 1.1rem; }
.col-block h3 { margin: 14px 0 8px; font-size: 1.1rem; }
.col-block p { font-size: 0.9rem; }

.ms-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.ms-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 32px;
}

.ms-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-2);
  font-size: 0.9rem;
  font-weight: 500;
}

.ms-list li i { color: var(--brand); font-size: 0.65rem; }

.ind-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.ind-item {
  border: 1px solid var(--line);
  padding: 22px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: border-color 0.15s ease;
}

.ind-item i { color: var(--brand); font-size: 0.8rem; }
.ind-item:hover { border-color: var(--ink); }

.market-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.market-list span {
  border: 1px solid var(--line);
  padding: 10px 18px;
  font-size: 0.875rem;
  font-weight: 600;
}

.positioning-line {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 28px;
}

.positioning-line span { color: var(--brand); }

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

/* Services list (homepage) */
.svc-list {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.svc-row {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr 24px;
  align-items: center;
  gap: 24px;
  padding: 26px 32px;
  border-bottom: 1px solid var(--line);
  transition: background 0.18s ease;
}

.svc-row:last-child { border-bottom: none; }

.svc-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--brand);
  transform: scaleY(0);
  transition: transform 0.2s ease;
}

.svc-row:hover { background: var(--bg-soft); }
.svc-row:hover::before { transform: scaleY(1); }

.svc-icon {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  color: var(--brand);
  font-size: 1.05rem;
  background: var(--surface);
}

.svc-body { display: flex; flex-direction: column; gap: 3px; }

.svc-step {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
}

.svc-title {
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.svc-desc { font-size: 0.92rem; color: var(--slate); }

.svc-arrow {
  color: var(--muted);
  font-size: 0.95rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

.svc-row:hover .svc-arrow {
  color: var(--brand);
  transform: translateX(4px);
}

@media (max-width: 640px) {
  .svc-row { grid-template-columns: 1fr 20px; gap: 16px; padding: 22px 20px; }
  .svc-icon { display: none; }
}

@media (max-width: 960px) {
  .sol-grid { grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
  .col-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .ms-grid { grid-template-columns: 1fr; gap: 36px; }
  .insight-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .sol-grid, .col-grid { grid-template-columns: 1fr; }
  .ind-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .ms-list { grid-template-columns: 1fr; }
}

/* Utilities */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-6 { margin-top: 48px; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.muted { color: var(--muted); }
.hidden { display: none; }

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 640px) {
  .container, .container-narrow, .nav { padding: 0 20px; }
  .section { padding: 64px 0; }
}

/* Loader — Build → Connect → Deploy */
.bp-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.bp-loader::before {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.05) 0%, transparent 55%);
  pointer-events: none;
}

.bp-loader.hide {
  opacity: 0;
  visibility: hidden;
}

.bp-no-loader .bp-loader {
  display: none !important;
}

.bp-loader-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.bp-loader-svg {
  width: 300px;
  height: 167px;
  overflow: visible;
}

.bp-node {
  fill: #111111;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: bpNodeIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.05s forwards;
}

.bp-sat {
  fill: #98a2b3;
  animation: bpNodeIn 0.5s ease 0.1s forwards, bpFadeOut 0.4s ease 0.85s forwards;
}

.bp-links {
  animation: bpFadeOut 0.4s ease 1.05s forwards;
}

.bp-link {
  stroke: rgba(17, 17, 17, 0.16);
  stroke-width: 1;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: bpDraw 0.5s ease forwards;
}

.bp-link-core { stroke: rgba(17, 17, 17, 0.26); }

.bp-link:nth-child(1) { animation-delay: 0.12s; }
.bp-link:nth-child(2) { animation-delay: 0.16s; }
.bp-link:nth-child(3) { animation-delay: 0.2s; }
.bp-link:nth-child(4) { animation-delay: 0.24s; }
.bp-link:nth-child(5) { animation-delay: 0.28s; }
.bp-link:nth-child(6) { animation-delay: 0.32s; }
.bp-link:nth-child(7) { animation-delay: 0.36s; }
.bp-link:nth-child(8) { animation-delay: 0.4s; }

.bp-b {
  fill: none;
  stroke: #111111;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: bpDraw 0.6s cubic-bezier(0.65, 0, 0.35, 1) 0.5s forwards;
}

.bp-signal {
  fill: var(--brand);
  opacity: 0;
  animation: bpFadeIn 0.15s linear 0.75s forwards;
}

.bp-loader-word {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111111;
  opacity: 0;
  transform: translateY(6px);
  animation: bpRise 0.5s ease 0.95s forwards;
}

.bp-loader-word span { color: var(--brand); }

.bp-loader-tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #667085;
  opacity: 0;
  animation: bpFadeIn 0.5s ease 1.12s forwards;
}

@keyframes bpNodeIn {
  from { opacity: 0; transform: translate(var(--dx, 0), var(--dy, 0)) scale(0.6); }
  to   { opacity: 1; transform: translate(0, 0) scale(1); }
}

@keyframes bpDraw { to { stroke-dashoffset: 0; } }
@keyframes bpFadeIn { to { opacity: 1; } }
@keyframes bpFadeOut { to { opacity: 0; } }
@keyframes bpRise { to { opacity: 1; transform: translateY(0); } }

@media (max-width: 640px) {
  .bp-loader-svg { width: 230px; height: 128px; }
  .bp-sat { display: none; }
  .bp-link:nth-child(-n+4) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .bp-node, .bp-sat, .bp-link, .bp-links, .bp-b, .bp-signal,
  .bp-loader-word, .bp-loader-tag {
    animation: none !important;
  }
  .bp-node { opacity: 1; transform: none; }
  .bp-sat { opacity: 0; }
  .bp-links { opacity: 0; }
  .bp-b { stroke-dashoffset: 0; }
  .bp-signal { opacity: 0; }
  .bp-loader-word, .bp-loader-tag { opacity: 1; transform: none; }
}
