/* ==========================================================================
   Ezee Digital Solution — marketing site stylesheet
   Single stylesheet, no build step. Organised as:
   1. Tokens  2. Reset/base  3. Layout  4. Components  5. Sections
   6. Utilities  7. Motion & responsive
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  /* Brand */
  --brand-50:  #eef2ff;
  --brand-100: #e0e7ff;
  --brand-200: #c7d2fe;
  --brand-300: #a5b4fc;
  --brand-400: #818cf8;
  --brand-500: #6366f1;
  --brand-600: #4f46e5;
  --brand-700: #4338ca;
  --brand-800: #3730a3;
  --brand-900: #272163;

  --accent-400: #22d3ee;
  --accent-500: #06b6d4;
  --accent-600: #0891b2;

  /* Neutrals */
  --slate-25:  #fbfcfe;
  --slate-50:  #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --slate-950: #080e1c;

  /* Semantic — light theme is the default */
  --bg:            #ffffff;
  --bg-subtle:     var(--slate-50);
  --bg-raised:     #ffffff;
  --bg-inverse:    var(--slate-950);
  --surface-ring:  rgba(15, 23, 42, 0.08);
  --surface-shadow: rgba(15, 23, 42, 0.08);

  --text:          var(--slate-900);
  --text-muted:    var(--slate-600);
  --text-faint:    var(--slate-500);
  --text-inverse:  #ffffff;

  --border:        var(--slate-200);
  --border-strong: var(--slate-300);

  --link:          var(--brand-700);
  --link-hover:    var(--brand-800);

  --primary:       var(--brand-600);
  --primary-hover: var(--brand-700);
  --primary-text:  #ffffff;

  --focus-ring:    var(--brand-500);

  /* Typography */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  --font-display: "Plus Jakarta Sans", var(--font-sans);
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  /* Spacing & shape */
  --container: 1160px;
  --container-narrow: 760px;
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06),
               0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow:    0 4px 12px rgba(15, 23, 42, 0.06),
               0 12px 28px -12px rgba(15, 23, 42, 0.16);
  --shadow-lg: 0 8px 24px rgba(15, 23, 42, 0.08),
               0 28px 60px -20px rgba(15, 23, 42, 0.24);

  --section-y: clamp(4rem, 8vw, 7rem);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dark theme: follow the OS unless the visitor picked light explicitly. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:            var(--slate-950);
    --bg-subtle:     #0c1425;
    --bg-raised:     #111c31;
    --bg-inverse:    #ffffff;
    --surface-ring:  rgba(255, 255, 255, 0.09);
    --surface-shadow: rgba(0, 0, 0, 0.5);

    --text:          #f1f5f9;
    --text-muted:    #a9b6c9;
    --text-faint:    #8494ab;
    --text-inverse:  var(--slate-950);

    --border:        rgba(255, 255, 255, 0.10);
    --border-strong: rgba(255, 255, 255, 0.18);

    --link:          var(--brand-300);
    --link-hover:    var(--brand-200);

    --primary:       var(--brand-500);
    --primary-hover: var(--brand-400);
    --primary-text:  #0b1220;

    --focus-ring:    var(--brand-300);

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow:    0 4px 14px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
  }
}

/* Dark theme chosen explicitly by the visitor. */
:root[data-theme="dark"] {
  --bg:            var(--slate-950);
  --bg-subtle:     #0c1425;
  --bg-raised:     #111c31;
  --bg-inverse:    #ffffff;
  --surface-ring:  rgba(255, 255, 255, 0.09);
  --surface-shadow: rgba(0, 0, 0, 0.5);

  --text:          #f1f5f9;
  --text-muted:    #a9b6c9;
  --text-faint:    #8494ab;
  --text-inverse:  var(--slate-950);

  --border:        rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.18);

  --link:          var(--brand-300);
  --link-hover:    var(--brand-200);

  --primary:       var(--brand-500);
  --primary-hover: var(--brand-400);
  --primary-text:  #0b1220;

  --focus-ring:    var(--brand-300);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow:    0 4px 14px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
}

/* 2. Reset & base ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
  font-weight: 700;
  text-wrap: balance;
}

h1 { font-size: clamp(2.25rem, 5.2vw, 3.75rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); letter-spacing: -0.028em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); }
h4 { font-size: 1.0625rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--link);
  text-decoration-color: color-mix(in srgb, var(--link) 35%, transparent);
  text-underline-offset: 0.2em;
  transition: color 0.18s var(--ease);
}
a:hover { color: var(--link-hover); }

img, svg, video { max-width: 100%; height: auto; display: block; }

ul, ol { padding-left: 1.25rem; margin: 0 0 1.1em; }
li { margin-bottom: 0.4em; }
li:last-child { margin-bottom: 0; }

hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 2.5rem 0;
}

code, kbd, samp {
  font-family: var(--font-mono);
  font-size: 0.875em;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.1em 0.4em;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.5rem;
  font-size: 0.96rem;
}
th, td {
  text-align: left;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
th {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-faint);
  background: var(--bg-subtle);
}
tbody tr:last-child td { border-bottom: 0; }

:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection {
  background: color-mix(in srgb, var(--brand-500) 26%, transparent);
}

.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -110%);
  z-index: 200;
  background: var(--primary);
  color: var(--primary-text);
  padding: 0.7rem 1.25rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); color: var(--primary-text); }

/* 3. Layout ---------------------------------------------------------------- */
.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}
.container--narrow { width: min(100% - 2.5rem, var(--container-narrow)); }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.75rem, 5vw, 4rem); }
.section--subtle { background: var(--bg-subtle); }

.section-head {
  max-width: 44rem;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.section-head p {
  color: var(--text-muted);
  font-size: 1.0625rem;
  margin-bottom: 0;
}

.grid { display: grid; gap: clamp(1rem, 2.2vw, 1.75rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17.5rem), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }

/* 4. Components ------------------------------------------------------------ */

/* Eyebrow / pill label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-700);
  background: color-mix(in srgb, var(--brand-500) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--brand-500) 22%, transparent);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.1rem;
}
:root[data-theme="dark"] .eyebrow { color: var(--brand-300); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .eyebrow { color: var(--brand-300); }
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-500);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 0.975rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.95rem 1.6rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease),
              background-color 0.18s var(--ease), border-color 0.18s var(--ease),
              color 0.18s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--primary);
  color: var(--primary-text);
  box-shadow: 0 10px 22px -10px color-mix(in srgb, var(--brand-600) 85%, transparent);
}
.btn--primary:hover {
  background: var(--primary-hover);
  color: var(--primary-text);
  box-shadow: 0 16px 30px -12px color-mix(in srgb, var(--brand-600) 90%, transparent);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn--ghost:hover {
  color: var(--text);
  border-color: var(--brand-500);
  background: color-mix(in srgb, var(--brand-500) 8%, transparent);
}

.btn--light {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(6px);
}
.btn--light:hover { background: rgba(255, 255, 255, 0.24); color: #fff; }

.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn--sm { padding: 0.65rem 1.15rem; font-size: 0.9rem; }
.btn--block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}
.btn-row--center { justify-content: center; }

/* Arrow link */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
}
.arrow-link svg {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  transition: transform 0.2s var(--ease);
}
.arrow-link:hover svg { transform: translateX(4px); }

/* Cards */
.card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 2.4vw, 2rem);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out),
              border-color 0.25s var(--ease);
  height: 100%;
}
.card--hover:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: color-mix(in srgb, var(--brand-500) 40%, var(--border));
}
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--text-muted); margin-bottom: 0; font-size: 1rem; }
.card > * + .card-foot { margin-top: 1.1rem; }

.card-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  margin-bottom: 1.15rem;
  background: linear-gradient(140deg,
    color-mix(in srgb, var(--brand-500) 18%, transparent),
    color-mix(in srgb, var(--accent-500) 18%, transparent));
  color: var(--brand-600);
  border: 1px solid color-mix(in srgb, var(--brand-500) 20%, transparent);
}
:root[data-theme="dark"] .card-icon { color: var(--brand-300); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .card-icon { color: var(--brand-300); }
}
.card-icon svg { width: 26px; height: 26px; }

/* Numbered list used by the process section */
.step-num {
  width: 2.9rem;
  height: 2.9rem;
  margin-bottom: 1.15rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--primary-text);
  background: linear-gradient(140deg, var(--brand-600), var(--accent-600));
}
.step h3 { margin-bottom: 0.4rem; }
.step p { color: var(--text-muted); margin-bottom: 0; }

/* Stats */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  gap: 1.5rem 1rem;
  text-align: center;
}
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.2vw, 2.4rem);
  font-weight: 800;
  line-height: 1.15;
  /* Two lines' worth, so every label lines up whether the value wraps or not. */
  min-height: 2.3em;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  letter-spacing: -0.03em;
  background: linear-gradient(120deg, var(--brand-600), var(--accent-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0.35rem 0 0;
}

/* Checklist */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: 0.7rem;
  color: var(--text-muted);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 1.15rem;
  height: 1.15rem;
  transform: translateY(-50%);
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent-500) 18%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent-500) 45%, transparent);
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 0.36rem;
  top: 0.52em;
  width: 0.4rem;
  height: 0.2rem;
  border-left: 2px solid var(--accent-600);
  border-bottom: 2px solid var(--accent-600);
  transform: translateY(-70%) rotate(-45deg);
}

/* Badges & tags */
.tag-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: var(--font-display);
  padding: 0.28rem 0.75rem;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--accent-500) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent-500) 32%, transparent);
  color: var(--accent-600);
}
.status-pill--soon {
  background: color-mix(in srgb, var(--brand-500) 14%, transparent);
  border-color: color-mix(in srgb, var(--brand-500) 32%, transparent);
  color: var(--brand-700);
}
:root[data-theme="dark"] .status-pill { color: var(--accent-400); }
:root[data-theme="dark"] .status-pill--soon { color: var(--brand-300); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .status-pill { color: var(--accent-400); }
  :root:not([data-theme="light"]) .status-pill--soon { color: var(--brand-300); }
}

/* Store badges */
.store-badges { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 1.15rem;
  border-radius: 12px;
  background: var(--slate-900);
  color: #fff;
  text-decoration: none;
  border: 1px solid var(--slate-800);
  transition: transform 0.18s var(--ease), background-color 0.18s var(--ease);
}
.store-badge:hover { transform: translateY(-2px); background: #000; color: #fff; }
.store-badge[aria-disabled="true"] {
  opacity: 0.5;
  pointer-events: none;
}
.store-badge svg { width: 24px; height: 24px; flex: none; }
.store-badge span { display: block; line-height: 1.2; }
.store-badge .sb-small { font-size: 0.64rem; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.8; }
.store-badge .sb-large { font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; }

/* Forms */
.form-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
}
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
}
.field .hint { font-size: 0.82rem; color: var(--text-faint); }
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
  width: 100%;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-500) 18%, transparent);
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }

.form-note {
  font-size: 0.86rem;
  color: var(--text-faint);
  margin-top: 0.9rem;
}
.form-status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  background: color-mix(in srgb, var(--accent-500) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent-500) 30%, transparent);
}
.form-status[hidden] { display: none; }

/* Accordion (native details) */
.faq { border-top: 1px solid var(--border); }
.faq details {
  border-bottom: 1px solid var(--border);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 2.75rem 1.15rem 0;
  position: relative;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.03rem;
  transition: color 0.18s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--link); }
.faq summary::after {
  content: "";
  position: absolute;
  right: 0.5rem;
  top: 1.55rem;
  width: 0.6rem;
  height: 0.6rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.55;
  transition: transform 0.22s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq .faq-body {
  padding: 0 2.5rem 1.4rem 0;
  color: var(--text-muted);
  font-size: 1rem;
}

/* Callout */
.callout {
  border-left: 4px solid var(--brand-500);
  background: var(--bg-subtle);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.1rem 1.35rem;
  margin: 0 0 1.5rem;
  font-size: 0.98rem;
  color: var(--text-muted);
}
.callout strong { color: var(--text); }
.callout--accent { border-left-color: var(--accent-500); }

/* Placeholder token — makes unfilled business details obvious before launch */
.placeholder {
  background: color-mix(in srgb, #f59e0b 16%, transparent);
  border-bottom: 1px dashed #d97706;
  padding: 0 0.25em;
  border-radius: 3px;
  font-style: normal;
}

/* 5. Site chrome ----------------------------------------------------------- */

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 4.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  margin-right: auto;
  flex: none;
}
.brand:hover { color: var(--text); }
.brand-mark { width: 36px; height: 36px; flex: none; border-radius: 10px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text small {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: block;
  padding: 0.5rem 0.8rem;
  border-radius: var(--radius-pill);
  font-size: 0.945rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.18s var(--ease), background-color 0.18s var(--ease);
}
.nav-links a:hover { color: var(--text); background: var(--bg-subtle); }
.nav-links a[aria-current="page"] {
  color: var(--link);
  background: color-mix(in srgb, var(--brand-500) 11%, transparent);
}

.nav-actions { display: flex; align-items: center; gap: 0.5rem; flex: none; }

/* The CTA inside the link list belongs to the mobile drawer only. */
.nav-links .nav-cta { display: none; }

.icon-btn {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-raised);
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease),
              background-color 0.18s var(--ease);
}
.icon-btn:hover { color: var(--text); border-color: var(--border-strong); }
.icon-btn svg { width: 19px; height: 19px; }

.theme-toggle .icon-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: none; }
}

.nav-toggle { display: none; }

@media (max-width: 960px) {
  .nav-toggle { display: grid; }
  .nav-links {
    position: fixed;
    inset: 4.5rem 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem 1.25rem 1.5rem;
    max-height: calc(100vh - 4.5rem);
    overflow-y: auto;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease),
                visibility 0.2s var(--ease);
  }
  .nav-links.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-links a { padding: 0.85rem 0.5rem; font-size: 1.02rem; border-radius: var(--radius-sm); }
  .nav-links .nav-cta { display: block; margin-top: 0.75rem; }
  .nav-links .nav-cta .btn { width: 100%; }
  .nav-actions .btn { display: none; }
}

/* Hero */
.hero {
  position: relative;
  padding-block: clamp(3.5rem, 7vw, 6.5rem) clamp(3.5rem, 7vw, 6rem);
  overflow: hidden;
  isolation: isolate;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  z-index: -1;
  pointer-events: none;
}
.hero::before {
  width: 40rem; height: 40rem;
  top: -18rem; right: -12rem;
  background: radial-gradient(circle, var(--brand-400), transparent 70%);
}
.hero::after {
  width: 34rem; height: 34rem;
  bottom: -20rem; left: -14rem;
  background: radial-gradient(circle, var(--accent-400), transparent 70%);
  opacity: 0.35;
}
.hero-grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
}
.hero-lede {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--text-muted);
  max-width: 34rem;
  margin-bottom: 2rem;
}
.hero-meta {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  font-size: 0.88rem;
  color: var(--text-faint);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 0.4rem; }
.hero-meta svg { width: 15px; height: 15px; color: var(--accent-500); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 26rem; margin-inline: auto; }
}

/* Phone mockup used in the hero */
.hero-art { position: relative; }
.phone {
  position: relative;
  margin-inline: auto;
  width: min(100%, 18.5rem);
  max-height: 34rem;
  aspect-ratio: 9 / 17.6;
  border-radius: 2.6rem;
  background: linear-gradient(160deg, var(--slate-800), var(--slate-950));
  padding: 0.7rem;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  transform: rotate(-3deg);
  transition: transform 0.5s var(--ease-out);
}
.phone:hover { transform: rotate(0deg) translateY(-6px); }
.phone-screen {
  height: 100%;
  border-radius: 2rem;
  background: linear-gradient(170deg, var(--brand-700), var(--brand-900) 55%, #0b1024);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2.4rem 1.1rem 1.1rem;
  color: #fff;
}
.phone-notch {
  position: absolute;
  top: 0.65rem;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 1.15rem;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.55);
}
.phone-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  margin: 0.5rem 0 0.15rem;
  letter-spacing: -0.02em;
}
.phone-sub { font-size: 0.78rem; opacity: 0.72; margin: 0 0 1.1rem; }
.phone-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 0.7rem 0.85rem;
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.phone-card .pc-dot {
  width: 1.9rem; height: 1.9rem;
  border-radius: 9px;
  background: linear-gradient(140deg, var(--accent-400), var(--brand-400));
  flex: none;
}
.phone-card .pc-lines { flex: 1; display: grid; gap: 0.32rem; }
.phone-card .pc-lines i {
  display: block;
  height: 0.38rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.38);
}
.phone-card .pc-lines i:last-child { width: 55%; background: rgba(255, 255, 255, 0.2); }
.phone-chart {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  gap: 0.4rem;
  height: 5.5rem;
  padding-top: 1rem;
}
.phone-chart i {
  flex: 1;
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, var(--accent-400), color-mix(in srgb, var(--brand-400) 70%, transparent));
  animation: bar-rise 1.1s var(--ease-out) backwards;
}

.float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.65rem 0.9rem;
  box-shadow: var(--shadow);
  font-size: 0.82rem;
  font-weight: 600;
  animation: float 5s ease-in-out infinite;
}
.float-badge svg { width: 18px; height: 18px; color: var(--accent-500); flex: none; }
.float-badge--tl { top: 1%; left: 0; }
.float-badge--br { bottom: 6%; right: 0; animation-delay: -2.5s; }
@media (max-width: 600px) {
  .float-badge--tl { left: -0.25rem; }
  .float-badge--br { right: -0.25rem; }
}

/* Page header for interior pages */
.page-head {
  position: relative;
  padding-block: clamp(3rem, 6vw, 4.75rem) clamp(2rem, 4vw, 3rem);
  background:
    radial-gradient(60rem 26rem at 78% -8rem,
      color-mix(in srgb, var(--brand-500) 20%, transparent), transparent 70%),
    radial-gradient(44rem 22rem at 6% 110%,
      color-mix(in srgb, var(--accent-500) 14%, transparent), transparent 70%),
    var(--bg-subtle);
  border-bottom: 1px solid var(--border);
}
.page-head p {
  color: var(--text-muted);
  font-size: 1.08rem;
  max-width: 46rem;
  margin-bottom: 0;
}
.page-head h1 { margin-bottom: 0.65rem; }

.breadcrumb {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0 0 1.1rem;
  font-size: 0.85rem;
  color: var(--text-faint);
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-faint); text-decoration: none; }
.breadcrumb a:hover { color: var(--link); }
.breadcrumb li + li::before { content: "/"; margin-right: 0.45rem; opacity: 0.6; }

/* Legal / long-form content */
.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static !important; }
}
.legal-toc {
  position: sticky;
  top: 6rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-subtle);
  padding: 1.25rem 1.35rem;
  font-size: 0.9rem;
}
.legal-toc h2 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  margin-bottom: 0.85rem;
}
.legal-toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; }
.legal-toc li { margin-bottom: 0.4rem; counter-increment: toc; }
.legal-toc a { color: var(--text-muted); text-decoration: none; }
.legal-toc a:hover { color: var(--link); }

.prose { max-width: 46rem; }
.prose h2 {
  font-size: clamp(1.3rem, 2.3vw, 1.65rem);
  margin-top: 2.75rem;
  padding-top: 0.5rem;
  scroll-margin-top: 6rem;
}
.prose > h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.75rem; font-size: 1.1rem; }
.prose p, .prose li { color: var(--text-muted); }
.prose strong { color: var(--text); }
.prose .meta-line {
  font-size: 0.9rem;
  color: var(--text-faint);
  border: 1px solid var(--border);
  background: var(--bg-subtle);
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
  margin-bottom: 2rem;
}
.prose .meta-line p { margin-bottom: 0.3rem; color: var(--text-faint); }
.prose .meta-line p:last-child { margin-bottom: 0; }

/* CTA band */
.cta-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-800), var(--brand-600) 45%, var(--accent-600));
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(28rem 16rem at 12% 0%, rgba(255,255,255,0.22), transparent 70%),
    radial-gradient(24rem 14rem at 88% 100%, rgba(255,255,255,0.14), transparent 70%);
}
.cta-band h2 { color: #fff; margin-bottom: 0.7rem; }
.cta-band p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 38rem;
  margin-inline: auto;
  margin-bottom: 1.9rem;
}
.cta-band .btn--primary {
  background: #fff;
  color: var(--brand-800);
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.5);
}
.cta-band .btn--primary:hover { background: var(--brand-50); color: var(--brand-900); }

/* Contact info list */
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.35rem; }
.info-list li { display: flex; gap: 0.95rem; margin: 0; }
.info-list .info-icon {
  width: 2.6rem; height: 2.6rem;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: color-mix(in srgb, var(--brand-500) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--brand-500) 20%, transparent);
  color: var(--brand-600);
}
:root[data-theme="dark"] .info-list .info-icon { color: var(--brand-300); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .info-list .info-icon { color: var(--brand-300); }
}
.info-list .info-icon svg { width: 20px; height: 20px; }
.info-list .info-body { min-width: 0; }
.info-list .info-body h3 { font-size: 0.95rem; margin-bottom: 0.15rem; }
.info-list .info-body p,
.info-list .info-body a { font-size: 0.97rem; color: var(--text-muted); margin: 0; word-break: break-word; }
.info-list .info-body a { color: var(--link); text-decoration: none; }
.info-list .info-body a:hover { text-decoration: underline; }

/* App cards */
.app-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}
.app-icon {
  width: 68px; height: 68px;
  border-radius: 17px;
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  flex: none;
  box-shadow: var(--shadow-sm);
}
.app-icon svg { width: 32px; height: 32px; }
.app-card h3 { margin-bottom: 0.3rem; }
.app-card .app-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.4rem;
}
.app-card .app-head h3 { margin: 0; }

/* Footer */
.site-footer {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  padding-block: clamp(3rem, 5vw, 4.5rem) 2rem;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
  margin-bottom: 2.75rem;
}
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 1.7fr repeat(3, minmax(0, 1fr)); }
}
.footer-about p {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 24rem;
  margin: 1rem 0 1.25rem;
}
.footer-col h3 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.94rem;
}
.footer-col a:hover { color: var(--link); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-faint);
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 0.35rem 1.25rem; }
.footer-bottom a { color: var(--text-faint); text-decoration: none; }
.footer-bottom a:hover { color: var(--link); }

/* Back to top */
.to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  width: 2.8rem; height: 2.8rem;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-raised);
  color: var(--text-muted);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease),
              visibility 0.25s var(--ease), color 0.18s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { color: var(--link); }
.to-top svg { width: 18px; height: 18px; }

/* 404 */
.notfound {
  min-height: 62vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: var(--section-y);
}
.notfound .code {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 16vw, 9rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
  background: linear-gradient(120deg, var(--brand-600), var(--accent-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.4rem;
}

/* 6. Utilities ------------------------------------------------------------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.lead { font-size: 1.1rem; color: var(--text-muted); }
.full-bleed-top { margin-top: calc(var(--section-y) * -1); }

/* 7. Motion ---------------------------------------------------------------- */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}
@keyframes bar-rise {
  from { height: 0; opacity: 0; }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .phone { transform: none; }
}

/* Print — legal pages are often printed or exported for store review. */
@media print {
  .site-header, .site-footer, .to-top, .cta-band, .legal-toc, .skip-link { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .legal-layout { display: block; }
  .prose { max-width: none; }
  a { color: #000; text-decoration: underline; }
  .page-head { background: none; border-bottom: 1px solid #ccc; }
}
