/* Scanalo website: colours and icons follow the in-app "Me" and paywall screens. */
@font-face { font-family: "Nunito"; src: url("fonts/Nunito-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("fonts/Nunito-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("fonts/Nunito-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("fonts/Nunito-ExtraBold.ttf") format("truetype"); font-weight: 800; font-display: swap; }

:root {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #f5f6f8;
  --border: #e6e9ee;
  --text: #384150;
  --muted: #7d8696;

  --teal: #12c7d4;
  --teal-dark: #0ca7b3;
  --teal-title: #10b4c0;
  --teal-soft: #e3f8fa;
  --teal-line: #a6e6ec;

  --pink: #ec6cb2;      --pink-soft: #fde8f2;
  --purple: #8c84cc;    --purple-soft: #efedf9;
  --blue: #486cec;      --blue-soft: #e7ecfd;
  --orange: #e8830c;    --orange-soft: #fff3df;

  --radius: 22px;
  --font: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 500 17px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--teal-dark); }
h1, h2, h3 { line-height: 1.12; margin: 0; font-weight: 800; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.9); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--border); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 800; font-size: 24px; }
.brand-mark { width: 40px; height: 40px; border-radius: 12px; background: var(--teal-soft); border: 2px solid var(--teal-line); display: grid; place-items: center; overflow: hidden; }
.brand-mark img { width: 34px; margin-top: 6px; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--text); text-decoration: none; font-weight: 700; font-size: 16px; }
.nav-links a:hover { color: var(--teal-dark); }
@media (max-width: 760px) { .nav-links a:not(.btn) { display: none; } }

/* ---------- Buttons (chunky, with a darker bottom edge) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; cursor: pointer; text-decoration: none; font: 800 18px var(--font); color: #fff; background: var(--teal); padding: 16px 30px; border-radius: 999px; box-shadow: 0 5px 0 var(--teal-dark); transition: transform .08s, box-shadow .08s; }
.btn:hover { filter: brightness(1.03); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--teal-dark); }
.btn-sm { font-size: 15px; padding: 10px 18px; box-shadow: 0 3px 0 var(--teal-dark); }
.btn-sm:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--teal-dark); }
.btn-ghost { background: #fff; color: var(--text); box-shadow: 0 5px 0 var(--border); border: 2px solid var(--border); }
.btn-ghost:active { box-shadow: 0 1px 0 var(--border); }
.btn svg { width: 22px; height: 22px; }
.fine { font-size: 14px; color: var(--muted); margin-top: 14px; }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; background: var(--teal-soft); color: var(--teal-dark); border: 2px solid var(--teal-line); font-weight: 800; font-size: 14px; padding: 6px 14px; border-radius: 999px; margin-bottom: 20px; }
.hero h1 { font-size: clamp(40px, 6vw, 64px); }
.hero h1 em { font-style: normal; color: var(--teal-title); }
.hero .lede { font-size: 20px; color: var(--muted); margin: 20px 0 32px; max-width: 520px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding-top: 32px; } }

/* Phone mockup */
.phone-stage { position: relative; display: flex; justify-content: center; }
.phone { width: 300px; background: #fff; border-radius: 44px; border: 10px solid #1f2530; box-shadow: 0 30px 60px -20px rgba(56,65,80,.35); overflow: hidden; position: relative; z-index: 2; }
.phone-screen { padding: 22px 18px 18px; min-height: 560px; display: flex; flex-direction: column; gap: 14px; }
.phone-notch { width: 96px; height: 26px; background: #1f2530; border-radius: 0 0 16px 16px; margin: -22px auto 4px; }
.product { display: flex; gap: 12px; align-items: center; }
.product-img { width: 54px; height: 54px; border-radius: 14px; background: var(--orange-soft); display: grid; place-items: center; font-size: 28px; }
.product b { display: block; font-size: 16px; }
.product span { font-size: 13px; color: var(--muted); }
.dial { position: relative; width: 170px; height: 170px; margin: 6px auto 0; }
.dial svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.dial-num { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.dial-num strong { font-size: 52px; line-height: 1; font-weight: 800; }
.dial-num span { font-size: 14px; font-weight: 800; color: #16a34a; }
.rows { display: flex; flex-direction: column; gap: 8px; }
.row { display: flex; align-items: center; gap: 10px; background: var(--surface); border-radius: 14px; padding: 10px 12px; font-size: 14px; font-weight: 700; }
.row .tag { margin-left: auto; font-size: 12px; font-weight: 800; padding: 3px 9px; border-radius: 999px; }
.tag-ok { background: #e8f7ee; color: #16a34a; }
.tag-warn { background: var(--pink-soft); color: var(--pink); }
.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.phone-bison { position: absolute; z-index: 3; width: 190px; right: max(-20px, calc(50% - 330px)); bottom: -44px; }
@media (max-width: 520px) { .phone-bison { width: 140px; right: -6px; bottom: -24px; } .phone { width: 280px; } }

/* ---------- Sections ---------- */
section { padding: 80px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(32px, 4.5vw, 44px); }
.section-head p { font-size: 19px; color: var(--muted); margin-top: 14px; }
.tint { background: var(--surface); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: #fff; border-radius: var(--radius); padding: 28px; border: 2px solid var(--border); }
.step-num { width: 44px; height: 44px; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 800; font-size: 20px; display: grid; place-items: center; box-shadow: 0 3px 0 var(--teal-dark); margin-bottom: 18px; }
.step h3 { font-size: 22px; margin-bottom: 8px; }
.step p { color: var(--muted); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* Feature list: the paywall's "What you get" */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 40px; max-width: 980px; margin: 0 auto; }
.feature { display: grid; grid-template-columns: 22px 64px 1fr; gap: 16px; align-items: center; padding: 12px 0; }
.feature .check { width: 22px; height: 22px; }
.icon-tile { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; }
.icon-tile svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 21px; font-weight: 800; }
.feature p { color: var(--text); font-size: 16px; line-height: 1.4; margin-top: 2px; }
.c-teal   { color: var(--teal-title); } .bg-teal   { background: var(--teal-soft);   color: var(--teal-title); }
.c-pink   { color: var(--pink); }       .bg-pink   { background: var(--pink-soft);   color: var(--pink); }
.c-purple { color: var(--purple); }     .bg-purple { background: var(--purple-soft); color: var(--purple); }
.c-blue   { color: var(--blue); }       .bg-blue   { background: var(--blue-soft);   color: var(--blue); }
.c-orange { color: var(--orange); }     .bg-orange { background: var(--orange-soft); color: var(--orange); }
@media (max-width: 820px) { .features { grid-template-columns: 1fr; } }

/* Settings-style list (the "Me" screen rows) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split h2 { font-size: clamp(32px, 4.5vw, 44px); }
.split .lede { font-size: 19px; color: var(--muted); margin: 16px 0 0; }
.list { background: #fff; border-radius: var(--radius); border: 2px solid var(--border); padding: 6px 22px; }
.list-row { display: flex; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.list-row:last-child { border-bottom: 0; }
.list-row svg.ic { width: 26px; height: 26px; fill: none; stroke: var(--text); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.list-row b { font-weight: 600; font-size: 18px; display: block; }
.list-row small { color: var(--muted); font-size: 14px; display: block; }
.list-row .chev { margin-left: auto; width: 18px; height: 18px; stroke: var(--muted); fill: none; stroke-width: 2; flex: none; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }

/* Score bands */
.bands { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 28px; }
.band { border-radius: 18px; padding: 16px; text-align: center; font-weight: 800; }
.band strong { display: block; font-size: 24px; }
.band span { font-size: 14px; }
.band-ex { background: #e8f7ee; color: #16a34a; }
.band-gd { background: #f0f8e2; color: #4d7c0f; }
.band-pr { background: #fff3df; color: #c2650a; }
.band-bd { background: #feeded; color: #d63031; }
@media (max-width: 560px) { .bands { grid-template-columns: repeat(2, 1fr); } }

/* Upgrade card (the "Upgrade to Pro" card) */
.pro-card { background: var(--teal-soft); border: 2px solid var(--teal-line); border-radius: 28px; padding: 40px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; align-items: center; position: relative; overflow: hidden; }
.pro-card h2 { color: var(--teal-title); font-size: clamp(32px, 4.5vw, 44px); }
.pro-card .lede { color: var(--muted); font-size: 19px; margin: 12px 0 28px; max-width: 460px; }
.pro-card img { width: 100%; max-width: 360px; justify-self: end; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 28px; }
.plan { background: #fff; border-radius: 20px; padding: 20px; border: 2px solid var(--border); position: relative; }
.plan.selected { border-color: var(--teal); }
.plan.selected::after { content: ""; position: absolute; top: 14px; right: 14px; width: 24px; height: 24px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/16px no-repeat; }
.plan h3 { font-size: 18px; }
.plan .price { font-size: 34px; font-weight: 800; margin: 6px 0 2px; }
.plan .price small { font-size: 16px; color: var(--muted); font-weight: 700; }
.plan p { color: var(--muted); font-size: 15px; }
.badge { display: inline-block; background: var(--orange); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .06em; padding: 3px 9px; border-radius: 999px; margin-left: 6px; vertical-align: 2px; }
@media (max-width: 900px) { .pro-card { grid-template-columns: 1fr; padding: 28px 20px; } .pro-card img { justify-self: center; max-width: 240px; } .plans { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--surface); border-radius: 18px; padding: 4px 22px; }
.faq summary { cursor: pointer; list-style: none; font-weight: 800; font-size: 18px; padding: 16px 0; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--teal-dark); font-size: 26px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 18px; color: var(--muted); }

/* CTA band */
.cta { text-align: center; }
.cta img { width: 160px; margin: 0 auto 12px; }
.cta h2 { font-size: clamp(32px, 4.5vw, 44px); margin-bottom: 14px; }
.cta p { color: var(--muted); font-size: 19px; margin-bottom: 28px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 36px 0 48px; font-size: 15px; color: var(--muted); }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: flex-start; }
.foot-links { display: flex; flex-wrap: wrap; gap: 22px; }
.foot-links a { color: var(--text); font-weight: 700; text-decoration: none; }
.foot-links a:hover { color: var(--teal-dark); }
.disclaimer { margin-top: 20px; font-size: 13px; max-width: 760px; }

/* ---------- Legal / support pages ---------- */
.doc { max-width: 720px; margin: 0 auto; padding: 48px 20px 72px; }
.doc h1 { font-size: clamp(36px, 5vw, 48px); }
.doc .updated { color: var(--muted); margin: 8px 0 28px; font-size: 15px; }
.doc h2 { font-size: 23px; margin: 36px 0 10px; }
.doc p, .doc li { margin: 10px 0; }
.doc ul { padding-left: 22px; }
.doc .callout { background: var(--teal-soft); border: 2px solid var(--teal-line); border-radius: 20px; padding: 20px 22px; margin: 24px 0; }
.contact-card { background: var(--teal-soft); border: 2px solid var(--teal-line); border-radius: 26px; padding: 28px; display: flex; gap: 20px; align-items: center; margin: 24px 0 8px; }
.contact-card img { width: 110px; flex: none; }
.contact-card h2 { margin: 0 0 6px; color: var(--teal-title); }
.contact-card p { color: var(--muted); margin: 0 0 16px; }
@media (max-width: 560px) { .contact-card { flex-direction: column; text-align: center; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
