/* Introva UI — storefront, dashboard, admin. Public profiles render their own styles. */
:root {
  --ink: #10151c; --muted: #586273; --line: #e4e9f0; --paper: #f5f8fc; --surface: #fff;
  --navy: #0b2a4a; --brand: #1c7df0; --brand-d: #155fbf; --teal: #16c5c5;
  --stone: #1c7df0; --stone-dark: #155fbf; --ok: #1d7a4f; --bad: #a32d2d;
  --grad: linear-gradient(135deg, #2a8cf0, #16c5c5);
  --shadow: 0 1px 2px rgba(16,24,40,.04), 0 10px 30px rgba(16,24,40,.07);
  --shadow-sm: 0 1px 2px rgba(16,24,40,.05), 0 4px 12px rgba(16,24,40,.05);
}
* { margin: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; background: var(--paper); color: var(--ink); line-height: 1.55; -webkit-font-smoothing: antialiased; }
main { max-width: 760px; margin: 0 auto; padding: 28px 18px 60px; }
a { color: var(--brand); }
h1 { font-size: 28px; letter-spacing: -0.3px; margin: 8px 0 14px; }
h2 { font-size: 17px; margin: 34px 0 10px; text-transform: uppercase; letter-spacing: 1.2px; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 6px; }

/* ---------- Header ---------- */
.bar { display: flex; justify-content: space-between; align-items: center; padding: 12px 22px; background: rgba(255,255,255,.86); backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--navy); }
.brand svg { display: block; width: 30px; height: 30px; }
.brand b { font-weight: 800; font-size: 20px; letter-spacing: -0.5px; }
.bar nav { display: flex; gap: 18px; align-items: center; }
.bar nav a { color: var(--ink); text-decoration: none; font-size: 14.5px; font-weight: 500; }
.bar nav a:hover { color: var(--brand); }
.bar nav .btn { padding: 8px 15px; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; background: var(--brand); color: #fff; border: 0; border-radius: 10px; padding: 12px 20px; font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; font-family: inherit; transition: background .12s, transform .08s, box-shadow .12s; }
.btn:hover { background: var(--brand-d); }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--brand); border: 1.5px solid #cfe0fb; }
.btn.ghost:hover { background: #f0f6ff; border-color: var(--brand); }
.btn.grad { background: var(--grad); box-shadow: 0 6px 18px rgba(28,125,240,.28); }
.btn.grad:hover { filter: brightness(1.04); }
.btn.lg { padding: 15px 26px; font-size: 16px; border-radius: 12px; }
.btn.white { background: #fff; color: var(--navy); }
.btn.white:hover { background: #eef4ff; }
.linkish { background: none; border: 0; color: var(--brand); cursor: pointer; font: inherit; padding: 0; text-decoration: underline; }
.inline { display: inline; }

/* ---------- Forms ---------- */
.stack { display: flex; flex-direction: column; gap: 12px; max-width: 480px; }
.stack label { display: flex; flex-direction: column; gap: 5px; font-size: 14px; color: var(--muted); }
input, select, textarea { padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px; font: inherit; background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
input[type=color] { padding: 2px; width: 56px; height: 38px; }
.linkrow { display: grid; grid-template-columns: 110px 1fr 2fr; gap: 8px; }
.optrow { display: flex; gap: 12px; align-items: center; font-size: 14px; }
.optrow > span { width: 70px; color: var(--muted); }

/* ---------- Components ---------- */
.ok { background: #e7f3ec; color: var(--ok); border: 1px solid #bfe0cd; border-radius: 8px; padding: 10px 14px; margin-bottom: 14px; }
.error { background: #fbecec; color: var(--bad); border: 1px solid #efc6c6; border-radius: 8px; padding: 10px 14px; margin: 8px 0; }
.muted { color: var(--muted); font-size: 14px; }
.box { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px; margin-bottom: 18px; }
.table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; font-size: 14px; }
.table th, .table td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.table th { background: var(--paper); font-size: 12px; text-transform: uppercase; letter-spacing: 0.6px; color: var(--muted); }
.mono { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; margin: 16px 0; }
.stats div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; text-align: center; }
.stats b { display: block; font-size: 26px; }
.stats span { color: var(--muted); font-size: 13px; }
.steps { max-width: 520px; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }
.dash-head { margin-bottom: 6px; }
.eyebrow { text-transform: uppercase; letter-spacing: 2px; font-size: 12px; font-weight: 700; color: var(--brand); }
.lede { color: var(--muted); font-size: 17px; margin-bottom: 22px; }

/* ======================================================================
   Landing page (body.v-home breaks out of the narrow main container)
   ====================================================================== */
body.v-home main { max-width: none; margin: 0; padding: 0; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.section { padding: 74px 0; }
.section.tight { padding: 52px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head h2 { font-size: 30px; letter-spacing: -0.5px; text-transform: none; color: var(--ink); border: 0; padding: 0; margin: 8px 0 10px; }
.section-head p { color: var(--muted); font-size: 17px; }

/* Hero */
.hero { position: relative; overflow: hidden; background:
    radial-gradient(1100px 460px at 78% -8%, rgba(22,197,197,.16), transparent 60%),
    radial-gradient(900px 460px at 12% 6%, rgba(42,140,240,.16), transparent 55%),
    linear-gradient(180deg, #fbfdff, var(--paper)); }
.hero .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding-top: 70px; padding-bottom: 80px; }
.hero h1 { font-size: 50px; line-height: 1.05; letter-spacing: -1.4px; margin: 16px 0 18px; color: var(--navy); }
.hero h1 .grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero p.sub { font-size: 18.5px; color: var(--muted); max-width: 520px; margin-bottom: 26px; }
.hero .cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.trust-line { margin-top: 22px; display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: 13.5px; }
.trust-line span { display: inline-flex; align-items: center; gap: 6px; }
.trust-line .ic { color: var(--teal); font-weight: 800; }

/* Phone mockup */
.phone-wrap { display: flex; justify-content: center; }
.phone { width: 270px; background: #0b1220; border-radius: 38px; padding: 12px; box-shadow: 0 30px 70px rgba(11,42,74,.30), 0 8px 18px rgba(11,42,74,.18); position: relative; }
.phone::before { content: ""; position: absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 92px; height: 7px; background: #1c2638; border-radius: 99px; }
.phone .screen { background: #fff; border-radius: 28px; overflow: hidden; }
.pf-hero { background: var(--grad); padding: 30px 18px 20px; text-align: center; color: #fff; }
.pf-av { width: 70px; height: 70px; border-radius: 50%; margin: 0 auto 10px; background: rgba(255,255,255,.92); color: var(--brand); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 26px; border: 3px solid rgba(255,255,255,.7); }
.pf-hero b { display: block; font-size: 18px; }
.pf-hero span { font-size: 12.5px; opacity: .9; }
.pf-body { padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.pf-save { background: var(--brand); color: #fff; text-align: center; padding: 11px; border-radius: 10px; font-weight: 600; font-size: 13.5px; }
.pf-tile { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 13px; color: var(--ink); }
.pf-tile .d { width: 22px; height: 22px; border-radius: 6px; background: #eaf2fe; color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
.pf-tap { position: absolute; right: -6px; bottom: 64px; background: #fff; border-radius: 14px; padding: 9px 13px; box-shadow: var(--shadow); font-size: 12.5px; font-weight: 600; color: var(--navy); display: flex; align-items: center; gap: 7px; }
.pf-tap .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(22,197,197,.2); }

/* Steps */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 26px 22px; box-shadow: var(--shadow-sm); }
.step .num { width: 38px; height: 38px; border-radius: 11px; background: var(--grad); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 14px; }
.step h3 { font-size: 18px; margin-bottom: 6px; color: var(--navy); }
.step p { color: var(--muted); font-size: 14.5px; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; box-shadow: var(--shadow-sm); }
.feature .fic { width: 44px; height: 44px; border-radius: 12px; background: #eaf2fe; color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 14px; }
.feature h3 { font-size: 16.5px; margin-bottom: 5px; color: var(--navy); }
.feature p { color: var(--muted); font-size: 14px; }
.band-tint { background: linear-gradient(180deg, #fff, var(--paper)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 320px)); gap: 22px; justify-content: center; }
.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 30px 26px; text-align: center; box-shadow: var(--shadow-sm); position: relative; }
.price-card.featured { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.price-card .tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: .6px; padding: 4px 12px; border-radius: 99px; text-transform: uppercase; }
.price-card h3 { font-size: 17px; color: var(--navy); margin-bottom: 6px; }
.price-card .amount { font-size: 44px; font-weight: 800; letter-spacing: -1.5px; color: var(--ink); }
.price-card .amount small { font-size: 15px; font-weight: 600; color: var(--muted); }
.price-card .per { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.price-card ul { list-style: none; text-align: left; margin: 18px 0; display: flex; flex-direction: column; gap: 9px; }
.price-card li { font-size: 14px; padding-left: 26px; position: relative; color: var(--ink); }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 800; }
.price-card form, .price-card .btn { width: 100%; }
.price-note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 26px; }

/* Testimonial */
.quote { max-width: 760px; margin: 0 auto; text-align: center; }
.quote blockquote { font-size: 23px; line-height: 1.4; letter-spacing: -0.3px; color: var(--navy); font-weight: 500; }
.quote .by { margin-top: 18px; color: var(--muted); font-size: 14.5px; }
.quote .by b { color: var(--ink); }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 4px 20px; margin-bottom: 12px; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 16px; padding: 16px 0; list-style: none; color: var(--navy); display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-weight: 700; font-size: 22px; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); font-size: 15px; padding: 0 0 18px; }

/* Closing CTA */
.cta-band { background: radial-gradient(900px 360px at 50% -40%, rgba(22,197,197,.5), transparent 60%), linear-gradient(135deg, #0c447c, #0b2a4a); color: #fff; text-align: center; border-radius: 24px; padding: 56px 28px; }
.cta-band h2 { font-size: 32px; letter-spacing: -0.6px; border: 0; text-transform: none; color: #fff; margin-bottom: 10px; padding: 0; }
.cta-band p { color: rgba(255,255,255,.82); font-size: 17px; margin-bottom: 24px; }

/* Footer */
.site-foot { background: var(--navy); color: rgba(255,255,255,.74); margin-top: 0; }
.site-foot .container { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; padding-top: 54px; padding-bottom: 30px; }
.site-foot .fbrand { display: inline-flex; align-items: center; gap: 9px; color: #fff; text-decoration: none; }
.site-foot .fbrand svg { width: 28px; height: 28px; }
.site-foot .fbrand b { font-size: 19px; font-weight: 800; letter-spacing: -0.5px; }
.site-foot .ftag { margin-top: 12px; font-size: 14px; max-width: 260px; }
.site-foot .promise { margin-top: 14px; font-size: 13px; color: var(--teal); font-weight: 600; }
.site-foot h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.site-foot a { color: rgba(255,255,255,.74); text-decoration: none; display: block; font-size: 14.5px; margin-bottom: 9px; }
.site-foot a:hover { color: #fff; }
.site-foot .legal { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 24px; text-align: center; font-size: 13px; max-width: 1080px; margin: 0 auto; }

/* Simple content pages (FAQ/legal) inside the narrow container */
.prose { max-width: 720px; }
.prose h1 { font-size: 30px; letter-spacing: -0.5px; }
.prose h2 { font-size: 15px; }
.prose p, .prose li { color: #2c333d; font-size: 15.5px; margin-bottom: 12px; }
.prose ul { padding-left: 20px; }

@media (max-width: 880px) {
  .hero .container { grid-template-columns: 1fr; gap: 32px; padding-top: 48px; padding-bottom: 56px; }
  .hero h1 { font-size: 38px; }
  .phone-wrap { order: -1; }
  .steps-grid, .features { grid-template-columns: 1fr; }
  .site-foot .container { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .linkrow { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  .hero h1 { font-size: 32px; }
  .price-grid { grid-template-columns: 1fr; }
  .bar nav { gap: 12px; }
  .bar nav a.hide-sm { display: none; }
  .site-foot .container { grid-template-columns: 1fr; }
}
