:root {
  --teal: #087F8C;
  --teal-dark: #074F58;
  --teal-deep: #063C45;
  --mint: #2FBF9F;
  --mint-dark: #158B75;
  --coral: #FF7A59;
  --cream: #F7F1E7;
  --paper: #FFFDF8;
  --sand: #E9D6B5;
  --ink: #12313A;
  --muted: #66777A;
  --line: #E4DDD0;
  --white: #FFFFFF;
  --shadow: 0 22px 60px rgba(6, 60, 69, .14);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img, video { display: block; max-width: 100%; }
button, input { font: inherit; }

.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-weight: 800; font-size: .78rem; color: var(--teal); }
.section { padding: 92px 0; }
.section.alt { background: var(--paper); }
.section h2 { margin: 10px 0 16px; font-size: clamp(2rem, 4vw, 3.35rem); line-height: 1.05; letter-spacing: -.045em; }
.section-lead { max-width: 720px; color: var(--muted); font-size: 1.08rem; margin: 0; }

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(to bottom, rgba(3, 29, 33, .84), rgba(3,29,33,.24));
  backdrop-filter: blur(14px);
}
.nav { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: white; font-weight: 900; letter-spacing: -.03em; font-size: 1.35rem; }
.brand img { width: 46px; height: 46px; border-radius: 13px; box-shadow: 0 8px 22px rgba(0,0,0,.22); }
.brand .date { color: #39C7AD; }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { color: rgba(255,255,255,.88); text-decoration: none; font-weight: 700; font-size: .94rem; }
.nav-links a:hover { color: white; }
.nav-cta { padding: 10px 15px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; }
.menu-btn { display:none; background:transparent; border:0; color:white; font-size:1.7rem; cursor:pointer; }

.hero { min-height: 100svh; position: relative; overflow: hidden; color: white; display: grid; align-items: end; }
.hero-media { position:absolute; inset:0; }
.hero-media video, .hero-media img { width:100%; height:100%; object-fit:cover; object-position:center 54%; }
.hero-media img { position:absolute; inset:0; }
.hero-media video { position:absolute; inset:0; z-index:1; filter: grayscale(1) contrast(1.02) brightness(.82); }
.hero::before { content:""; position:absolute; inset:0; z-index:2; background:
  linear-gradient(90deg, rgba(4,38,44,.76) 0%, rgba(4,38,44,.44) 48%, rgba(4,38,44,.18) 100%),
  linear-gradient(0deg, rgba(4,38,44,.94) 0%, rgba(4,38,44,.12) 60%, rgba(4,38,44,.35) 100%); }
.hero-inner { position:relative; z-index:3; padding: 160px 0 74px; display:grid; grid-template-columns: 1.05fr .95fr; align-items:end; gap:64px; }
.hero-copy { max-width: 690px; }
.hero-mark { width: 92px; height:92px; border-radius:25px; margin-bottom:22px; box-shadow:0 18px 44px rgba(0,0,0,.34); }
.hero h1 { font-size: clamp(3.2rem, 7vw, 6.5rem); line-height:.91; margin:0 0 24px; letter-spacing:-.065em; max-width:820px; }
.hero h1 span { color:#39C7AD; }
.hero .lead { max-width:650px; font-size:clamp(1.12rem,2vw,1.38rem); color:rgba(255,255,255,.88); margin:0 0 32px; }
.hero-actions { display:flex; gap:14px; flex-wrap:wrap; }
.btn { display:inline-flex; min-height:54px; padding:0 22px; border-radius:16px; align-items:center; justify-content:center; text-decoration:none; font-weight:850; border:1px solid transparent; transition:.18s ease; }
.btn-primary { background:var(--mint); color:white; box-shadow:0 12px 28px rgba(47,191,159,.24); }
.btn-primary:hover { transform:translateY(-1px); background:#35caaa; }
.btn-secondary { border-color:rgba(255,255,255,.42); background:rgba(255,255,255,.09); color:white; backdrop-filter:blur(7px); }
.btn-secondary:hover { background:rgba(255,255,255,.15); }
.hero-card { background:rgba(255,253,248,.94); color:var(--ink); border:1px solid rgba(255,255,255,.62); border-radius:32px; padding:30px; box-shadow:0 28px 70px rgba(0,0,0,.25); backdrop-filter: blur(18px); }
.hero-card .mini-brand { display:flex; align-items:center; gap:12px; margin-bottom:24px; }
.hero-card .mini-brand img { width:48px; height:48px; border-radius:14px; }
.hero-card h3 { margin:0; font-size:1.65rem; letter-spacing:-.035em; }
.hero-card p { color:var(--muted); }
.hero-card .verification { margin:22px 0; padding:18px; border-radius:20px; background:#EAF7F4; border:1px solid #C8EAE3; }
.code-row { display:flex; gap:7px; margin-top:13px; }
.code-box { flex:1; aspect-ratio:1; display:grid; place-items:center; background:white; border:1px solid #D7E6E2; border-radius:12px; font-weight:900; color:var(--teal-dark); }
.hero-footnote { margin-top:17px; color:#768285; font-size:.82rem; }

.features { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; margin-top:42px; }
.feature { background:var(--paper); border:1px solid var(--line); border-radius:24px; padding:28px; box-shadow:0 12px 34px rgba(18,49,58,.05); }
.feature-icon { width:50px; height:50px; border-radius:16px; display:grid; place-items:center; background:#E6F5F1; font-size:1.45rem; margin-bottom:20px; }
.feature h3 { font-size:1.25rem; margin:0 0 9px; }
.feature p { margin:0; color:var(--muted); }

.how-grid { display:grid; grid-template-columns:.9fr 1.1fr; gap:58px; align-items:center; margin-top:34px; }
.phone-mock { max-width:380px; margin:0 auto; background:#082F35; padding:12px; border-radius:42px; box-shadow:var(--shadow); }
.phone-screen { background:linear-gradient(165deg,#123f45,#082f35); min-height:660px; border-radius:32px; padding:26px; color:white; display:flex; flex-direction:column; justify-content:space-between; }
.phone-screen .logo { width:78px; height:78px; border-radius:22px; margin:5px auto 12px; }
.phone-screen .big { font-size:2.45rem; line-height:1; font-weight:900; letter-spacing:-.05em; margin-top:auto; }
.phone-screen .big span { color:#39C7AD; }
.phone-screen .bar { margin-top:24px; background:#2FBF9F; padding:15px; border-radius:15px; text-align:center; font-weight:850; }
.steps { display:grid; gap:20px; }
.step { display:grid; grid-template-columns:52px 1fr; gap:17px; align-items:start; padding:20px 0; border-bottom:1px solid var(--line); }
.step:last-child { border-bottom:0; }
.step-num { width:48px; height:48px; border-radius:50%; display:grid; place-items:center; background:var(--teal-dark); color:white; font-weight:900; }
.step h3 { margin:2px 0 5px; font-size:1.25rem; }
.step p { margin:0; color:var(--muted); }

.trust-grid { display:grid; grid-template-columns:1fr 1fr; gap:22px; margin-top:42px; }
.trust-card { padding:30px; border-radius:26px; border:1px solid #CFE8E2; background:#EFF9F6; }
.trust-card:nth-child(2) { background:#FFF7E8; border-color:#ECDCC0; }
.trust-card h3 { margin:0 0 10px; font-size:1.4rem; }
.trust-card p { color:var(--muted); margin:0; }

.sms-banner { margin-top:42px; display:grid; grid-template-columns:1.1fr .9fr; gap:32px; background:var(--teal-deep); color:white; border-radius:32px; padding:38px; align-items:center; overflow:hidden; position:relative; }
.sms-banner::after { content:""; position:absolute; width:330px; height:330px; border:1px solid rgba(255,255,255,.12); border-radius:50%; right:-120px; top:-170px; }
.sms-banner p { color:rgba(255,255,255,.75); }
.sms-list { display:grid; gap:10px; margin-top:20px; }
.sms-list div::before { content:"✓"; color:#51D5BA; font-weight:900; margin-right:10px; }
.sms-sample { background:white; color:var(--ink); border-radius:22px; padding:22px; box-shadow:0 22px 40px rgba(0,0,0,.18); position:relative; z-index:2; }
.sms-sample .from { font-weight:900; color:var(--teal-dark); margin-bottom:10px; }
.sms-sample .bubble { background:#EAF7F4; padding:16px; border-radius:18px 18px 18px 6px; color:#36585e; }

.cta { text-align:center; background:linear-gradient(145deg,#087F8C,#063C45); color:white; padding:72px 30px; border-radius:34px; box-shadow:var(--shadow); }
.cta h2 { margin:0 0 14px; }
.cta p { max-width:650px; margin:0 auto 28px; color:rgba(255,255,255,.78); }

.site-footer { background:#052F36; color:white; padding:58px 0 30px; }
.footer-grid { display:grid; grid-template-columns:1.5fr 1fr 1fr; gap:50px; }
.footer-brand { display:flex; gap:12px; align-items:center; font-weight:900; font-size:1.25rem; }
.footer-brand img { width:48px; height:48px; border-radius:13px; }
.footer-copy { color:rgba(255,255,255,.62); max-width:390px; margin-top:15px; }
.footer-col h4 { margin:0 0 14px; }
.footer-col a { color:rgba(255,255,255,.7); display:block; text-decoration:none; margin:9px 0; }
.footer-col a:hover { color:white; }
.copyright { border-top:1px solid rgba(255,255,255,.12); margin-top:40px; padding-top:22px; color:rgba(255,255,255,.52); font-size:.86rem; display:flex; justify-content:space-between; gap:20px; flex-wrap:wrap; }

.legal-hero { padding:150px 0 65px; background:linear-gradient(145deg,#063C45,#087F8C); color:white; }
.legal-hero h1 { font-size:clamp(2.7rem,6vw,4.8rem); letter-spacing:-.055em; line-height:1; margin:12px 0 16px; }
.legal-hero p { color:rgba(255,255,255,.75); max-width:740px; }
.legal-wrap { width:min(860px,calc(100% - 40px)); margin:0 auto; padding:70px 0 90px; }
.legal-wrap h2 { margin-top:44px; font-size:1.6rem; letter-spacing:-.025em; }
.legal-wrap h3 { margin-top:28px; }
.legal-wrap p, .legal-wrap li { color:#53676B; }
.legal-wrap li { margin:8px 0; }
.notice { background:#EFF9F6; border:1px solid #CFE8E2; border-radius:18px; padding:18px; margin:24px 0; }
.legal-table { width:100%; border-collapse:collapse; margin:20px 0; }
.legal-table th,.legal-table td { text-align:left; padding:13px; border-bottom:1px solid var(--line); vertical-align:top; }
.legal-table th { color:var(--teal-dark); }

@media (max-width: 900px) {
  .nav-links { display:none; position:absolute; top:76px; left:20px; right:20px; padding:18px; border-radius:18px; background:#063C45; box-shadow:0 20px 50px rgba(0,0,0,.3); flex-direction:column; align-items:stretch; }
  .nav-links.open { display:flex; }
  .menu-btn { display:block; }
  .hero-inner { grid-template-columns:1fr; gap:28px; padding-bottom:42px; }
  .hero-card { max-width:600px; }
  .features { grid-template-columns:1fr; }
  .how-grid { grid-template-columns:1fr; }
  .trust-grid { grid-template-columns:1fr; }
  .sms-banner { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .footer-grid > :first-child { grid-column:1/-1; }
}

@media (max-width: 600px) {
  .container { width:min(100% - 28px,1160px); }
  .section { padding:70px 0; }
  .hero-inner { padding-top:125px; }
  .hero-mark { width:78px; height:78px; border-radius:22px; }
  .hero h1 { font-size:3.55rem; }
  .hero-card { padding:22px; border-radius:26px; }
  .features { gap:14px; }
  .sms-banner { padding:25px; border-radius:26px; }
  .footer-grid { grid-template-columns:1fr; }
  .footer-grid > :first-child { grid-column:auto; }
  .phone-screen { min-height:580px; }
}

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

/* Phone verification preview */
.verify-step[hidden] { display:none; }
.phone-entry { display:grid; gap:10px; }
.verify-label { font-size:.78rem; font-weight:850; color:var(--teal-dark); text-transform:uppercase; letter-spacing:.08em; }
.phone-input { width:100%; min-height:54px; box-sizing:border-box; border:1px solid #C9DDD8; border-radius:14px; background:#fff; color:var(--ink); font:inherit; font-weight:700; padding:0 15px; outline:none; }
.phone-input::placeholder { color:#8D9A9C; font-weight:600; }
.phone-input:focus { border-color:var(--mint); box-shadow:0 0 0 3px rgba(57,199,173,.14); }
.verify-button { width:100%; min-height:52px; border:0; border-radius:14px; background:var(--mint); color:#fff; font:inherit; font-weight:850; cursor:pointer; box-shadow:0 10px 22px rgba(47,191,159,.18); }
.verify-button:hover { background:#35caaa; }
.verify-button:focus-visible { outline:3px solid rgba(57,199,173,.28); outline-offset:2px; }

/* v1.2 live verification */
.code-input { text-align:center; font:inherit; font-weight:800; font-size:1.15rem; border:1px solid rgba(18,72,78,.14); outline:none; width:100%; min-width:0; }
.code-input:focus { border-color:#28bea2; box-shadow:0 0 0 3px rgba(40,190,162,.14); }
.verify-link { border:0; background:transparent; color:#167d7f; font:inherit; font-weight:700; cursor:pointer; padding:8px 10px; }
.verify-link:hover { text-decoration:underline; }
.verify-link:disabled { opacity:.5; cursor:not-allowed; }
.verify-status { min-height:1.3em; margin:12px 0 0; font-size:.86rem; font-weight:650; }
.verify-status.error { color:#a63636; }
.verify-status.success { color:#16745f; }
.verify-success { text-align:center; }
.success-check { width:62px; height:62px; border-radius:50%; display:grid; place-items:center; margin:0 auto 12px; background:#dff8ef; color:#13896f; font-size:2rem; font-weight:900; }
.verify-button:disabled { opacity:.65; cursor:wait; }


/* Twilio-compliant web-form SMS consent */
#sms-optin { scroll-margin-top: 92px; }
.sms-consent { display:flex; align-items:flex-start; gap:10px; margin:3px 0 0; color:#42565a; font-size:.76rem; line-height:1.45; cursor:pointer; }
.sms-consent input[type="checkbox"] { width:18px; height:18px; min-width:18px; margin:2px 0 0; accent-color:var(--mint); cursor:pointer; }
.sms-consent a { color:#167d7f; font-weight:800; text-decoration:underline; text-underline-offset:2px; }
.sms-consent-copy { margin:0 0 2px; color:#68797c; font-size:.72rem; line-height:1.42; }
.sms-consent input[type="checkbox"]:focus-visible { outline:3px solid rgba(57,199,173,.28); outline-offset:2px; }
