/* SiteVise marketing site. One stylesheet for every page; no build step. */

:root {
  color-scheme: light dark;
  --bg: #fff8f0;
  --surface: #ffffff;
  --surface-2: #fdf1e2;
  --band-1: #fbebc8;
  --band-2: #efd3a6;
  --ink: #1f2a44;
  --muted: #56607a;
  --line: #ead9c2;
  --accent: #f07a3a;
  --accent-strong: #e0662a;
  --accent-ink: #b14f1b; /* orange that passes AA as text on the light backgrounds */
  --peach: #f6b892;
  --teal: #22a699;
  --teal-ink: #11756b;
  --navy: #1f2a44;
  --navy-2: #283554;
  --on-navy: #f6eee3;
  --on-navy-muted: #c4c9d6;
  --shadow: 0 1px 2px rgb(31 42 68 / 6%), 0 8px 24px rgb(31 42 68 / 8%);
  --radius: 20px;
  --font: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-text: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
  --gutter: 20px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15120f;
    --surface: #211b16;
    --surface-2: #1c1713;
    --band-1: #2a2019;
    --band-2: #221a14;
    --ink: #f6ede2;
    --muted: #b9ad9e;
    --line: #3a2f26;
    --accent: #f58a4e;
    --accent-strong: #f79a63;
    --accent-ink: #f8a26f;
    --teal-ink: #4cc7b9;
    --navy: #0f1524;
    --navy-2: #1a2238;
    --shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 10px 30px rgb(0 0 0 / 35%);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 var(--font-text);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
a:hover { color: var(--accent-strong); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6.4vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
em.hl { font-style: normal; color: var(--accent); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--surface); padding: 8px 14px; border-radius: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.top .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: 800 1.2rem/1 var(--font); letter-spacing: -0.01em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 1px 3px rgb(31 42 68 / 18%); }
.brand:hover { color: var(--ink); }
.nav { display: flex; gap: 22px; margin-left: 12px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.nav a:hover { color: var(--ink); }
.top-end { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.lang { color: var(--muted); font-weight: 600; font-size: 0.9rem; text-decoration: none; padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; }
.lang:hover { color: var(--ink); border-color: var(--muted); }
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  background: var(--accent); color: #fff; text-decoration: none; font-weight: 700; font-size: 0.95rem;
  padding: 9px 16px; border-radius: 999px; border: 0;
  box-shadow: 0 1px 0 rgb(255 255 255 / 25%) inset, 0 4px 14px rgb(240 122 58 / 35%);
}
.btn:hover { background: var(--accent-strong); color: #fff; }
@media (max-width: 860px) { .nav { display: none; } }
@media (max-width: 420px) { .top .btn { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 56px 0 72px; }
.hero::before { /* blueprint grid, fading out toward the text */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(to right, color-mix(in srgb, var(--ink) 6%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in srgb, var(--ink) 6%, transparent) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 70% 80% at 75% 45%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 75% 45%, #000 20%, transparent 75%);
}
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 40px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
  font: 700 0.82rem/1 var(--font-text); letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal-ink);
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--teal); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin: 28px 0 18px; }
.store-badge { display: inline-block; border-radius: 10px; }
.store-badge img { height: 54px; width: auto; }
.play-soon { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 0.92rem; line-height: 1.3; }
.play-soon svg { flex: none; width: 26px; height: 26px; }
.play-soon b { display: block; color: var(--ink); font-weight: 700; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 10px; padding: 0; margin: 22px 0 0; list-style: none; }
.facts li {
  font-size: 0.88rem; font-weight: 600; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px;
}

.hero-art { position: relative; height: 600px; }
.hero-art .disc {
  position: absolute; inset: 40px 0 10px 30px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--band-1), var(--band-2) 70%);
}
.phone { filter: drop-shadow(0 18px 30px rgb(31 42 68 / 22%)) drop-shadow(0 3px 6px rgb(31 42 68 / 12%)); }
.hero-art .phone { position: absolute; width: 270px; }
.hero-art .p1 { left: 8%; top: 18px; z-index: 2; }
.hero-art .p2 { left: 48%; top: 74px; transform: rotate(5deg); }
.sticker {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); color: var(--ink); border-radius: 14px; padding: 10px 14px;
  font: 700 0.9rem/1.1 var(--font); box-shadow: var(--shadow); border: 1px solid var(--line);
}
.sticker .dot { width: 10px; height: 10px; border-radius: 50%; }
.sticker.s1 { left: 0; bottom: 120px; }
.sticker.s2 { right: 0; top: 40px; }
.sticker.s2 .tag { background: var(--accent); color: #fff; border-radius: 6px; padding: 3px 6px; font-size: 0.75rem; }

@media (max-width: 900px) {
  .hero { padding-top: 36px; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero-art { height: 470px; max-width: 460px; width: 100%; margin: 0 auto; }
  .hero-art .phone { width: 210px; }
  .hero-art .p1 { left: 10%; }
  .hero-art .p2 { left: 48%; top: 60px; }
  .hero-art .disc { inset: 40px 10px 10px 10px; }
  .sticker.s1 { left: 0; bottom: 70px; }
}
@media (max-width: 420px) {
  .hero-art { height: 400px; }
  .hero-art .phone { width: 180px; }
  .hero-art .p1 { left: 4%; }
  .hero-art .p2 { left: 44%; top: 50px; }
}

/* ---------- Sections ---------- */
section { padding: 88px 0; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head p { color: var(--muted); font-size: 1.12rem; }
.kicker { font: 700 0.82rem/1 var(--font-text); letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 14px; display: block; }

.who { padding: 22px 0; border-block: 1px solid var(--line); background: var(--surface-2); }
.who .wrap { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; justify-content: center; color: var(--muted); font-weight: 600; font-size: 0.95rem; }
.who b { color: var(--ink); }

/* Feature rows: text + phone, alternating */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature + .feature { margin-top: 72px; }
.feature .shot { display: flex; justify-content: center; position: relative; }
.feature .shot::before {
  content: ""; position: absolute; width: 78%; aspect-ratio: 1; top: 50%; left: 50%; transform: translate(-50%, -50%);
  border-radius: 38% 62% 55% 45% / 45% 40% 60% 55%; background: linear-gradient(140deg, var(--band-1), var(--band-2));
}
.feature .phone { width: 280px; position: relative; }
.feature .phone.report { width: 298px; margin-right: -18px; }
.feature.flip .shot { order: -1; }
.step { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: var(--accent); color: #fff; font: 800 1.1rem/1 var(--font); margin-bottom: 18px; }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}
@media (max-width: 860px) {
  section { padding: 64px 0; }
  .feature { grid-template-columns: 1fr; gap: 28px; }
  .feature.flip .shot { order: 0; }
  .feature .phone { width: 230px; }
  .feature .phone.report { width: 244px; margin-right: -14px; }
  .feature + .feature { margin-top: 64px; }
}

/* Team band */
.band { background: linear-gradient(170deg, var(--band-1), var(--band-2)); }
.team { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
.team .art { background: var(--bg); border-radius: 28px; padding: 28px; box-shadow: var(--shadow); }
@media (prefers-color-scheme: dark) { .team .art, .pro-art { background: #f6e6cc; } }
.roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 26px 0 0; }
.role { background: var(--surface); border-radius: 16px; padding: 14px 16px; border: 1px solid var(--line); }
.role b { display: block; font-family: var(--font); font-size: 1.05rem; }
.role span { color: var(--muted); font-size: 0.9rem; line-height: 1.4; display: block; margin-top: 2px; }
@media (max-width: 860px) {
  .team { grid-template-columns: 1fr; }
  .team .art { max-width: 420px; }
}
@media (max-width: 520px) { .roles { grid-template-columns: 1fr; } }

/* Toolbox (dark navy band in both themes) */
.toolbox { background: var(--navy); color: var(--on-navy); position: relative; overflow: hidden; }
.toolbox::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgb(255 255 255 / 5%) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(255 255 255 / 5%) 1px, transparent 1px);
  background-size: 40px 40px;
}
.toolbox .wrap { position: relative; }
.toolbox .kicker { color: var(--peach); }
.toolbox .section-head p { color: var(--on-navy-muted); }
.toolbox-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 48px; align-items: start; }
.groups { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.group { background: var(--navy-2); border: 1px solid rgb(255 255 255 / 8%); border-radius: 18px; padding: 20px; }
.group h3 { font-size: 1.05rem; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; color: #fff; }
.group h3 i { width: 10px; height: 10px; border-radius: 3px; background: var(--accent); display: inline-block; }
.group:nth-child(2) h3 i { background: var(--teal); }
.group:nth-child(3) h3 i { background: var(--peach); }
.group:nth-child(4) h3 i { background: #8fb3ff; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.chips li { font-size: 0.86rem; line-height: 1.2; padding: 6px 10px; border-radius: 999px; background: rgb(255 255 255 / 7%); color: var(--on-navy); }
.tool-phones { position: relative; height: 560px; }
.tool-phones .phone { position: absolute; width: 230px; filter: drop-shadow(0 20px 40px rgb(0 0 0 / 45%)); }
.tool-phones .p1 { left: 0; top: 0; }
.tool-phones .p2 { left: 120px; top: 70px; }
.note { font-size: 0.88rem; color: var(--on-navy-muted); margin-top: 22px; }
@media (max-width: 960px) {
  .toolbox-grid { grid-template-columns: 1fr; }
  .tool-phones { height: 420px; max-width: 380px; width: 100%; margin: 0 auto; }
  .tool-phones .phone { width: 190px; }
  .tool-phones .p2 { left: auto; right: 0; top: 50px; }
}
@media (max-width: 560px) { .groups { grid-template-columns: 1fr; } }

/* Pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr 0.8fr; gap: 20px; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.plan h3 { font-size: 1.5rem; margin-bottom: 4px; }
.plan .price { color: var(--muted); margin-bottom: 18px; }
.plan.pro { border: 2px solid var(--accent); position: relative; }
.plan.pro .badge { position: absolute; top: -13px; left: 24px; background: var(--accent); color: #fff; font: 700 0.78rem/1 var(--font-text); letter-spacing: 0.05em; text-transform: uppercase; padding: 7px 10px; border-radius: 8px; }
.plan .ticks { margin-top: 0; }
.pro-art { border-radius: var(--radius); background: var(--surface-2); display: flex; align-items: center; justify-content: center; padding: 20px; }
.fine { color: var(--muted); font-size: 0.88rem; margin-top: 22px; max-width: 760px; }
@media (max-width: 900px) {
  .plans { grid-template-columns: 1fr 1fr; }
  .pro-art { display: none; }
}
@media (max-width: 620px) { .plans { grid-template-columns: 1fr; } }

/* Languages */
.langs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.langs li { padding: 7px 13px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 0.92rem; }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative;
  font: 700 1.08rem/1.35 var(--font);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(45deg); transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details > div { padding: 0 0 18px; color: var(--muted); }
.faq details > div p:last-child { margin-bottom: 0; }

/* Final CTA */
.final { text-align: center; }
.final .card {
  background: linear-gradient(150deg, var(--band-1), var(--band-2)); border-radius: 32px; padding: 56px 24px;
  display: flex; flex-direction: column; align-items: center;
}
.final .icon { width: 88px; height: 88px; border-radius: 22px; box-shadow: var(--shadow); margin-bottom: 20px; }
.final p { color: var(--muted); max-width: 520px; }
.final .cta-row { justify-content: center; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 40px 0 48px; color: var(--muted); font-size: 0.92rem; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: flex-start; }
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.foot nav a { color: var(--ink); text-decoration: none; font-weight: 600; }
.foot nav a:hover { color: var(--accent-ink); }
.foot .brand { font-size: 1.05rem; margin-bottom: 8px; }
.foot .brand img { width: 28px; height: 28px; border-radius: 7px; }

/* ---------- Document pages (privacy, terms, support) ---------- */
.doc { padding: 56px 0 80px; }
.doc .wrap { max-width: 780px; }
.doc h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.doc h2 { font-size: 1.5rem; margin-top: 2em; }
.doc h3 { margin-top: 1.5em; }
.doc .updated { color: var(--muted); margin-bottom: 2em; }
.doc ul { padding-left: 1.3em; }
.doc li { margin-bottom: 0.45em; }
.doc table { width: 100%; border-collapse: collapse; font-size: 0.95rem; margin: 1em 0 1.5em; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.doc th { font-family: var(--font); }
.table-scroll { overflow-x: auto; }
.callout { background: var(--surface-2); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; margin: 1.5em 0; }
.contact-card { display: flex; gap: 20px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); margin: 1.5em 0 2.5em; }
.contact-card img { width: 120px; flex: none; }
@media (max-width: 520px) { .contact-card { flex-direction: column; text-align: center; } }

/* 404 */
.lost { text-align: center; padding: 72px 0 96px; }
.lost img { width: min(360px, 80%); margin: 0 auto 24px; }
.lost p { color: var(--muted); }

/* Vietnamese diacritics need a little more room between heading lines */
:lang(vi) h1, :lang(vi) h2, :lang(vi) h3 { line-height: 1.22; }
