/* ── Aegis Commerce Design Tokens ─────────────────────────────────────────── */
:root {
  --ac-navy:   #18243A;
  --ac-blue:   #2F6BFF;
  --ac-coral:  #FF6B4A;
  --ac-mint:   #2EC4A6;
  --ac-cloud:  #F6F8FB;
  --ac-ink:    #172033;
  --ac-white:  #FFFFFF;
  --ac-sand:   #F3EEE7;

  --ac-font-head: 'Sora', 'Inter', sans-serif;
  --ac-font-body: 'Inter', sans-serif;
  --ac-font-mono: 'IBM Plex Mono', monospace;

  --ac-radius:    8px;
  --ac-radius-lg: 16px;
  --ac-shadow:    0 1px 4px rgba(23,32,51,.08), 0 4px 24px rgba(23,32,51,.06);
  --ac-max-w:     1152px;
}

/* ── Reset ─────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--ac-font-body); font-size: 16px; line-height: 1.6; color: var(--ac-ink); background: var(--ac-white); -webkit-font-smoothing: antialiased; }
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Skip link ─────────────────────────────────────────────────────────────── */
.ac-skip-link { position: absolute; top: -100%; left: 16px; background: var(--ac-blue); color: #fff; padding: 8px 16px; border-radius: var(--ac-radius); z-index: 9999; font-size: 14px; }
.ac-skip-link:focus { top: 8px; }

/* ── Container ─────────────────────────────────────────────────────────────── */
.ac-container { max-width: var(--ac-max-w); margin: 0 auto; padding: 0 24px; }

/* ── Nav ───────────────────────────────────────────────────────────────────── */
.ac-nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.95); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(23,32,51,.08); }
.ac-nav-inner { display: flex; align-items: center; gap: 32px; height: 64px; }
.ac-wordmark { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.ac-wordmark-text { font-family: var(--ac-font-head); font-weight: 700; font-size: 17px; color: var(--ac-navy); line-height: 1.2; }
.ac-wordmark-sub { display: block; font-size: 11px; font-weight: 400; color: #6B7A99; letter-spacing: .02em; }
.ac-nav-links { display: flex; align-items: center; gap: 4px; flex: 1; }
.ac-nav-link { font-size: 14px; font-weight: 500; color: #4A5568; padding: 6px 12px; border-radius: 6px; transition: color .15s, background .15s; }
.ac-nav-link:hover { color: var(--ac-blue); background: rgba(47,107,255,.06); text-decoration: none; }
.ac-nav-link.is-active { color: var(--ac-blue); background: rgba(47,107,255,.08); }
.ac-nav-cta { margin-left: auto; flex-shrink: 0; }
.ac-mobile-toggle { display: none; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; background: none; border: none; cursor: pointer; color: var(--ac-ink); padding: 6px; }
@media (max-width: 768px) {
  .ac-nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--ac-white); border-bottom: 1px solid rgba(23,32,51,.1); flex-direction: column; gap: 0; padding: 8px 16px 16px; }
  .ac-nav-links.is-open { display: flex; }
  .ac-mobile-toggle { display: flex; margin-left: auto; }
  .ac-nav-cta { display: none; }
}

/* ── Buttons ───────────────────────────────────────────────────────────────── */
.ac-btn { display: inline-flex; align-items: center; gap: 6px; font-family: var(--ac-font-body); font-weight: 600; border: none; border-radius: var(--ac-radius); cursor: pointer; text-decoration: none; transition: opacity .15s, transform .1s; }
.ac-btn:hover { opacity: .9; text-decoration: none; }
.ac-btn:active { transform: scale(.98); }
.ac-btn-primary   { background: var(--ac-blue);  color: #fff; }
.ac-btn-coral     { background: var(--ac-coral); color: #fff; }
.ac-btn-outline   { background: transparent; color: var(--ac-blue); border: 2px solid var(--ac-blue); }
.ac-btn-outline-light { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.4); }
.ac-btn-sm  { padding: 8px 18px;  font-size: 13px; }
.ac-btn-md  { padding: 12px 24px; font-size: 15px; }
.ac-btn-lg  { padding: 16px 32px; font-size: 16px; }
.ac-btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── Hero ──────────────────────────────────────────────────────────────────── */
.ac-hero { background: var(--ac-navy); color: var(--ac-white); padding: 96px 0 80px; }
.ac-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 900px) { .ac-hero-grid { grid-template-columns: 1fr; } }
.ac-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ac-mint); margin-bottom: 16px; }
.ac-h1 { font-family: var(--ac-font-head); font-size: clamp(36px, 5vw, 60px); font-weight: 800; line-height: 1.08; letter-spacing: -.02em; margin-bottom: 24px; color: var(--ac-white); }
.ac-lede { font-size: 18px; line-height: 1.65; color: rgba(246,248,251,.75); margin-bottom: 32px; max-width: 520px; }
.ac-trust-strip { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 32px; }
.ac-trust-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(246,248,251,.65); }
.ac-trust-item svg { width: 14px; height: 14px; flex-shrink: 0; }

/* ── Store preview card ─────────────────────────────────────────────────────── */
.ac-preview-card { background: var(--ac-cloud); border-radius: var(--ac-radius-lg); padding: 24px; box-shadow: var(--ac-shadow); }
.ac-preview-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.ac-preview-title { font-family: var(--ac-font-mono); font-size: 11px; font-weight: 500; color: #6B7A99; letter-spacing: .06em; text-transform: uppercase; }
.ac-preview-badge { font-size: 11px; font-weight: 600; padding: 2px 10px; border-radius: 20px; background: rgba(46,196,166,.15); color: var(--ac-mint); }
.ac-preview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ac-preview-item { background: var(--ac-white); border-radius: var(--ac-radius); padding: 16px; }
.ac-preview-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: #9CA3AF; margin-bottom: 6px; }
.ac-preview-value { font-size: 18px; font-weight: 700; color: var(--ac-ink); }
.ac-preview-value.ac-green { color: var(--ac-mint); }
.ac-preview-value.ac-blue { color: var(--ac-blue); }

/* ── Sections ───────────────────────────────────────────────────────────────── */
.ac-section { padding: 80px 0; }
.ac-section-alt { background: var(--ac-cloud); }
.ac-section-navy { background: var(--ac-navy); color: var(--ac-white); }
.ac-section-sand { background: var(--ac-sand); }
.ac-section-head { text-align: center; margin-bottom: 56px; }
.ac-h2 { font-family: var(--ac-font-head); font-size: clamp(28px, 4vw, 44px); font-weight: 700; line-height: 1.15; letter-spacing: -.015em; color: var(--ac-navy); margin-bottom: 16px; }
.ac-h2-light { color: var(--ac-white); }
.ac-subtitle { font-size: 18px; color: #6B7A99; line-height: 1.6; max-width: 560px; margin: 0 auto; }
.ac-subtitle-light { color: rgba(246,248,251,.7); }
.ac-h3 { font-family: var(--ac-font-head); font-size: 20px; font-weight: 700; color: var(--ac-navy); margin-bottom: 8px; }
.ac-h3-light { color: var(--ac-white); }

/* ── Grid layouts ───────────────────────────────────────────────────────────── */
.ac-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.ac-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.ac-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 900px) { .ac-grid-2 { grid-template-columns: 1fr; } .ac-grid-3 { grid-template-columns: 1fr 1fr; } .ac-grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .ac-grid-3 { grid-template-columns: 1fr; } .ac-grid-4 { grid-template-columns: 1fr; } }

/* ── Cards ─────────────────────────────────────────────────────────────────── */
.ac-card { background: var(--ac-white); border-radius: var(--ac-radius-lg); padding: 28px; box-shadow: var(--ac-shadow); border: 1px solid rgba(23,32,51,.06); }
.ac-card-icon { width: 40px; height: 40px; background: rgba(47,107,255,.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; color: var(--ac-blue); }
.ac-card p { font-size: 15px; color: #6B7A99; line-height: 1.6; margin-top: 8px; }

/* ── Step list ──────────────────────────────────────────────────────────────── */
.ac-step-list { display: flex; flex-direction: column; gap: 28px; }
.ac-step { display: flex; gap: 20px; align-items: flex-start; }
.ac-step-num { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--ac-blue); color: #fff; font-family: var(--ac-font-head); font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center; }
.ac-step-body h3 { font-family: var(--ac-font-head); font-size: 17px; font-weight: 700; color: var(--ac-navy); margin-bottom: 4px; }
.ac-step-body p { font-size: 15px; color: #6B7A99; line-height: 1.6; }

/* ── Template cards ─────────────────────────────────────────────────────────── */
.ac-template-card { background: var(--ac-white); border-radius: var(--ac-radius-lg); overflow: hidden; box-shadow: var(--ac-shadow); border: 1px solid rgba(23,32,51,.06); }
.ac-template-swatch { height: 120px; display: flex; align-items: center; justify-content: center; font-size: 40px; }
.ac-template-body { padding: 20px; }
.ac-template-name { font-family: var(--ac-font-head); font-weight: 700; font-size: 17px; color: var(--ac-navy); margin-bottom: 4px; }
.ac-template-for { font-size: 13px; color: #6B7A99; margin-bottom: 12px; }
.ac-template-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.ac-tag { font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 20px; background: var(--ac-cloud); color: #4A5568; }
.ac-tag-blue { background: rgba(47,107,255,.1); color: var(--ac-blue); }
.ac-tag-coral { background: rgba(255,107,74,.1); color: var(--ac-coral); }
.ac-tag-mint { background: rgba(46,196,166,.1); color: var(--ac-mint); }

/* ── Pricing ────────────────────────────────────────────────────────────────── */
.ac-pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: start; }
@media (max-width: 1000px) { .ac-pricing-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .ac-pricing-grid { grid-template-columns: 1fr; } }
.ac-plan { background: var(--ac-white); border-radius: var(--ac-radius-lg); padding: 28px; border: 1px solid rgba(23,32,51,.1); }
.ac-plan.is-featured { border-color: var(--ac-blue); box-shadow: 0 0 0 1px var(--ac-blue); }
.ac-plan-name { font-family: var(--ac-font-head); font-size: 15px; font-weight: 700; color: var(--ac-ink); margin-bottom: 4px; }
.ac-plan-price { font-family: var(--ac-font-head); font-size: 32px; font-weight: 800; color: var(--ac-navy); margin-bottom: 4px; }
.ac-plan-price span { font-size: 15px; font-weight: 400; color: #6B7A99; }
.ac-plan-desc { font-size: 13px; color: #6B7A99; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid rgba(23,32,51,.08); line-height: 1.5; }
.ac-plan-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.ac-plan-features li { font-size: 14px; color: #4A5568; display: flex; gap: 8px; align-items: flex-start; }
.ac-plan-features li::before { content: "✓"; color: var(--ac-mint); font-weight: 700; flex-shrink: 0; }

/* ── Payment blocks ─────────────────────────────────────────────────────────── */
.ac-payment-block { display: flex; gap: 20px; align-items: flex-start; }
.ac-payment-logo { flex-shrink: 0; width: 48px; height: 48px; border-radius: 12px; background: var(--ac-cloud); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; }
.ac-payment-body h3 { font-family: var(--ac-font-head); font-weight: 700; font-size: 18px; color: var(--ac-navy); margin-bottom: 6px; }
.ac-payment-body p { font-size: 15px; color: #6B7A99; line-height: 1.6; }

/* ── FAQ ────────────────────────────────────────────────────────────────────── */
.ac-faq-list { display: flex; flex-direction: column; gap: 0; max-width: 720px; margin: 0 auto; }
.ac-faq-item { border-bottom: 1px solid rgba(23,32,51,.1); }
.ac-faq-q { font-weight: 600; font-size: 16px; padding: 20px 0; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--ac-navy); list-style: none; }
.ac-faq-q::after { content: "+"; font-size: 20px; color: var(--ac-blue); flex-shrink: 0; }
details[open] .ac-faq-q::after { content: "−"; }
.ac-faq-a { font-size: 15px; color: #6B7A99; line-height: 1.65; padding-bottom: 20px; }

/* ── CTA band ───────────────────────────────────────────────────────────────── */
.ac-cta-band { background: var(--ac-blue); color: var(--ac-white); padding: 72px 0; text-align: center; }
.ac-cta-band .ac-h2 { color: var(--ac-white); }
.ac-cta-band .ac-subtitle { color: rgba(255,255,255,.8); }

/* ── Caveat ─────────────────────────────────────────────────────────────────── */
.ac-caveat { font-size: 13px; color: #9CA3AF; line-height: 1.6; }

/* ── Footer ─────────────────────────────────────────────────────────────────── */
.ac-footer { background: var(--ac-navy); color: rgba(246,248,251,.7); padding: 56px 0 32px; }
.ac-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
@media (max-width: 900px) { .ac-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 500px) { .ac-footer-grid { grid-template-columns: 1fr; } }
.ac-footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; text-decoration: none; }
.ac-footer-brand-text { font-family: var(--ac-font-head); font-weight: 700; font-size: 16px; color: var(--ac-white); line-height: 1.2; }
.ac-footer-brand-sub { display: block; font-size: 11px; font-weight: 400; color: rgba(246,248,251,.5); }
.ac-footer-tagline { font-size: 14px; line-height: 1.65; margin-bottom: 20px; max-width: 280px; }
.ac-aegis-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: rgba(246,248,251,.45); border: 1px solid rgba(246,248,251,.1); border-radius: 20px; padding: 4px 10px; transition: color .15s, border-color .15s; }
.ac-aegis-chip:hover { color: rgba(246,248,251,.75); border-color: rgba(246,248,251,.25); text-decoration: none; }
.ac-footer-col-title { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(246,248,251,.4); margin-bottom: 12px; }
.ac-footer-links { display: flex; flex-direction: column; gap: 8px; }
.ac-footer-links a { font-size: 14px; color: rgba(246,248,251,.6); transition: color .15s; }
.ac-footer-links a:hover { color: var(--ac-white); text-decoration: none; }
.ac-footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; border-top: 1px solid rgba(246,248,251,.08); font-size: 13px; gap: 12px; flex-wrap: wrap; }
.ac-footer-bottom a { color: rgba(246,248,251,.5); transition: color .15s; }
.ac-footer-bottom a:hover { color: var(--ac-white); text-decoration: none; }

/* ── Utilities ──────────────────────────────────────────────────────────────── */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
