/* ── Rippld Marketing — Design System ── */
:root {
  --forest:     #0C3320;
  --active:     #1A7A58;
  --saffron:    #E8820A;
  --warm-white: #FDF9F3;
  --surface:    #F7F6F3;
  --border:     #E2DDD6;
  --text-1:     #1A1A1A;
  --text-2:     #6B6560;
  --white:      #FFFFFF;

  --max-w: 1080px;
  --nav-h: 64px;

  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-1);
  background: var(--warm-white);
  -webkit-font-smoothing: antialiased;
}

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

body { min-height: 100vh; }

h1, h2, h3 { font-family: Georgia, 'Times New Roman', serif; font-weight: normal; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p  { color: var(--text-1); }

a { color: var(--active); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

/* ── Layout ─────────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section    { padding: 80px 0; }
.section-sm { padding: 48px 0; }

/* ── Nav ────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--forest); height: var(--nav-h);
  display: flex; align-items: center;
  box-shadow: 0 1px 0 rgba(255,255,255,0.08);
}
.nav .container {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
}
.nav-logo {
  font-family: Georgia, serif; font-size: 22px; color: var(--white);
  text-decoration: none; letter-spacing: -0.5px; flex-shrink: 0;
}
.nav-logo:hover { text-decoration: none; opacity: 0.9; }
.nav-tagline { font-size: 11px; color: rgba(255,255,255,0.45); margin-top: 1px; }
.nav-links {
  display: flex; align-items: center; gap: 8px; list-style: none;
}
.nav-links a {
  padding: 8px 14px; color: rgba(255,255,255,0.75);
  font-size: 14px; font-weight: 500; border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
.nav-links a:hover { background: rgba(255,255,255,0.08); color: var(--white); text-decoration: none; }
.nav-links .btn-nav {
  background: var(--saffron); color: var(--white) !important;
  padding: 8px 18px; border-radius: 6px; font-weight: 600;
}
.nav-links .btn-nav:hover { background: #d4740a; }

/* Hamburger */
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: 8px; color: var(--white);
}
.nav-toggle svg { display: block; }
.nav-mobile {
  display: none; position: fixed; inset: var(--nav-h) 0 0 0;
  background: var(--forest); z-index: 99; padding: 24px;
  flex-direction: column; gap: 8px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 14px 16px; color: rgba(255,255,255,0.85);
  font-size: 16px; font-weight: 500; border-radius: 8px;
  text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-mobile a:hover { background: rgba(255,255,255,0.08); }
.nav-mobile .btn-nav {
  background: var(--saffron); color: var(--white); margin-top: 8px;
  text-align: center; border-bottom: none;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 0 24px; height: 48px; border-radius: 8px;
  font-size: 16px; font-weight: 600; font-family: inherit;
  cursor: pointer; border: none; text-decoration: none;
  transition: background 0.15s, opacity 0.15s, transform 0.1s;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--saffron); color: var(--white); }
.btn-primary:hover { background: #d4740a; color: var(--white); }
.btn-outline { background: transparent; color: var(--forest); border: 2px solid var(--forest); }
.btn-outline:hover { background: var(--forest); color: var(--white); }
.btn-white { background: var(--white); color: var(--forest); }
.btn-white:hover { background: var(--warm-white); color: var(--forest); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  background: var(--forest); color: var(--white);
  padding: 96px 0 80px;
}
.hero h1 { color: var(--white); max-width: 700px; margin-bottom: 20px; }
.hero-sub {
  font-size: 1.125rem; color: rgba(255,255,255,0.8);
  max-width: 560px; margin-bottom: 36px; line-height: 1.65;
}
.hero-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-trust { font-size: 13px; color: rgba(255,255,255,0.5); margin-top: 20px; }

/* ── Section headings ───────────────────────────────────────── */
.section-label {
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--saffron); margin-bottom: 12px;
}
.section-heading { color: var(--forest); margin-bottom: 16px; }
.section-intro { color: var(--text-2); font-size: 1.0625rem; max-width: 600px; }
.section-intro p { color: var(--text-2); }

/* ── Problem / quote ────────────────────────────────────────── */
.problem-section { background: var(--surface); }
.problem-quote {
  border-left: 4px solid var(--saffron); padding: 20px 24px;
  background: var(--white); border-radius: 0 12px 12px 0;
  margin: 28px 0; max-width: 640px;
}
.problem-quote blockquote { font-size: 1.0625rem; font-style: italic; color: var(--text-1); line-height: 1.65; }
.problem-quote cite { display: block; margin-top: 12px; font-size: 13px; color: var(--text-2); font-style: normal; }
.problem-body { font-size: 1.0625rem; color: var(--text-2); max-width: 600px; line-height: 1.7; }
.problem-body strong { color: var(--text-1); }

/* ── Pillars / features ─────────────────────────────────────── */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.pillar {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; padding: 28px 24px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.pillar-icon { font-size: 32px; margin-bottom: 14px; }
.pillar h3 { color: var(--forest); margin-bottom: 8px; }
.pillar p  { font-size: 14px; color: var(--text-2); line-height: 1.6; }

/* ── Steps ──────────────────────────────────────────────────── */
.steps-grid { display: flex; flex-direction: column; gap: 0; margin-top: 40px; max-width: 680px; }
.step-item {
  display: grid; grid-template-columns: 48px 1fr; gap: 20px;
  padding-bottom: 32px; position: relative;
}
.step-item:not(:last-child)::before {
  content: ''; position: absolute;
  left: 23px; top: 48px; bottom: 0;
  width: 2px; background: var(--border);
}
.step-num {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--forest); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: Georgia, serif; font-size: 20px; flex-shrink: 0; z-index: 1;
}
.step-content h3 { color: var(--forest); margin-bottom: 6px; padding-top: 10px; }
.step-content p  { color: var(--text-2); font-size: 15px; line-height: 1.65; }

/* ── Two-col layout ─────────────────────────────────────────── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.two-col.flip { direction: rtl; }
.two-col.flip > * { direction: ltr; }

/* ── Catalog grid ───────────────────────────────────────────── */
.catalog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin-top: 32px; }
.catalog-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; padding: 20px 18px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.catalog-card-tag {
  display: inline-flex; align-items: center; padding: 3px 10px;
  border-radius: 100px; font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 10px;
}
.tag-digital  { background: #E8F0FE; color: #1A56DB; }
.tag-physical { background: #FEF6E8; color: #C97A1A; }
.catalog-card-brand { font-weight: 700; font-size: 16px; color: var(--forest); margin-bottom: 2px; }
.catalog-card-desc  { font-size: 13px; color: var(--text-2); line-height: 1.5; }
.catalog-card-price { font-size: 15px; font-weight: 600; color: var(--text-1); margin-top: 8px; }

/* ── Pricing table ──────────────────────────────────────────── */
.price-hero { text-align: center; padding: 48px 0 40px; }
.price-hero .amount {
  font-family: Georgia, serif; font-size: 4rem; color: var(--forest);
  line-height: 1; margin: 16px 0 4px;
}
.price-hero .per { font-size: 16px; color: var(--text-2); }
.price-hero .desc { font-size: 1.0625rem; color: var(--text-2); margin-top: 12px; }

.included-list {
  list-style: none; display: grid;
  grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 24px;
}
.included-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 15px; color: var(--text-1);
}
.included-list li::before {
  content: '✓'; color: var(--active); font-weight: 700;
  flex-shrink: 0; margin-top: 1px;
}

.example-table { width: 100%; border-collapse: collapse; margin-top: 24px; }
.example-table th {
  text-align: left; font-size: 12px; font-weight: 600; color: var(--text-2);
  padding: 10px 16px; border-bottom: 1px solid var(--border);
  background: var(--surface); text-transform: uppercase; letter-spacing: 0.04em;
}
.example-table td { padding: 14px 16px; font-size: 15px; border-bottom: 1px solid var(--border); }
.example-table tr:last-child td { border-bottom: none; }
.example-table td:last-child { font-weight: 600; }

/* ── FAQ ────────────────────────────────────────────────────── */
.faq-list { max-width: 680px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; text-align: left; font-family: inherit;
  font-size: 16px; font-weight: 500; color: var(--text-1);
}
.faq-q:hover { color: var(--forest); }
.faq-q svg { flex-shrink: 0; color: var(--text-2); transition: transform 0.2s; }
.faq-q[aria-expanded="true"] svg { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 0 20px; font-size: 15px; color: var(--text-2); line-height: 1.65; }
.faq-a.open { display: block; }

/* ── Form ───────────────────────────────────────────────────── */
.form-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 16px; padding: 40px; box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.form-input {
  width: 100%; height: 44px; padding: 0 14px;
  border: 1.5px solid var(--border); border-radius: 8px;
  font-size: 15px; font-family: inherit; color: var(--text-1);
  background: var(--white); outline: none; transition: border-color 0.15s;
}
.form-input:focus { border-color: var(--forest); }
.form-input::placeholder { color: var(--text-2); }
.form-input.error { border-color: #C0392B; }
select.form-input { cursor: pointer; }
textarea.form-input { height: auto; padding: 12px 14px; resize: vertical; min-height: 100px; }
.form-hint  { font-size: 13px; color: var(--text-2); margin-top: 4px; }
.form-error { font-size: 13px; color: #C0392B; margin-top: 4px; display: none; }
.form-error.visible { display: block; }
.form-disclaimer { font-size: 13px; color: var(--text-2); margin-top: 16px; text-align: center; }

/* Form states */
.form-success {
  display: none; text-align: center; padding: 48px 24px;
}
.form-success.visible { display: block; }
.form-success-icon { font-size: 48px; margin-bottom: 16px; }

/* ── Info blocks ────────────────────────────────────────────── */
.info-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 28px 24px;
}
.info-card h3 { color: var(--forest); margin-bottom: 10px; }
.info-card p  { font-size: 15px; color: var(--text-2); line-height: 1.65; }

/* ── Tax callout ────────────────────────────────────────────── */
.tax-callout {
  background: #FEF6E8; border: 1px solid #F5D9A8;
  border-left: 4px solid var(--saffron);
  border-radius: 0 10px 10px 0; padding: 20px 24px;
}
.tax-callout h3 { color: var(--forest); margin-bottom: 6px; }
.tax-callout p  { font-size: 14px; color: #7A5010; line-height: 1.6; }

/* ── Footer CTA banner ──────────────────────────────────────── */
.footer-cta {
  background: var(--forest); color: var(--white);
  padding: 72px 0; text-align: center;
}
.footer-cta h2 { color: var(--white); margin-bottom: 12px; }
.footer-cta p  { color: rgba(255,255,255,0.75); max-width: 480px; margin: 0 auto 32px; font-size: 1.0625rem; }

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
  background: var(--forest); border-top: 1px solid rgba(255,255,255,0.08);
  padding: 28px 0;
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-left { font-size: 13px; color: rgba(255,255,255,0.45); }
.footer-left a { color: rgba(255,255,255,0.55); text-decoration: none; }
.footer-left a:hover { color: var(--white); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.55); text-decoration: none; }
.footer-links a:hover { color: var(--white); }

/* ── Alerts ─────────────────────────────────────────────────── */
.alert {
  padding: 12px 16px; border-radius: 8px; font-size: 14px;
  margin-bottom: 16px; display: none;
}
.alert.visible { display: block; }
.alert-error   { background: #FDECEA; color: #C0392B; border: 1px solid #F5BCBA; }
.alert-success { background: #E8F5EE; color: #2D7A4F; border: 1px solid #A8D5BE; }

/* ── Page hero (inner pages) ────────────────────────────────── */
.page-hero {
  background: var(--forest); padding: 56px 0 48px; color: var(--white);
}
.page-hero h1 { color: var(--white); font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 12px; }
.page-hero p  { color: rgba(255,255,255,0.75); font-size: 1.0625rem; max-width: 560px; }

/* ── 404 ────────────────────────────────────────────────────── */
.not-found {
  min-height: calc(100vh - var(--nav-h));
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 60px 24px;
}
.not-found-icon { font-size: 64px; margin-bottom: 24px; }
.not-found h1 { color: var(--forest); margin-bottom: 12px; }
.not-found p  { color: var(--text-2); max-width: 360px; margin: 0 auto 28px; }

/* ── Divider ────────────────────────────────────────────────── */
.divider { height: 1px; background: var(--border); margin: 0; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }

  .hero { padding: 60px 0 52px; }
  .section { padding: 56px 0; }

  .pillars { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .two-col.flip { direction: ltr; }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .included-list { grid-template-columns: 1fr; }
  .form-card { padding: 24px 20px; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
}

@media (max-width: 480px) {
  .catalog-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: flex-start; }
}
