/* ============================================================
 * SwiftSheet landing styles
 * Design tokens, reset, typography, shared components.
 * Page-specific sections live at the bottom.
 * ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --accent: #8b7bc4;
  --accent-hover: #7a6aaf;
  --accent-soft: rgba(139, 123, 196, 0.13);
  --accent-softer: rgba(139, 123, 196, 0.09);
  --max: 1180px;
  --pad-x: 32px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 999px;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 30px 80px rgba(0, 0, 0, 0.3);
  --header-h: 64px;
}

html[data-theme="light"] {
  --bg: #fafafa;
  --bg2: #f0efed;
  --ink: #0f0f10;
  --mute: #6b6b70;
  --line: rgba(0, 0, 0, 0.08);
  --card: #ffffff;
  --nav-bg: rgba(250, 250, 250, 0.8);
  --pill-bg: rgba(0, 0, 0, 0.04);
  --pill-active-bg: #ffffff;
  --pill-active-shadow: var(--shadow-sm);
}
html[data-theme="dark"] {
  --bg: #0e0e10;
  --bg2: #17171a;
  --ink: #ffffff;
  --mute: #9a9aa2;
  --line: rgba(255, 255, 255, 0.08);
  --card: #1a1a1d;
  --nav-bg: rgba(14, 14, 16, 0.75);
  --pill-bg: rgba(255, 255, 255, 0.05);
  --pill-active-bg: rgba(255, 255, 255, 0.1);
  --pill-active-shadow: none;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background 0.15s ease, color 0.15s ease;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
input, textarea { font-family: inherit; }
input:focus, textarea:focus { outline: none; }
::selection { background: var(--accent); color: #fff; }

/* ---------- Layout primitives ---------- */
.container { max-width: var(--max); margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }
.section { padding: 72px 0; }
.section--tight { padding: 40px 0; }
.section--loose { padding: 100px 0; }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--accent); }
.eyebrow .badge {
  margin-left: 4px; padding: 2px 8px; border-radius: var(--radius-pill);
  background: var(--accent-soft); color: var(--accent);
  font-size: 9px; letter-spacing: 0.06em;
}
.h1-hero {
  font-size: clamp(38px, 5.5vw, 68px); line-height: 1.02;
  letter-spacing: -0.03em; font-weight: 700;
  margin-bottom: 22px;
}
.h1-hero .mute { color: var(--mute); }
.hero-sub { font-size: 18px; color: var(--mute); line-height: 1.5; max-width: 640px; }

/* ---------- Nav ---------- */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--nav-bg);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 14px var(--pad-x);
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 17px; letter-spacing: -0.01em;
}
.nav-logo img { width: 28px; height: 28px; border-radius: 7px; }
.nav-pills {
  display: flex; gap: 4px;
  background: var(--pill-bg); border-radius: var(--radius-pill);
  padding: 4px;
  font-size: 13px; font-weight: 500;
}
.nav-pills a {
  padding: 7px 16px; border-radius: var(--radius-pill);
  color: var(--mute); transition: color 0.15s ease;
}
.nav-pills a[aria-current="page"] {
  background: var(--pill-active-bg);
  color: var(--ink);
  box-shadow: var(--pill-active-shadow);
}
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-login { font-size: 13px; font-weight: 600; color: var(--mute); }
.theme-toggle {
  width: 34px; height: 34px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); color: var(--mute);
  display: grid; place-items: center;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.theme-toggle:hover { color: var(--ink); border-color: var(--mute); }
.theme-toggle .ph-sun { display: none; }
html[data-theme="dark"] .theme-toggle .ph-moon { display: none; }
html[data-theme="dark"] .theme-toggle .ph-sun { display: block; }

.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: var(--radius-pill);
  background: var(--ink); color: var(--bg);
  font-size: 13px; font-weight: 600;
}

/* Hamburger (mobile only) */
.nav-hamburger {
  display: none;
  width: 34px; height: 34px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); color: var(--ink);
  align-items: center; justify-content: center;
}
.mobile-menu {
  display: none;
  position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
  background: var(--bg);
  padding: 24px var(--pad-x);
  z-index: 49;
  overflow-y: auto;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 16px 0;
  font-size: 18px; font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.mobile-menu .nav-cta { margin-top: 20px; justify-content: center; padding: 14px; font-size: 15px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px; border-radius: 12px;
  font-size: 15px; font-weight: 600;
  transition: background 0.15s ease, transform 0.1s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 10px 24px rgba(139, 123, 196, 0.27);
}
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--mute); }
.btn-on-accent {
  background: #fff; color: var(--accent);
}
.btn-on-accent:hover { background: rgba(255, 255, 255, 0.92); }

/* ---------- Footer ---------- */
.site-footer {
  padding: 40px var(--pad-x) 50px;
  border-top: 1px solid var(--line);
  font-size: 13px; color: var(--mute);
  margin-top: 40px;
}
.footer-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.footer-brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--ink); font-weight: 700; font-size: 15px;
}
.footer-brand img { width: 24px; height: 24px; border-radius: 6px; }
.footer-brand .copy { font-weight: 500; color: var(--mute); margin-left: 6px; }
.footer-links { display: flex; gap: 22px; }
.footer-links a:hover { color: var(--ink); }

/* ---------- CTA block (gradient) ---------- */
.cta-block {
  max-width: var(--max); margin: 0 auto;
  padding: 52px 40px; border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--accent) 0%, #6f5fab 100%);
  color: #fff; text-align: center; position: relative; overflow: hidden;
}
.cta-block::before {
  content: ''; position: absolute; right: -100px; top: -120px;
  width: 400px; height: 400px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.1); filter: blur(40px);
  pointer-events: none;
}
.cta-block > * { position: relative; }
.cta-block h2 {
  font-size: clamp(28px, 3.5vw, 44px); letter-spacing: -0.025em;
  font-weight: 700; margin-bottom: 14px;
}
.cta-block p {
  font-size: 16px; opacity: 0.9; line-height: 1.5;
  margin-bottom: 26px; max-width: 480px;
  margin-left: auto; margin-right: auto;
}

/* ---------- Accordion (FAQ + Pricing features) ---------- */
.accordion-item {
  border-radius: var(--radius-md);
  background: var(--card);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.15s ease;
}
.accordion-item[open] { border-color: rgba(139, 123, 196, 0.4); }
.accordion-item + .accordion-item { margin-top: 10px; }
.accordion-summary {
  padding: 18px 20px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; cursor: pointer; list-style: none;
  font-size: 15px; font-weight: 600;
  color: var(--ink);
}
.accordion-summary::-webkit-details-marker { display: none; }
.accordion-summary .icon-plus { color: var(--accent); font-size: 16px; }
.accordion-item[open] .icon-plus::before { content: "\f26a"; /* minus */ }
.accordion-body {
  padding: 0 20px 20px; font-size: 14px; line-height: 1.6; color: var(--mute);
  border-top: 1px solid var(--line); padding-top: 16px;
}
/* Variant: pricing accordion has leading icon */
.accordion-summary .lead-icon {
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; flex-shrink: 0;
  font-size: 16px;
}
.accordion-summary .summary-text { flex: 1; }

/* ---------- Card grid (bento-style) ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.feature-card {
  padding: 20px; border-radius: var(--radius-md);
  background: var(--card); border: 1px solid var(--line);
}
.feature-card .icon {
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; margin-bottom: 14px;
  font-size: 16px;
}
.feature-card .title { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.feature-card .body { font-size: 13px; color: var(--mute); line-height: 1.5; }

/* ---------- Device frame (features page) ----------
 * Dark "bezel" frame wraps each screenshot. No fixed aspect ratio -
 * the image's natural height drives the frame size, so no letterbox
 * gaps even when screenshot dimensions vary slightly per shot. */
.device-frame { position: relative; width: 100%; }
.device-frame__screen { width: 100%; overflow: hidden; }
.device-frame__screen img { width: 100%; height: auto; display: block; }
.device-ipad-landscape {
  padding: 10px; border-radius: 22px;
  background: #1a1a1d; box-shadow: var(--shadow-lg);
}
.device-ipad-landscape .device-frame__screen { border-radius: 14px; }
.device-iphone {
  max-width: 280px; margin: 0 auto;
  padding: 6px; border-radius: 36px;
  background: #1a1a1d; box-shadow: var(--shadow-lg);
}
.device-iphone .device-frame__screen { border-radius: 30px; }
/* PDF is a paper document, not a device shot - keep card-style shadow */
.device-pdf {
  max-width: 420px; margin: 0 auto;
  border-radius: 8px; overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--line);
}

/* ---------- Prose (privacy/terms) ---------- */
.prose { max-width: 100%; }
.prose h2 { font-size: 26px; letter-spacing: -0.015em; font-weight: 600; margin-top: 48px; margin-bottom: 14px; }
.prose h3 { font-size: 17px; font-weight: 600; margin-top: 26px; margin-bottom: 10px; }
.prose p { font-size: 15px; line-height: 1.65; margin-bottom: 14px; }
.prose ul, .prose ol { margin: 10px 0 18px 22px; }
.prose li { font-size: 15px; line-height: 1.6; margin-bottom: 6px; }
.prose strong { font-weight: 600; }
.prose a { color: var(--accent); font-weight: 500; }
.prose a:hover { text-decoration: underline; }
html[data-theme="light"] .prose p,
html[data-theme="light"] .prose li { color: #3a3a3f; }
html[data-theme="light"] .prose strong { color: var(--ink); }
html[data-theme="dark"] .prose p,
html[data-theme="dark"] .prose li { color: #c2c2c8; }
html[data-theme="dark"] .prose strong { color: #ffffff; }

/* ---------- Page: About — icon cards list ---------- */
.about-sections { display: flex; flex-direction: column; gap: 52px; }
.about-sections h2 { font-size: 26px; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 14px; }
.about-sections p { font-size: 16px; color: var(--mute); line-height: 1.65; }
.about-sections p + p { margin-top: 14px; }
.why-list { display: flex; flex-direction: column; gap: 12px; }
.why-card {
  padding: 18px; border-radius: var(--radius-md);
  background: var(--card); border: 1px solid var(--line);
  display: flex; gap: 16px; align-items: center;
}
.why-card .icon {
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; flex-shrink: 0; font-size: 18px;
}
.why-card .title { font-size: 15px; font-weight: 600; }
.why-card .body { font-size: 13px; color: var(--mute); margin-top: 2px; line-height: 1.5; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .card-grid.cols-2,
  .card-grid.cols-3 { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  :root { --pad-x: 20px; --header-h: 60px; }
  .nav-pills, .nav-login { display: none; }
  .nav-hamburger { display: inline-flex; }
  .nav-actions { gap: 8px; }
  .site-footer { padding: 32px var(--pad-x) 40px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .section { padding: 52px 0; }
  .section--loose { padding: 64px 0; }
  .cta-block { padding: 40px 24px; }
}
@media (max-width: 480px) {
  .hero-sub { font-size: 16px; }
}

/* ============================================================
 * Page-specific components
 * ============================================================ */

/* ---------- Home hero ---------- */
.hero-home { position: relative; overflow: hidden; padding-top: 84px; padding-bottom: 40px; }
.hero-home .container { position: relative; }
.hero-glow { position: absolute; width: 700px; height: 700px; border-radius: 50%; background: var(--accent); filter: blur(160px); opacity: 0.13; left: -240px; bottom: -380px; pointer-events: none; }
html[data-theme="dark"] .hero-glow { opacity: 0.22; }
.new-pill { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 12px; font-weight: 500; color: var(--mute); margin-bottom: 28px; }
.new-pill .label { display: inline-flex; align-items: center; gap: 4px; background: var(--accent-soft); color: var(--accent); padding: 3px 9px; border-radius: 999px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.new-pill .label .dot { width: 5px; height: 5px; background: var(--accent); border-radius: 50%; }
.hero-home .h1-hero { font-size: clamp(44px, 6.5vw, 92px); line-height: 0.98; letter-spacing: -0.035em; margin-bottom: 28px; }
.hero-home .hero-sub { font-size: 19px; margin-bottom: 36px; max-width: 620px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 72px; }
.hero-stars { display: flex; align-items: center; gap: 6px; margin-left: 8px; color: #f5b759; font-size: 13px; }

/* ---------- Hero iPad + callouts ---------- */
.hero-device { position: relative; max-width: 1100px; margin: 0 auto; }
.hero-device__frame { position: relative; border-radius: 28px; padding: 10px; background: var(--bg2); border: 1px solid var(--line); box-shadow: var(--shadow-xl); }
.hero-device__frame img { width: 100%; border-radius: 20px; display: block; }
.callout-pill { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; background: var(--card); color: var(--ink); border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.callout-pill .icon { width: 32px; height: 32px; border-radius: 9px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: 16px; flex-shrink: 0; }
.callout-pill .label { font-size: 13px; font-weight: 600; line-height: 1.25; }
.callout-pill .sub { font-size: 11px; color: var(--mute); }
.callout-pill.top-left { top: 18%; left: -4%; }
.callout-pill.bottom-right { bottom: 18%; right: -4%; }

/* ---------- Marquee ---------- */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; overflow: hidden; }
.marquee-track { display: flex; gap: 48px; white-space: nowrap; animation: marq 40s linear infinite; font-size: 14px; font-weight: 500; color: var(--mute); }
.marquee-track span { display: inline-flex; align-items: center; gap: 48px; }
.marquee-track .sep { opacity: 0.4; }
@keyframes marq { to { transform: translateX(-33.333%); } }

/* ---------- Section head ---------- */
.section-head { max-width: 780px; margin-bottom: 48px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(30px, 4vw, 52px); line-height: 1.04; letter-spacing: -0.025em; font-weight: 700; }
.section-bg { background: var(--bg2); }

/* ---------- Home demo (form + PDF preview) ---------- */
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.demo-form { padding: 24px; border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.demo-form__header { display: flex; align-items: center; gap: 10px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.demo-form__header .icon { width: 32px; height: 32px; border-radius: 8px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: 16px; }
.demo-form__meta .title { font-weight: 600; font-size: 14px; }
.demo-form__meta .sub { font-size: 11px; color: var(--mute); }
.demo-form__live { margin-left: auto; display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--accent); background: rgba(139,123,196,0.13); padding: 4px 8px; border-radius: 999px; }
.demo-form__live .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }
.demo-field > label { display: block; font-size: 11px; color: var(--mute); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; }
.demo-field__input { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: var(--bg2); border: 1px solid var(--line); }
.demo-field__input i { color: var(--mute); font-size: 15px; }
.demo-field__input input { flex: 1; background: transparent; border: 0; color: var(--ink); font-size: 13px; }
.demo-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.demo-chips button { padding: 7px 12px; border-radius: 999px; font-size: 12px; font-weight: 500; border: 1px solid var(--line); background: transparent; color: var(--ink); }
.demo-chips button[aria-pressed="true"] { border-color: var(--accent); background: rgba(139,123,196,0.1); color: var(--accent); }
.demo-textarea { width: 100%; padding: 12px; border-radius: 10px; resize: none; background: var(--bg2); border: 1px solid var(--line); color: var(--ink); font-family: inherit; font-size: 13px; line-height: 1.5; }
.demo-sig-btn { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 10px; font-size: 13px; font-weight: 500; justify-content: center; cursor: pointer; border: 1px dashed var(--line); background: var(--bg2); color: var(--mute); }
.demo-sig-btn[aria-pressed="true"] { background: rgba(139,123,196,0.08); border: 1px dashed var(--accent); color: var(--accent); }

.demo-pdf { padding: 24px; border-radius: var(--radius-lg); background: var(--bg2); border: 1px solid var(--line); display: flex; flex-direction: column; }
.demo-pdf__filebar { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; font-size: 12px; color: var(--mute); }
.demo-pdf__filebar .pdf-icon { color: #e04e4e; }
.demo-pdf__filebar .page-meta { margin-left: auto; }
.demo-pdf__doc { flex: 1; background: #fff; color: #111; border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; font-family: 'Helvetica', 'Arial', sans-serif; box-shadow: 0 18px 40px rgba(0,0,0,0.22); }
.demo-pdf__accent-bar { height: 8px; background: var(--accent); flex-shrink: 0; }
.demo-pdf__body { padding: 22px 26px 16px; display: flex; flex-direction: column; flex: 1; }
.demo-pdf__header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.demo-pdf__logo { display: flex; align-items: center; gap: 9px; }
.demo-pdf__logo img { width: 32px; height: 32px; border-radius: 7px; }
.demo-pdf__logo .mark { font-size: 18px; font-weight: 700; color: #000; letter-spacing: -0.01em; }
.demo-pdf__meta { text-align: right; font-size: 8px; }
.demo-pdf__meta .lbl { font-weight: 700; color: #666; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.demo-pdf__meta .row { display: flex; justify-content: flex-end; gap: 14px; margin-bottom: 1px; }
.demo-pdf__meta .row span:first-child { color: #555; }
.demo-pdf__meta .row span:last-child { color: #000; font-weight: 700; min-width: 62px; text-align: right; }
.demo-pdf__title { font-size: 20px; font-weight: 700; color: #000; margin-bottom: 10px; letter-spacing: -0.015em; }
.demo-pdf__divider { height: 1px; background: #e5e5e5; margin-bottom: 18px; }
.demo-pdf__section { margin-bottom: 14px; }
.demo-pdf__section-head { font-size: 9px; font-weight: 700; color: #000; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; }
.demo-pdf__section-rule { height: 1px; background: #000; margin-bottom: 12px; }
.demo-pdf__row { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 8px; }
.demo-pdf__row .rl { font-size: 9px; color: #555; width: 90px; flex-shrink: 0; padding-top: 1px; }
.demo-pdf__row .rv { flex: 1; font-size: 10px; color: #000; font-weight: 700; line-height: 1.45; }
.demo-pdf__sig { display: flex; align-items: center; gap: 16px; }
.demo-pdf__sig-label { font-size: 9px; color: #555; width: 90px; flex-shrink: 0; padding-top: 8px; }
.demo-pdf__sig-box { flex: 1; min-height: 44px; display: flex; align-items: center; color: #aaa; font-size: 9px; }
.demo-pdf__footer { margin-top: auto; padding-top: 10px; border-top: 1px solid #ccc; font-size: 7px; color: #555; }
.demo-pdf__footer .row { display: flex; justify-content: space-between; margin-bottom: 4px; }
.demo-pdf__footer .company { font-weight: 700; color: #000; font-size: 8px; }
.demo-pdf__footer .mono { font-family: 'JetBrains Mono', monospace; font-size: 6.5px; }

/* ---------- Home: Built-for trades ---------- */
.trades-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.trade-card { padding: 18px; border-radius: var(--radius-md); background: var(--card); border: 1px solid var(--line); display: flex; align-items: center; gap: 14px; }
.trade-card .icon { width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: 18px; flex-shrink: 0; }
.trade-card .title { font-weight: 600; font-size: 14px; }
.trade-card .sub { font-size: 11px; color: var(--mute); }

/* ---------- Steps (home + try-free) ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step-card { padding: 28px; border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line); }
.step-card .num { width: 44px; height: 44px; border-radius: 12px; background: var(--accent); color: #fff; font-weight: 700; font-size: 18px; display: grid; place-items: center; margin-bottom: 20px; box-shadow: 0 8px 20px rgba(139,123,196,0.33); }
.step-card h3 { font-size: 22px; letter-spacing: -0.02em; font-weight: 600; margin-bottom: 8px; }
.step-card p { font-size: 14px; line-height: 1.55; color: var(--mute); }

/* ---------- Testimonial ---------- */
.testimonial { max-width: 900px; margin: 0 auto; text-align: center; }
.testimonial__open { font-size: 60px; color: var(--accent); line-height: 1; margin-bottom: 12px; font-family: Georgia, 'Times New Roman', serif; font-style: italic; }
.testimonial__quote { font-size: clamp(22px, 3vw, 32px); line-height: 1.35; letter-spacing: -0.015em; font-weight: 500; }
.testimonial__author { margin-top: 24px; display: flex; align-items: center; justify-content: center; gap: 12px; }
.testimonial__avatar { width: 44px; height: 44px; border-radius: 50%; background: rgba(139,123,196,0.2); color: var(--accent); display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.testimonial__info { text-align: left; }
.testimonial__name { font-size: 14px; font-weight: 600; }
.testimonial__role { font-size: 12px; color: var(--mute); }

/* ---------- Features alternating sections ---------- */
.feature-section { padding: 60px 0; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.feature-grid.reversed .feature-text { order: 2; }
.feature-grid.reversed .feature-media { order: 1; }
.feature-text h2 { font-size: clamp(30px, 3.8vw, 48px); line-height: 1.05; letter-spacing: -0.025em; font-weight: 700; margin-bottom: 18px; }
.feature-text .feature-body { font-size: 16px; color: var(--mute); line-height: 1.6; margin-bottom: 22px; }
.bullet-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.bullet-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--ink); }
.bullet-list li::before { content: ''; width: 20px; height: 20px; border-radius: 6px; flex-shrink: 0; background-color: var(--accent-soft); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='%238b7bc4'%3E%3Cpath d='M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z'/%3E%3C/svg%3E"); background-size: 12px; background-position: center; background-repeat: no-repeat; margin-top: 1px; }

/* ---------- Pricing ---------- */
.billing-toggle { display: inline-flex; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 4px; font-size: 13px; font-weight: 600; margin-bottom: 28px; }
.billing-toggle button { padding: 8px 18px; border-radius: 999px; color: var(--mute); transition: background 0.15s ease, color 0.15s ease; }
.billing-toggle button[aria-pressed="true"] { background: var(--accent); color: #fff; }
.billing-toggle .save-badge { margin-left: 6px; font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }
.billing-toggle button[aria-pressed="true"] .save-badge { background: rgba(255,255,255,0.25); color: #fff; }

.plan-card { padding: 40px 40px 36px; border-radius: var(--radius-xl); background: var(--card); border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(0,0,0,0.06); display: flex; flex-direction: column; gap: 24px; margin-bottom: 80px; }
.plan-card__head { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.plan-badge { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 14px; }
.plan-name { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 6px; }
.plan-desc { font-size: 15px; color: var(--mute); }
.plan-price { font-size: clamp(36px, 4.5vw, 52px); font-weight: 700; letter-spacing: -0.025em; line-height: 1; text-align: right; }
.plan-price__unit { font-size: 16px; font-weight: 500; color: var(--mute); margin-left: 4px; }
.plan-price__savings { font-size: 13px; color: var(--mute); margin-top: 4px; text-align: right; }
.plan-price__savings[hidden] { display: none; }
.plan-note { font-size: 13px; color: var(--mute); margin-top: 14px; }

/* ---------- Support form ---------- */
.support-form { padding: 28px; border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; }
.support-field { display: flex; flex-direction: column; gap: 6px; }
.support-field-label { font-size: 11px; font-weight: 700; color: var(--mute); text-transform: uppercase; letter-spacing: 0.08em; }
.support-input, .support-textarea { padding: 12px 14px; border-radius: 10px; background: var(--bg2); border: 1px solid var(--line); font-size: 14px; color: var(--ink); }
.support-input:focus, .support-textarea:focus { border-color: var(--accent); }
.support-textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.support-submit { padding: 14px 22px; border-radius: 12px; background: var(--accent); color: #fff; font-size: 15px; font-weight: 600; box-shadow: 0 8px 20px rgba(139,123,196,0.27); align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; }
.support-submit:hover { background: var(--accent-hover); }
.support-sent { padding: 24px; border-radius: var(--radius-md); background: rgba(139,123,196,0.1); border: 1px solid rgba(139,123,196,0.27); display: flex; align-items: center; gap: 14px; }
.support-sent[hidden] { display: none; }
.support-sent .icon { width: 40px; height: 40px; border-radius: 10px; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 18px; flex-shrink: 0; }
.support-sent .title { font-weight: 600; font-size: 15px; }
.support-sent .body { font-size: 13px; color: var(--mute); margin-top: 2px; }
.support-fallback { margin-top: 48px; padding: 20px; border-radius: 12px; background: var(--bg2); border: 1px solid var(--line); display: flex; align-items: center; gap: 14px; }
.support-fallback .icon { width: 36px; height: 36px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: 16px; flex-shrink: 0; }
.support-fallback .text { font-size: 14px; }
.support-fallback .text span { color: var(--mute); }
.support-fallback a { color: var(--accent); font-weight: 600; }

/* ---------- FAQ + generic contact card ---------- */
.contact-card { margin-top: 60px; padding: 32px; border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line); text-align: center; }
.contact-card h2 { font-size: 22px; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 8px; }
.contact-card p { font-size: 14px; color: var(--mute); margin-bottom: 20px; }

/* ---------- Accordion refinement (plus/minus icon) ---------- */
.accordion-summary .accordion-icon {
  width: 20px; text-align: center;
  font-size: 20px; font-weight: 400; color: var(--accent);
  transition: transform 0.2s ease;
  user-select: none;
}
.accordion-item[open] .accordion-icon { transform: rotate(45deg); }

/* Accordion summary with leading icon (pricing) */
.accordion-summary--with-icon { gap: 14px; padding: 16px 18px; }
.accordion-summary--with-icon .lead-icon {
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; flex-shrink: 0; font-size: 16px;
}
.accordion-summary--with-icon .summary-text { flex: 1; font-size: 15px; font-weight: 600; }
.accordion-summary--with-icon + .accordion-body { padding-left: 68px; border-top: 0; padding-top: 0; }

/* ---------- Mobile adjustments for complex layouts ---------- */
@media (max-width: 900px) {
  .demo-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; gap: 32px; }
  .feature-grid.reversed .feature-text { order: 1; }
  .feature-grid.reversed .feature-media { order: 2; }
  .steps-grid { grid-template-columns: 1fr; }
  .callout-pill.top-left { left: 4%; top: -5%; }
  .callout-pill.bottom-right { right: 4%; bottom: -5%; }
  .plan-card__head { flex-direction: column; }
  .plan-price { text-align: left; }
  .plan-price__savings { text-align: left; }
}
@media (max-width: 768px) {
  .hero-home { padding-top: 56px; padding-bottom: 32px; }
  .hero-home .h1-hero { margin-bottom: 20px; }
  .hero-home .hero-sub { font-size: 17px; margin-bottom: 28px; }
  .hero-actions { margin-bottom: 48px; }
  .plan-card { padding: 28px; margin-bottom: 56px; }
  .support-form { padding: 20px; }
  .feature-section { padding: 40px 0; }
  .card-grid.cols-2 { grid-template-columns: 1fr; }
}
