/* ==========================================================================
   Asaan Invoice — marketing site design system
   Tokens mirror apps/business-web/src/theme/tokens.css so the public site
   matches the product's emerald/forest palette and typography.
   ========================================================================== */

:root {
  --brand-50: #ecfdf5;
  --brand-100: #d1fae5;
  --brand-200: #a7f3d0;
  --brand-300: #6ee7b7;
  --brand-400: #34d399;
  --brand-500: #10b981;
  --brand-600: #059669;
  --brand-700: #047857;
  --brand-800: #065f46;
  --brand-900: #064e3b;

  --side-bg: #0a1f1a;
  --side-elev: #10302a;
  --side-text: #e6f2ee;
  --side-muted: #7fa398;

  --ink-900: #0f1c18;
  --ink-700: #33443f;
  --ink-500: #63756f;
  --ink-400: #93a39d;
  --line-200: #e4eae7;
  --line-300: #cfd9d5;
  --canvas: #f1f6f3;
  --shell-tint: #e8f2ed;
  --surface: #ffffff;
  --subtle: #f9fbfa;
  --accent-600: #4f46e5;
  --gold: #e7b75f;

  --success-bg: #dcfce7;
  --success-text: #166534;
  --warning-bg: #fef3c7;
  --warning-text: #92400e;
  --error-bg: #fee2e2;
  --error-text: #b91c1c;
  --error-solid: #dc2626;
  --info-bg: #e0e7ff;
  --info-text: #3730a3;
  --neutral-pill-bg: #eef2f0;
  --neutral-pill-text: #4b5c56;

  --radius-input: 8px;
  --radius-card: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --shadow-e1: 0 1px 2px rgba(10, 31, 26, 0.05);
  --shadow-e2: 0 8px 24px rgba(10, 31, 26, 0.1);
  --shadow-e3: 0 24px 56px rgba(10, 31, 26, 0.22);

  --font-body: 'Geist', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Bricolage Grotesque', 'Geist', Inter, system-ui, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --maxw: 1180px;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-900);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-display);
  color: var(--ink-900);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.3rem, 5vw, 3.6rem);
}

h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
}

h3 {
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

h4 {
  font-size: 1.05rem;
}

p {
  margin: 0 0 1rem;
  color: var(--ink-700);
}

a {
  color: var(--brand-700);
  text-decoration: none;
  transition: color 140ms ease-out;
}

a:hover {
  color: var(--brand-800);
}

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

ul,
ol {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

li {
  margin-bottom: 0.4rem;
}

strong {
  color: var(--ink-900);
  font-weight: 600;
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid rgba(79, 70, 229, 0.35);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection {
  background: var(--brand-200);
  color: var(--brand-900);
}

.tabular,
[data-numeric] {
  font-variant-numeric: tabular-nums;
}

/* ---------------------------------------------------------------- layout */

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 20px;
}

@media (min-width: 768px) {
  .container {
    padding-inline: 32px;
  }
}

.section {
  padding-block: clamp(3.5rem, 8vw, 6rem);
}

.section--tight {
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
}

.section--tint {
  background: var(--shell-tint);
}

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

.section--dark {
  background: var(--side-bg);
  color: var(--side-text);
}

.section--dark h2,
.section--dark h3 {
  color: #fff;
}

.section--dark p {
  color: var(--side-muted);
}

.section--dark a {
  color: var(--brand-300);
}

.grid {
  display: grid;
  gap: 24px;
}

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

@media (min-width: 900px) {
  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.center {
  text-align: center;
}

.mx-auto {
  margin-inline: auto;
}

.measure {
  max-width: 62ch;
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-head.center {
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-700);
  margin-bottom: 14px;
}

.section--dark .eyebrow {
  color: var(--brand-300);
}

.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.lead {
  font-size: 1.12rem;
  color: var(--ink-500);
}

.section--dark .lead {
  color: var(--side-muted);
}

.muted {
  color: var(--ink-500);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  background: var(--brand-700);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-input);
  transition: top 140ms ease-out;
}

.skip-link:focus {
  top: 12px;
  color: #fff;
}

/* --------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-input);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 140ms ease-out, background 140ms ease-out,
    border-color 140ms ease-out, color 140ms ease-out, box-shadow 140ms ease-out;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--brand-700);
  color: #fff;
  box-shadow: var(--shadow-e1);
}

.btn--primary:hover {
  background: var(--brand-800);
  color: #fff;
}

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

.btn--outline:hover {
  border-color: var(--brand-600);
  color: var(--brand-800);
}

.btn--ghost {
  background: transparent;
  color: var(--brand-800);
}

.btn--ghost:hover {
  background: var(--brand-50);
}

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

.btn--light:hover {
  background: var(--brand-100);
  color: var(--brand-900);
}

.btn--onDark {
  background: transparent;
  color: var(--side-text);
  border-color: rgba(230, 242, 238, 0.3);
}

.btn--onDark:hover {
  color: #fff;
  border-color: var(--brand-300);
}

.btn--lg {
  min-height: 52px;
  padding: 0 26px;
  font-size: 1rem;
}

.btn--block {
  width: 100%;
}

.btn[aria-disabled='true'] {
  opacity: 0.6;
  pointer-events: none;
}

/* ----------------------------------------------------------------- cards */

.card {
  background: var(--surface);
  border: 1px solid var(--line-200);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-e1);
  padding: 24px;
}

.card--pad-lg {
  padding: 32px;
}

.card--lift {
  transition: transform 160ms ease-out, box-shadow 160ms ease-out,
    border-color 160ms ease-out;
}

.card--lift:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-e2);
  border-color: var(--brand-200);
}

.card h3 {
  margin-bottom: 8px;
}

.card p:last-child {
  margin-bottom: 0;
}

.icon-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--brand-50);
  color: var(--brand-700);
  border: 1px solid var(--brand-100);
  margin-bottom: 16px;
}

.icon-tile svg {
  width: 23px;
  height: 23px;
}

.icon-tile--gold {
  background: #fdf6e7;
  color: #9a6b12;
  border-color: #f2e2bd;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--brand-50);
  color: var(--brand-800);
  border: 1px solid var(--brand-100);
}

.pill--neutral {
  background: var(--neutral-pill-bg);
  color: var(--neutral-pill-text);
  border-color: transparent;
}

.pill--success {
  background: var(--success-bg);
  color: var(--success-text);
  border-color: transparent;
}

.pill--info {
  background: var(--info-bg);
  color: var(--info-text);
  border-color: transparent;
}

.pill svg {
  width: 14px;
  height: 14px;
}

/* ---------------------------------------------------------------- header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(241, 246, 243, 0.88);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line-200);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink-900);
  font-weight: 700;
}

.brand:hover {
  color: var(--ink-900);
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: block;
  flex: none;
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-sub {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-500);
}

.nav {
  display: none;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-700);
}

.nav-link:hover,
.nav-link[aria-current='page'] {
  background: var(--brand-50);
  color: var(--brand-800);
}

.header-actions {
  display: none;
  align-items: center;
  gap: 10px;
}

.mobile-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-300);
  background: var(--surface);
  border-radius: var(--radius-input);
  color: var(--ink-900);
  cursor: pointer;
}

.mobile-toggle svg {
  width: 22px;
  height: 22px;
}

@media (min-width: 960px) {
  .nav,
  .header-actions {
    display: flex;
  }

  .mobile-toggle {
    display: none;
  }
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 0 20px;
  border-top: 1px solid var(--line-200);
}

.mobile-menu .nav-link {
  padding: 12px;
  font-size: 1rem;
}

.mobile-menu .btn {
  margin-top: 8px;
}

[x-cloak] {
  display: none !important;
}

/* ------------------------------------------------------------------ hero */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 520px at 88% -12%, rgba(52, 211, 153, 0.22), transparent 60%),
    radial-gradient(760px 420px at -6% 6%, rgba(16, 185, 129, 0.14), transparent 55%),
    var(--canvas);
}

.hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
  padding-block: clamp(2.5rem, 6vw, 5rem);
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
  }
}

.hero-title {
  margin-bottom: 18px;
}

.hero-title .accent {
  color: var(--brand-700);
}

.hero-lead {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: var(--ink-500);
  max-width: 56ch;
  margin-bottom: 28px;
}

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

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  font-size: 0.86rem;
  color: var(--ink-500);
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-trust svg {
  width: 16px;
  height: 16px;
  color: var(--brand-600);
}

.hero-visual {
  position: relative;
}

/* Product mock — pure CSS invoice preview */
.mock {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-e3);
  overflow: hidden;
}

.mock-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: var(--side-bg);
}

.mock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(230, 242, 238, 0.28);
}

.mock-url {
  margin-left: 10px;
  font-size: 0.72rem;
  color: var(--side-muted);
  font-family: var(--font-mono);
}

.mock-body {
  padding: 20px;
}

.hero-visual .mock-body {
  padding-bottom: 64px;
}

.mock-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-200);
  margin-bottom: 14px;
}

.mock-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
}

.mock-sub {
  font-size: 0.72rem;
  color: var(--ink-500);
}

.mock-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line-200);
  font-size: 0.82rem;
}

.mock-row span:first-child {
  color: var(--ink-500);
}

.mock-row .amt {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.mock-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 14px;
  font-weight: 700;
}

.mock-total .amt {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--brand-800);
  font-variant-numeric: tabular-nums;
}

.mock-badge {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  background: var(--success-bg);
  color: var(--success-text);
  font-size: 0.74rem;
  font-weight: 600;
  box-shadow: var(--shadow-e1);
}

.mock-badge svg {
  width: 14px;
  height: 14px;
}

.mock-float {
  position: absolute;
  left: -14px;
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--radius-card);
  background: var(--surface);
  border: 1px solid var(--line-200);
  box-shadow: var(--shadow-e2);
  font-size: 0.78rem;
  font-weight: 600;
}

.mock-float svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
}

@media (max-width: 480px) {
  .mock-float {
    display: none;
  }
}

/* ------------------------------------------------------------ stat band */

.stat-band {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line-200);
  border: 1px solid var(--line-200);
  border-radius: var(--radius-card);
  overflow: hidden;
}

@media (min-width: 720px) {
  .stat-band {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat {
  background: var(--surface);
  padding: 26px 22px;
}

.stat .num {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.2rem);
  font-weight: 700;
  color: var(--brand-700);
  line-height: 1;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}

.stat .lbl {
  font-size: 0.85rem;
  color: var(--ink-500);
}

/* --------------------------------------------------------------- steps */

.steps {
  counter-reset: step;
  display: grid;
  gap: 24px;
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  position: relative;
  padding-top: 8px;
}

.step .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-700);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 16px;
}

.steps--dark .step .step-num {
  background: var(--brand-400);
  color: var(--brand-900);
}

/* -------------------------------------------------------------- pricing */

.pricing-grid {
  display: grid;
  gap: 24px;
  align-items: stretch;
}

@media (min-width: 860px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.price-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line-200);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-e1);
}

.price-card--featured {
  border-color: var(--brand-400);
  box-shadow: var(--shadow-e2);
  position: relative;
}

.price-card--featured::after {
  content: 'Most popular';
  position: absolute;
  top: -13px;
  left: 26px;
  background: var(--brand-700);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}

.price-tier {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.price-desc {
  font-size: 0.9rem;
  color: var(--ink-500);
  min-height: 44px;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--ink-900);
  margin: 14px 0 2px;
  font-variant-numeric: tabular-nums;
}

.price-amount .unit {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-500);
  font-family: var(--font-body);
}

.price-list {
  list-style: none;
  margin: 20px 0 26px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
}

.price-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--ink-700);
  margin: 0;
}

.price-list svg {
  width: 18px;
  height: 18px;
  color: var(--brand-600);
  flex: none;
  margin-top: 2px;
}

.price-note {
  text-align: center;
  margin-top: 24px;
  font-size: 0.88rem;
  color: var(--ink-500);
}

/* --------------------------------------------------------------- table */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line-200);
  border-radius: var(--radius-card);
  background: var(--surface);
}

table.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 640px;
}

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

table.compare thead th {
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-500);
  background: var(--subtle);
  font-weight: 600;
}

table.compare tbody tr:last-child td {
  border-bottom: 0;
}

table.compare td:not(:first-child),
table.compare th:not(:first-child) {
  text-align: center;
}

table.compare svg {
  width: 18px;
  height: 18px;
  vertical-align: middle;
}

table.compare .yes {
  color: var(--brand-600);
}

table.compare .no {
  color: var(--ink-400);
}

/* ------------------------------------------------------------------ faq */

.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line-200);
  border-radius: var(--radius-card);
  background: var(--surface);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: transparent;
  border: 0;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-900);
  cursor: pointer;
}

.faq-q svg {
  width: 20px;
  height: 20px;
  color: var(--brand-600);
  flex: none;
  transition: transform 160ms ease-out;
}

.faq-item[data-open] .faq-q svg {
  transform: rotate(180deg);
}

.faq-a {
  padding: 0 20px 20px;
  color: var(--ink-700);
  font-size: 0.94rem;
}

.faq-a p:last-child {
  margin-bottom: 0;
}

/* ------------------------------------------------------------- cta band */

.cta-band {
  background:
    radial-gradient(700px 340px at 82% 0%, rgba(52, 211, 153, 0.2), transparent 60%),
    var(--side-bg);
  color: var(--side-text);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}

.cta-band h2 {
  color: #fff;
}

.cta-band p {
  color: var(--side-muted);
  max-width: 56ch;
  margin-inline: auto;
}

.cta-band .hero-actions {
  justify-content: center;
  margin-bottom: 0;
  margin-top: 26px;
}

/* --------------------------------------------------------------- footer */

.site-footer {
  background: var(--side-bg);
  color: var(--side-muted);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
}

.footer-grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 1.4fr repeat(3, 1fr);
  }
}

.footer-brand .brand {
  color: #fff;
  margin-bottom: 14px;
}

.footer-brand p {
  color: var(--side-muted);
  font-size: 0.9rem;
  max-width: 34ch;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 14px;
  font-family: var(--font-body);
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a,
.footer-col span {
  color: var(--side-muted);
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--brand-300);
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(230, 242, 238, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
}

/* ----------------------------------------------------------------- form */

.form-grid {
  display: grid;
  gap: 18px;
}

@media (min-width: 620px) {
  .form-grid--2 {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-700);
}

.field label .req {
  color: var(--error-solid);
}

.input,
.select,
.textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 13px;
  font: inherit;
  font-size: 0.94rem;
  color: var(--ink-900);
  background: var(--surface);
  border: 1px solid var(--line-300);
  border-radius: var(--radius-input);
  transition: border-color 140ms ease-out, box-shadow 140ms ease-out;
}

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

.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--accent-600);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.25);
}

.field[data-invalid] .input,
.field[data-invalid] .select,
.field[data-invalid] .textarea {
  border-color: var(--error-solid);
}

.field-error {
  font-size: 0.8rem;
  color: var(--error-solid);
  min-height: 1em;
}

.field-hint {
  font-size: 0.8rem;
  color: var(--ink-500);
}

.form-status {
  border-radius: var(--radius-card);
  padding: 14px 16px;
  font-size: 0.9rem;
}

.form-status[data-kind='success'] {
  background: var(--success-bg);
  color: var(--success-text);
}

.form-status[data-kind='error'] {
  background: var(--error-bg);
  color: var(--error-text);
}

.form-status[data-kind='info'] {
  background: var(--info-bg);
  color: var(--info-text);
}

/* ------------------------------------------------------------ page hero */

.page-hero {
  background:
    radial-gradient(900px 400px at 85% -20%, rgba(52, 211, 153, 0.2), transparent 60%),
    var(--canvas);
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 3vw, 2.5rem);
  border-bottom: 1px solid var(--line-200);
}

.page-hero h1 {
  font-size: clamp(2rem, 4.4vw, 3rem);
  margin-bottom: 14px;
}

.page-hero p {
  font-size: 1.1rem;
  color: var(--ink-500);
  max-width: 62ch;
}

.breadcrumbs {
  font-size: 0.85rem;
  color: var(--ink-500);
  margin-bottom: 16px;
}

.breadcrumbs a {
  color: var(--ink-500);
}

.breadcrumbs a:hover {
  color: var(--brand-700);
}

/* -------------------------------------------------------- feature detail */

.feature-row {
  display: grid;
  gap: 32px;
  align-items: center;
}

@media (min-width: 900px) {
  .feature-row {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }

  .feature-row--flip .feature-media {
    order: -1;
  }
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.check-list li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  color: var(--ink-700);
  margin: 0;
}

.check-list svg {
  width: 20px;
  height: 20px;
  color: var(--brand-600);
  flex: none;
  margin-top: 2px;
}

.media-card {
  background: var(--surface);
  border: 1px solid var(--line-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-e2);
  padding: 22px;
}

.tax-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tax-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border: 1px solid var(--line-200);
  border-radius: var(--radius-input);
  background: var(--subtle);
  font-size: 0.9rem;
}

.tax-row .k {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-700);
}

.tax-row .v {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: var(--radius-card);
  background: var(--info-bg);
  color: var(--info-text);
  font-size: 0.9rem;
}

.note svg {
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 1px;
}

.note p:last-child {
  margin-bottom: 0;
}

/* ---------------------------------------------------------- animation */

[data-aos] {
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
  }
}
