.hidden { display: none !important; }

:root {
  --bg: #080b13;
  --surface: #101522;
  --surface-2: #171d2b;
  --text: #f2f4f7;
  --muted: #a7b0c0;
  --line: #283142;
  --brand: #9278ff;
  --brand-dark: #a28cff;
  --brand-soft: #20194a;
  --success: #4fd49b;
  --warning: #f2b15f;
  --shadow: 0 28px 70px rgba(0, 0, 0, .35);
  --radius: 24px;
  --radius-sm: 14px;
  --container: 1180px;
}

html[data-theme="dark"] {
  --bg: #080b13;
  --surface: #101522;
  --surface-2: #171d2b;
  --text: #f2f4f7;
  --muted: #a7b0c0;
  --line: #283142;
  --brand: #9278ff;
  --brand-dark: #a28cff;
  --brand-soft: #20194a;
  --success: #4fd49b;
  --warning: #f2b15f;
  --shadow: 0 28px 70px rgba(0, 0, 0, .35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
.container { width: min(calc(100% - 40px), var(--container)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 75%, transparent);
}
.header-inner { min-height: 76px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 11px; min-width: 230px; }
.brand-mark, .brand-statement-mark {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: transparent;
  color: #fff; font-weight: 900; box-shadow: none;
}

/* Keep the official ESPES logo contained inside its brand mark. */
.brand-mark img,
.brand-statement-mark img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 50%;
}
.brand-copy { display: grid; line-height: 1.1; }
.brand-copy strong { letter-spacing: .05em; font-size: 14px; }
.brand-copy small { color: var(--muted); font-size: 9px; letter-spacing: .14em; margin-top: 5px; }
.desktop-nav { display: flex; align-items: center; gap: 25px; margin-left: auto; }
.desktop-nav a { color: var(--muted); font-size: 13px; font-weight: 700; }
.desktop-nav a:hover { color: var(--text); }
.header-actions { display: flex; gap: 8px; }
.icon-button {
  width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface); color: var(--text); font-weight: 800;
}
.language-button { font-size: 11px; }

.hero { padding: 82px 0 74px; background: radial-gradient(circle at 78% 20%, var(--brand-soft), transparent 35%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(330px, .65fr); gap: 70px; align-items: center; }
.eyebrow, .section-kicker, .card-label, .modal-kicker {
  color: var(--brand); font-size: 11px; font-weight: 900; letter-spacing: .16em;
}
.hero h1 { margin: 16px 0 22px; font-size: clamp(48px, 7vw, 86px); line-height: .98; letter-spacing: -.055em; max-width: 760px; }
.hero-copy > p { max-width: 650px; color: var(--muted); font-size: 18px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 30px 0 24px; }
.button {
  min-height: 48px; padding: 0 20px; border: 0; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 900; letter-spacing: .04em; transition: transform .15s ease, box-shadow .15s ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--brand); color: #fff; box-shadow: 0 12px 28px rgba(109, 74, 255, .22); }
.button-primary:hover { background: var(--brand-dark); }
.button-secondary { background: var(--surface); color: var(--text); border: 1px solid var(--line); }
.button-wide { width: 100%; }
.trust-line { display: flex; flex-wrap: wrap; gap: 14px 20px; color: var(--muted); font-size: 12px; font-weight: 700; }

.rate-card, .purchase-card, .tracking-card, .support-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.rate-card { padding: 30px; }
.live-rate { font-size: 46px; line-height: 1; font-weight: 900; letter-spacing: -.05em; margin: 14px 0; }
.live-rate small { font-size: 13px; letter-spacing: .02em; color: var(--muted); }
.rate-card > p { color: var(--muted); font-size: 13px; }
.rate-examples { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 8px; }
.rate-examples div { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.rate-examples div:last-child { border-bottom: 0; }
.rate-examples span { color: var(--muted); }
.rate-status { display: flex; gap: 8px; align-items: center; margin-top: 15px; font-size: 11px; color: var(--success); font-weight: 800; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

.section { padding: 92px 0; }
.purchase-section { background: var(--bg); }
.purchase-grid, .tracking-grid, .security-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 70px; align-items: start; }
.section-intro h2, .security-layout h2, .support-card h2, .section-heading h2 {
  font-size: clamp(34px, 4vw, 54px); line-height: 1.02; letter-spacing: -.04em; margin: 10px 0 16px;
}
.section-intro p, .security-layout p, .section-heading p, .support-card p { color: var(--muted); max-width: 570px; }
.mini-assurance { margin-top: 35px; padding: 18px; border-left: 3px solid var(--brand); background: var(--surface); border-radius: 0 14px 14px 0; }
.mini-assurance strong, .mini-assurance span { display: block; }
.mini-assurance strong { font-size: 13px; }
.mini-assurance span { color: var(--muted); font-size: 12px; margin-top: 5px; }

.purchase-card { padding: 30px; }
.form-section { margin-bottom: 19px; }
.field-label { display: block; font-size: 12px; font-weight: 900; margin-bottom: 8px; }
.field-hint { color: var(--muted); font-size: 11px; margin-top: 6px; }
input, select {
  width: 100%; height: 50px; padding: 0 14px; border: 1px solid var(--line);
  border-radius: 12px; background: var(--surface); color: var(--text); outline: none;
}
input:focus, select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.amount-control { display: grid; grid-template-columns: 52px 1fr 52px; gap: 8px; }
.amount-control button { border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); color: var(--text); font-size: 25px; }
.amount-control input { text-align: center; font-size: 20px; font-weight: 900; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 18px; }
.field-notice { margin-top: 8px; color: var(--warning); font-size: 11px; }
.order-summary { border: 1px solid var(--line); border-radius: 16px; padding: 18px; background: var(--surface-2); margin: 22px 0; }
.summary-heading { font-size: 10px; letter-spacing: .13em; font-weight: 900; color: var(--muted); margin-bottom: 10px; }
.summary-row { display: flex; justify-content: space-between; padding: 9px 0; font-size: 13px; }
.summary-row span { color: var(--muted); }
.summary-total { border-top: 1px solid var(--line); margin-top: 5px; padding-top: 14px; font-size: 17px; }
.summary-total strong { font-size: 20px; }
.security-inline { display: flex; gap: 12px; padding: 14px 0 20px; }
.security-icon, .success-icon { display: grid; place-items: center; flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-weight: 900; }
.security-inline strong { font-size: 12px; }
.security-inline p { margin: 2px 0 0; color: var(--muted); font-size: 11px; }

.light-section { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.centered { text-align: center; }
.centered p { margin-left: auto; margin-right: auto; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 42px; }
.step-card { padding: 25px; border: 1px solid var(--line); border-radius: 18px; background: var(--bg); }
.step-card > span { color: var(--brand); font-weight: 900; font-size: 11px; }
.step-card h3 { margin: 30px 0 8px; font-size: 20px; }
.step-card p { color: var(--muted); font-size: 13px; margin: 0; }

.security-points { display: grid; gap: 12px; }
.security-points > div { display: flex; gap: 20px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.security-points strong { color: var(--brand); font-size: 11px; }
.security-points b, .security-points small { display: block; }
.security-points b { font-size: 14px; }
.security-points small { color: var(--muted); margin-top: 4px; font-size: 12px; }

.tracking-section { background: var(--surface-2); }
.tracking-card { padding: 28px; }
.tracking-result { margin-top: 20px; padding: 18px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); }
.tracking-result-title { color: var(--brand); font-weight: 900; font-size: 10px; letter-spacing: .14em; margin-bottom: 8px; }
.tracking-detail { display: flex; justify-content: space-between; gap: 15px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.tracking-detail span { color: var(--muted); }
.tracking-status { margin-top: 15px; padding: 12px; border-radius: 10px; background: var(--brand-soft); color: var(--text); font-size: 12px; font-weight: 800; }

.support-section { padding-top: 30px; }
.support-card { padding: 38px; display: flex; justify-content: space-between; gap: 40px; align-items: center; }
.support-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.support-number { display: grid; }
.support-number span, .support-number small { color: var(--muted); font-size: 11px; }
.support-number strong { font-size: 17px; }

.brand-statement { padding: 100px 0; text-align: center; background: var(--surface); }
.brand-statement-mark { margin: 0 auto 20px; width: 54px; height: 54px; }
.statement-brand { font-size: 12px; letter-spacing: .18em; font-weight: 900; color: var(--brand); }
.brand-statement h2 { max-width: 850px; margin: 16px auto; font-size: clamp(30px, 5vw, 58px); line-height: 1.03; letter-spacing: -.045em; }
.brand-statement > .container > p:last-child { max-width: 720px; margin: 0 auto; color: var(--muted); }

.site-footer { border-top: 1px solid var(--line); padding: 30px 0; background: var(--surface); }
.footer-grid { display: grid; grid-template-columns: 1fr auto auto; gap: 30px; align-items: center; }
.footer-grid > div:first-child strong, .footer-grid > div:first-child span { display: block; }
.footer-grid > div:first-child strong { font-size: 13px; letter-spacing: .08em; }
.footer-grid > div:first-child span { color: var(--muted); font-size: 11px; margin-top: 4px; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); font-size: 11px; font-weight: 700; }
.copyright { color: var(--muted); font-size: 10px; }

.form-message { min-height: 20px; margin-top: 12px; font-size: 12px; }
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.is-open, .modal[aria-hidden="false"] { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(3, 6, 15, .72); backdrop-filter: blur(8px); }
.modal-panel { position: relative; z-index: 1; width: min(100%, 620px); max-height: 92vh; overflow: auto; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 24px; padding: 30px; box-shadow: 0 40px 100px rgba(0,0,0,.35); }
.modal-close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--text); font-size: 23px; }
.modal-panel h2 { margin: 8px 45px 8px 0; font-size: 32px; line-height: 1.05; letter-spacing: -.035em; }
.modal-panel > p { color: var(--muted); font-size: 13px; }
.modal-order { display: grid; grid-template-columns: 1.4fr .6fr .9fr; gap: 8px; margin: 20px 0; }
.modal-order > div { padding: 13px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; }
.modal-order span, .modal-order strong { display: block; }
.modal-order span { color: var(--muted); font-size: 10px; }
.modal-order strong { margin-top: 4px; font-size: 13px; overflow-wrap: anywhere; }
.expiry-box { margin: 12px 0; }
.payment-instructions-box { border: 1px solid var(--line); border-radius: 16px; padding: 18px; background: var(--surface-2); }
.payment-instructions-box #paymentInstructions { font-size: 13px; }
.payment-security-notice { margin-top: 12px; color: var(--muted); font-size: 11px; }
.payment-form { margin-top: 18px; }
.payment-success { padding: 22px 0; }
.payment-success h3 { margin-bottom: 8px; }
.payment-success p { color: var(--muted); font-size: 13px; }
.success-icon { width: 48px; height: 48px; font-size: 22px; }
#doneBtn { margin-top: 12px; }

@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .hero-grid, .purchase-grid, .tracking-grid, .security-layout { grid-template-columns: 1fr; gap: 38px; }
  .hero { padding-top: 58px; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .support-card { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 15px; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .header-inner { min-height: 68px; gap: 10px; }
  .brand { min-width: 0; margin-right: auto; }
  .brand-copy strong { font-size: 12px; }
  .brand-copy small { font-size: 8px; }
  .brand-mark { width: 36px; height: 36px; }
  .hero { padding: 45px 0 52px; }
  .hero h1 { font-size: clamp(43px, 15vw, 64px); }
  .hero-copy > p { font-size: 15px; }
  .hero-actions .button { width: 100%; }
  .trust-line { display: grid; gap: 8px; }
  .rate-card { padding: 22px; }
  .live-rate { font-size: 38px; }
  .section { padding: 66px 0; }
  .form-grid, .steps-grid, .modal-order { grid-template-columns: 1fr; }
  .purchase-card, .tracking-card { padding: 20px; }
  .section-intro h2, .security-layout h2, .support-card h2, .section-heading h2 { font-size: 38px; }
  .support-card { padding: 24px; }
  .support-actions { width: 100%; }
  .support-actions .button { width: 100%; }
  .footer-links { gap: 12px; }
  .modal { padding: 10px; }
  .modal-panel { padding: 22px 18px; border-radius: 18px; }
  .modal-panel h2 { font-size: 27px; }
}
/* ============================================================
   ZION ESPEES — TYPOGRAPHY READABILITY UPGRADE
   SAFE PATCH — ADD THIS AT THE VERY END OF style.css

   This changes typography only. It does NOT change the
   transaction logic, layout structure, Supabase, payment flow,
   Web Push, or existing functionality.
============================================================ */

/* Global customer-facing text */
body {
  font-size: 17px;
  line-height: 1.65;
}

/* Header */
.brand-copy strong {
  font-size: 15px;
}

.brand-copy small {
  font-size: 10px;
}

.desktop-nav a {
  font-size: 14px;
}

.language-button {
  font-size: 13px;
}

/* Small section labels */
.eyebrow,
.section-kicker,
.card-label,
.modal-kicker {
  font-size: 13px;
  letter-spacing: .14em;
}

/* Hero supporting text */
.hero-copy > p {
  font-size: 20px;
  line-height: 1.7;
}

.trust-line {
  font-size: 14px;
  line-height: 1.55;
}

/* Buttons */
.button {
  min-height: 54px;
  padding-left: 22px;
  padding-right: 22px;
  font-size: 14px;
}

/* Rate card */
.live-rate {
  font-size: 50px;
}

.live-rate small {
  font-size: 16px;
}

.rate-card > p {
  font-size: 15px;
  line-height: 1.65;
}

.rate-examples div {
  font-size: 15px;
  padding: 13px 0;
}

.rate-status {
  font-size: 14px;
}

/* Main section headings */
.section-intro h2,
.security-layout h2,
.support-card h2,
.section-heading h2 {
  font-size: clamp(38px, 4.5vw, 58px);
}

.section-intro p,
.security-layout p,
.section-heading p,
.support-card p {
  font-size: 18px;
  line-height: 1.7;
}

/* Purchase form */
.field-label {
  font-size: 15px;
}

.field-hint {
  font-size: 14px;
  line-height: 1.55;
}

input,
select {
  height: 56px;
  padding-left: 16px;
  padding-right: 16px;
  font-size: 17px;
}

.amount-control input {
  font-size: 23px;
}

.amount-control button {
  font-size: 28px;
}

.mini-assurance strong {
  font-size: 15px;
}

.mini-assurance span {
  font-size: 14px;
  line-height: 1.6;
}

.order-summary {
  padding: 22px;
}

.summary-heading {
  font-size: 12px;
}

.summary-row {
  font-size: 16px;
  padding: 11px 0;
}

.summary-total {
  font-size: 19px;
}

.summary-total strong {
  font-size: 22px;
}

.security-inline strong {
  font-size: 15px;
}

.security-inline p {
  font-size: 14px;
  line-height: 1.6;
}

.form-message {
  font-size: 14px;
}

/* How it works */
.step-card > span {
  font-size: 13px;
}

.step-card h3 {
  font-size: 23px;
}

.step-card p {
  font-size: 16px;
  line-height: 1.65;
}

/* Security */
.security-points > div {
  padding: 24px;
}

.security-points strong {
  font-size: 13px;
}

.security-points b {
  font-size: 17px;
}

.security-points small {
  font-size: 15px;
  line-height: 1.6;
}

/* Tracking */
.tracking-card {
  padding: 30px;
}

.tracking-result-title {
  font-size: 12px;
}

.tracking-detail {
  font-size: 16px;
  padding: 11px 0;
}

.tracking-status {
  font-size: 14px;
  line-height: 1.55;
}

/* Support */
.support-number span,
.support-number small {
  font-size: 14px;
}

.support-number strong {
  font-size: 20px;
}

/* Brand statement */
.statement-brand {
  font-size: 14px;
}

.brand-statement > .container > p:last-child {
  font-size: 18px;
  line-height: 1.7;
}

/* Footer */
.footer-grid > div:first-child strong {
  font-size: 15px;
}

.footer-grid > div:first-child span {
  font-size: 13px;
}

.footer-links a {
  font-size: 13px;
}

.copyright {
  font-size: 12px;
}

/* Payment modal */
.modal-panel > p {
  font-size: 16px;
  line-height: 1.65;
}

.modal-order span {
  font-size: 12px;
}

.modal-order strong {
  font-size: 15px;
}

.payment-instructions-box #paymentInstructions {
  font-size: 16px;
  line-height: 1.7;
}

.payment-security-notice {
  font-size: 14px;
  line-height: 1.6;
}

.payment-success p {
  font-size: 16px;
  line-height: 1.65;
}


/* ============================================================
   MOBILE — PRIORITIZE EASY READING
============================================================ */

@media (max-width: 620px) {

  body {
    font-size: 17px;
    line-height: 1.65;
  }

  .brand-copy strong {
    font-size: 14px;
  }

  .brand-copy small {
    font-size: 9px;
  }

  .eyebrow,
  .section-kicker,
  .card-label,
  .modal-kicker {
    font-size: 12px;
  }

  .hero-copy > p {
    font-size: 18px;
    line-height: 1.7;
  }

  .trust-line {
    font-size: 14px;
  }

  .button {
    min-height: 56px;
    font-size: 15px;
  }

  .rate-card {
    padding: 26px;
  }

  .live-rate {
    font-size: 44px;
  }

  .live-rate small {
    font-size: 15px;
  }

  .rate-card > p {
    font-size: 16px;
  }

  .rate-examples div {
    font-size: 16px;
  }

  .rate-status {
    font-size: 15px;
  }

  .section {
    padding: 74px 0;
  }

  .section-intro h2,
  .security-layout h2,
  .support-card h2,
  .section-heading h2 {
    font-size: 40px;
    line-height: 1.02;
  }

  .section-intro p,
  .security-layout p,
  .section-heading p,
  .support-card p {
    font-size: 18px;
    line-height: 1.7;
  }

  .purchase-card,
  .tracking-card {
    padding: 24px;
  }

  .field-label {
    font-size: 16px;
  }

  .field-hint {
    font-size: 14px;
  }

  input,
  select {
    height: 58px;
    font-size: 17px;
  }

  .amount-control input {
    font-size: 24px;
  }

  .mini-assurance strong {
    font-size: 15px;
  }

  .mini-assurance span {
    font-size: 14px;
  }

  .summary-heading {
    font-size: 12px;
  }

  .summary-row {
    font-size: 17px;
  }

  .summary-total {
    font-size: 20px;
  }

  .summary-total strong {
    font-size: 23px;
  }

  .security-inline strong {
    font-size: 16px;
  }

  .security-inline p {
    font-size: 14px;
  }

  .step-card {
    padding: 28px;
  }

  .step-card > span {
    font-size: 13px;
  }

  .step-card h3 {
    font-size: 24px;
  }

  .step-card p {
    font-size: 16px;
  }

  .security-points > div {
    padding: 25px;
  }

  .security-points b {
    font-size: 18px;
  }

  .security-points small {
    font-size: 15px;
  }

  .tracking-detail {
    font-size: 16px;
  }

  .support-number span,
  .support-number small {
    font-size: 14px;
  }

  .support-number strong {
    font-size: 21px;
  }

  .brand-statement > .container > p:last-child {
    font-size: 18px;
  }

  .footer-grid > div:first-child strong {
    font-size: 15px;
  }

  .footer-grid > div:first-child span {
    font-size: 13px;
  }

  .footer-links a {
    font-size: 13px;
  }

  .copyright {
    font-size: 12px;
  }

  /* Payment modal: especially important on phones */
  .modal-panel {
    padding: 25px 20px;
  }

  .modal-panel h2 {
    font-size: 30px;
  }

  .modal-panel > p {
    font-size: 17px;
  }

  .modal-order span {
    font-size: 13px;
  }

  .modal-order strong {
    font-size: 16px;
  }

  .payment-instructions-box #paymentInstructions {
    font-size: 16px;
  }

  .payment-security-notice {
    font-size: 14px;
  }

  .payment-success p {
    font-size: 16px;
  }
}
/* ============================================================
   ZION ESPEES — DARK-FIRST FINAL POLISH
   Apply AFTER the existing style.css
============================================================ */

/* Keep anchored sections clear of the sticky header */
[id]{
  scroll-margin-top:90px;
}

/* Dark mode is the primary visual identity */
html[data-theme="dark"] .language-button{
  background:var(--navy-2);
  color:var(--ink);
  border-color:var(--line);
}

html[data-theme="dark"] .language-button:hover{
  background:var(--purple-soft);
  border-color:var(--purple);
}

/* Keep the theme control refined and secondary */
html[data-theme="dark"] .header-actions .icon-button{
  background:transparent;
  border-color:var(--line);
  color:var(--ink);
}

html[data-theme="dark"] .header-actions .icon-button:hover{
  background:var(--navy-2);
  border-color:var(--purple);
}

/* Slightly tighten the mobile rhythm without making the page cramped */
@media(max-width:620px){

  .section{
    padding:64px 0;
  }

  .hero{
    padding:50px 0 52px;
  }

  .hero-grid{
    gap:30px;
  }

  .section-heading{
    margin-bottom:32px;
  }

  .purchase-grid{
    gap:24px;
  }

  .steps-grid{
    gap:10px;
  }

  .security-layout,
  .tracking-grid{
    gap:28px;
  }

  .brand-statement{
    padding:64px 0;
  }

  /* Give cards a little less vertical bulk */
  .step-card{
    padding:24px;
  }

  .security-points>div{
    padding:23px;
  }

  .tracking-card{
    padding:22px;
  }

  .support-card{
    padding:26px 22px;
  }
}

/* Desktop: retain generous premium spacing */
@media(min-width:621px){

  .section{
    padding:80px 0;
  }

  .brand-statement{
    padding:80px 0;
  }
}

/* Preserve strong dark-mode separation between cards and page */
html[data-theme="dark"] .purchase-card,
html[data-theme="dark"] .step-card,
html[data-theme="dark"] .tracking-card,
html[data-theme="dark"] .support-card,
html[data-theme="dark"] .security-points>div{
  box-shadow:0 12px 38px rgba(0,0,0,.18);
}

/* Make the dark hero feel intentional rather than simply inverted */
html[data-theme="dark"] .hero{
  background:
    radial-gradient(circle at 83% 12%,rgba(109,74,255,.22),transparent 34%),
    linear-gradient(135deg,#080b13,#0d1020);
}

html[data-theme="dark"] .brand-statement{
  background:
    radial-gradient(circle at 15% 25%,rgba(109,74,255,.12),transparent 32%),
    linear-gradient(135deg,#080b13,#0d1020);
}

/* Slightly clearer active/focus states on dark surfaces */
html[data-theme="dark"] input:focus,
html[data-theme="dark"] select:focus{
  box-shadow:0 0 0 4px rgba(141,114,255,.18);
}

/* Keep mobile header visually stable while scrolling */
@media(max-width:620px){
  .site-header{
    background:rgba(11,16,32,.94);
  }

  html[data-theme="dark"] .site-header{
    background:rgba(7,10,18,.94);
  }
}

/* ============================================================
   ZION ESPEES — FINAL MOBILE RHYTHM POLISH
   Typography remains unchanged. This only improves spacing,
   section rhythm and mobile navigation comfort.
============================================================ */

[id]{
  scroll-margin-top:92px;
}

@media (max-width: 620px) {
  .hero {
    padding: 42px 0 48px;
  }

  .hero-grid {
    gap: 24px;
  }

  .hero-actions {
    margin-top: 26px;
    margin-bottom: 20px;
  }

  .rate-card {
    padding: 24px;
  }

  .section {
    padding: 58px 0;
  }

  .purchase-grid,
  .tracking-grid,
  .security-layout {
    gap: 24px;
  }

  .section-intro h2,
  .security-layout h2,
  .support-card h2,
  .section-heading h2 {
    margin-top: 8px;
    margin-bottom: 14px;
  }

  .section-intro > p,
  .security-layout > div:first-child > p,
  .section-heading > p,
  .support-card > div:first-child > p {
    margin-top: 0;
  }

  .mini-assurance {
    margin-top: 28px;
  }

  .purchase-card {
    padding: 22px;
  }

  .steps-grid {
    gap: 12px;
    margin-top: 30px;
  }

  .step-card {
    padding: 24px;
  }

  .step-card h3 {
    margin-top: 24px;
  }

  .security-points {
    gap: 10px;
  }

  .security-points > div {
    padding: 22px;
    gap: 16px;
  }

  .tracking-card {
    padding: 22px;
  }

  .support-section {
    padding-top: 18px;
  }

  .support-card {
    padding: 24px 22px;
    gap: 24px;
  }

  .brand-statement {
    padding: 60px 0;
  }

  .brand-statement-mark {
    margin-bottom: 16px;
  }

  .brand-statement h2 {
    margin: 12px auto 16px;
  }

  .site-footer {
    padding: 26px 0;
  }

  .footer-grid {
    gap: 13px;
  }
}

@media (min-width: 621px) {
  .section {
    padding: 80px 0;
  }

  .brand-statement {
    padding: 80px 0;
  }
}


/* ============================================================
   ZION ESPEES — ACTIVE ORDER RECOVERY
   Dark-only customer experience
============================================================ */

.zion-recovery-card {
  width: min(100%, 560px);
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow);
}

.zion-recovery-title {
  color: var(--text);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.2;
}

.zion-recovery-subtitle {
  margin-top: 7px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.zion-recovery-order {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-2);
}

.zion-recovery-order-number {
  color: var(--brand);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.zion-recovery-details {
  margin-top: 5px;
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
}

.zion-recovery-button,
.zion-recovery-dismiss {
  width: 100%;
  min-height: 54px;
  border-radius: 13px;
  font-weight: 900;
  font-size: 14px;
}

.zion-recovery-button {
  margin-top: 18px;
  border: 0;
  background: var(--brand);
  color: #fff;
  box-shadow: 0 12px 28px rgba(109, 74, 255, .22);
}

.zion-recovery-button:hover {
  background: var(--brand-dark);
}

.zion-recovery-dismiss {
  margin-top: 8px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
}

.zion-recovery-dismiss:hover {
  color: var(--text);
  border-color: var(--brand);
}

@media (max-width: 620px) {
  .zion-recovery-card {
    padding: 22px;
    border-radius: 18px;
  }

  .zion-recovery-title {
    font-size: 20px;
  }

  .zion-recovery-subtitle,
  .zion-recovery-details {
    font-size: 15px;
  }
}

/* ============================================================
   ZION ESPEES — FINAL BRAND / SECTION NUMBER / HEADER POLISH
   Keeps the clean transparent logos while restoring the
   approved visual proportions and mobile alignment.
============================================================ */

/* Header: keep the language control fully visible and centered. */
.header-actions {
  margin-left: auto;
  flex: 0 0 auto;
  align-items: center;
}

.language-button {
  flex: 0 0 auto;
  min-width: 96px;
  width: 96px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

/* The customer site is dark-only: do not show the old theme switch. */
#themeToggle {
  display: none !important;
}

/* Keep the official header logo clean, larger and transparent. */
.brand-mark {
  width: 50px;
  height: 50px;
  background: transparent;
  box-shadow: none;
}

/* Major section numbers: centered and substantially larger. */
.section-intro > .section-kicker,
.section-heading > .section-kicker,
.security-layout > div:first-child > .section-kicker,
.support-card > div:first-child > .section-kicker {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 30px;
  line-height: 1;
  letter-spacing: .16em;
  margin: 0 0 20px;
}

/* Minor step/security numbers stay at the side, but are clearly readable. */
.step-card > span,
.security-points strong {
  font-size: 18px;
  line-height: 1;
  letter-spacing: .08em;
}

/* Bottom brand statement: deliberately larger than the header logo. */
.brand-statement-mark {
  width: 124px;
  height: 124px;
  margin: 0 auto 24px;
  background: transparent;
  box-shadow: none;
}

.brand-statement-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
  box-shadow: none;
}

.statement-brand {
  font-size: 19px;
  letter-spacing: .20em;
  line-height: 1.1;
}

@media (max-width: 620px) {
  .header-inner {
    gap: 8px;
  }

  .brand {
    min-width: 0;
    margin-right: 0;
    flex: 1 1 auto;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
  }

  .header-actions {
    margin-left: auto;
  }

  .language-button {
    width: 94px;
    min-width: 94px;
    height: 46px;
    font-size: 13px;
  }

  .section-intro > .section-kicker,
  .section-heading > .section-kicker,
  .security-layout > div:first-child > .section-kicker,
  .support-card > div:first-child > .section-kicker {
    font-size: 30px;
    margin-bottom: 22px;
  }

  .step-card > span,
  .security-points strong {
    font-size: 18px;
  }

  .brand-statement {
    padding: 70px 0;
  }

  .brand-statement-mark {
    width: 118px;
    height: 118px;
    margin-bottom: 24px;
  }

  .statement-brand {
    font-size: 19px;
    letter-spacing: .20em;
  }
}

/* ============================================================
   ZION ESPEES — FAST EXPRESS DELIVERY NOTICE
   UI-only addition. Does not affect transaction logic.
============================================================ */

.delivery-time-notice,
.tracking-delivery-note {
  margin: 14px 0;
  padding: 14px 16px;
  border: 1px solid color-mix(in srgb, var(--brand) 55%, var(--line));
  border-radius: 13px;
  background: var(--brand-soft);
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
  font-weight: 700;
}

.tracking-delivery-note {
  margin-top: 12px;
}

@media (max-width: 620px) {
  .delivery-time-notice,
  .tracking-delivery-note {
    padding: 13px 14px;
    font-size: 14px;
    line-height: 1.6;
  }
}
