/* ==========================================================
   Mutabify — B2B FinTech Platform Styles
   ========================================================== */

:root {
  --ink: #0B1F1A;
  --forest: #0E2A24;
  --forest-2: #143B32;
  --green: #10B981;
  --green-soft: #34D399;
  --green-bg: #E7F8F0;
  --amber: #D97706;
  --amber-bg: #FEF3C7;
  --red: #DC2626;
  --red-bg: #FEE2E2;
  --blue-bg: #E0EAFF;

  --bg: #FAFAF7;
  --surface: #FFFFFF;
  --line: #E6E8E2;
  --line-2: #D9DDD5;
  --text: #0F1F1B;
  --muted: #5A6B66;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(11, 31, 26, .06);
  --shadow: 0 10px 30px -12px rgba(11, 31, 26, .18);
  --shadow-lg: 0 30px 60px -20px rgba(11, 31, 26, .28);

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

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

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

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.container { width: min(1200px, 100% - 48px); margin-inline: auto; }
.mono { font-family: var(--mono); font-feature-settings: "tnum"; letter-spacing: -0.02em; }
.pcard__stat.mono, .metric__value.mono, .case__stats .mono, .facts .mono, .plan__price .amount.mono, .float-card .mono, .mock__progress .mono {
  font-family: var(--font); font-weight: 800; letter-spacing: -0.035em; font-variant-numeric: tabular-nums;
}
.muted { color: var(--muted); }
.r { text-align: right; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 600; font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease, border-color .2s;
  font-family: inherit;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn--primary {
  background: var(--forest); color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.15) inset, 0 6px 16px -6px rgba(14,42,36,.6);
}
.btn--primary:hover { background: var(--forest-2); transform: translateY(-1px); }
.btn--ghost { background: var(--surface); color: var(--text); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--forest); }
.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn--lg { padding: 15px 24px; font-size: 16px; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 250, 247, .8);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header__inner { display: flex; align-items: center; height: 72px; gap: 32px; }

.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 21px; letter-spacing: -0.03em; }
.logo__mark svg { width: 30px; height: 30px; }
.logo__mark rect { fill: var(--forest); stroke: none; }
.logo__mark path { stroke: var(--green-soft); stroke-width: 3.2; }
.logo--light { color: #fff; }
.logo--light .logo__mark rect { fill: var(--green); }
.logo--light .logo__mark path { stroke: var(--forest); }

.nav { display: flex; gap: 28px; margin-left: 12px; }
.nav a { font-size: 15px; font-weight: 500; color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--text); }
.nav__mobile-cta { display: none; }

.header__actions { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.link-muted { font-size: 15px; font-weight: 500; color: var(--muted); }
.link-muted:hover { color: var(--text); }

.burger { display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: transform .25s, opacity .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 96px; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(600px 400px at 85% 20%, rgba(52, 211, 153, .18), transparent 70%),
    radial-gradient(500px 360px at 10% 90%, rgba(99, 102, 241, .08), transparent 70%);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 60% 30%, #000 0%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 30%, #000 0%, transparent 65%);
  opacity: .6;
}
.hero__grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.hero__grid > *, .integrations__grid > *, .faq__grid > *, .about__grid > *, .demo__card > * { min-width: 0; }
body { overflow-x: hidden; }

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 5px 12px 5px 5px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; font-size: 13.5px; font-weight: 500; color: var(--muted);
  box-shadow: var(--shadow-sm);
  transition: border-color .2s;
}
.pill:hover { border-color: var(--green); }
.pill__tag { background: var(--green-bg); color: #047857; font-weight: 700; padding: 3px 9px; border-radius: 999px; font-size: 12px; }
.pill svg { width: 14px; height: 14px; }

.hero__title { font-size: clamp(38px, 4.8vw, 58px); font-weight: 800; letter-spacing: -0.035em; margin: 22px 0 22px; }
.hl {
  background: linear-gradient(transparent 62%, rgba(52, 211, 153, .4) 62%, rgba(52, 211, 153, .4) 92%, transparent 92%);
  padding: 0 2px;
}
.hero__lead { font-size: 18.5px; color: var(--muted); max-width: 560px; }
.hero__ctas { display: flex; gap: 12px; margin: 34px 0 28px; flex-wrap: wrap; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--muted); }
.hero__trust li { display: inline-flex; align-items: center; gap: 7px; }
.hero__trust svg { width: 16px; height: 16px; color: var(--green); stroke-width: 2.5; }

/* Mockup */
.hero__visual { position: relative; }
.mock {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: perspective(1600px) rotateY(-6deg) rotateX(3deg);
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.hero__visual:hover .mock { transform: perspective(1600px) rotateY(0) rotateX(0); }
.mock__bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: #F6F7F4; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #E2E4DF; }
.mock__url { margin-left: 12px; font-size: 12px; color: var(--muted); background: #fff; padding: 3px 12px; border-radius: 6px; border: 1px solid var(--line); font-family: var(--mono); }
.mock__body { padding: 20px; }
.mock__head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 16px; }
.mock__eyebrow { font-size: 12px; color: var(--muted); font-weight: 500; }
.mock__title { font-size: 18px; margin-top: 2px; }
.mock__progress { text-align: right; }
.mock__progress span { font-size: 26px; font-weight: 600; color: var(--green); display: block; line-height: 1; }
.mock__progress small { font-size: 11.5px; color: var(--muted); }

.mock__table { font-size: 13px; }
.mrow {
  display: grid; grid-template-columns: 1.5fr 1.1fr 1fr 1.25fr;
  align-items: center; gap: 10px;
  padding: 11px 8px; border-top: 1px solid var(--line);
  transition: background .3s;
}
.mrow--head { border-top: 0; font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; padding-top: 4px; }
.mrow .mono { font-size: 12px; }
.sup { display: flex; align-items: center; gap: 8px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sup i {
  font-style: normal; flex: none;
  width: 24px; height: 24px; border-radius: 6px;
  display: grid; place-items: center;
  font-size: 10px; font-weight: 700; color: var(--c);
  background: color-mix(in srgb, var(--c) 14%, white);
}
.mrow.is-processing { background: #F8FAF7; }

.chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px; border-radius: 999px;
  font-size: 11.5px; font-weight: 600; white-space: nowrap; justify-self: start;
}
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip--ok { background: var(--green-bg); color: #047857; }
.chip--warn { background: var(--amber-bg); color: #B45309; }
.chip--err { background: var(--red-bg); color: #B91C1C; }
.chip--paid { background: var(--blue-bg); color: #1D4ED8; }
.chip--pending { background: #F1F3EF; color: var(--muted); }
.chip--pending::before { animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: .2; } }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: var(--surface); border: 1px solid var(--line);
  padding: 12px 16px 12px 12px; border-radius: 14px;
  box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}
.float-card strong { display: block; font-size: 17px; line-height: 1.2; }
.float-card small { font-size: 12px; color: var(--muted); }
.float-card__icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; }
.float-card__icon svg { width: 20px; height: 20px; stroke-width: 2.5; }
.float-card__icon--green { background: var(--green-bg); color: var(--green); }
.float-card__icon--amber { background: var(--amber-bg); color: var(--amber); }
.float-card--a { left: -36px; bottom: -28px; }
.float-card--b { right: -20px; top: -26px; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ---------- Logos ---------- */
.logos { padding: 20px 0 64px; }
.logos__title { text-align: center; font-size: 14px; color: var(--muted); font-weight: 500; margin-bottom: 28px; }
.logos__track {
  display: flex; overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.logos__row { display: flex; gap: 56px; padding-right: 56px; flex: none; animation: marquee 38s linear infinite; }
.logos__track:hover .logos__row { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
.brand { font-size: 19px; font-weight: 700; color: #8A958F; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; letter-spacing: -0.01em; }
.brand b { font-size: 14px; }
.brand--serif { font-family: Georgia, "Times New Roman", serif; font-weight: 600; font-style: italic; font-size: 21px; }
.brand--light { font-weight: 400; font-size: 21px; }
.brand--light strong { font-weight: 800; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section__head { text-align: center; max-width: 760px; margin: 0 auto 60px; }
.section__head--left { text-align: left; margin-left: 0; }
.section__head h2, .section h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; letter-spacing: -0.03em; }
.section__head p { margin-top: 18px; font-size: 18px; color: var(--muted); }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; color: #047857;
  text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px;
}
.eyebrow--light { color: var(--green-soft); }
.lead { font-size: 17.5px; color: var(--muted); margin-top: 18px; }
.lead a { color: #047857; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.footnote { text-align: center; color: var(--muted); font-size: 13px; margin-top: 28px; }

/* Problem */
.problem { background: var(--surface); border-block: 1px solid var(--line); }
.problem__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pcard {
  padding: 32px; border-radius: var(--radius-lg);
  background: var(--bg); border: 1px solid var(--line);
  transition: transform .25s, box-shadow .25s;
}
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pcard__stat { font-size: 46px; font-weight: 600; color: var(--red); margin-bottom: 14px; line-height: 1; }
.pcard h3 { font-size: 18px; margin-bottom: 10px; }
.pcard p { color: var(--muted); font-size: 15.5px; }

/* How */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 58px; left: 16%; right: 16%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line-2) 0 8px, transparent 8px 16px);
  z-index: 0;
}
.step {
  position: relative; z-index: 1;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 32px;
  box-shadow: var(--shadow-sm);
}
.step__num { position: absolute; top: 24px; right: 28px; font-size: 14px; color: #A3ADA8; font-weight: 600; }
.step__icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--forest); color: var(--green-soft);
  display: grid; place-items: center; margin-bottom: 24px;
  box-shadow: 0 0 0 8px var(--bg);
}
.step__icon svg { width: 24px; height: 24px; }
.step h3 { font-size: 22px; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15.5px; }
.step__list { margin-top: 20px; padding-top: 18px; border-top: 1px dashed var(--line-2); display: grid; gap: 8px; }
.step__list li { font-size: 14px; font-weight: 500; display: flex; align-items: center; gap: 8px; }
.step__list li::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--green); }

/* Features / bento */
.features { padding-top: 40px; }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; transition: border-color .25s, transform .25s;
}
.feature:hover { border-color: var(--line-2); transform: translateY(-3px); }
.feature--wide { grid-column: span 3; display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; padding: 40px; }
.feature h3 { font-size: 19px; margin-bottom: 10px; }
.feature--wide h3 { font-size: 26px; margin-bottom: 14px; }
.feature p { color: var(--muted); font-size: 15.5px; }
.feature__icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--green-bg); color: #047857;
  display: grid; place-items: center; margin-bottom: 20px;
}
.feature__icon svg { width: 22px; height: 22px; }
.feature--dark { background: var(--forest); border-color: var(--forest); color: #fff; }
.feature--dark p { color: #B5C7C1; }

.match-viz { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 20px; position: relative; }
.mv-col { display: grid; gap: 10px; align-content: start; }
.mv-label { font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--muted); }
.mv-item {
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 12px; font-family: var(--mono); font-size: 12px; position: relative;
}
.mv-col:not(:last-child) .mv-item::after {
  content: ""; position: absolute; right: -15px; top: 50%; width: 14px; height: 2px; background: var(--green-soft);
}
.mv-item--ok { background: var(--green-bg); border-color: #A7F3D0; color: #047857; font-weight: 600; }

.portal-viz { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 10px; }
.pv-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 14px; font-family: var(--mono); font-size: 13px; color: #D8E5E0; }
.pv-row + .pv-row { border-top: 1px solid rgba(255,255,255,.08); }

/* Metrics */
.metrics { background: var(--ink); color: #fff; padding: 72px 0; position: relative; overflow: hidden; }
.metrics::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(500px 200px at 50% 0%, rgba(52,211,153,.18), transparent 70%);
}
.metrics__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; }
.metric { padding-left: 22px; border-left: 1px solid rgba(255,255,255,.14); }
.metric__value { display: block; font-size: clamp(32px, 3.4vw, 44px); font-weight: 600; color: var(--green-soft); line-height: 1.1; margin-bottom: 8px; }
.metric__label { font-size: 14.5px; color: #A9BBB5; }

/* Integrations */
.integrations__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; }
.checklist { margin-top: 28px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; font-weight: 500; }
.checklist li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%;
  background: var(--green-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' stroke='%23047857' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}
.checklist--light li { color: #DDE8E4; }
.checklist--light li::before { background-color: rgba(52,211,153,.18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' stroke='%2334D399' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

.int-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.int {
  display: flex; align-items: center; gap: 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.int:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--line-2); }
.int__logo {
  flex: none; width: 44px; height: 44px; border-radius: 11px;
  display: grid; place-items: center; font-weight: 800; font-size: 18px;
  color: #fff; background: var(--c);
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.15);
}
.int strong { display: block; font-size: 15px; }
.int small { font-size: 13px; color: var(--muted); }

/* Case */
.case { background: var(--surface); border-block: 1px solid var(--line); }
.case__main {
  display: grid; grid-template-columns: 1.6fr 1fr; gap: 0;
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  background: var(--bg);
}
.case__quote { padding: 48px; }
.quote-mark { width: 40px; height: 40px; fill: var(--green-soft); stroke: none; margin-bottom: 20px; }
.case__quote blockquote { margin: 0 0 32px; font-size: 22px; line-height: 1.5; font-weight: 500; letter-spacing: -0.01em; }
.case__stats { background: var(--forest); color: #fff; display: grid; padding: 24px 40px; }
.case__stats div { padding: 22px 0; display: grid; }
.case__stats div + div { border-top: 1px solid rgba(255,255,255,.12); }
.case__stats span { font-size: 38px; font-weight: 600; color: var(--green-soft); line-height: 1.1; }
.case__stats small { color: #B5C7C1; font-size: 14.5px; }

.person { display: flex; align-items: center; gap: 12px; }
.person strong { display: block; font-size: 15px; }
.person small { font-size: 13.5px; color: var(--muted); }
.avatar {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: 14px;
  color: var(--c); background: color-mix(in srgb, var(--c) 16%, white);
}

.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.tcard { margin: 0; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.tcard blockquote { margin: 0; font-size: 15.5px; color: #33443F; }

/* Pricing */
.billing-toggle {
  display: flex; width: max-content; margin: -24px auto 48px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 4px;
}
.billing-toggle button {
  font-family: inherit; font-size: 14.5px; font-weight: 600; color: var(--muted);
  background: none; border: 0; padding: 9px 20px; border-radius: 9px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px; transition: background .2s, color .2s;
}
.billing-toggle button.is-active { background: var(--forest); color: #fff; }
.save { font-size: 11.5px; background: var(--green-bg); color: #047857; padding: 2px 8px; border-radius: 999px; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 34px; display: flex; flex-direction: column;
}
.plan h3 { font-size: 20px; }
.plan__desc { color: var(--muted); font-size: 14.5px; margin-top: 8px; min-height: 46px; }
.plan__price { display: flex; align-items: baseline; gap: 2px; margin: 26px 0 4px; }
.plan__price .currency { font-size: 22px; font-weight: 600; }
.plan__price .amount { font-size: 46px; font-weight: 600; line-height: 1; }
.plan__price .per { color: var(--muted); font-size: 15px; margin-left: 4px; }
.plan__price--custom .amount { font-family: var(--font); font-size: 36px; font-weight: 800; letter-spacing: -0.03em; }
.plan__note { font-size: 13.5px; color: var(--muted); margin-bottom: 24px; }
.plan__features { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.plan__features li { display: flex; gap: 10px; font-size: 14.5px; }
.plan__features li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' stroke='%2310B981' stroke-width='2.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}
.plan--featured { background: var(--forest); border-color: var(--forest); color: #fff; box-shadow: var(--shadow-lg); transform: translateY(-8px); }
.plan--featured .plan__desc, .plan--featured .plan__note, .plan--featured .per { color: #B5C7C1; }
.plan--featured .plan__features { border-color: rgba(255,255,255,.12); }
.plan--featured .btn--primary { background: var(--green-soft); color: var(--ink); }
.plan--featured .btn--primary:hover { background: #6EE7B7; }
.plan__badge {
  position: absolute; top: -13px; left: 34px;
  background: var(--green-soft); color: var(--ink); font-size: 12px; font-weight: 700;
  padding: 5px 12px; border-radius: 999px;
}
.amount.is-switching { animation: swap .35s ease; }
@keyframes swap { 0% { opacity: 0; transform: translateY(6px); } 100% { opacity: 1; transform: none; } }

/* About */
.about { background: var(--surface); border-top: 1px solid var(--line); }
.about__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 72px; align-items: start; }
.about__story p { color: var(--muted); font-size: 17px; margin-top: 18px; }
.about__story p strong { color: var(--text); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.value { padding: 20px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); }
.value h4 { font-size: 16px; margin-bottom: 6px; }
.value p { font-size: 14px !important; margin: 0 !important; }

.about__side { display: grid; gap: 16px; position: sticky; top: 100px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; background: var(--forest); border-radius: var(--radius-lg); overflow: hidden; }
.facts div { padding: 28px; display: grid; gap: 2px; }
.facts div:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.1); }
.facts div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.1); }
.facts span { font-size: 34px; font-weight: 600; color: var(--green-soft); line-height: 1.1; }
.facts small { color: #B5C7C1; font-size: 13.5px; }
.office { display: flex; gap: 14px; align-items: center; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.office svg { width: 24px; height: 24px; color: #047857; flex: none; }
.office strong { display: block; font-size: 15px; }
.office small { font-size: 13.5px; color: var(--muted); }

.team__title { font-size: 22px; margin: 80px 0 24px; }
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.member { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg); transition: transform .25s, box-shadow .25s; }
.member:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.member__avatar {
  width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center;
  background: var(--c); color: #fff; font-weight: 700; font-size: 18px; margin-bottom: 18px;
  box-shadow: inset 0 -3px 0 rgba(0,0,0,.2);
}
.member strong { display: block; font-size: 17px; }
.member small { display: block; color: #047857; font-weight: 600; font-size: 13.5px; margin: 2px 0 12px; }
.member p { font-size: 14px; color: var(--muted); }

/* Security */
.security { padding: 0 0 20px; background: var(--surface); }
.security__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  padding: 36px 40px; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #F1FAF5, #F7F8F4); border: 1px solid #D5EEE2;
}
.security__text { max-width: 480px; }
.security__text h3 { font-size: 22px; margin-bottom: 8px; }
.security__text p { color: var(--muted); font-size: 15px; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
  font-size: 14px; font-weight: 600;
}
.badge svg { width: 18px; height: 18px; color: #047857; }

/* FAQ */
.faq { background: var(--surface); }
.faq__grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 72px; align-items: start; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-weight: 600; font-size: 17px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 22px; height: 22px; margin-top: -11px;
  border-radius: 50%; background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 5v10M5 10h10' stroke='%230F1F1B' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center/14px no-repeat;
  border: 1px solid var(--line); transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 40px 24px 0; font-size: 15.5px; animation: fadeIn .3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-4px); } }

/* Demo */
.demo { padding-top: 40px; background: var(--surface); }
.demo__card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
  background: var(--ink); color: #fff; border-radius: 28px; padding: 64px;
  position: relative; overflow: hidden;
}
.demo__card::before {
  content: ""; position: absolute; width: 520px; height: 520px; left: -160px; bottom: -280px;
  background: radial-gradient(circle, rgba(52,211,153,.25), transparent 65%);
}
.demo__text { position: relative; }
.demo__text h2 { font-size: clamp(28px, 3vw, 40px); }
.demo__text > p { color: #B5C7C1; font-size: 17px; margin-top: 18px; }

.form { position: relative; background: var(--surface); color: var(--text); border-radius: 20px; padding: 32px; display: grid; gap: 16px; box-shadow: var(--shadow-lg); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: grid; gap: 6px; }
.form label span { font-size: 13.5px; font-weight: 600; }
.form input, .form select {
  font-family: inherit; font-size: 15px; color: var(--text);
  padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg);
  transition: border-color .2s, box-shadow .2s; width: 100%;
}
.form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 8l4 4 4-4' stroke='%235A6B66' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 36px; }
.form input:focus, .form select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(16,185,129,.15); background-color: #fff; }
.form .is-invalid { border-color: var(--red); box-shadow: 0 0 0 4px rgba(220,38,38,.1); }
.form__legal { font-size: 12.5px; color: var(--muted); text-align: center; }
.form__legal a { text-decoration: underline; }
.form__success {
  position: absolute; inset: 0; background: var(--surface); border-radius: 20px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 32px;
  animation: fadeIn .4s ease;
}
.form__success[hidden] { display: none; }
.form__success-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--green-bg); color: var(--green); display: grid; place-items: center; margin-bottom: 18px; }
.form__success-icon svg { width: 32px; height: 32px; stroke-width: 2.5; }
.form__success h3 { font-size: 24px; margin-bottom: 8px; }
.form__success p { color: var(--muted); max-width: 300px; }

/* Footer */
.footer { background: var(--ink); color: #fff; padding: 80px 0 32px; margin-top: 0; }
.footer__top { display: grid; grid-template-columns: 1.1fr 2fr; gap: 64px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__brand p { color: #A9BBB5; font-size: 15px; margin: 16px 0 24px; max-width: 320px; }
.newsletter { display: flex; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 4px; max-width: 360px; }
.newsletter input { flex: 1; min-width: 0; background: none; border: 0; color: #fff; padding: 10px 12px; font-family: inherit; font-size: 14px; outline: none; }
.newsletter input::placeholder { color: #7D918A; }
.newsletter button { background: var(--green-soft); color: var(--ink); border: 0; border-radius: 9px; padding: 10px 16px; font-weight: 700; font-family: inherit; font-size: 14px; cursor: pointer; white-space: nowrap; }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.footer__cols h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: #7D918A; margin-bottom: 18px; }
.footer__cols a, .footer__cols span { display: block; font-size: 14.5px; color: #D3DFDB; margin-bottom: 12px; transition: color .2s; }
.footer__cols a:hover { color: var(--green-soft); }
.footer__cols .tag { display: inline; font-size: 11px; background: rgba(52,211,153,.18); color: var(--green-soft); padding: 2px 7px; border-radius: 999px; margin-left: 4px; }
.muted-light { color: #7D918A !important; line-height: 1.6; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 28px; font-size: 13.5px; color: #7D918A; }
.footer__bottom div { display: flex; gap: 24px; }
.footer__bottom a:hover { color: #fff; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.plan--featured.reveal.is-visible { transform: translateY(-8px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { gap: 20px; }
  .link-muted { display: none; }
  .hero__grid { grid-template-columns: 1fr; gap: 72px; }
  .hero__content { text-align: center; }
  .hero__lead { margin-inline: auto; }
  .hero__ctas, .hero__trust { justify-content: center; }
  .hero__visual { max-width: 640px; margin-inline: auto; width: 100%; }
  .mock { transform: none; }
  .integrations__grid, .faq__grid, .about__grid { grid-template-columns: 1fr; gap: 48px; }
  .about__side { position: static; }
  .metrics__grid { grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
  .team { grid-template-columns: repeat(2, 1fr); }
  .demo__card { grid-template-columns: 1fr; padding: 48px; }
  .footer__top { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 900px) {
  .nav {
    position: fixed; inset: 72px 0 auto 0; margin: 0;
    flex-direction: column; gap: 0; padding: 12px 24px 24px;
    background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
  }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; color: var(--text); }
  .nav__mobile-cta { display: block; padding-top: 16px; }
  .nav__mobile-cta a { border: 0; color: #fff; padding: 14px; }
  .header__actions { display: none; }
  .burger { display: block; }

  .problem__grid, .steps, .testimonials, .plans { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .feature--wide { grid-column: span 2; grid-template-columns: 1fr; gap: 28px; padding: 30px; }
  .case__main { grid-template-columns: 1fr; }
  .case__quote { padding: 32px; }
  .case__quote blockquote { font-size: 19px; }
  .case__stats { grid-template-columns: repeat(3, 1fr); padding: 8px 24px; }
  .case__stats div + div { border-top: 0; border-left: 1px solid rgba(255,255,255,.12); padding-left: 20px; }
  .plan--featured, .plan--featured.reveal.is-visible { transform: none; }
  .plans { max-width: 480px; margin-inline: auto; gap: 28px; }
  .security__inner { flex-direction: column; align-items: flex-start; }
  .badges { justify-content: flex-start; }
  .values { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
  .hide-sm { display: none; }
}

@media (max-width: 600px) {
  .container { width: calc(100% - 32px); }
  .section { padding: 80px 0; }
  .hero { padding: 40px 0 72px; }
  .hero__lead { font-size: 16.5px; }
  .hero__ctas .btn { width: 100%; }
  .mrow { grid-template-columns: 1.4fr 1fr 1.2fr; }
  .mrow > :nth-child(2) { display: none; }
  .float-card--a { left: -6px; bottom: -36px; }
  .float-card--b { right: -6px; top: -36px; }
  .float-card { padding: 9px 12px 9px 9px; }
  .float-card strong { font-size: 15px; }
  .bento { grid-template-columns: 1fr; }
  .feature--wide { grid-column: span 1; }
  .match-viz { grid-template-columns: 1fr; }
  .mv-col:not(:last-child) .mv-item::after { display: none; }
  .int-grid { grid-template-columns: 1fr; }
  .case__stats { grid-template-columns: 1fr; }
  .case__stats div + div { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255,255,255,.12); }
  .team { grid-template-columns: 1fr; }
  .demo__card { padding: 32px 20px; border-radius: 22px; }
  .form { padding: 22px; }
  .form__row { grid-template-columns: 1fr; }
  .metrics__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
  .footer__bottom div { flex-wrap: wrap; gap: 16px; }
}

/* ---------- Subpages Common Styles ---------- */
.subpage-hero {
  padding: 56px 0 48px;
  background: linear-gradient(180deg, rgba(231, 248, 240, 0.4) 0%, transparent 100%);
  border-bottom: 1px solid var(--line);
}
.breadcrumbs {
  display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); margin-bottom: 18px;
}
.breadcrumbs a:hover { color: var(--text); }
.breadcrumbs span { color: var(--line-2); }
.subpage-hero h1 { font-size: clamp(32px, 3.8vw, 46px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 14px; }
.subpage-hero p.lead { font-size: 18px; color: var(--muted); max-width: 680px; margin: 0; }

.subpage-section { padding: 64px 0 100px; }

/* Legal Tabs / Articles */
.legal-layout {
  display: grid; grid-template-columns: 280px 1fr; gap: 56px; align-items: start;
}
.legal-nav {
  position: sticky; top: 100px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px; display: grid; gap: 4px; box-shadow: var(--shadow-sm);
}
.legal-nav a {
  padding: 10px 14px; border-radius: 8px; font-size: 14.5px; font-weight: 600; color: var(--muted);
  transition: background .2s, color .2s;
}
.legal-nav a:hover, .legal-nav a.is-active {
  background: var(--green-bg); color: #047857;
}
.legal-article {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 48px; box-shadow: var(--shadow-sm);
}
.legal-article h2 { font-size: 24px; margin: 36px 0 16px; padding-top: 24px; border-top: 1px solid var(--line); }
.legal-article h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.legal-article h3 { font-size: 18px; margin: 24px 0 12px; }
.legal-article p { color: #33443F; font-size: 15.5px; margin-bottom: 16px; line-height: 1.7; }
.legal-article ul { list-style: disc; margin: 0 0 20px 24px; color: #33443F; font-size: 15.5px; }
.legal-article li { margin-bottom: 8px; }
.legal-meta {
  display: inline-block; font-size: 13px; color: var(--muted); background: var(--bg);
  padding: 6px 12px; border-radius: 6px; border: 1px solid var(--line); margin-bottom: 24px;
}

/* Changelog */
.changelog-timeline { display: grid; gap: 36px; max-width: 860px; margin: 0 auto; }
.changelog-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 36px; box-shadow: var(--shadow-sm);
}
.changelog-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.changelog-tag { background: var(--green-bg); color: #047857; font-weight: 700; font-size: 13px; padding: 4px 12px; border-radius: 999px; }
.changelog-date { font-size: 13.5px; color: var(--muted); }
.changelog-card h2 { font-size: 22px; margin-bottom: 12px; }
.changelog-card p { font-size: 15.5px; color: var(--muted); margin-bottom: 18px; }
.changelog-list { display: grid; gap: 10px; }
.changelog-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; }
.changelog-badge {
  font-size: 11.5px; font-weight: 700; text-transform: uppercase; padding: 2px 8px; border-radius: 6px; flex: none; margin-top: 2px;
}
.badge-feat { background: #E0EAFF; color: #1D4ED8; }
.badge-imp { background: #FEF3C7; color: #B45309; }
.badge-fix { background: #DCFCE7; color: #15803D; }

/* Careers */
.careers-grid { display: grid; grid-template-columns: 1fr; gap: 18px; max-width: 900px; margin: 0 auto; }
.job-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 30px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.job-card:hover { transform: translateY(-2px); border-color: var(--green); box-shadow: var(--shadow); }
.job-info h3 { font-size: 19px; margin-bottom: 8px; }
.job-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.job-tag { font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 6px; background: var(--bg); border: 1px solid var(--line); color: var(--muted); }

/* Blog */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.blog-thumb { height: 180px; background: var(--forest); display: grid; place-items: center; color: var(--green-soft); position: relative; }
.blog-thumb svg { width: 48px; height: 48px; }
.blog-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.blog-tag { font-size: 12px; font-weight: 700; color: #047857; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.blog-card h3 { font-size: 18px; margin-bottom: 12px; line-height: 1.35; }
.blog-card p { font-size: 14.5px; color: var(--muted); margin-bottom: 20px; flex: 1; }
.blog-footer { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--muted); padding-top: 14px; border-top: 1px solid var(--line); }

/* Help Center */
.help-hero-search { max-width: 540px; margin: 24px auto 0; position: relative; }
.help-hero-search input {
  width: 100%; padding: 16px 20px 16px 46px; border-radius: 12px; border: 1px solid var(--line-2);
  font-size: 16px; font-family: inherit; background: #fff; box-shadow: var(--shadow);
}
.help-hero-search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); }
.help-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.help-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform .2s, border-color .2s;
}
.help-card:hover { transform: translateY(-2px); border-color: var(--forest); }
.help-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--green-bg); color: #047857; display: grid; place-items: center; margin-bottom: 18px; }
.help-icon svg { width: 22px; height: 22px; }
.help-card h3 { font-size: 18px; margin-bottom: 10px; }
.help-card p { font-size: 14.5px; color: var(--muted); line-height: 1.5; }

/* API Docs */
.api-grid { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: start; }
.api-sidebar {
  position: sticky; top: 100px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: grid; gap: 6px;
}
.api-sidebar a { padding: 8px 12px; font-size: 14px; font-weight: 600; color: var(--muted); border-radius: 6px; }
.api-sidebar a:hover, .api-sidebar a.is-active { background: var(--bg); color: var(--text); }
.api-section { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; margin-bottom: 32px; }
.api-endpoint { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 14px; padding: 10px 14px; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; margin: 16px 0; }
.method-get { background: #E0EAFF; color: #1D4ED8; font-weight: 700; padding: 3px 8px; border-radius: 4px; font-size: 12px; }
.method-post { background: #DCFCE7; color: #15803D; font-weight: 700; padding: 3px 8px; border-radius: 4px; font-size: 12px; }
.code-block { background: var(--ink); color: #F1F5F9; padding: 18px; border-radius: 10px; font-family: var(--mono); font-size: 13.5px; overflow-x: auto; line-height: 1.5; margin: 16px 0; }

/* Login */
.login-page { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; background: var(--surface); }
.login-brand-side {
  background: var(--forest); color: #fff; padding: 64px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden;
}
.login-brand-side::before {
  content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(52,211,153,.22), transparent 60%);
}
.login-form-side { display: grid; place-items: center; padding: 48px; background: var(--bg); }
.login-box { width: 100%; max-width: 420px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 40px; box-shadow: var(--shadow); }
.login-box h2 { font-size: 24px; margin-bottom: 8px; }
.login-box p.lead { font-size: 14.5px; color: var(--muted); margin-bottom: 28px; }
.sso-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 12px;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 10px; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .15s;
}
.sso-btn:hover { background: var(--bg); }
.divider { display: flex; align-items: center; text-align: center; margin: 20px 0; color: var(--muted); font-size: 12.5px; }
.divider::before, .divider::after { content: ""; flex: 1; border-bottom: 1px solid var(--line); }
.divider span { padding: 0 12px; }

@media (max-width: 900px) {
  .legal-layout, .api-grid { grid-template-columns: 1fr; gap: 28px; }
  .legal-nav, .api-sidebar { position: static; }
  .blog-grid, .help-grid { grid-template-columns: 1fr; }
  .job-card { flex-direction: column; align-items: flex-start; }
  .job-card .btn { width: 100%; }
  .login-page { grid-template-columns: 1fr; }
  .login-brand-side { display: none; }
}
