/* AreaMap website. One accent (the app's blue), one type family (DM Sans, as in the app), 8 pt spacing,
   left-aligned copy on a single edge, light and dark from the system setting. */
:root {
  --bg: #FFFFFF;
  --bg-2: #F4F5F8;
  --card: #FFFFFF;
  --text: #0F1115;
  --text-2: #4F5561;
  --text-3: #7C828D;
  --line: rgba(15, 17, 21, 0.09);
  --accent: #2F6BFF;
  --accent-hover: #1F59EA;
  --accent-soft: rgba(47, 107, 255, 0.1);
  --field: #2E9E57;
  --radius: 24px;
  --shadow: 0 1px 2px rgba(15, 17, 21, 0.04), 0 12px 32px -12px rgba(15, 17, 21, 0.12);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0B0C0E;
    --bg-2: #141518;
    --card: #1A1C20;
    --text: #F4F5F7;
    --text-2: #A7ADB8;
    --text-3: #7A808B;
    --line: rgba(255, 255, 255, 0.09);
    --accent: #4C82FF;
    --accent-hover: #6693FF;
    --accent-soft: rgba(76, 130, 255, 0.16);
    --field: #4CC37A;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 16px 40px -16px rgba(0, 0, 0, 0.6);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
img { display: block; max-width: 100%; height: auto; }
.wrap { width: min(1120px, 100% - 48px); margin: 0 auto; }
@media (max-width: 600px) { .wrap { width: calc(100% - 32px); } }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 50; background: var(--card); padding: 8px 14px; border-radius: 10px; }

/* Nav: brand left, links and the one action right. */
.nav { position: sticky; top: 0; z-index: 10; backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); background: color-mix(in srgb, var(--bg) 80%, transparent); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; height: 64px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav-links { display: flex; gap: 24px; font-size: 15px; margin-left: auto; }
.nav-links a { color: var(--text-2); }
.nav-links a:hover { color: var(--text); text-decoration: none; }
@media (max-width: 720px) { .nav-links { display: none; } .nav .btn-sm { margin-left: auto; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 28px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 600; font-size: 17px; transition: background 0.15s, transform 0.15s; }
.btn:hover { text-decoration: none; background: var(--accent-hover); }
.btn:active { transform: scale(0.98); }
.btn svg { width: 20px; height: 20px; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; gap: 7px; }
.btn-sm svg { width: 15px; height: 15px; }
.btn-note { color: var(--text-3); font-size: 14px; margin: 14px 0 0; }
.toast { position: fixed; left: 50%; bottom: 32px; transform: translate(-50%, 16px); opacity: 0; pointer-events: none; background: var(--text); color: var(--bg); padding: 14px 22px; border-radius: 999px; font-weight: 500; font-size: 15px; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3); transition: opacity 0.25s, transform 0.25s; z-index: 20; white-space: nowrap; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Type */
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin: 0 0 12px; }
h1, h2, h3 { font-weight: 700; margin: 0; }
h2 { font-size: clamp(32px, 4.4vw, 46px); line-height: 1.08; letter-spacing: -0.03em; margin-bottom: 16px; max-width: 18ch; }
.lede { color: var(--text-2); font-size: clamp(18px, 1.8vw, 20px); max-width: 44ch; margin: 0; }

/* Hero: copy on the left edge, two phones on the right. */
.hero { padding: 72px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(44px, 5.4vw, 68px); line-height: 1.02; letter-spacing: -0.045em; margin: 0 0 22px; }
@media (max-width: 600px) { .hero h1 br { display: none; } }
.hero .lede { margin-bottom: 32px; max-width: 34ch; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 20px; list-style: none; padding: 0; margin: 28px 0 0; color: var(--text-2); font-size: 15px; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points svg { width: 18px; height: 18px; color: var(--field); flex: none; }
.hero-visual { position: relative; height: 700px; }
.phone { position: absolute; width: 290px; border-radius: 46px; padding: 9px; background: #0A0A0B; box-shadow: 0 40px 80px -24px rgba(15, 17, 21, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.07) inset; }
.phone img { border-radius: 37px; width: 100%; }
.hero .phone.back { top: 0; right: 0; }
.hero .phone.front { top: 70px; left: 4%; }
@media (max-width: 900px) {
  .hero { padding-top: 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { height: 520px; max-width: 520px; }
  .phone { width: 230px; border-radius: 38px; padding: 7px; }
  .phone img { border-radius: 31px; }
}
@media (max-width: 480px) {
  .hero-visual { height: 460px; }
  .phone { width: 200px; }
  .hero .phone.front { left: 0; }
}

/* Sections */
section { padding: 96px 0; }
section.tint { background: var(--bg-2); }
.section-head { margin-bottom: 48px; }
@media (max-width: 600px) { section { padding: 72px 0; } .section-head { margin-bottom: 36px; } }

/* How it works: three numbered steps, one row. */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.steps li::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; margin-bottom: 18px; }
.steps h3 { font-size: 20px; letter-spacing: -0.01em; margin-bottom: 6px; }
.steps p { color: var(--text-2); margin: 0; font-size: 16px; }

/* Feature rows: copy and one phone, alternating sides. */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature + .feature { margin-top: 112px; }
.feature.flip .feature-media { order: -1; }
.feature-media { display: flex; justify-content: center; }
.feature-media .phone { position: relative; width: 300px; }
.feature ul { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.feature li { display: flex; gap: 12px; color: var(--text-2); }
.feature li b { color: var(--text); font-weight: 600; }
.feature li svg { flex: none; width: 22px; height: 22px; color: var(--accent); margin-top: 2px; }
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; gap: 40px; }
  .feature.flip .feature-media { order: 0; }
  .feature-media .phone { width: 250px; }
  .feature + .feature { margin-top: 88px; }
}

/* Who it's for */
.uses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 820px) { .uses { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .uses { grid-template-columns: 1fr; } }
.use { display: flex; gap: 16px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 18px 20px; }
.use img { width: 64px; height: 64px; flex: none; object-fit: contain; }
.use h3 { font-size: 17px; margin-bottom: 2px; }
.use p { margin: 0; color: var(--text-2); font-size: 15px; line-height: 1.45; }

/* Detail grid */
.details { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px) { .details { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .details { grid-template-columns: 1fr; } }
.detail { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.detail svg { width: 26px; height: 26px; color: var(--accent); margin-bottom: 14px; }
.detail h3 { font-size: 17px; margin-bottom: 4px; }
.detail p { margin: 0; color: var(--text-2); font-size: 15px; line-height: 1.5; }

/* Pricing */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.price-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.price-card .amount { font-size: 52px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.price-card .amount small { font-size: 18px; color: var(--text-2); font-weight: 500; letter-spacing: 0; }
.price-card p { color: var(--text-2); margin: 12px 0 0; }
.price-card .fine { font-size: 14px; color: var(--text-3); }
.price-card .btn { margin-top: 24px; width: 100%; }

/* FAQ */
.faq details, .faq .section-head { max-width: 760px; }
details { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px 22px; margin: 12px 0; }
details summary { cursor: pointer; font-weight: 600; color: var(--text); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 28px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--accent); font-size: 24px; line-height: 1; font-weight: 400; }
details[open] summary::after { content: "–"; }
details p { margin: 12px 0 0; color: var(--text-2); }

/* Closing call to action */
.cta-band { text-align: left; }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; background: var(--card); border: 1px solid var(--line); border-radius: 32px; padding: 48px; box-shadow: var(--shadow); }
.cta-band h2 { margin-bottom: 8px; }
.cta-band .lede { font-size: 18px; }
@media (max-width: 600px) { .cta-band .wrap { padding: 32px 24px; } }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 36px 0 56px; color: var(--text-3); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; justify-content: space-between; align-items: center; }
footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
footer a { color: var(--text-2); }

/* Legal and support pages */
.doc { padding: 56px 0 88px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(36px, 6vw, 52px); letter-spacing: -0.035em; line-height: 1.05; margin: 0 0 8px; }
.doc .meta { color: var(--text-3); font-size: 15px; margin-bottom: 36px; }
.doc h2 { font-size: 24px; letter-spacing: -0.01em; margin: 44px 0 10px; max-width: none; }
.doc p, .doc li { color: var(--text-2); }
.doc strong { color: var(--text); font-weight: 600; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.summary { background: var(--bg-2); border: 1px solid var(--line); border-radius: 20px; padding: 22px 24px; margin-bottom: 8px; }
.summary p { margin: 0; }
.summary ul { margin: 10px 0 0; }
.table-scroll { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; min-width: 520px; }
table.data th, table.data td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data th { color: var(--text); font-weight: 600; }
table.data td { color: var(--text-2); }
.contact { background: var(--accent-soft); border-radius: 20px; padding: 24px; margin-top: 36px; }
.contact p { margin: 0; color: var(--text); }
