/* CanadaBusinessOwners.ca — landing styles · refined green + red maple design system */

:root {
  /* Brand — Canadian: green (primary brand/trust) + red maple (accent/CTA).
     Names kept from the SL system; --orange* now carries the maple red, --maroon* a deep green. */
  --orange: #D62A2A;        /* maple red — primary CTA + accents */
  --orange-deep: #B01F22;
  --orange-deeper: #911A1C;
  --green: #178A46;         /* Canadian green — brand + trust */
  --green-deep: #0E6E37;
  --maroon: #0F6E38;        /* deep green — sections/ghost/headings accent */
  --maroon-deep: #0A5A2D;
  --gold: #B78A3C;

  /* Ink + neutrals */
  --ink: #1B1F24;
  --ink-soft: #363C44;
  --muted: #5A626C;
  --muted-2: #7A828C;

  /* Surfaces — neutral, faintly cool (keeps green + red from reading festive) */
  --bg: #FFFFFF;
  --bg-soft: #F4F7F4;
  --cream: #FAFCFA;
  --bg-green: #EEF6F0;
  --line: #E4E9E4;
  --line-soft: #EEF2EE;

  /* Radii */
  --radius: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  /* Elevation */
  --shadow: 0 1px 2px rgba(27, 31, 36, 0.04), 0 8px 24px -12px rgba(27, 31, 36, 0.14);
  --shadow-md: 0 2px 4px rgba(27, 31, 36, 0.05), 0 18px 40px -18px rgba(27, 31, 36, 0.22);
  --shadow-lg: 0 4px 8px rgba(27, 31, 36, 0.06), 0 40px 80px -28px rgba(27, 31, 36, 0.30);
  --ring: 0 0 0 1px rgba(27, 31, 36, 0.05);

  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans",
    Helvetica, Arial, sans-serif;
  --display: var(--sans);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 22px; }

/* Headings — clean professional sans */
h1, h2, h3, .display {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
  /* Long compound words must wrap rather than overflow their box. */
  overflow-wrap: break-word;
}
/* Even out prose ragging / prevent orphans */
.hero .sub, .section-head p, .card p, .faq details p, .trust p, .final-cta p { text-wrap: pretty; }

.tricolor {
  height: 4px;
  background: linear-gradient(90deg, var(--green) 0 50%, var(--orange) 50% 100%);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(236, 228, 216, 0.8);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: auto; height: 46px; }
.header-right { display: flex; align-items: center; gap: 14px; }

.lang-switch { display: flex; gap: 2px; font-size: 14px; }
.lang-switch a {
  padding: 8px 10px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  text-decoration: none;
  border-radius: 10px;
  transition: background 0.15s ease, color 0.15s ease;
}
.lang-switch a:hover { background: var(--bg-soft); color: var(--ink); }
.lang-switch a.active { color: var(--maroon); font-weight: 700; }

/* ---------- Primary nav ---------- */
/* Desktop: inline .primary-nav. Mobile: .primary-nav hides, a <details> hamburger
   drops a full-width .nav-links panel. Two separate blocks avoid the <details>
   content-visibility trap (closed content can't be forced visible with display). */
.primary-nav { display: flex; align-items: center; gap: 4px; }
.nav-menu { display: none; } /* hamburger disclosure: mobile only */
.nav-menu > summary { list-style: none; }
.nav-menu > summary::-webkit-details-marker { display: none; }

.primary-nav > a, .nav-links > a {
  padding: 10px 14px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-weight: 600;
  font-size: 15.5px;
  text-decoration: none;
  border-radius: 10px;
  transition: background 0.15s ease, color 0.15s ease;
}
.primary-nav > a:hover, .nav-links > a:hover { background: var(--bg-soft); color: var(--maroon); }
.primary-nav > a.active, .nav-links > a.active { color: var(--maroon); }
.btn.reg-in-menu { display: none; } /* register: shown only inside the mobile panel */

.nav-toggle {
  display: flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
  border-radius: 10px;
}
.nav-toggle:hover { background: var(--bg-soft); }
.nav-toggle:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.nav-bars, .nav-bars::before, .nav-bars::after {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s ease, top 0.2s ease, background 0.2s ease;
}
.nav-bars { position: relative; }
.nav-bars::before, .nav-bars::after { content: ""; position: absolute; left: 0; }
.nav-bars::before { top: -7px; }
.nav-bars::after { top: 7px; }

@media (max-width: 880px) {
  .primary-nav { display: none; }
  .nav-menu { display: flex; align-items: center; }
  .header-right { margin-left: auto; }
  .btn.reg-desktop { display: none; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px 16px calc(14px + env(safe-area-inset-bottom));
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }
  .nav-menu[open] .nav-links { display: flex; }
  .nav-links > a { font-size: 16px; padding: 13px 14px; }
  .btn.reg-in-menu { display: inline-flex; margin-top: 6px; }
  .nav-menu[open] .nav-bars { background: transparent; }
  .nav-menu[open] .nav-bars::before { top: 0; transform: rotate(45deg); }
  .nav-menu[open] .nav-bars::after { top: 0; transform: rotate(-45deg); }
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 13px 30px;
  background: linear-gradient(180deg, #E23B37 0%, var(--orange-deep) 100%);
  color: #fff;
  font-family: var(--sans);
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 10px 24px -10px rgba(176, 31, 34, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -10px rgba(176, 31, 34, 0.62),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  filter: saturate(1.05);
}
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.btn-sm { min-height: 44px; padding: 10px 22px; font-size: 15px; }
.btn[disabled] { opacity: 0.65; cursor: wait; transform: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 96px;
  text-align: center;
  background:
    radial-gradient(58% 52% at 80% -10%, rgba(214, 42, 42, 0.16), transparent 62%),
    radial-gradient(48% 46% at 4% 6%, rgba(23, 138, 70, 0.10), transparent 60%),
    radial-gradient(56% 58% at 50% 118%, rgba(23, 138, 70, 0.12), transparent 60%),
    linear-gradient(180deg, #FCFEFC 0%, var(--bg-soft) 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(27, 31, 36, 0.04) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000 0%, transparent 78%);
  mask-image: radial-gradient(70% 60% at 50% 40%, #000 0%, transparent 78%);
  pointer-events: none;
}
.hero > .container { position: relative; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  color: var(--green-deep);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 26px;
  box-shadow: var(--shadow);
}
.hero h1 {
  font-size: clamp(2.3rem, 5vw + 0.6rem, 4rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  max-width: 18ch;
  margin: 0 auto 20px;
}
.hero h1 em {
  font-style: normal;
  color: var(--maroon);
}
.hero .sub {
  font-size: clamp(1.05rem, 0.8vw + 0.95rem, 1.28rem);
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 0 auto 34px;
  line-height: 1.6;
}
.hero .micro { margin-top: 16px; font-size: 14px; color: var(--muted); }

/* ---------- Sections ---------- */
section { padding: 84px 0; }
.section-soft { background: var(--bg-soft); }
.section-green { background: var(--bg-green); }

.eyebrow {
  display: inline-block;
  color: var(--maroon);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 14px;
  padding-bottom: 2px;
  position: relative;
}
h2 {
  font-size: clamp(1.7rem, 2.6vw + 0.7rem, 2.6rem);
  line-height: 1.15;
  margin-bottom: 14px;
}
.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-head p { color: var(--muted); font-size: 1.06rem; }

/* Long-form prose (About, legal pages) */
.prose { max-width: 720px; margin: 0 auto; }
.prose p { color: var(--ink-soft); font-size: 1.06rem; line-height: 1.7; margin-bottom: 1.15em; text-wrap: pretty; }
.prose p:last-child { margin-bottom: 0; }

/* Trust strip */
.trust {
  padding: 26px 0;
  background: linear-gradient(100deg, var(--maroon) 0%, var(--maroon-deep) 100%);
  color: #fff;
  text-align: center;
}
.trust p {
  font-size: 16px;
  font-weight: 500;
  max-width: 74ch;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.94);
}

/* Cards */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .grid-4 { grid-template-columns: 1fr; }
  .grid-5 { grid-template-columns: 1fr; }
}

.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-soft);
}
.card h3 { font-size: 1.2rem; margin: 16px 0 8px; letter-spacing: -0.01em; }
.card p { color: var(--muted); font-size: 15.5px; line-height: 1.6; }

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.5rem;
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.step-1 .step-num { background: linear-gradient(160deg, #E23B37, var(--orange-deep)); }
.step-2 .step-num { background: linear-gradient(160deg, #1BA054, var(--maroon)); }
.step-3 .step-num { background: linear-gradient(160deg, #2AAE5A, var(--green)); }

.benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: linear-gradient(160deg, #F4FAF5, #E4F1E7);
  border: 1px solid #DCEBDF;
  font-size: 1.4rem;
}

/* Category chips */
.chips { display: flex; flex-wrap: wrap; gap: 11px; justify-content: center; max-width: 920px; margin: 0 auto; }
.chip {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.chip:hover { transform: translateY(-2px); border-color: var(--orange); color: var(--orange-deep); }
.districts-line { text-align: center; color: var(--muted); margin-top: 30px; font-size: 15.5px; }
.districts-line strong { color: var(--green-deep); font-weight: 700; }

/* ---------- Packages / pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
@media (max-width: 980px) { .pricing { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pricing { grid-template-columns: 1fr; } }
.price-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 28px 22px; box-shadow: var(--shadow); position: relative;
}
.price-card.featured { border-color: var(--orange); box-shadow: var(--shadow-md); }
.price-card .tier-name { font-weight: 800; font-size: 1.15rem; }
.price-card .price { font-size: 1.65rem; font-weight: 800; letter-spacing: -0.02em; margin-top: 12px; color: var(--ink); }
.price-card .period { font-size: 13.5px; color: var(--muted); font-weight: 600; }
.price-card .tagline { color: var(--muted); font-size: 14px; margin: 8px 0 16px; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 4px; display: grid; gap: 9px; }
.price-card li { font-size: 14.5px; padding-left: 24px; position: relative; color: var(--ink-soft); line-height: 1.5; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.price-badge {
  position: absolute; top: -12px; left: 22px; background: var(--orange); color: #fff;
  font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em;
  padding: 4px 12px; border-radius: 999px;
}
.pkg-promise { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
@media (max-width: 680px) { .pkg-promise { grid-template-columns: 1fr; } }
.pkg-col { border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); }
.pkg-col.deliver { background: var(--bg-green); border-color: #CDE7D3; }
.pkg-col.cant { background: #FBEEF0; border-color: #EBC9CF; }
.pkg-col h3 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 12px; }
.pkg-col.deliver h3 { color: var(--green-deep); }
.pkg-col.cant h3 { color: var(--maroon); }
.pkg-col ul { margin: 0; padding-left: 18px; display: grid; gap: 8px; }
.pkg-col li { font-size: 14.5px; color: var(--ink-soft); line-height: 1.5; }
.pkg-micro { text-align: center; color: var(--muted); font-size: 15px; margin-top: 28px; }

/* ---------- Legal pages (privacy / terms) ---------- */
.legal { max-width: 760px; margin: 0 auto; }
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.legal h2 { font-size: 1.3rem; margin: 34px 0 10px; }
.legal p { color: var(--ink-soft); line-height: 1.7; margin-bottom: 12px; text-wrap: pretty; }

/* ---------- Form ---------- */
.form-wrap {
  max-width: 700px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  padding: 40px 34px;
}
@media (max-width: 560px) { .form-wrap { padding: 26px 18px; } }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

.field { margin-bottom: 20px; }
label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 7px; color: var(--ink-soft); }
label .req { color: var(--maroon); }
.hint { font-size: 13.5px; color: var(--muted); margin-top: 6px; }

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="url"],
input[type="file"],
select,
textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 15px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--cream);
  border: 1.5px solid #D3D9D3;
  border-radius: 12px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
textarea { min-height: 130px; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: #BFC7BF; }
input:focus, select:focus, textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(214, 42, 42, 0.14);
}
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] {
  border-color: var(--maroon);
  box-shadow: 0 0 0 4px rgba(23, 138, 70, 0.12);
}

.check-field { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 20px; }
.check-field input { width: 22px; height: 22px; margin-top: 3px; flex: none; accent-color: var(--green); }
.check-field label { font-weight: 400; font-size: 15px; margin: 0; color: var(--ink-soft); }
.check-field a { color: var(--maroon); font-weight: 600; }

.char-count { font-size: 13px; color: var(--muted); text-align: right; margin-top: 5px; }

details.optional {
  border: 1.5px dashed #CCD3CC;
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 22px;
  background: var(--cream);
}
details.optional summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--green-deep);
  font-size: 15.5px;
  min-height: 30px;
}
details.optional[open] summary { margin-bottom: 18px; }

.field-err { display: none; color: var(--maroon); font-size: 14px; font-weight: 600; margin-top: 6px; }
.field-err.show { display: block; }
.form-alert {
  display: none;
  background: #FDECEE;
  border: 1px solid var(--maroon);
  color: var(--maroon);
  border-radius: 12px;
  padding: 13px 16px;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 20px;
}
.form-alert.show { display: block; }

.hp-wrap { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 4px 22px;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.faq details[open] { border-color: #DAE0DA; box-shadow: var(--shadow-md); }
.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 16.5px;
  padding: 16px 0;
  min-height: 44px;
  list-style-position: outside;
  color: var(--ink);
}
.faq details p { color: var(--muted); padding: 0 0 18px; line-height: 1.6; }

/* ---------- Final CTA ---------- */
.final-cta {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(50% 120% at 15% 0%, rgba(214, 42, 42, 0.28), transparent 60%),
    radial-gradient(50% 120% at 90% 100%, rgba(23, 138, 70, 0.24), transparent 62%),
    linear-gradient(125deg, var(--maroon) 0%, var(--maroon-deep) 100%);
  color: #fff;
  text-align: center;
  padding: 90px 0;
}
.final-cta h2 { color: #fff; font-size: clamp(1.8rem, 2.8vw + 0.7rem, 2.8rem); }
.final-cta p { color: rgba(255, 255, 255, 0.88); margin-bottom: 30px; font-size: 1.1rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: #14171B;
  color: #C3C8CF;
  padding: 56px 0 96px;
  font-size: 15px;
  border-top: 4px solid transparent;
  border-image: linear-gradient(90deg, var(--green) 0 50%, var(--orange) 50% 100%) 1;
}
.site-footer .cols { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; align-items: flex-start; }
.site-footer img { height: 54px; width: auto; background: #fff; border-radius: 12px; padding: 7px 11px; }
.site-footer a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.25); transition: border-color 0.15s ease; }
.site-footer a:hover { border-color: rgba(255, 255, 255, 0.7); }
.site-footer .lang-switch a { border-bottom: 0; }
.site-footer .lang-switch a { color: #C3C8CF; }
.site-footer .lang-switch a.active { color: #fff; }
.site-footer .foot-note { margin-top: 34px; padding-top: 20px; border-top: 1px solid #2A2E34; font-size: 13.5px; color: #868D96; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  padding: 11px 16px calc(11px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform 0.25s ease;
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta .btn { width: 100%; }
@media (min-width: 768px) { .sticky-cta { display: none; } }

/* ---------- Thanks page ---------- */
.thanks-hero {
  min-height: 72vh;
  display: flex;
  align-items: center;
  padding: 60px 0;
  background:
    radial-gradient(50% 50% at 50% 0%, rgba(23, 138, 70, 0.10), transparent 62%),
    linear-gradient(180deg, #FCFEFC, var(--bg-soft));
}
.thanks-card { max-width: 580px; margin: 0 auto; text-align: center; }
.thanks-icon {
  width: 84px; height: 84px; border-radius: 50%;
  background: linear-gradient(160deg, #E9F6EC, #D6EEDB);
  border: 1px solid #C9E6CF;
  color: var(--green-deep);
  font-size: 2.4rem; display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}
.thanks-card h1 { font-size: clamp(1.8rem, 3vw + 0.8rem, 2.6rem); margin-bottom: 16px; }
.thanks-card p { color: var(--muted); margin-bottom: 14px; font-size: 1.05rem; }
.thanks-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 30px; }
.btn-whatsapp { background: linear-gradient(180deg, #22C15E, #1DA851); box-shadow: 0 10px 24px -10px rgba(29, 168, 81, 0.55), inset 0 1px 0 rgba(255,255,255,0.28); }
.btn-whatsapp:hover { box-shadow: 0 16px 30px -10px rgba(29, 168, 81, 0.6), inset 0 1px 0 rgba(255,255,255,0.28); }
.btn-ghost { background: #fff; color: var(--maroon); border: 1.5px solid var(--maroon); box-shadow: var(--shadow); }
.btn-ghost:hover { background: var(--bg-soft); filter: none; }

/* ---------- Scroll reveal (progressive, JS-gated) ---------- */
html.is-revealing .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
html.is-revealing .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Utility / a11y ---------- */
/* Consistent keyboard focus ring for interactive elements that aren't buttons/inputs
   (those already carry their own focus styles). */
a:not(.btn):focus-visible, summary:focus-visible, .chip:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  border-radius: 8px;
}
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .sticky-cta, .card, .chip { transition: none; }
  html.is-revealing .reveal { opacity: 1; transform: none; transition: none; }
}
