/* ==========================================================================
   maiLane — Design System
   Warm, modern, US-SaaS aesthetic
   ========================================================================== */

:root {
  /* Palette */
  --bg: #FAF8F4;
  --bg-soft: #F4F0E8;
  --surface: #FFFFFF;
  --surface-2: #FBF9F5;
  --text: #0E0F12;
  --text-muted: #5F5E6B;
  --text-subtle: #8A8896;
  --border: #ECE6DA;
  --border-strong: #DCD5C6;
  --accent: #E8643D;
  --accent-hover: #D8552E;
  --accent-soft: #FDECE3;
  --accent-soft-2: #FFF5EE;
  --success: #16A34A;
  --info: #2563EB;
  --warn: #D97706;
  --shadow-sm: 0 1px 2px rgba(14, 15, 18, 0.04);
  --shadow-md: 0 6px 24px -8px rgba(14, 15, 18, 0.10), 0 2px 6px rgba(14, 15, 18, 0.04);
  --shadow-lg: 0 24px 60px -20px rgba(14, 15, 18, 0.18), 0 8px 20px -8px rgba(14, 15, 18, 0.08);
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --maxw: 1200px;
  --maxw-narrow: 880px;
  --header-h: 68px;

  /* Type */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-feature-settings: "ss01" on, "cv11" on;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.55;
  font-size: 16px;
}

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

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

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

::selection { background: var(--accent); color: #fff; }

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

/* ----------------------------- Header ----------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 244, 0.78);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--border);
  background: rgba(250, 248, 244, 0.92);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  font-size: 18px;
}
.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #ffb89a 0%, var(--accent) 55%, #b94522 100%);
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 2px 4px rgba(232,100,61,.25);
}
.brand-mark::after {
  content: "";
  position: absolute; inset: 6px;
  border-radius: 4px;
  background: rgba(255,255,255,.18);
  border: 1.4px solid rgba(255,255,255,.6);
}
.brand-name { letter-spacing: -0.015em; }
.brand-name b { font-weight: 700; }
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  padding: 0; margin: 0;
}
.nav-links a {
  font-size: 14.5px;
  color: var(--text-muted);
  transition: color 0.15s ease;
  font-weight: 500;
}
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px;
}
.nav-toggle svg { width: 18px; height: 18px; }

@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-cta .btn:not(.btn-primary) { display: none; }
}

/* ----------------------------- Buttons ----------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid transparent;
  padding: 10px 16px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: -0.005em;
  transition: transform .12s ease, background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
  cursor: pointer;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary {
  background: var(--text);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 6px 14px -6px rgba(14,15,18,.45);
}
.btn-primary:hover { background: #1a1b1f; transform: translateY(-1px); }
.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 8px 18px -8px rgba(232,100,61,.55);
}
.btn-accent:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover { background: var(--surface); border-color: var(--text); }
.btn-soft {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}
.btn-soft:hover { background: #fff; border-color: var(--border-strong); }
.btn-link {
  padding: 0;
  background: none;
  color: var(--accent);
  font-weight: 600;
}
.btn-link:hover { color: var(--accent-hover); }
.btn-lg { padding: 13px 20px; font-size: 15px; }
.btn-sm { padding: 7px 12px; font-size: 13.5px; }

/* ----------------------------- Section / Layout ----------------------------- */
section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.section-loose { padding: 120px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border: 1px solid #f7d6c4;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); display: inline-block; }

h1, h2, h3, h4 { color: var(--text); letter-spacing: -0.022em; }
h1 {
  font-size: clamp(38px, 5.6vw, 64px);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 16px 0 18px;
}
h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0 0 14px;
}
h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 8px;
}
h4 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 6px;
}
p { color: var(--text-muted); margin: 0 0 12px; }
.lead {
  font-size: clamp(17px, 1.6vw, 19px);
  color: var(--text-muted);
  max-width: 620px;
  line-height: 1.55;
}

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

.text-center { text-align: center; }
.muted { color: var(--text-muted); }

/* ----------------------------- Hero ----------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: 80px;
  padding-bottom: 80px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -10% 0 0 0;
  background:
    radial-gradient(60% 50% at 20% 0%, rgba(232,100,61,0.12), transparent 70%),
    radial-gradient(50% 50% at 80% 10%, rgba(255,184,154,0.18), transparent 70%);
  z-index: 0;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}
.hero-actions {
  display: inline-flex;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
  flex-wrap: wrap;
}
.hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  font-size: 13.5px;
  color: var(--text-subtle);
}
.hero-meta .sep { width: 1px; height: 12px; background: var(--border-strong); }
.hero-meta .check { color: var(--success); }

.hero-visual {
  margin-top: 64px;
  position: relative;
  z-index: 1;
}

/* ----------------------------- Logo Cloud ----------------------------- */
.logo-cloud {
  padding: 32px 0 56px;
  border-bottom: 1px solid var(--border);
}
.logo-cloud .label {
  text-align: center;
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: 24px;
}
.logo-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  align-items: center;
}
.logo-row .logo {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 36px;
  color: #95919a;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  opacity: 0.85;
  transition: opacity .2s ease, color .2s ease;
}
.logo-row .logo:hover { opacity: 1; color: var(--text); }
@media (max-width: 880px) {
  .logo-row { grid-template-columns: repeat(3, 1fr); row-gap: 24px; }
}

/* ----------------------------- Cards / Grids ----------------------------- */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.card .icon {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 18px;
  border: 1px solid #f7d6c4;
}
.card .icon svg { width: 20px; height: 20px; }
.card h3 { font-size: 17px; margin-bottom: 6px; }
.card p { font-size: 14.5px; margin: 0; }

/* Feature row (with thin top border, no card) */
.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
}
.feature-row .feature {
  padding: 28px 24px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.feature-row .feature:nth-child(3n) { border-right: none; }
.feature-row .feature h4 { font-size: 15.5px; margin-bottom: 6px; }
.feature-row .feature p { font-size: 14px; }
@media (max-width: 880px) {
  .feature-row { grid-template-columns: 1fr 1fr; }
  .feature-row .feature { border-right: 1px solid var(--border); }
  .feature-row .feature:nth-child(3n) { border-right: 1px solid var(--border); }
  .feature-row .feature:nth-child(2n) { border-right: none; }
}

/* ----------------------------- Tabs ----------------------------- */
.tabs {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 14px;
  box-shadow: var(--shadow-md);
}
.tabs-nav {
  display: flex;
  gap: 4px;
  background: var(--bg-soft);
  border-radius: 14px;
  padding: 6px;
  flex-wrap: wrap;
}
.tab-btn {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  transition: background .15s ease, color .15s ease, box-shadow .15s ease;
  min-width: 130px;
}
.tab-btn[aria-selected="true"] {
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}
.tab-btn:hover:not([aria-selected="true"]) { color: var(--text); }
.tab-panels { padding: 24px 8px 8px; }
.tab-panel { display: none; animation: fadeUp .35s ease both; }
.tab-panel[data-active="true"] { display: grid; grid-template-columns: 1fr 1.1fr; gap: 36px; align-items: center; }
@media (max-width: 880px) {
  .tab-panel[data-active="true"] { grid-template-columns: 1fr; }
}
.tab-panel .copy h3 { font-size: 22px; margin-bottom: 12px; letter-spacing: -0.02em; }
.tab-panel .copy p { font-size: 15px; max-width: 480px; }
.tab-panel ul.bullet {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
}
.tab-panel ul.bullet li {
  display: flex;
  gap: 10px;
  padding: 6px 0;
  color: var(--text);
  font-size: 14.5px;
}
.tab-panel ul.bullet li::before {
  content: "";
  flex: 0 0 18px;
  height: 18px;
  margin-top: 1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23E8643D'%3E%3Cpath fill-rule='evenodd' d='M16.704 5.29a1 1 0 010 1.42l-7.5 7.5a1 1 0 01-1.42 0l-3.5-3.5a1 1 0 011.42-1.42l2.79 2.8 6.79-6.8a1 1 0 011.42 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

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

/* ----------------------------- Dashboard Mockup ----------------------------- */
.dashboard-frame {
  background: linear-gradient(180deg, #fff, #fbfaf6);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}
.dashboard-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,0.7) 70%, rgba(255,255,255,1));
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s ease;
}
.dashboard-titlebar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #fbf9f5, #f4f1ea);
}
.titlebar-dots { display: inline-flex; gap: 6px; }
.titlebar-dots span {
  width: 10px; height: 10px; border-radius: 50%;
  background: #e5dfd3;
}
.titlebar-dots span:nth-child(1) { background: #f1846a; }
.titlebar-dots span:nth-child(2) { background: #f3c66b; }
.titlebar-dots span:nth-child(3) { background: #8fd29e; }
.titlebar-url {
  flex: 1; text-align: center;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-subtle);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 10px;
  max-width: 320px;
  margin: 0 auto;
}
.dashboard-body { display: grid; grid-template-columns: 220px 1fr; min-height: 460px; }
.dash-sidebar {
  border-right: 1px solid var(--border);
  background: #fbf9f5;
  padding: 16px 12px;
}
.dash-logo {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 8px;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 18px;
}
.dash-logo .mark { width: 18px; height: 18px; border-radius: 5px; background: linear-gradient(135deg, #ffb89a, var(--accent)); }
.dash-nav { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.dash-nav li {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}
.dash-nav li.active { background: #fff; color: var(--text); box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.dash-nav li .ico { width: 14px; height: 14px; border-radius: 4px; background: #e8e1d2; }
.dash-nav li.active .ico { background: var(--accent); }

.dash-main { padding: 18px 22px; background: var(--surface); }
.dash-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.dash-header h4 { font-size: 16px; margin: 0; }
.dash-actions { display: flex; gap: 8px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid #f7d6c4;
}
.pill.green { background: #e8f6ec; color: #16703a; border-color: #c8e5d0; }
.pill.gray  { background: #f1eee6; color: #5c5a55; border-color: #e2dccc; }
.pill.blue  { background: #e6efff; color: #1e4ec8; border-color: #cad7f4; }

.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.stat {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  background: #fff;
}
.stat .k { font-size: 11.5px; color: var(--text-subtle); text-transform: uppercase; letter-spacing: 0.06em; }
.stat .v { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.stat .d { font-size: 11.5px; color: var(--success); }
.stat .d.down { color: #b14935; }

.inbox-table {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.inbox-row {
  display: grid;
  grid-template-columns: 22px 1fr 1.2fr 90px 60px;
  gap: 10px;
  padding: 11px 14px;
  align-items: center;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  background: #fff;
}
.inbox-row:last-child { border-bottom: none; }
.inbox-row .avatar {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd5be, #f08465);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700;
}
.inbox-row .avatar.b { background: linear-gradient(135deg, #b8c8ff, #4a6cf7); }
.inbox-row .avatar.g { background: linear-gradient(135deg, #b5e7c4, #38a169); }
.inbox-row .avatar.p { background: linear-gradient(135deg, #d8c5ff, #8757e6); }
.inbox-row .who { font-weight: 600; color: var(--text); }
.inbox-row .sub { color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inbox-row .time { color: var(--text-subtle); font-size: 11.5px; text-align: right; }

@media (max-width: 880px) {
  .dashboard-body { grid-template-columns: 1fr; }
  .dash-sidebar { display: none; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .inbox-row { grid-template-columns: 22px 1fr 60px; }
  .inbox-row .sub, .inbox-row .time { display: none; }
}

/* ----------------------------- Workflow Section ----------------------------- */
.workflow {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 880px) { .workflow { grid-template-columns: 1fr; } }

.steps { list-style: none; padding: 0; margin: 24px 0 0; counter-reset: step; display: grid; gap: 14px; }
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 14px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  align-items: start;
  transition: border-color .15s ease;
}
.steps li:hover { border-color: var(--accent); }
.steps li::before {
  content: counter(step);
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 13px;
  border: 1px solid #f7d6c4;
}
.steps li h4 { font-size: 15px; margin: 0 0 4px; }
.steps li p { font-size: 14px; margin: 0; }

/* ----------------------------- Security ----------------------------- */
.sec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 980px) { .sec-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .sec-grid { grid-template-columns: 1fr; } }
.sec-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
}
.sec-badges { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.sec-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.sec-badge .b { width: 16px; height: 16px; border-radius: 50%; background: linear-gradient(135deg, #fff1ea, var(--accent)); }

/* ----------------------------- Integrations ----------------------------- */
.integration-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
@media (max-width: 980px) { .integration-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 540px) { .integration-grid { grid-template-columns: repeat(2, 1fr); } }
.integration-tile {
  display: flex; align-items: center; gap: 10px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.integration-tile:hover { transform: translateY(-2px); border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.integration-tile .ic {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 12px;
  color: var(--text);
}
.integration-tile .name { font-size: 13.5px; font-weight: 600; }

/* ----------------------------- Testimonials ----------------------------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 880px) { .testimonials { grid-template-columns: 1fr; } }
.testimonial {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.testimonial blockquote {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  letter-spacing: -0.01em;
}
.testimonial .who { display: flex; align-items: center; gap: 12px; }
.testimonial .who .avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd5be, #f08465);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px;
}
.testimonial .who .meta { font-size: 13px; }
.testimonial .who .meta strong { display: block; font-size: 13.5px; color: var(--text); }
.testimonial .who .meta span { color: var(--text-subtle); }

/* ----------------------------- Pricing ----------------------------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
@media (max-width: 880px) { .pricing-grid { grid-template-columns: 1fr; } }
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  position: relative;
  display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.price-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.price-card.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, #fff7f1 0%, #fff 70%);
}
.price-card .badge {
  position: absolute; top: 18px; right: 18px;
  font-size: 11.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  background: var(--accent);
  color: #fff;
  padding: 4px 8px;
  border-radius: 6px;
}
.price-card h3 { font-size: 17px; margin: 0; }
.price-card .desc { font-size: 14px; color: var(--text-muted); margin: 6px 0 18px; }
.price-card .amount { display: flex; align-items: baseline; gap: 6px; margin-bottom: 22px; }
.price-card .amount .cur { font-size: 18px; color: var(--text-muted); }
.price-card .amount .v { font-size: 44px; font-weight: 700; letter-spacing: -0.03em; }
.price-card .amount .per { font-size: 13.5px; color: var(--text-subtle); }
.price-card ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.price-card ul li { font-size: 14px; color: var(--text); display: flex; align-items: flex-start; gap: 10px; }
.price-card ul li::before {
  content: ""; flex: 0 0 18px; height: 18px; margin-top: 1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23E8643D'%3E%3Cpath fill-rule='evenodd' d='M16.704 5.29a1 1 0 010 1.42l-7.5 7.5a1 1 0 01-1.42 0l-3.5-3.5a1 1 0 011.42-1.42l2.79 2.8 6.79-6.8a1 1 0 011.42 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: contain; background-repeat: no-repeat;
}
.price-card .btn { width: 100%; justify-content: center; margin-top: auto; }

/* ----------------------------- FAQ ----------------------------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-top: 1px solid var(--border);
}
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
  background: transparent;
  border: 0;
  padding: 18px 0;
  text-align: left;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
}
.faq-q .chev {
  width: 18px; height: 18px;
  transition: transform .25s ease;
  color: var(--text-muted);
}
.faq-item.open .faq-q .chev { transform: rotate(180deg); color: var(--accent); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.faq-a-inner { padding: 0 0 18px; font-size: 14.5px; color: var(--text-muted); }

/* ----------------------------- CTA Banner ----------------------------- */
.cta-banner {
  background: linear-gradient(135deg, #1c1d22 0%, #2a2b31 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 460px; height: 460px;
  background: radial-gradient(closest-side, rgba(232,100,61,0.45), transparent 70%);
  pointer-events: none;
}
.cta-banner h2 { color: #fff; margin: 0 0 12px; }
.cta-banner p { color: rgba(255,255,255,0.7); max-width: 540px; font-size: 16px; }
.cta-banner .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.25); background: rgba(255,255,255,0.04); }
.cta-banner .btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.4); }
.cta-banner .actions { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; position: relative; }

/* ----------------------------- Footer ----------------------------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg);
  padding: 64px 0 32px;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
.footer-brand p { max-width: 320px; font-size: 14px; margin: 16px 0 0; }
.footer-col h5 {
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-subtle);
  margin: 0 0 14px;
  font-weight: 600;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col li a {
  color: var(--text-muted);
  font-size: 14px;
  transition: color .15s ease;
}
.footer-col li a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--text-subtle);
}
.socials { display: inline-flex; gap: 8px; }
.socials a {
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.socials a:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-soft-2); }
.socials svg { width: 14px; height: 14px; }

/* ----------------------------- Forms / Inputs ----------------------------- */
.form-grid { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
label { font-size: 13.5px; font-weight: 600; color: var(--text); }
.input, .textarea, .select {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 14.5px;
  color: var(--text);
  font-family: inherit;
  transition: border-color .15s ease, box-shadow .15s ease;
  margin-top: 6px;
}
.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.textarea { resize: vertical; min-height: 120px; }

/* ----------------------------- Animations / Reveal ----------------------------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ----------------------------- Legal pages ----------------------------- */
.prose {
  max-width: 720px;
  margin: 0 auto;
  font-size: 15.5px;
  color: var(--text);
}
.prose h1 { font-size: 36px; margin-bottom: 8px; }
.prose .updated { color: var(--text-subtle); font-size: 13.5px; margin-bottom: 40px; }
.prose h2 { font-size: 22px; margin: 36px 0 12px; }
.prose h3 { font-size: 17px; margin: 24px 0 8px; }
.prose p, .prose li { color: var(--text-muted); line-height: 1.7; font-size: 15px; }
.prose ul { padding-left: 20px; margin: 8px 0 16px; }
.prose strong { color: var(--text); }

/* ----------------------------- Misc ----------------------------- */
.divider { border-top: 1px solid var(--border); margin: 0; }
.kbd {
  display: inline-block;
  padding: 1px 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 5px;
  color: var(--text);
}

/* Page hero (smaller, for inner pages) */
.page-hero {
  padding: 80px 0 32px;
  text-align: center;
  position: relative;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 50% 0;
  background: radial-gradient(40% 60% at 50% 0%, rgba(232,100,61,0.08), transparent 70%);
  z-index: 0;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(34px, 4.4vw, 52px); }

/* Pricing toggle */
.bill-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px;
  margin: 16px 0 32px;
}
.bill-toggle button {
  border: 0;
  background: transparent;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
}
.bill-toggle button.active {
  background: var(--text);
  color: #fff;
}
