/* SmartReceiving website: shared styles for every page. Brand blue matches the app icon. */
:root {
  --bg: #F5F7FB;
  --surface: #FFFFFF;
  --fg: #142033;
  --muted: #536079;
  --line: #DCE3EF;
  --accent: #2F5BD3;
  --accent-strong: #1C3A9E;
  --accent-soft: #EEF3FE;
  --ok: #1A9E6B;
  --ok-soft: #E6F6EF;
  --warn: #B7791F;
  --warn-soft: #FDF3E1;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0F1522; --surface: #172033; --fg: #E8EDF7; --muted: #9AA7BF;
    --line: #26324A; --accent: #7EA2FF; --accent-strong: #A9C0FF; --accent-soft: #1B2847;
    --ok: #5FD3A2; --ok-soft: #133528; --warn: #F0B65A; --warn-soft: #3A2C12;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font);
  font-size: 17px; line-height: 1.6;
}
a { color: var(--accent); }
img { max-width: 100%; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }

/* Top bar */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: -0.3px; color: var(--fg); text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav { display: flex; gap: 22px; font-size: 15px; font-weight: 600; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover, .nav a[aria-current] { color: var(--fg); }
@media (max-width: 560px) { .nav { gap: 14px; font-size: 14px; } .nav .hide-sm { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 14px; font-weight: 700; text-decoration: none; font-size: 16px; }
.btn-store { background: #000; color: #fff; }
.btn-store svg { width: 22px; height: 22px; }
.btn-store small { display: block; font-size: 11px; font-weight: 500; opacity: 0.85; line-height: 1.1; }
.btn-store span { line-height: 1.15; }
@media (prefers-color-scheme: dark) { .btn-store { background: #fff; color: #000; } }
.btn-ghost { color: var(--accent); background: var(--accent-soft); }

/* Hero */
.hero { padding: 64px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding-top: 40px; } }
.pill { display: inline-flex; align-items: center; gap: 8px; background: var(--accent-soft); color: var(--accent); font-weight: 800; font-size: 13px; letter-spacing: 0.8px; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
h1 { font-size: clamp(36px, 6vw, 58px); line-height: 1.05; letter-spacing: -1.6px; margin: 18px 0 18px; font-weight: 800; text-wrap: balance; }
h1 em { font-style: normal; color: var(--accent); }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); margin: 0 0 28px; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.fine { font-size: 14px; color: var(--muted); margin-top: 14px; }

/* Phone mock (used until real screenshots are added) */
.phone { justify-self: center; width: min(320px, 100%); background: #0B0F18; border-radius: 46px; padding: 10px; border: 1px solid #2A3247; box-shadow: 0 30px 60px -20px rgba(20, 32, 51, 0.35); }
.phone .screen { height: 100%; border-radius: 36px; overflow: hidden; background: #F5F7FB; color: #142033; display: flex; flex-direction: column; padding: 46px 16px 16px; gap: 10px; font-size: 13px; }
.phone img.shot { width: 100%; height: auto; border-radius: 37px; }
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.shots figure { margin: 0; display: grid; gap: 14px; justify-items: center; text-align: center; }
.shots figcaption { color: var(--muted); font-size: 15px; max-width: 24ch; }
.shots .phone { width: min(280px, 100%); }
@media (max-width: 860px) { .shots { grid-template-columns: 1fr 1fr; } .shots figure:last-child { display: none; } }
@media (max-width: 560px) { .shots { grid-template-columns: 1fr; } }
.ph-title { font-weight: 800; font-size: 20px; letter-spacing: -0.4px; }
.ph-sub { color: #536079; font-size: 12px; margin-top: -6px; }
.ph-bar { height: 8px; border-radius: 8px; background: #DCE3EF; overflow: hidden; }
.ph-bar i { display: block; height: 100%; width: 72%; background: #2F5BD3; border-radius: 8px; }
.ph-row { background: #fff; border-radius: 14px; padding: 10px 12px; display: flex; justify-content: space-between; align-items: center; gap: 8px; box-shadow: 0 1px 0 #DCE3EF; }
.ph-row b { font-weight: 700; display: block; font-size: 13px; }
.ph-row span { color: #536079; font-size: 11px; }
.ph-tag { font-weight: 800; font-size: 12px; padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.ph-ok { background: #E6F6EF; color: #1A9E6B; }
.ph-short { background: #FDECEC; color: #C53030; }
.ph-wait { background: #EEF3FE; color: #2F5BD3; }
.ph-scan { margin-top: auto; background: #2F5BD3; color: #fff; text-align: center; font-weight: 800; padding: 13px; border-radius: 14px; font-size: 15px; }

/* Sections */
section.block { padding: 56px 0; }
.eyebrow { color: var(--accent); font-weight: 800; font-size: 13px; letter-spacing: 0.8px; text-transform: uppercase; margin: 0 0 10px; }
h2 { font-size: clamp(28px, 4vw, 38px); line-height: 1.15; letter-spacing: -0.9px; margin: 0 0 14px; text-wrap: balance; }
.section-lead { color: var(--muted); max-width: 40em; margin: 0 0 32px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.card h3 { margin: 12px 0 6px; font-size: 18px; letter-spacing: -0.2px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.icon { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); display: grid; place-items: center; }
.icon svg { width: 24px; height: 24px; stroke: var(--accent); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; }
@media (prefers-color-scheme: dark) { .step::before { color: #0F1522; } }
.step h3 { margin: 12px 0 6px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 16px; }

.band { background: var(--accent-strong); color: #fff; border-radius: 28px; padding: 40px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
@media (prefers-color-scheme: dark) { .band { background: var(--accent-soft); color: var(--fg); } }
.band h2 { margin: 0 0 6px; }
.band p { margin: 0; opacity: 0.9; }

/* Text pages (support, privacy, terms) */
.page { padding: 48px 0 72px; }
.page .wrap { display: flex; flex-direction: column; gap: 30px; }
.page h1 { font-size: clamp(32px, 5vw, 44px); margin: 0; }
.meta { color: var(--muted); font-size: 15px; margin-top: 8px; }
.page section { display: grid; gap: 10px; }
.page section h2 { font-size: 22px; letter-spacing: -0.3px; margin: 0; }
.page section h2 span { color: var(--accent); margin-right: 8px; font-variant-numeric: tabular-nums; }
.page p, .page li { margin: 0; max-width: 68ch; }
ul.list, ol.list { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.summary { background: var(--accent-soft); border-radius: 18px; padding: 20px 22px; display: grid; gap: 10px; }
.summary h2 { font-size: 13px !important; text-transform: uppercase; letter-spacing: 0.8px; color: var(--accent); }
.summary ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.summary li { display: flex; gap: 10px; align-items: flex-start; }
.summary li::before { content: "✓"; color: var(--ok); font-weight: 800; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
th { font-size: 12px; text-transform: uppercase; letter-spacing: 0.6px; color: var(--muted); }
.contact { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: grid; gap: 8px; }
.contact .mail { font-size: clamp(16px, 4.4vw, 20px); font-weight: 800; text-decoration: none; overflow-wrap: anywhere; }

details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 4px 18px; }
details + details { margin-top: 10px; }
summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-weight: 800; font-size: 20px; line-height: 1; }
details[open] summary::after { content: "–"; }
details > div { padding: 0 0 16px; color: var(--muted); display: grid; gap: 8px; }

/* Footer */
footer.foot { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; }
footer.foot nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer.foot a { color: var(--muted); text-decoration: none; }
footer.foot a:hover { color: var(--fg); }

/* Screen tour: phone with numbered spots, list beside it */
.tour-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tour-tabs button { font: inherit; font-size: 15px; font-weight: 700; border: 1px solid var(--line); background: var(--surface); color: var(--muted); padding: 9px 16px; border-radius: 999px; cursor: pointer; }
.tour-tabs button[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
@media (prefers-color-scheme: dark) { .tour-tabs button[aria-selected="true"] { color: #0F1522; } }
.tour-panel { display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: start; }
.tour-panel[hidden] { display: none; }
@media (max-width: 760px) { .tour-panel { grid-template-columns: 1fr; gap: 28px; } }
.annot { position: relative; }
.dot { position: absolute; transform: translate(-50%, -50%); width: 28px; height: 28px; border-radius: 50%; background: #FFB020; color: #1A1300; font-weight: 800; font-size: 14px; display: grid; place-items: center; box-shadow: 0 0 0 4px rgba(255, 176, 32, 0.35), 0 4px 10px rgba(0, 0, 0, 0.35); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(255, 176, 32, 0.12), 0 4px 10px rgba(0, 0, 0, 0.35); } }
@media (prefers-reduced-motion: reduce) { .dot { animation: none; } }
.tour-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tour-list li { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.tour-list .num { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: #FFB020; color: #1A1300; font-weight: 800; font-size: 14px; display: grid; place-items: center; }
.tour-list strong { display: block; margin-bottom: 2px; }
.tour-list p { margin: 0; color: var(--muted); font-size: 15.5px; }
