/* PaySmart website. Same theme as the app pages (colours, radii and type from platform.css); layout only. */
:root {
  --bg: #06101c;
  --bg-strong: #091626;
  --surface: rgba(10, 21, 38, 0.88);
  --surface-strong: rgba(14, 28, 49, 0.96);
  --surface-soft: rgba(18, 34, 59, 0.72);
  --border: rgba(136, 166, 213, 0.2);
  --border-strong: rgba(91, 226, 190, 0.36);
  --text: #f3f8ff;
  --text-muted: #9cadc4;
  --text-soft: #7f91a9;
  --accent: #46e0ba;
  --accent-strong: #2ec9a0;
  --accent-blue: #63a3ff;
  --accent-gold: #f3c96b;
  --danger: #ff7a8d;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --shadow-xl: 0 30px 90px rgba(1, 7, 20, 0.5);
  --container: min(1120px, 92vw);
  --reading: min(760px, 92vw);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: radial-gradient(1200px 600px at 80% -10%, rgba(70, 224, 186, 0.10), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(99, 163, 255, 0.08), transparent 60%), var(--bg);
  color: var(--text);
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-strong); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.container { width: var(--container); margin: 0 auto; }
.reading { width: var(--reading); margin: 0 auto; }
.muted { color: var(--text-muted); }
.skip-link { position: absolute; left: -999px; top: 0; }
.skip-link:focus { left: 16px; top: 16px; background: var(--surface-strong); padding: 8px 12px; z-index: 10; }

/* Header and footer */
.site-header { position: sticky; top: 0; z-index: 5; backdrop-filter: blur(14px); background: rgba(6, 16, 28, 0.78);
  border-bottom: 1px solid var(--border); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 600; font-size: 1.1rem; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.site-nav { display: flex; gap: 6px; flex-wrap: wrap; }
.site-nav a { color: var(--text-muted); text-decoration: none; padding: 8px 12px; border-radius: 999px; font-size: 0.95rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); background: var(--surface-soft); }
.site-footer { border-top: 1px solid var(--border); margin-top: 80px; padding: 40px 0 56px; color: var(--text-soft); font-size: 0.95rem; }
.site-footer .container { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer a { color: var(--text-muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 999px;
  font-weight: 600; text-decoration: none; border: 1px solid transparent; min-height: 48px; }
.btn-primary { background: var(--accent); color: #04221a; }
.btn-primary:hover { background: var(--accent-strong); color: #04221a; }
.btn-secondary { background: var(--surface-soft); color: var(--text); border-color: var(--border); }
.btn-secondary:hover { color: var(--text); border-color: var(--border-strong); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Home */
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; padding: 72px 0 40px; }
.eyebrow { display: inline-block; color: var(--accent); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 14px; }
.lead { font-size: 1.2rem; color: var(--text-muted); max-width: 34em; }
.store-note { margin-top: 18px; color: var(--text-soft); font-size: 0.95rem; }
.phone { width: min(320px, 78vw); margin: 0 auto; border-radius: 40px; padding: 10px; background: linear-gradient(160deg, #1b2a3f, #0b1523);
  border: 1px solid var(--border); box-shadow: var(--shadow-xl); }
.phone img { border-radius: 30px; }
.section { padding: 64px 0; }
.section-head { max-width: 40em; margin-bottom: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 24px; }
.card p { color: var(--text-muted); margin: 0; }
.icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px; }
.icon svg { width: 20px; height: 20px; }
.icon.teal { background: rgba(70, 224, 186, 0.14); color: var(--accent); }
.icon.blue { background: rgba(99, 163, 255, 0.14); color: var(--accent-blue); }
.icon.gold { background: rgba(243, 201, 107, 0.14); color: var(--accent-gold); }
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.feature-row + .feature-row { margin-top: 72px; }
.feature-row.reverse .feature-copy { order: 2; }
.shot { border-radius: 40px; background: var(--bg); box-shadow: var(--shadow-xl); max-width: 390px; width: 100%; margin: 0 auto; }
.checks { list-style: none; padding: 0; margin: 16px 0 0; }
.checks li { padding-left: 28px; position: relative; margin: 8px 0; color: var(--text-muted); }
.checks li::before { content: ""; position: absolute; left: 4px; top: 0.55em; width: 12px; height: 7px; border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps .card::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 32px; height: 32px;
  border-radius: 50%; background: var(--accent); color: #04221a; font-weight: 700; margin-bottom: 14px; }
.band { background: var(--surface-strong); border: 1px solid var(--border-strong); border-radius: var(--radius-xl); padding: 40px;
  display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.band p { margin: 0; color: var(--text-muted); }

/* Help */
.page-head { padding: 64px 0 24px; }
.faq-group { margin-top: 40px; }
.faq-group h2 { font-size: 1.3rem; }
details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); margin: 10px 0; }
summary { cursor: pointer; padding: 16px 48px 16px 20px; font-weight: 600; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted); transform: translateY(-70%) rotate(45deg); transition: transform 0.2s; }
details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
details > div { padding: 0 20px 18px; color: var(--text-muted); }
details > div p:last-child { margin-bottom: 0; }

/* What's new */
.update-list { display: grid; gap: 16px; margin-top: 24px; }
.update-card time { color: var(--accent); font-size: 0.9rem; font-weight: 600; }
.update-card h3 { margin-top: 6px; }
.update-card ul { margin: 12px 0 0; padding-left: 20px; color: var(--text-muted); }

/* Legal documents */
.doc { padding-bottom: 24px; }
.doc .updated { color: var(--text-soft); font-size: 0.95rem; }
.doc h2 { font-size: 1.35rem; margin-top: 40px; }
.doc h3 { margin-top: 24px; }
.doc p, .doc li { color: var(--text-muted); }
.doc ul { padding-left: 22px; }
.doc .toc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 20px 24px; margin: 24px 0; }
.doc .toc ul { margin: 8px 0 0; padding-left: 20px; }
.doc .grid { display: grid; gap: 12px; }
.doc .grid article { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 18px 20px; }
.doc .grid article h3 { margin-top: 0; color: var(--text); }
.doc .grid article p { margin: 0; }
.link-list { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 24px; }
.link-list a { display: block; text-decoration: none; color: var(--text); }
.link-list a span { display: block; color: var(--text-muted); font-weight: 400; font-size: 0.95rem; margin-top: 4px; }

@media (max-width: 860px) {
  .hero, .feature-row { grid-template-columns: 1fr; gap: 32px; }
  .feature-row.reverse .feature-copy { order: 0; }
  .grid-3, .steps { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; }
  .band { padding: 28px; }
}

/* Legal document content, kept word for word from the earlier pages */
.legal-document { width: var(--reading); margin: 0 auto; }
.legal-hero { padding: 64px 0 8px; }
.kicker { display: inline-block; color: var(--accent); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 12px; }
.legal-hero .lead { font-size: 1.15rem; }
.notice { color: var(--text-soft); font-size: 0.95rem; }
.legal-contents { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 18px 22px; margin: 24px 0; }
.legal-contents ul, .legal-contents ol { margin: 8px 0 0; padding-left: 20px; }
.legal-section { margin-top: 36px; }
.legal-section h2 { font-size: 1.35rem; }
.legal-section p, .legal-section li, .legal-list li { color: var(--text-muted); }
.legal-grid, .cards-grid { display: grid; gap: 12px; margin-top: 12px; }
.legal-item, .info-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 18px 20px; }
.legal-item h3, .info-card h3 { margin-top: 0; }
.legal-item p, .info-card p { margin: 0; }
.spec-table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.spec-table th, .spec-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
.spec-table th { color: var(--text); font-size: 0.95rem; }
.spec-table td { color: var(--text-muted); }
.spec-table tr:last-child td { border-bottom: 0; }
.spec-table td:first-child { color: var(--text); font-weight: 600; white-space: nowrap; }
@media (max-width: 600px) { .spec-table td:first-child { white-space: normal; } }
