/* EZ-Summary / VisionGrid — landing site
   Warm-light, accountant-friendly, modern & elegant.
   Tokens mirror the desktop app (src/ui/styles.py). */

:root {
  --bg: #FDFCF8;
  --bg-elev: #FFFFFF;
  --bg-soft: #F5F4EF;
  --accent: #2658A8;
  --accent-700: #1E4685;
  --accent-50: #EAF0FA;
  --ink: #1F2937;
  --ink-2: #4B5563;
  --ink-3: #6B7280;
  --line: #ECEAE3;
  --line-2: #E4E1D8;
  --danger: #B42318;
  --ok: #157F3D;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(31, 41, 55, 0.06), 0 1px 3px rgba(31, 41, 55, 0.04);
  --shadow: 0 4px 14px rgba(31, 41, 55, 0.08);
  --shadow-lg: 0 18px 50px rgba(31, 41, 55, 0.12);
  --font: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --maxw: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

img, svg { display: block; max-width: 100%; }

h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 0.4em; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; color: var(--ink-2); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

section { padding: 84px 0; }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head .eyebrow { color: var(--accent); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; }
.section-head p { font-size: 1.08rem; margin-top: 0.6em; }

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 11px; --pad-x: 20px;
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 8px; border: 2px solid transparent;
  font: inherit; font-weight: 600; font-size: 0.97rem;
  cursor: pointer; transition: all 0.18s var(--ease); text-decoration: none;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn-accent:hover { background: var(--accent-700); color: #fff; }
.btn-secondary { background: var(--accent-50); color: var(--accent); }
.btn-secondary:hover { background: #DCE6F6; color: var(--accent-700); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { --pad-y: 14px; --pad-x: 26px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253, 252, 248, 0.82);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.nav.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.brand:hover { text-decoration: none; }
.brand .mark { width: 28px; height: 28px; flex: 0 0 auto; }
.brand .vg { color: var(--ink); }
.brand .ez { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--ink-2); font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: var(--accent); text-decoration: none; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-account-wrap { position: relative; }
.nav-account-toggle { display: inline-flex; align-items: center; gap: 6px; }
.nav-account-toggle .caret { transition: transform 0.18s var(--ease); }
.nav-account-toggle[aria-expanded="true"] .caret { transform: rotate(180deg); }
.nav-account-menu {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 168px;
  background: var(--bg-elev); border: 1px solid var(--line); border-radius: 10px;
  box-shadow: var(--shadow); padding: 6px; z-index: 50;
}
.dd-item {
  display: block; width: 100%; text-align: left; padding: 9px 12px; border: 0; background: none;
  border-radius: 7px; color: var(--ink); font: inherit; font-size: 0.9rem; cursor: pointer; text-decoration: none;
}
.dd-item:hover { background: var(--accent-50); color: var(--accent-700); text-decoration: none; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; color: var(--ink); }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; transition: 0.2s; }

/* ---------- Hero ---------- */
.hero { padding: 90px 0 72px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 80% 0%, rgba(38, 88, 168, 0.08), transparent 70%),
    radial-gradient(40% 40% at 0% 20%, rgba(38, 88, 168, 0.05), transparent 70%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero .tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-50); color: var(--accent-700);
  padding: 6px 14px; border-radius: 999px; font-size: 0.82rem; font-weight: 600;
  margin-bottom: 22px;
}
.hero .tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.hero h1 { margin-bottom: 0.35em; }
.hero .lead { font-size: 1.18rem; color: var(--ink-2); max-width: 540px; margin-bottom: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
.hero-note { font-size: 0.88rem; color: var(--ink-3); }

/* Hero visual: a clean mock of the app window */
.hero-visual { position: relative; }
.mock {
  background: var(--bg-elev); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.mock-bar { display: flex; gap: 7px; padding: 12px 14px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.mock-bar i { width: 11px; height: 11px; border-radius: 50%; background: #E2E0D8; display: block; }
.mock-bar i:nth-child(1) { background: #E06C6C; }
.mock-bar i:nth-child(2) { background: #E0B26C; }
.mock-bar i:nth-child(3) { background: #7BBE7B; }
.mock-body { padding: 18px 18px 22px; display: grid; gap: 12px; }
.mock-row { display: flex; align-items: center; gap: 12px; }
.mock-card {
  flex: 1; background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
  padding: 14px 16px;
}
.mock-card .k { font-size: 0.74rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.06em; }
.mock-card .v { font-size: 1.5rem; font-weight: 700; color: var(--ink); }
.mock-table { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.mock-table .th, .mock-table .td { padding: 9px 14px; font-size: 0.82rem; }
.mock-table .th { background: var(--accent-50); color: var(--accent-700); font-weight: 600; display: grid; grid-template-columns: 1.4fr 1fr 1fr; }
.mock-table .tr { display: grid; grid-template-columns: 1.4fr 1fr 1fr; border-top: 1px solid var(--line); }
.mock-table .tr:nth-child(even) { background: #FBFAF6; }
.mock-table .td { color: var(--ink-2); }
.mock-pill { display: inline-block; padding: 3px 10px; border-radius: 999px; background: #E6F4EA; color: var(--ok); font-size: 0.74rem; font-weight: 600; }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px; font-size: 0.76rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.badge-ready { background: #E6F4EA; color: var(--ok); }
.badge-soon { background: #FFF4E0; color: #B26B00; }
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* ---------- Product cards ---------- */
.products-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.product-card {
  background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow-sm); transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.product-card .head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.product-card .logo { width: 44px; height: 44px; border-radius: 10px; background: var(--accent-50); display: grid; place-items: center; flex: 0 0 auto; }
.product-card .logo svg { width: 26px; height: 26px; }
.product-card h3 { font-size: 1.4rem; margin-bottom: 0.1em; }
.product-card .sub { color: var(--ink-3); font-size: 0.92rem; margin-bottom: 18px; }
.product-card .desc { color: var(--ink-2); margin-bottom: 20px; }
.feature-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.feature-list li { position: relative; padding-left: 26px; color: var(--ink-2); font-size: 0.95rem; }
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--accent-50);
}
.feature-list li::after {
  content: ""; position: absolute; left: 5px; top: 9px; width: 6px; height: 9px;
  border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.product-card .actions { margin-top: auto; display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.price-card {
  background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px 24px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  position: relative; transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.price-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.price-card.featured { border-color: var(--accent); box-shadow: 0 10px 30px rgba(38, 88, 168, 0.16); }
.price-card .ribbon {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; font-size: 0.72rem; font-weight: 700;
  padding: 5px 14px; border-radius: 999px; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap;
}
.price-card .tier { font-weight: 700; font-size: 1.1rem; color: var(--ink); }
.price-card .price { display: flex; align-items: baseline; gap: 4px; margin: 14px 0 4px; }
.price-card .amount { font-size: 2.1rem; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.price-card .per { color: var(--ink-3); font-size: 0.9rem; }
.price-card .blurb { color: var(--ink-3); font-size: 0.85rem; min-height: 2.4em; margin-bottom: 18px; }
.price-card .quota { font-size: 0.92rem; color: var(--ink-2); margin-bottom: 18px; }
.price-card .quota b { color: var(--ink); }
.price-features { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 9px; flex: 1; }
.price-features li { color: var(--ink-2); font-size: 0.9rem; padding-left: 22px; position: relative; }
.price-features li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent-50);
}
.price-features li::after {
  content: ""; position: absolute; left: 4px; top: 8px; width: 6px; height: 9px;
  border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.price-features li.muted { color: var(--ink-3); }
.price-features li.muted::before { background: #F0EEE8; }
.price-features li.muted::after { border-color: #C2BFB5; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.contact-info h3 { font-size: 1.4rem; }
.contact-info .meta { margin-top: 24px; display: grid; gap: 16px; }
.contact-info .meta-row { display: flex; gap: 14px; align-items: flex-start; }
.contact-info .meta-row .ico { width: 40px; height: 40px; border-radius: 10px; background: var(--accent-50); display: grid; place-items: center; flex: 0 0 auto; color: var(--accent); }
.contact-info .meta-row .k { font-size: 0.8rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.05em; }
.contact-info .meta-row .v { color: var(--ink); font-weight: 500; }

.form-card { background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field label .req { color: var(--danger); }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 13px; border: 1.5px solid var(--line-2); border-radius: 8px;
  background: var(--bg); color: var(--ink); font: inherit; font-size: 0.96rem; transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(38, 88, 168, 0.16);
}
.field textarea { resize: vertical; min-height: 120px; }
.field.honeypot { position: absolute; left: -9999px; top: -9999px; opacity: 0; }
.form-status { margin-top: 8px; font-size: 0.9rem; min-height: 1.2em; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--danger); }
.form-note { font-size: 0.8rem; color: var(--ink-3); margin-top: 14px; }

/* ---------- Auth / account shared ---------- */
.auth-page { min-height: 100vh; display: grid; place-items: center; padding: 40px 16px; background: var(--bg); }
.auth-card {
  background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 36px; width: 100%; max-width: 440px; box-shadow: var(--shadow);
}
.auth-card h1 { font-size: 1.6rem; margin-bottom: 6px; }
.auth-card .subtitle { color: var(--ink-3); margin-bottom: 24px; font-size: 0.95rem; }
.auth-card .field label { font-size: 0.82rem; }
.auth-card .btn-block { margin-top: 6px; }
.auth-links { text-align: center; margin-top: 18px; font-size: 0.9rem; color: var(--ink-3); }
.auth-links a { font-weight: 600; }
.auth-error { color: var(--danger); font-size: 0.9rem; margin-top: 10px; min-height: 1.2em; }
.auth-success { color: var(--ok); font-size: 0.9rem; margin-top: 10px; }

/* ---------- Checkout ---------- */
.checkout-page { padding: 72px 0; }
.checkout-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: start; }
.checkout-card {
  background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow-sm);
}
.checkout-card h2 { font-size: 1.3rem; margin-bottom: 18px; }
.checkout-step { display: none; }
.checkout-step.active { display: block; }
.checkout-plan {
  background: var(--accent-50); border: 1px solid #D7E3F6; border-radius: 12px;
  padding: 18px 20px; margin-bottom: 22px;
}
.checkout-plan .tier { font-weight: 700; color: var(--accent-700); }
.checkout-plan .price { font-size: 1.5rem; font-weight: 700; color: var(--ink); }
.checkout-plan .quota { color: var(--ink-2); font-size: 0.9rem; }
.checkout-toggle {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px;
  padding: 14px 16px; margin-bottom: 22px; text-align: center; font-size: 0.95rem;
}
.checkout-toggle a { font-weight: 600; }
.checkout-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }
.checkout-actions.single { justify-content: flex-end; }
#card-element { background: var(--bg); border: 1.5px solid var(--line-2); border-radius: 8px; padding: 14px; }
#card-errors { color: var(--danger); font-size: 0.9rem; margin-top: 10px; min-height: 1.2em; }

@media (max-width: 840px) {
  .checkout-grid { grid-template-columns: 1fr; }
}

/* ---------- Account ---------- */
.account-page { padding: 60px 0; }
.account-grid { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; }
.account-sidebar {
  background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px; box-shadow: var(--shadow-sm);
}
.account-sidebar h2 { font-size: 1.1rem; margin-bottom: 16px; }
.account-sidebar nav { display: grid; gap: 8px; }
.account-sidebar a {
  display: block; padding: 10px 12px; border-radius: 8px; color: var(--ink-2); font-size: 0.94rem;
}
.account-sidebar a.active, .account-sidebar a:hover { background: var(--accent-50); color: var(--accent-700); }
.account-content { background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.verify-banner {
  background: #FFF7E6; border: 1px solid #F3C969; border-radius: 10px; padding: 16px 18px;
  margin-bottom: 24px; display: flex; align-items: flex-start; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
/* The `hidden` attribute must win over `display:flex` above, otherwise the
   banner can never be hidden by setting box.hidden = true. */
.verify-banner[hidden] { display: none !important; }
.verify-banner strong { color: var(--ink); }
.verify-banner p { margin: 4px 0 0; color: var(--ink-3); font-size: 0.92rem; }
.verify-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.btn-link { background: none; border: none; padding: 0; cursor: pointer; color: var(--blue, #2658A8); font-size: 0.88rem; text-decoration: underline; }
.btn-link:disabled { opacity: 0.5; cursor: default; }
.licenses-list { display: grid; gap: 12px; }
.license-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 16px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.license-card .key { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 600; }
@media (max-width: 720px) {
  .account-grid { grid-template-columns: 1fr; }
}

/* ---------- Account: subscription + wallet ---------- */
.license-card { display: block; }
.license-card .key { display: none; }
.lic-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.lic-tier { font-weight: 700; text-transform: capitalize; font-size: 1.05rem; }
.lic-key { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 600; font-size: 0.85rem; color: var(--ink-3); margin-bottom: 8px; word-break: break-all; }
.lic-meta { font-size: 0.85rem; color: var(--ink-3); margin-top: 2px; }
.lic-actions { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.lic-status { font-size: 0.74rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; text-transform: capitalize; }
.lic-status.active, .lic-status.trialing { background: rgba(34, 139, 34, 0.12); color: #1f7a1f; }
.lic-status.past_due { background: rgba(180, 90, 0, 0.12); color: #9a5b00; }
.lic-status.canceled, .lic-status.expired { background: rgba(120, 120, 120, 0.14); color: #555; }

.btn-sm { padding: 6px 12px; font-size: 0.82rem; }
.btn-sm.danger { color: var(--danger, #B42318); }

.cards-list { display: grid; gap: 12px; }
.card-row {
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.card-info { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.card-brand { font-weight: 600; text-transform: capitalize; }
.card-last4 { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.card-exp { font-size: 0.82rem; color: var(--ink-3); }
.card-default { font-size: 0.72rem; font-weight: 600; color: #1f7a1f; background: rgba(34, 139, 34, 0.12); padding: 2px 8px; border-radius: 999px; }
.card-actions { display: flex; gap: 8px; }

/* Checkout saved-card choice */
.saved-card-choice { display: grid; gap: 10px; }
.cc-radio { display: flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 400; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; }
.cc-radio:has(input:checked) { border-color: var(--accent); background: var(--accent-50); }

/* ---------- Waitlist banner ---------- */
.waitlist {
  background: linear-gradient(135deg, var(--accent-50), #F3F7FE);
  border: 1px solid #D7E3F6; border-radius: var(--radius-lg); padding: 36px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.waitlist .txt h3 { margin-bottom: 0.2em; }
.waitlist .txt p { margin: 0; color: var(--ink-2); }
.waitlist-form { display: flex; gap: 10px; flex-wrap: wrap; }
.waitlist-form input { padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: 8px; font: inherit; min-width: 240px; }
.waitlist-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(38, 88, 168, 0.16); }

/* ---------- Footer ---------- */
.footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 48px 0 32px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-3); margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { color: var(--ink-2); font-size: 0.92rem; }
.footer a:hover { color: var(--accent); }
.footer .brand { margin-bottom: 14px; }
.footer .about { color: var(--ink-3); font-size: 0.9rem; max-width: 280px; }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--ink-3); font-size: 0.85rem; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; max-width: 460px; }
  .contact-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 16px; position: absolute; top: 66px; left: 0; right: 0;
    background: var(--bg-elev); border-bottom: 1px solid var(--line); padding: 22px 24px; box-shadow: var(--shadow);
  }
  .products-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
  .hero { padding: 60px 0 50px; }
}