/* ================================================================
   Paper from Guntio — landing page styles
   Tokens come from tokens.css (GuntioStack design system).
   ================================================================ */

html { scroll-behavior: smooth; }
body {
  background: var(--canvas);
  color: var(--fg-default);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: var(--z-sticky);
  background: rgba(250, 247, 242, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--duration) var(--ease-default);
}
.nav.is-stuck { border-bottom-color: var(--border-default); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex; align-items: center; gap: var(--sp-2);
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: 20px;
  letter-spacing: var(--tracking-tight);
  color: var(--fg-default);
}
.brand-mark { width: 28px; height: 28px; border-radius: 6px; }
.brand-from {
  font-family: var(--font-sans);
  font-weight: var(--fw-regular);
  font-size: 13px;
  color: var(--fg-subtle);
  margin-left: 2px;
}
.brand-from b {
  color: var(--fg-muted);
  font-weight: var(--fw-medium);
}

.nav-links {
  display: flex; align-items: center; gap: var(--sp-7);
  font-size: var(--text-body-sm);
  color: var(--fg-muted);
}
.nav-links a { transition: color var(--duration) var(--ease-default); }
.nav-links a:hover { color: var(--fg-default); }

.nav-cta {
  display: flex; align-items: center; gap: var(--sp-3);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  height: var(--row-height);
  padding: 0 var(--sp-5);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: var(--text-body-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tracking-normal);
  cursor: pointer;
  border: 1px solid transparent;
  transition: background var(--duration) var(--ease-default),
              border-color var(--duration) var(--ease-default),
              color var(--duration) var(--ease-default),
              transform 80ms var(--ease-default);
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--terracotta-500);
  color: var(--fg-on-brand);
}
.btn-primary:hover { background: var(--terracotta-600); }
.btn-primary:active { background: var(--terracotta-700); }

.btn-dark {
  background: var(--coffee-800);
  color: var(--paper);
}
.btn-dark:hover { background: var(--coffee-900); }
.btn-dark:active { background: var(--coffee-900); }

.btn-ghost {
  background: transparent;
  color: var(--fg-default);
  border-color: transparent;
}
.btn-ghost:hover { background: var(--bg-hover); }

.btn-outline {
  background: var(--surface);
  color: var(--fg-default);
  border-color: var(--border-default);
}
.btn-outline:hover { border-color: var(--border-strong); background: var(--surface); }

.btn-lg { height: 48px; padding: 0 var(--sp-6); font-size: var(--text-body); }
.btn-sm { height: var(--row-height-sm); padding: 0 var(--sp-4); font-size: var(--text-caption); }

.btn-link {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  color: var(--fg-brand);
  font-weight: var(--fw-medium);
  font-size: var(--text-body-sm);
}
.btn-link:hover { color: var(--terracotta-700); }
.btn-link .arrow { transition: transform var(--duration) var(--ease-default); }
.btn-link:hover .arrow { transform: translateX(2px); }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-family: var(--font-sans);
  font-size: var(--text-micro);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--fg-muted);
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--terracotta-500);
}

/* ---------- Hero ---------- */
.hero {
  padding: var(--sp-11) 0 var(--sp-10);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--sp-10);
  align-items: center;
}
.hero-copy { max-width: 560px; }
.hero-eyebrow { margin-bottom: var(--sp-5); }
.hero h1 {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: clamp(40px, 5.2vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--fg-default);
  margin: 0 0 var(--sp-5);
}
.hero h1 em {
  font-style: italic;
  font-family: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  font-weight: 400;
  color: var(--terracotta-600);
}
.hero-sub {
  font-size: var(--text-body-lg);
  line-height: var(--lh-body-lg);
  color: var(--fg-muted);
  margin: 0 0 var(--sp-7);
  max-width: 480px;
}
.hero-actions {
  display: flex; align-items: center; gap: var(--sp-3);
  margin-bottom: var(--sp-7);
}
.hero-meta {
  display: flex; align-items: center; gap: var(--sp-5);
  font-size: var(--text-body-sm);
  color: var(--fg-muted);
}
.hero-meta-item { display: inline-flex; align-items: center; gap: var(--sp-2); }
.hero-meta i { color: var(--sage-700); }

/* ---------- Invoice preview card ---------- */
.preview-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}
.preview-wrap::before,
.preview-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
}
.preview-wrap::before {
  transform: translate(-22px, 18px) rotate(-3deg);
  background: var(--coffee-100);
  border-color: var(--border-subtle);
  opacity: 0.7;
}
.preview-wrap::after {
  transform: translate(14px, 10px) rotate(2deg);
  background: var(--surface);
  opacity: 0.9;
}
.invoice {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 460px;
  background: var(--surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--sp-7);
  font-size: var(--text-body-sm);
}
.invoice-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: var(--sp-7);
}
.invoice-logo {
  width: 32px; height: 32px; border-radius: 6px;
  background: var(--coffee-800);
  display: grid; place-items: center;
  color: var(--paper);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
}
.invoice-id {
  text-align: right;
  font-family: var(--font-mono);
  font-size: var(--text-mono-xs);
  color: var(--fg-muted);
}
.invoice-id .num {
  display: block;
  color: var(--fg-default);
  font-size: var(--text-mono-sm);
  font-weight: var(--fw-medium);
  margin-top: 2px;
}
.invoice-parties {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5);
  margin-bottom: var(--sp-6);
}
.invoice-party-label {
  font-size: 11px;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--fg-subtle);
  margin-bottom: 4px;
}
.invoice-party-name {
  font-weight: var(--fw-semibold);
  color: var(--fg-default);
  font-size: var(--text-body-sm);
}
.invoice-party-meta {
  font-size: var(--text-caption);
  color: var(--fg-muted);
  margin-top: 2px;
  line-height: 1.4;
}
.invoice-table {
  border-top: 1px solid var(--border-default);
  margin-bottom: var(--sp-5);
}
.invoice-row {
  display: grid;
  grid-template-columns: 1fr 60px 100px;
  gap: var(--sp-3);
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--border-subtle);
  align-items: baseline;
}
.invoice-row .qty,
.invoice-row .amt {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: var(--text-mono-xs);
  text-align: right;
  color: var(--fg-default);
}
.invoice-row .qty { color: var(--fg-muted); }
.invoice-item {
  font-size: var(--text-body-sm);
  color: var(--fg-default);
}
.invoice-totals {
  display: grid; gap: var(--sp-2);
  font-size: var(--text-body-sm);
}
.invoice-totals .row {
  display: flex; justify-content: space-between; align-items: baseline;
  color: var(--fg-muted);
}
.invoice-totals .row .amt {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  color: var(--fg-default);
}
.invoice-totals .grand {
  border-top: 1px solid var(--border-default);
  padding-top: var(--sp-3);
  margin-top: var(--sp-2);
  font-size: var(--text-body);
  color: var(--fg-default);
  font-weight: var(--fw-semibold);
}
.invoice-totals .grand .amt {
  font-size: var(--text-mono-lg);
  font-weight: var(--fw-semibold);
}
.invoice-foot {
  margin-top: var(--sp-6);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--border-subtle);
  display: flex; justify-content: space-between; align-items: center;
}
.invoice-status {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--success-bg);
  color: var(--success-fg);
  border: 1px solid var(--success-border);
  font-size: 11px;
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  padding: 4px var(--sp-2);
  border-radius: var(--radius-sm);
}
.invoice-foot-note {
  font-size: var(--text-caption);
  color: var(--fg-subtle);
}

/* ---------- Section ---------- */
.section {
  padding: var(--sp-11) 0;
  border-top: 1px solid var(--border-default);
}
.section-head {
  max-width: 720px;
  margin: 0 auto var(--sp-9);
  text-align: center;
}
.section-head .eyebrow { margin-bottom: var(--sp-4); }
.section-head h2 {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 var(--sp-4);
}
.section-head p {
  font-size: var(--text-body-lg);
  color: var(--fg-muted);
  margin: 0;
  max-width: 560px;
  margin-left: auto; margin-right: auto;
}

/* ---------- Features grid ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-6);
}
.feature {
  background: var(--surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  transition: border-color var(--duration) var(--ease-default),
              transform var(--duration) var(--ease-default);
}
.feature:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.feature-icon {
  width: 36px; height: 36px;
  border-radius: var(--radius-md);
  background: var(--terracotta-50);
  color: var(--terracotta-600);
  display: grid; place-items: center;
  margin-bottom: var(--sp-5);
}
.feature h3 {
  font-family: var(--font-sans);
  font-weight: var(--fw-semibold);
  font-size: var(--text-h3);
  letter-spacing: var(--tracking-tight);
  margin: 0 0 var(--sp-2);
}
.feature p {
  font-size: var(--text-body-sm);
  color: var(--fg-muted);
  margin: 0;
  line-height: var(--lh-body);
}

/* ---------- How it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-6);
  counter-reset: step;
}
.step {
  background: var(--surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: var(--sp-7) var(--sp-6) var(--sp-6);
  position: relative;
  counter-increment: step;
}
.step-num {
  font-family: var(--font-mono);
  font-size: var(--text-mono-xs);
  color: var(--fg-subtle);
  letter-spacing: var(--tracking-wide);
  margin-bottom: var(--sp-4);
}
.step-num::before { content: '0' counter(step) ' / 03'; }
.step h3 {
  font-family: var(--font-sans);
  font-weight: var(--fw-semibold);
  font-size: var(--text-h2);
  letter-spacing: var(--tracking-tight);
  margin: 0 0 var(--sp-2);
}
.step p {
  font-size: var(--text-body-sm);
  color: var(--fg-muted);
  margin: 0 0 var(--sp-5);
  line-height: var(--lh-body);
}
.step-visual {
  height: 120px;
  background: var(--coffee-50);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  display: grid; place-items: center;
  color: var(--fg-subtle);
  font-family: var(--font-mono);
  font-size: var(--text-mono-xs);
  overflow: hidden;
}

/* Mini visual elements for each step */
.viz-fields { display: grid; gap: 6px; width: 80%; }
.viz-fields .row { display: flex; gap: 8px; align-items: center; }
.viz-fields .lbl { width: 64px; height: 8px; background: var(--coffee-200); border-radius: 2px; }
.viz-fields .inp { flex: 1; height: 18px; background: var(--paper); border: 1px solid var(--border-default); border-radius: 4px; }

.viz-brand { display: flex; gap: 8px; align-items: center; }
.viz-swatch { width: 28px; height: 28px; border-radius: 6px; border: 1px solid var(--border-default); }
.viz-swatch.s1 { background: var(--terracotta-500); border-color: var(--terracotta-600); }
.viz-swatch.s2 { background: var(--sage-500); }
.viz-swatch.s3 { background: var(--coffee-800); }
.viz-swatch.s4 { background: var(--amber-500); }
.viz-swatch.is-active { box-shadow: 0 0 0 2px var(--canvas), 0 0 0 4px var(--terracotta-500); }

.viz-pdf {
  width: 70px; height: 86px;
  background: var(--paper);
  border: 1px solid var(--border-default);
  border-radius: 4px;
  position: relative;
  display: flex; flex-direction: column; gap: 4px; padding: 8px;
}
.viz-pdf::after {
  content: 'PDF';
  position: absolute;
  bottom: -8px; right: -8px;
  background: var(--terracotta-500);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 3px;
}
.viz-pdf .ln { height: 3px; background: var(--coffee-200); border-radius: 1px; }
.viz-pdf .ln.short { width: 60%; }

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-5);
  max-width: 1080px;
  margin: 0 auto;
  align-items: stretch;
}
.plan {
  background: var(--surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: var(--sp-7);
  display: flex; flex-direction: column;
}
.plan.is-featured {
  border-color: var(--coffee-800);
  background: var(--coffee-800);
  color: var(--paper);
  position: relative;
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}
.plan-badge {
  position: absolute;
  top: var(--sp-5); right: var(--sp-5);
  background: var(--terracotta-500);
  color: var(--paper);
  font-size: 10px;
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  padding: 4px var(--sp-2);
  border-radius: var(--radius-sm);
}
.plan.is-featured .plan-name,
.plan.is-featured .plan-price,
.plan.is-featured .plan-features li { color: var(--paper); }
.plan.is-featured .plan-tag,
.plan.is-featured .plan-period,
.plan.is-featured .plan-sub { color: var(--coffee-300); }
.plan.is-featured .plan-features li::before {
  background: var(--terracotta-400);
}
.plan-tag {
  font-size: var(--text-micro);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  font-weight: var(--fw-semibold);
  color: var(--fg-muted);
  margin-bottom: var(--sp-3);
}
.plan-name {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: var(--text-h1);
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--sp-2);
}
.plan-sub {
  font-size: var(--text-body-sm);
  color: var(--fg-muted);
  margin-bottom: var(--sp-6);
}
.plan-price {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: var(--fw-semibold);
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: var(--sp-2);
  display: flex; align-items: baseline; gap: 6px;
}
.plan-price .currency { font-size: 24px; color: var(--fg-muted); }
.plan-price .period {
  font-size: var(--text-body-sm);
  font-family: var(--font-sans);
  font-weight: var(--fw-regular);
  color: var(--fg-muted);
  letter-spacing: 0;
}
.plan-period { font-size: var(--text-caption); color: var(--fg-muted); margin-bottom: var(--sp-6); }
.plan-features {
  list-style: none; padding: 0; margin: 0 0 var(--sp-7);
  display: grid; gap: var(--sp-3);
  flex: 1;
}
.plan-features li {
  font-size: var(--text-body-sm);
  color: var(--fg-default);
  padding-left: 22px;
  position: relative;
  line-height: 1.45;
}
.plan-features li::before {
  content: ''; position: absolute;
  left: 0; top: 7px;
  width: 12px; height: 8px;
  background: var(--terracotta-500);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path d='M1 4 L4.5 7 L11 1' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path d='M1 4 L4.5 7 L11 1' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat;
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 0;
}
.faq-item {
  border-top: 1px solid var(--border-default);
  padding: 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--border-default); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: var(--sp-5) 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-5);
  font-family: var(--font-sans);
  font-weight: var(--fw-medium);
  font-size: var(--text-body-lg);
  color: var(--fg-default);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .toggle {
  width: 24px; height: 24px;
  display: grid; place-items: center;
  color: var(--fg-muted);
  flex-shrink: 0;
  transition: transform var(--duration) var(--ease-default);
}
.faq-item[open] summary .toggle { transform: rotate(45deg); color: var(--terracotta-600); }
.faq-body {
  padding: 0 0 var(--sp-6);
  font-size: var(--text-body);
  color: var(--fg-muted);
  line-height: var(--lh-body-lg);
  max-width: 620px;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--coffee-800);
  color: var(--paper);
  border-radius: var(--radius-xl);
  padding: var(--sp-10) var(--sp-9);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--sp-8);
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  right: -80px; top: -80px;
  width: 260px; height: 260px;
  background: var(--terracotta-500);
  border-radius: 50%;
  opacity: 0.18;
  filter: blur(40px);
}
.cta-banner h2 {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 var(--sp-3);
  max-width: 560px;
}
.cta-banner p {
  font-size: var(--text-body-lg);
  color: var(--coffee-300);
  margin: 0;
  max-width: 520px;
}
.cta-banner .btn-primary { box-shadow: 0 1px 0 rgba(255,255,255,0.1) inset; }

/* ---------- Footer ---------- */
.footer {
  padding: var(--sp-10) 0 var(--sp-8);
  border-top: 1px solid var(--border-default);
  margin-top: var(--sp-10);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--sp-7);
  margin-bottom: var(--sp-9);
}
.footer-brand p {
  margin: var(--sp-4) 0 0;
  color: var(--fg-muted);
  font-size: var(--text-body-sm);
  max-width: 280px;
}
.footer-col h3 {
  font-size: var(--text-micro);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--fg-muted);
  margin: 0 0 var(--sp-4);
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--sp-3); }
.footer-col a {
  color: var(--fg-default);
  font-size: var(--text-body-sm);
}
.footer-col a:hover { color: var(--terracotta-600); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: var(--sp-5);
  border-top: 1px solid var(--border-subtle);
  font-size: var(--text-caption);
  color: var(--fg-subtle);
}
.footer-bottom .links { display: flex; gap: var(--sp-5); }

/* ---------- Responsive ---------- */

/* Hero headline scales further down so it never overflows on phones */
.hero h1 { font-size: clamp(30px, 7vw, 64px); }

/* Tablet — pricing collapses to 1 column (3 cards too tight at this width) */
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; }
  .plan.is-featured { transform: none; }
  .nav-links { gap: var(--sp-5); }
}

/* Small tablet — hero stacks, features 2-col, steps stack */
@media (max-width: 880px) {
  .hero { padding: var(--sp-10) 0 var(--sp-9); }
  .hero-grid { grid-template-columns: 1fr; gap: var(--sp-9); }
  .hero-copy { max-width: none; }
  .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-6); }
  .cta-banner { grid-template-columns: 1fr; padding: var(--sp-8) var(--sp-7); }
  .nav-links { display: none; }
  .section { padding: var(--sp-10) 0; }
  .section-head { margin-bottom: var(--sp-8); }
}

/* Phone — single column everywhere, nav simplified, buttons full-width */
@media (max-width: 640px) {
  .container { padding: 0 var(--sp-5); }
  .nav-inner { height: 56px; }
  .brand { font-size: 18px; gap: var(--sp-2); }
  .brand-mark { width: 26px; height: 26px; }
  .brand-from { display: none; }
  .nav-cta { gap: var(--sp-2); }
  .nav-cta .btn-ghost { display: none; }

  .hero { padding: var(--sp-9) 0 var(--sp-8); }
  .hero-eyebrow { margin-bottom: var(--sp-4); }
  .hero-sub { font-size: var(--text-body); margin-bottom: var(--sp-6); }
  .hero-actions { flex-direction: column; align-items: stretch; gap: var(--sp-2); margin-bottom: var(--sp-6); }
  .hero-actions .btn { width: 100%; }
  .hero-meta { flex-wrap: wrap; gap: var(--sp-3) var(--sp-5); font-size: var(--text-caption); }

  .features-grid { grid-template-columns: 1fr; gap: var(--sp-4); }
  .feature { padding: var(--sp-5); }
  .feature-icon { margin-bottom: var(--sp-4); }

  .step { padding: var(--sp-6) var(--sp-5) var(--sp-5); }
  .step-visual { height: 100px; }

  .plan { padding: var(--sp-6); }
  .plan-price { font-size: 40px; }

  .faq-item summary { font-size: var(--text-body); padding: var(--sp-4) 0; }
  .faq-body { font-size: var(--text-body-sm); padding-bottom: var(--sp-5); }

  .cta-banner { padding: var(--sp-7) var(--sp-6); border-radius: var(--radius-lg); }
  .cta-banner h2 { font-size: 24px; }
  .cta-banner p { font-size: var(--text-body); }
  .cta-banner .btn { width: 100%; }

  .invoice { padding: var(--sp-5); }
  .invoice-parties { grid-template-columns: 1fr; gap: var(--sp-4); }
  .preview-wrap::before,
  .preview-wrap::after { display: none; }

  .section { padding: var(--sp-9) 0; }
  .section-head { margin-bottom: var(--sp-7); }
  .section-head p { font-size: var(--text-body); }

  .footer { padding: var(--sp-8) 0 var(--sp-6); margin-top: var(--sp-8); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-5); margin-bottom: var(--sp-7); }
  .footer-bottom { flex-direction: column; gap: var(--sp-3); align-items: flex-start; }
}

/* Very small phones */
@media (max-width: 420px) {
  .container { padding: 0 var(--sp-4); }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-cta .btn-primary { padding: 0 var(--sp-3); font-size: var(--text-caption); }
  .nav-cta .btn-primary i { display: none; }
  .invoice-row { grid-template-columns: 1fr 36px 84px; gap: var(--sp-2); }
  .step-num::before { font-size: 11px; }
}
