/* The FreeSMS site. Static, no build step, no third-party anything: the same
   promises the product makes. System fonts and the product's own palette --
   graphite and white. The site's own accent is a brake-light red: the
   product keeps red for "wrong now", but the site is not the product,
   and an accent for a headline is not a warning. The scenes keep
   the product's colours, because they are drawn after it. */
:root {
  color-scheme: light dark;
  --bg: #f6f7f9; --card: #fff; --line: #e3e6eb; --text: #14171c; --muted: #5b6270;
  --ink: #1f2328; --ok: #0a7d37; --ok-fill: #effaf2; --ok-line: #c7ecd2;
  --brand: #d92d20; --brand-hot: #f2542d; --brand-dark: #b42318; --brand-soft: #fde8e6;
  --radius: 16px; --shadow: 0 1px 2px rgba(20,23,28,.04), 0 8px 24px rgba(20,23,28,.06);
}
/* The visitor's own setting. The scenes stay light: they are pictures of the
   product's screens, like screenshots on a dark page. */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1116; --card: #171b22; --line: #2b313b; --text: #f0f2f5; --muted: #9aa3b2;
    --ink: #2a303a; --ok: #35d07f; --ok-fill: #12351f; --ok-line: #1e5a36; --brand-soft: #3a1714;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.35);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); overflow-x: hidden;
  font: 1.0625rem/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
main { max-width: 68rem; margin: 0 auto; padding: 0 1rem 2rem; }
section { margin: 0 auto; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; text-align: center; margin: 0 0 .5rem; }
.sub { color: var(--muted); text-align: center; max-width: 40rem; margin: 0 auto 1.75rem; }

/* ── Header ──────────────────────────────────────────────────────────── */
header.top { display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  max-width: 68rem; margin: 0 auto; padding: 1.1rem 1rem; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none;
  font-weight: 700; letter-spacing: .18em; font-size: .95rem; color: var(--muted); }
.logo { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 10px;
  background: var(--brand); color: #fff; }
.logo svg { width: 1.25rem; height: 1.25rem; }
header nav { display: flex; align-items: center; gap: 1.25rem; font-size: .92rem; }
header nav a { text-decoration: none; color: var(--muted); }
header nav a:hover { color: var(--text); }
header nav .cta-small { background: var(--brand); color: #fff; padding: .5rem .9rem; border-radius: 8px;
  font-weight: 700; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
header nav .cta-small:hover { color: #fff; background: var(--brand-dark); }
header nav .gh { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 10px;
  background: var(--ink); color: #fff; transition: background .15s ease, transform .15s ease; }
header nav .gh svg { width: 1.25rem; height: 1.25rem; }
header nav .gh:hover { background: var(--brand); color: #fff; transform: translateY(-1px); }
@media (max-width: 560px) { header nav a:not(.gh) { display: none; } }

/* ── Hero ────────────────────────────────────────────────────────────── */
.hero { text-align: center; padding: 3rem 0 1.5rem; max-width: 50rem; }
.badge { display: inline-flex; align-items: center; gap: .55rem; border: 1px solid var(--line); background: var(--card);
  border-radius: 99px; padding: .4rem 1rem; font-size: .78rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); box-shadow: var(--shadow); }
.badge .dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--ok); }
.hero h1 { font-size: clamp(2.2rem, 6.2vw, 3.9rem); font-weight: 800; line-height: 1.04; letter-spacing: -.035em; margin: 1.4rem 0 1rem; }
.hero h1 em { font-style: normal; color: var(--brand);
  background: linear-gradient(100deg, var(--brand-dark), var(--brand) 45%, var(--brand-hot));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero .sub { font-size: 1.15rem; margin-bottom: .75rem; }
.hero .facts { color: var(--text); font-weight: 600; font-size: .95rem; margin: 0 0 1.6rem; }
.ctas { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; text-decoration: none;
  background: var(--brand); color: #fff; font-weight: 700; padding: .85rem 1.4rem; border-radius: 12px;
  box-shadow: 0 6px 18px rgba(217,45,32,.28); transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); background: var(--brand-dark); box-shadow: 0 10px 24px rgba(217,45,32,.32); }
.btn.ghost { background: var(--card); color: var(--text); border: 1px solid var(--line); box-shadow: var(--shadow); }

/* ── Scenes ──────────────────────────────────────────────────────────── */
.scene { margin: 2rem auto 0; }
.scene h2 { margin-bottom: .35rem; }
.scene .lede { color: var(--muted); max-width: 44rem; margin: 0 auto 1.25rem; text-align: center; }
.scene .truth { font-size: .85rem; color: var(--muted); margin: .9rem auto 0; max-width: 52rem; text-align: center; }
.scene .truth a { color: var(--text); font-weight: 600; }
/* The hero's scene sits in a frame, as the first thing a visitor sees move. */
.scene-hero { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 1.5rem;
  box-shadow: var(--shadow); max-width: 64rem; }
.scene-hero h2 { font-size: 1.25rem; }
@media (max-width: 560px) { .scene-hero { padding: 1rem .6rem; border-radius: 18px; } }

/* ── Three steps ─────────────────────────────────────────────────────── */
.steps { padding: 4.5rem 0 1rem; }
.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 58rem; margin: 1.75rem auto 0; }
.step { text-align: center; }
.step .icon { display: grid; place-items: center; width: 4.5rem; height: 4.5rem; margin: 0 auto .9rem; border-radius: 20px;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--ink); }
.step .icon svg { width: 2.1rem; height: 2.1rem; }
.step b { display: block; font-weight: 700; font-size: 1.05rem; margin-bottom: .3rem; }
.step p { color: var(--muted); font-size: .95rem; margin: 0 auto; max-width: 18rem; }
@media (max-width: 720px) { .step-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ── Tabs ────────────────────────────────────────────────────────────── */
.tabs-sec { padding: 4rem 0 1rem; }
.tabbar { display: none; }
.tabs-on .tabbar { display: flex; justify-content: center; gap: .5rem; margin: 0 auto 1.25rem;
  overflow-x: auto; padding: .25rem; scrollbar-width: none; }
.tabbar::-webkit-scrollbar { display: none; }
.tabbar button { flex: 0 0 auto; font: inherit; font-weight: 600; font-size: .95rem; cursor: pointer;
  background: var(--card); color: var(--text); border: 1px solid var(--line); border-radius: 99px; padding: .6rem 1.15rem;
  box-shadow: var(--shadow); transition: background .15s ease, color .15s ease; }
.tabbar button[aria-selected="true"] { background: var(--brand); color: #fff; border-color: var(--brand); }
.tabbar button:focus-visible { outline: 3px solid var(--brand-soft); outline-offset: 2px; }
.tabs-on .pane { margin-top: 0; background: var(--card); border: 1px solid var(--line); border-radius: 24px;
  padding: 1.5rem; box-shadow: var(--shadow); }
.tabs-on .pane h2 { font-size: 1.25rem; }
.pane[hidden] { display: none; }
@media (max-width: 720px) { .tabs-on .tabbar { justify-content: flex-start; } .tabs-on .pane { padding: 1rem .6rem; } }

/* ── Proof ───────────────────────────────────────────────────────────── */
.proof { padding: 4.5rem 0 1rem; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; max-width: 60rem; margin: 1.75rem auto 1.25rem; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1rem;
  text-align: center; box-shadow: var(--shadow); }
.stat b { display: block; font-weight: 800; font-size: 1.9rem; letter-spacing: -.02em; line-height: 1.1; }
.stat span { color: var(--muted); font-size: .9rem; }
.checks { list-style: none; padding: 0; margin: 0 auto; display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.checks li { display: inline-flex; align-items: center; gap: .45rem; background: var(--ok-fill); color: var(--ok);
  border: 1px solid var(--ok-line); border-radius: 99px; padding: .45rem .95rem; font-weight: 600; font-size: .9rem; }
.checks li::before { content: "✓"; font-weight: 800; }
@media (max-width: 720px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }

/* ── Questions ───────────────────────────────────────────────────────── */
.faq { padding: 4.5rem 0 1rem; max-width: 46rem; }
.faq h2 { margin-bottom: 1.5rem; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; margin-bottom: .6rem;
  box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 1rem 1.25rem; font-weight: 650; display: flex;
  justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 1.25rem 1.1rem; color: var(--muted); }

/* ── The end ─────────────────────────────────────────────────────────── */
.final { margin-top: 4.5rem; text-align: center; background: var(--ink); color: #fff; border-radius: 24px;
  padding: 3rem 1.25rem; max-width: 64rem; }
.final h2 { color: #fff; }
.final p { color: #c9ccd2; margin: 0 0 1.25rem; }
.final pre { display: block; width: fit-content; margin-left: auto; margin-right: auto; text-align: left; background: #14171c; border: 1px solid #3a4049; border-radius: 12px;
  padding: .9rem 1.2rem; margin-bottom: 1.5rem; font: .92rem/1.6 ui-monospace, Menlo, Consolas, monospace; color: #e9ebef;
  max-width: 100%; overflow-x: auto; }
.final .btn { background: var(--brand); color: #fff; }
/* ── Footer ──────────────────────────────────────────────────────────── */
.foot { max-width: 68rem; margin: 3rem auto 0; padding: 3rem 1rem 2.5rem; border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 2rem; }
.foot-brand p { color: var(--muted); font-size: .92rem; margin: .9rem 0 0; max-width: 20rem; }
.foot-col { display: flex; flex-direction: column; gap: .55rem; font-size: .92rem; }
.foot-col b { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text); margin-bottom: .25rem; }
.foot-col a { color: var(--muted); text-decoration: none; }
.foot-col a:hover { color: var(--brand); }
.socials { display: flex; gap: .6rem; margin-top: 1.1rem; }
.social { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 12px; color: var(--muted);
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: color .15s ease, background .15s ease, transform .15s ease, border-color .15s ease; }
.social svg { width: 1.2rem; height: 1.2rem; }
.social:hover { color: #fff; background: var(--ink); border-color: var(--ink); transform: translateY(-2px); }
.social[title="LinkedIn"]:hover { background: #0a66c2; border-color: #0a66c2; }
.made-by { text-decoration: none; color: var(--muted); }
.made-by b { color: var(--text); font-weight: 600; }
.made-by:hover b { color: var(--brand); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 2.5rem;
  padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
@media (max-width: 720px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
