/* Vera website. Same tokens as the app (mobile/src/constants/theme.ts): navy and white. */

@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url('fonts/Inter_400Regular.woff') format('woff'); }
@font-face { font-family: 'Inter'; font-weight: 500; font-display: swap; src: url('fonts/Inter_500Medium.woff') format('woff'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-display: swap; src: url('fonts/Inter_600SemiBold.woff') format('woff'); }
@font-face { font-family: 'Source Serif 4'; font-weight: 600; font-display: swap; src: url('fonts/SourceSerif4_600SemiBold.woff') format('woff'); }

:root {
  --bg: #F4F6F9;
  --surface: #FFFFFF;
  --surface-alt: #EEF2F6;
  --border: #E1E6EC;
  --border-strong: #C8D1DC;
  --text: #0C1B2E;
  --text-2: #475569;
  --text-3: #6B7787;
  --navy: #0B2545;
  --navy-deep: #071A33;
  --blue: #1B5FC1;
  --blue-soft: #E7EFFB;
  --sky: #7FA9E3;
  --on-navy-muted: rgba(255, 255, 255, 0.74);
  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --wrap: 1120px;
  --gutter: 20px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--surface); color: var(--text); font: 400 17px/1.6 var(--sans); }
img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3 { margin: 0; color: var(--navy); }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 10; }

/* header */
.top { position: sticky; top: 0; z-index: 5; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand svg { width: 28px; height: 28px; }
.brand .word { font: 600 19px/1 var(--serif); letter-spacing: 4px; }
.brand .wealth { font: 600 10px/1 var(--sans); letter-spacing: 2.4px; color: var(--text-3); border-left: 1px solid var(--border-strong); padding-left: 10px; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--text-2); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--navy); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; height: 50px; padding: 0 22px; border-radius: 12px; background: var(--navy); color: #fff; font: 600 16px/1 var(--sans); text-decoration: none; border: 0; }
.btn:hover { background: var(--navy-deep); }
.btn.small { height: 40px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.btn.light { background: #fff; color: var(--navy); }
.btn.light:hover { background: var(--blue-soft); }
.btn.soon { background: var(--surface-alt); color: var(--text-2); cursor: default; }
.btn.light.soon { background: rgba(255, 255, 255, 0.14); color: #fff; }
.btn svg { width: 18px; height: 18px; }

/* hero */
.hero { background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 100%); padding: 72px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.eyebrow { font: 600 12px/1 var(--sans); letter-spacing: 1.6px; text-transform: uppercase; color: var(--blue); margin-bottom: 18px; }
.hero h1 { font: 600 64px/1.04 var(--serif); letter-spacing: -0.5px; }
.lede { margin-top: 22px; font-size: 19px; color: var(--text-2); max-width: 34em; }
.cta { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.trust { font-size: 14px; color: var(--text-3); }

/* phone frames */
.phone { width: 300px; max-width: 100%; margin: 0 auto; border-radius: 44px; padding: 10px; background: var(--navy); box-shadow: 0 30px 60px -20px rgba(11, 37, 69, 0.35); }
.phone img { border-radius: 34px; width: 100%; height: auto; }

/* sections */
section { padding: 88px 0; }
section.alt { background: var(--bg); }
.kicker { font: 600 12px/1 var(--sans); letter-spacing: 1.6px; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
h2 { font: 600 40px/1.12 var(--serif); letter-spacing: -0.3px; }
.section-lede { margin-top: 16px; color: var(--text-2); font-size: 18px; max-width: 40em; }

.chips { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.chip { background: var(--navy); color: #fff; border-radius: 18px 18px 6px 18px; padding: 12px 16px; font-size: 15px; }

.steps { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 26px; }
.step .n { width: 34px; height: 34px; border-radius: 10px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; font-weight: 600; margin-bottom: 18px; }
.step h3 { font: 600 19px/1.3 var(--sans); }
.step p { margin-top: 8px; color: var(--text-2); font-size: 16px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.flip .copy { order: 2; }
.list { margin: 26px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.list li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; color: var(--text-2); }
.list li::before { content: ''; width: 22px; height: 22px; margin-top: 3px; border-radius: 7px; background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B5FC1' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.list strong { color: var(--text); font-weight: 600; }
.note { margin-top: 22px; font-size: 14px; color: var(--text-3); }

.band { background: var(--navy); color: #fff; }
.band h2 { color: #fff; }
.band .section-lede { color: var(--on-navy-muted); }
.band .wrap { text-align: center; }
.band .section-lede, .band .cta { margin-left: auto; margin-right: auto; justify-content: center; }

.faq { margin-top: 36px; display: grid; gap: 14px; max-width: 760px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px 22px; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--text); }
.faq details p { margin-top: 10px; color: var(--text-2); }

/* footer */
footer { background: var(--navy-deep); color: var(--on-navy-muted); padding: 48px 0 56px; font-size: 14px; }
footer .brand { color: #fff; }
footer .brand .wealth { color: var(--on-navy-muted); border-left-color: rgba(255, 255, 255, 0.2); }
footer .links { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 24px; }
footer .links a { color: #fff; text-decoration: none; font-weight: 500; }
footer .links a:hover { text-decoration: underline; }
footer .legal { margin-top: 24px; max-width: 860px; display: grid; gap: 10px; line-height: 1.6; }
footer .legal a { color: #fff; }
.todo { background: #FCF1DF; color: #A15C07; padding: 0 4px; border-radius: 4px; }

/* document pages (privacy, terms, support) */
.doc { padding: 56px 0 88px; background: var(--bg); }
.doc .wrap { max-width: 760px; }
.doc h1 { font: 600 42px/1.12 var(--serif); }
.doc .updated { margin-top: 8px; color: var(--text-3); font-size: 14px; }
.doc .intro { margin-top: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px; color: var(--text); }
.doc h2 { font: 600 19px/1.3 var(--sans); margin-top: 34px; }
.doc p { margin-top: 10px; color: var(--text-2); }

@media (max-width: 900px) {
  .hero { padding-top: 48px; }
  .hero .wrap, .split { grid-template-columns: 1fr; gap: 40px; }
  .split.flip .copy { order: 0; }
  .hero h1 { font-size: 46px; }
  h2 { font-size: 32px; }
  .steps { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
  .nav a:not(.btn) { display: none; }
}
@media (max-width: 420px) {
  :root { --gutter: 16px; }
  .hero h1 { font-size: 40px; }
  .lede { font-size: 17px; }
  .brand .wealth { display: none; }
  .phone { width: 260px; }
}
