/* webfaCe Inbox public pages — shared styles (landing, privacy, terms, support). */
:root {
  --bg: #ffffff;
  --surface: #f4f8fb;
  --raised: #ffffff;
  --ink: #0b2440;
  --muted: #4a5d72;
  --line: #dce5ee;
  --blue: #3499cc;
  --link: #1c6c99;
  --navy: #0b2440;
  --on-blue: #ffffff;
  --chip: #e6f2f9;
  --shadow: 0 1px 2px rgba(11, 36, 64, .06), 0 8px 24px rgba(11, 36, 64, .06);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #081626;
    --surface: #0d2136;
    --raised: #102840;
    --ink: #e8f0f7;
    --muted: #a3b6c8;
    --line: #1d3752;
    --blue: #4fb0e0;
    --link: #7cc4ea;
    --on-blue: #06121f;
    --chip: #12314d;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'DM Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

/* ---- header ---- */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 19px; letter-spacing: -0.02em; white-space: nowrap; }
.brand img { width: 30px; height: 30px; }
.brand-name { font-weight: inherit; }
.brand span { color: var(--blue); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 10px; border-radius: 8px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--surface); }
.nav .signin { color: var(--ink); border: 1px solid var(--line); margin-left: 6px; }
@media (max-width: 719px) { .nav .hide-sm { display: none; } }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 999px; font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; border: 1px solid transparent; cursor: pointer; }
.btn-primary { background: var(--blue); color: var(--on-blue); }
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface); }
.btn svg { flex: none; }

/* ---- hero ---- */
.hero { padding: 56px 0 40px; background: radial-gradient(1200px 400px at 80% -10%, var(--chip), transparent 70%); }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero { padding: 88px 0 64px; } .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 56px; } }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--link); background: var(--chip); padding: 5px 12px; border-radius: 999px; margin: 0 0 18px; }
h1 { font-size: clamp(34px, 6vw, 56px); line-height: 1.06; letter-spacing: -0.03em; margin: 0 0 18px; font-weight: 800; }
.lede { font-size: clamp(18px, 2.2vw, 20px); color: var(--muted); margin: 0 0 28px; max-width: 36em; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.fine { font-size: 14px; color: var(--muted); margin: 0; }

/* ---- screenshot placeholders ---- */
.shot { position: relative; border: 2px dashed var(--blue); border-radius: 28px; background: var(--surface); display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.shot strong { display: block; color: var(--ink); font-size: 13px; letter-spacing: .05em; margin-bottom: 6px; }
.shot-phone { aspect-ratio: 9 / 19.5; width: 100%; max-width: 300px; margin: 0 auto; border-radius: 40px; }
.shot-desktop { aspect-ratio: 16 / 10; width: 100%; border-radius: 16px; }
.shots { display: grid; gap: 24px; }
@media (min-width: 720px) { .shots { grid-template-columns: 1.6fr 1fr 1fr; align-items: center; } }
.shots figure { margin: 0; }
.shots figcaption { text-align: center; font-size: 14px; color: var(--muted); margin-top: 10px; }

/* phones: smaller placeholders, two phone shots side by side */
@media (max-width: 719px) {
  .hero .shot-phone { max-width: 220px; }
  .shots { grid-template-columns: 1fr 1fr; gap: 16px; }
  .shots figure:first-child { grid-column: 1 / -1; }
  .shots .shot-phone { border-radius: 28px; font-size: 13px; padding: 12px; }
}

/* ---- sections ---- */
section { padding: 56px 0; }
@media (min-width: 900px) { section { padding: 80px 0; } }
.alt { background: var(--surface); }
h2 { font-size: clamp(28px, 4vw, 38px); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 14px; font-weight: 800; }
.section-lede { color: var(--muted); font-size: 18px; max-width: 40em; margin: 0 0 36px; }
h3 { font-size: 19px; line-height: 1.3; margin: 0 0 8px; letter-spacing: -0.01em; }

.cards { display: grid; gap: 16px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards.three { grid-template-columns: repeat(3, 1fr); } .cards.four { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--raised); border: 1px solid var(--line); border-radius: 18px; padding: 24px; box-shadow: var(--shadow); }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.card .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--chip); color: var(--link); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--link); background: var(--chip); border-radius: 999px; padding: 2px 10px; margin-left: 6px; vertical-align: 2px; }

.steps { counter-reset: step; display: grid; gap: 16px; padding: 0; margin: 0; list-style: none; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; background: var(--raised); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.steps li::before { content: counter(step); display: inline-flex; width: 32px; height: 32px; border-radius: 50%; background: var(--blue); color: var(--on-blue); font-weight: 800; align-items: center; justify-content: center; margin-bottom: 12px; }
.steps p { margin: 0; color: var(--muted); font-size: 16px; }

.checks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 14px; }
@media (min-width: 900px) { .checks { grid-template-columns: repeat(2, 1fr); gap: 18px 32px; } }
.checks li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.checks li svg { color: var(--blue); margin-top: 3px; }
.checks b { display: block; }
.checks span { color: var(--muted); font-size: 16px; }

.band { background: var(--navy); color: #fff; border-radius: 24px; padding: 36px 24px; display: grid; gap: 20px; align-items: center; }
.band h2 { color: #fff; }
.band p { color: #c7d6e4; margin: 0; }
.band .btn-primary { background: #3499cc; color: #fff; }
@media (min-width: 900px) { .band { grid-template-columns: 1.4fr auto; padding: 48px; } }
@media (prefers-color-scheme: dark) { .band { background: var(--raised); border: 1px solid var(--line); } }

/* ---- legal / prose pages ---- */
.page-head { padding: 48px 0 8px; }
.page-head h1 { font-size: clamp(32px, 5vw, 44px); }
.page-head .fine { margin-top: 4px; }
.prose { max-width: 760px; padding-bottom: 64px; }
.prose h2 { font-size: 24px; margin: 40px 0 10px; }
.prose h3 { font-size: 18px; margin: 24px 0 6px; }
.prose p, .prose li { color: var(--ink); }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose code { font-size: 14px; background: var(--surface); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; overflow-wrap: anywhere; }
.callout { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: 12px; padding: 16px 18px; margin: 20px 0; }
.callout p { margin: 0; }
.callout p + p { margin-top: 10px; }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; margin: 16px 0 8px; }
.toc ol { margin: 6px 0 0; columns: 2 220px; }
.toc li { margin: 4px 0; font-size: 15px; }
.table-wrap { overflow-x: auto; margin: 16px 0; border: 1px solid var(--line); border-radius: 12px; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
th { background: var(--surface); font-weight: 700; }
tr:last-child td { border-bottom: 0; }
td code { white-space: normal; }

details { border: 1px solid var(--line); border-radius: 14px; background: var(--raised); margin: 10px 0; }
summary { cursor: pointer; padding: 16px 18px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--link); font-weight: 800; }
details[open] summary::after { content: "–"; }
details > div { padding: 0 18px 16px; }
details > div p:first-child { margin-top: 0; }

.contact-grid { display: grid; gap: 16px; margin: 20px 0 8px; }
@media (min-width: 640px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---- footer ---- */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 44px; font-size: 14px; color: var(--muted); }
.foot { display: grid; gap: 20px; }
@media (min-width: 900px) { .foot { grid-template-columns: 1fr auto; align-items: start; } }
.foot-logo { width: 170px; margin-bottom: 12px; }
.foot p { margin: 2px 0; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot-links a { color: var(--muted); }
.foot-links a:hover { color: var(--ink); }
.gm-wide { max-width: 1100px; margin: 0 auto; }

.promo-video { position: relative; border-radius: 18px; overflow: hidden; box-shadow: 0 24px 60px rgba(14, 23, 45, .16), 0 0 0 1px rgba(14, 23, 45, .06); background: #0e172d; aspect-ratio: 16 / 9; }
.promo-video video { display: block; width: 100%; height: 100%; object-fit: cover; }
.promo-sound { position: absolute; right: 14px; bottom: 14px; border: 0; border-radius: 999px; padding: 9px 16px; background: rgba(14, 23, 45, .82); color: #fff; font: 600 14px/1 'DM Sans', sans-serif; cursor: pointer; }
.promo-sound:focus-visible { outline: 3px solid #3499cc; outline-offset: 2px; }
.promo-still { display: none; }
@media (prefers-reduced-motion: reduce) { .promo-video { display: none; } .promo-still { display: block; } }
