/* Scan60 website. Brand: Sora (display) + Public Sans (text), Scan60 blue, 60Loops coral. */
:root {
  --ink: #14161f;
  --ink-soft: #4a4e5c;
  --paper: #ffffff;
  --mist: #f3f5f9;
  --line: #e3e6ec;
  --scan: #2f6bf2;
  --scan-deep: #1e4fd1;
  --scan-bg: #eaf0ff;
  --coral: #d63a1b;
  --good: #17703c;
  --radius: 22px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #eef0f4;
    --ink-soft: #a8adba;
    --paper: #0f1116;
    --mist: #161a22;
    --line: #262a34;
    --scan: #7ea4ff;
    --scan-deep: #a7c1ff;
    --scan-bg: #141c30;
    --coral: #ff7f63;
    --good: #6fd39a;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ink: #eef0f4; --ink-soft: #a8adba; --paper: #0f1116; --mist: #161a22; --line: #262a34;
  --scan: #7ea4ff; --scan-deep: #a7c1ff; --scan-bg: #141c30; --coral: #ff7f63; --good: #6fd39a;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.65 "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Devanagari", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--scan); }
h1, h2, h3, .brand, .btn, .eyebrow { font-family: "Sora", "Public Sans", sans-serif; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 19px; margin-right: auto; }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.site-header nav { display: flex; gap: 22px; }
.site-header nav a { color: var(--ink-soft); text-decoration: none; font-size: 15px; font-weight: 500; }
.site-header nav a:hover, .site-header nav a[aria-current] { color: var(--ink); }
@media (max-width: 760px) { .site-header nav .wide { display: none; } }
@media (max-width: 420px) { .site-header nav { gap: 14px; } .site-header .btn { display: none; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; transition: transform .15s, background .15s; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: color-mix(in srgb, var(--ink) 86%, var(--scan)); }
.btn-ghost { color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--mist); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn svg { width: 20px; height: 20px; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 40px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--scan-deep); background: var(--scan-bg); padding: 6px 12px; border-radius: 999px; }
.hero h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1.04; letter-spacing: -0.035em; margin: 18px 0 18px; font-weight: 700; }
.hero h1 span { color: var(--scan); }
.hero p.lead { font-size: 19px; color: var(--ink-soft); max-width: 520px; margin: 0 0 30px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; color: var(--ink-soft); font-size: 14px; }
.hero .facts span::before { content: "✓"; color: var(--good); font-weight: 700; margin-right: 6px; }
.phones { position: relative; height: 580px; }
.phone { position: absolute; width: 250px; border-radius: 34px; border: 7px solid #14161f; background: #14161f; box-shadow: 0 30px 60px -20px rgba(20, 22, 31, .45); overflow: hidden; }
.phone img { border-radius: 27px; }
.phones .p1 { left: 8%; top: 10px; z-index: 2; }
.phones .p2 { left: 48%; top: 70px; transform: rotate(4deg); }
.phones::before { content: ""; position: absolute; inset: 60px 0 0 10%; border-radius: 50%; background: radial-gradient(closest-side, var(--scan-bg), transparent); z-index: 0; }
@media (max-width: 900px) {
  .hero { padding-top: 48px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .phones { height: 530px; max-width: 460px; margin: 0 auto; width: 100%; }
  .phone { width: 210px; }
}
@media (max-width: 480px) {
  .phones { height: 450px; }
  .phone { width: 170px; border-width: 5px; border-radius: 26px; }
  .phone img { border-radius: 21px; }
  .phones .p1 { left: 2%; }
  .phones .p2 { left: 44%; }
}

/* ---------- Sections ---------- */
section.block { padding: 88px 0; }
section.alt { background: var(--mist); }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(30px, 4vw, 42px); line-height: 1.12; letter-spacing: -0.025em; margin: 12px 0 12px; }
.section-head p { color: var(--ink-soft); margin: 0; font-size: 18px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
section.alt .feature { border-color: transparent; }
.feature .ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--scan-bg); color: var(--scan); margin-bottom: 16px; }
.feature .ic svg { width: 22px; height: 22px; }
.feature h3 { font-size: 18px; margin: 0 0 6px; letter-spacing: -0.01em; }
.feature p { margin: 0; color: var(--ink-soft); font-size: 15.5px; line-height: 1.6; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

.shots { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 20px 20px; margin: 0 -20px; scrollbar-width: thin; }
.shots figure { margin: 0; flex: 0 0 196px; scroll-snap-align: start; }
@media (min-width: 1120px) { .shots { justify-content: space-between; overflow: visible; } }
.shots img { border-radius: 26px; border: 1px solid var(--line); box-shadow: 0 18px 40px -24px rgba(20, 22, 31, .4); }
.shots figcaption { font-size: 14px; color: var(--ink-soft); margin-top: 10px; text-align: center; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.checklist { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; }
.checklist li::before { content: ""; flex: 0 0 22px; height: 22px; border-radius: 50%; background: var(--scan-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f6bf2' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat; margin-top: 3px; }

.panel { background: var(--ink); color: #fff; border-radius: 32px; padding: 44px; position: relative; overflow: hidden; }
.panel h3 { font-size: 28px; margin: 0 0 8px; letter-spacing: -0.02em; }
.panel p { color: rgba(255,255,255,.72); margin: 0 0 24px; }
.panel ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.panel li { display: flex; gap: 10px; color: rgba(255,255,255,.9); }
.panel li::before { content: "✦"; color: #ffb199; }
.panel .tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #ffb199; margin-bottom: 14px; font-family: "Sora", sans-serif; }
.panel::after { content: ""; position: absolute; right: -80px; top: -80px; width: 240px; height: 240px; border-radius: 50%; border: 36px solid rgba(255,255,255,.05); }
@media (max-width: 520px) { .panel { padding: 30px 24px; border-radius: 24px; } }

.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ink-soft); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-soft); margin: 10px 0 0; }

.cta { text-align: center; padding: 96px 0; }
.cta h2 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.025em; margin: 0 0 12px; }
.cta p { color: var(--ink-soft); margin: 0 0 28px; font-size: 18px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0 36px; font-size: 15px; color: var(--ink-soft); }
.site-footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.site-footer h4 { font-family: "Sora", sans-serif; color: var(--ink); font-size: 14px; margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--ink-soft); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }
.site-footer .maker { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
.site-footer .maker b { color: var(--coral); font-family: "Sora", sans-serif; }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 20px; font-size: 13px; }
@media (max-width: 700px) { .site-footer .wrap { grid-template-columns: 1fr 1fr; } .site-footer .about { grid-column: 1 / -1; } }

/* ---------- Document pages (privacy, terms, delete data) ---------- */
.doc { padding: 56px 0 24px; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); line-height: 1.1; letter-spacing: -0.03em; margin: 0 0 8px; }
.doc h2 { font-size: 23px; letter-spacing: -0.015em; margin: 48px 0 10px; padding-top: 8px; scroll-margin-top: 80px; }
.doc h3 { font-size: 18px; margin: 26px 0 6px; }
.doc p.meta { color: var(--ink-soft); margin: 0 0 28px; font-size: 15px; }
.doc ul { padding-left: 22px; }
.doc li { margin: 5px 0; }
.doc code { font-size: .9em; background: var(--mist); padding: 1px 6px; border-radius: 6px; }
.summary { background: var(--scan-bg); border-radius: 18px; padding: 20px 24px; margin: 24px 0; }
.summary ul { margin: 8px 0 0; }
.note { background: var(--mist); border-radius: 14px; padding: 14px 18px; font-size: 15.5px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; margin: 14px 0; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
tr:last-child td { border-bottom: 0; }
th { color: var(--ink-soft); font-weight: 600; background: var(--mist); }
nav.toc { font-size: 15px; columns: 2; column-gap: 28px; background: var(--mist); border-radius: 16px; padding: 18px 22px; }
nav.toc a { color: var(--ink); text-decoration: none; display: block; padding: 2px 0; }
nav.toc a:hover { color: var(--scan); }
@media (max-width: 560px) { nav.toc { columns: 1; } }
