:root {
  --navy: #0b1f4d;
  --navy-2: #08163a;
  --blue: #0066ff;
  --blue-2: #0052cc;
  --sky: #93b4ff;
  --ink: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --soft: #f1f5f9;
  --bg: #ffffff;
  --radius: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 50px; padding: 0 24px; border-radius: 12px; font-weight: 700; font-size: 16px;
  text-decoration: none; white-space: nowrap; transition: background .15s, transform .15s;
}
.btn:active { transform: scale(.98); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-2); }
.btn-ghost { color: #fff; border: 1.5px solid rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-line { color: var(--navy); border: 1.5px solid var(--line); background: #fff; }
.btn-line:hover { border-color: var(--blue); }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(11,31,77,.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 12px; }
.top .brand img { height: 40px; width: auto; }
.top nav { display: flex; align-items: center; gap: 22px; }
.top nav a { color: #dbe6ff; text-decoration: none; font-weight: 600; font-size: 15px; }
.top nav a:hover { color: #fff; }
.top nav .btn { height: 42px; padding: 0 18px; font-size: 15px; color: #fff; }
.top .links { display: flex; gap: 22px; }
@media (max-width: 820px) { .top .links { display: none; } .top .brand img { height: 34px; } }

/* Hero */
.hero { background: radial-gradient(1200px 600px at 80% -10%, #1d4fd8 0%, rgba(29,79,216,0) 60%), linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 72px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sky); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.2); }
.hero h1 { font-size: clamp(36px, 6vw, 60px); line-height: 1.05; letter-spacing: -.02em; margin: 14px 0 18px; font-weight: 800; }
.hero h1 span { color: #5b9bff; }
.hero p.lead { font-size: clamp(17px, 2.2vw, 20px); color: #cfdcff; margin: 0 0 28px; max-width: 560px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .by { margin-top: 26px; font-size: 14px; color: #a9bde8; }
.hero .by b { color: #fff; }
.hero-art { position: relative; padding: 0 0 70px 14%; margin-right: -40px; }
.hero-art .ipad { width: 100%; }
.hero-art .iphone { position: absolute; left: 0; bottom: 0; width: 29%; z-index: 2; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 40px; text-align: left; }
  .hero-art { max-width: 560px; width: 100%; margin: 0 auto; padding-left: 14%; margin-right: 0; }
  .hero-art .iphone { width: 32%; }
}

/* Devices: drawn in CSS, sized off their own width (cqw) */
.iphone, .ipad { container-type: inline-size; }
.dev { position: relative; background: linear-gradient(145deg, #6b6f76 0%, #2c2e33 30%, #45484e 70%, #1f2023 100%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), 0 40px 70px -28px rgba(2,6,23,.6), 0 12px 24px -12px rgba(2,6,23,.35); }
.scr { position: relative; width: 100%; height: 100%; overflow: hidden; background: #fff; border-style: solid; border-color: #000; display: flex; flex-direction: column; }
.scr img { flex: 1; min-height: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.iphone .dev { aspect-ratio: 71.6 / 147.6; border-radius: 17.5cqw; padding: 1.5cqw; }
.iphone .scr { border-width: 3cqw; border-radius: 16cqw; }
.iphone .sb { flex: none; position: relative; height: 11.5cqw; display: flex; align-items: center; justify-content: space-between; padding: 1.2cqw 6.5cqw 0 8.5cqw; background: #fff; color: #000; font: 700 4.3cqw/1 -apple-system, "SF Pro Text", Inter, sans-serif; letter-spacing: -.01em; }
.iphone .sb svg { height: 3.6cqw; width: auto; margin-left: 1.3cqw; }
.iphone .sb .r { display: flex; align-items: center; }
.iphone .island { position: absolute; left: 50%; top: 2.2cqw; transform: translateX(-50%); width: 29cqw; height: 8.4cqw; border-radius: 5cqw; background: #000; }
.iphone .home { position: absolute; left: 50%; bottom: 2cqw; transform: translateX(-50%); width: 35cqw; height: 1.4cqw; border-radius: 1cqw; background: rgba(0,0,0,.85); z-index: 2; }
.iphone .dev::before { content: ""; position: absolute; left: -0.9cqw; top: 17%; width: 1.1cqw; height: 4.5%; border-radius: .6cqw 0 0 .6cqw; background: #3d4045;
  box-shadow: 0 11cqw 0 0 #3d4045, 0 11cqw 0 0 #3d4045, 0 22.5cqw 0 0 #3d4045; }
.iphone .dev::after { content: ""; position: absolute; right: -0.9cqw; top: 27%; width: 1.1cqw; height: 10.5%; border-radius: 0 .6cqw .6cqw 0; background: #3d4045; }
.iphone .vol { position: absolute; left: -0.9cqw; width: 1.1cqw; border-radius: .6cqw 0 0 .6cqw; background: #3d4045; }
.iphone .vol.a { top: 24.5%; height: 7%; } .iphone .vol.b { top: 33%; height: 7%; }
.iphone .dev::before { height: 3.6%; box-shadow: none; }
.iphone.right .scr img { object-position: top right; }
.ipad .dev { aspect-ratio: 247.6 / 178.5; border-radius: 4.2cqw; padding: .55cqw; }
.ipad .scr { border-width: 2.5cqw; border-radius: 3.7cqw; }
.ipad .scr img { object-position: top left; }
.ipad .cam { position: absolute; top: 1.15cqw; left: 50%; transform: translateX(-50%); width: .75cqw; height: .75cqw; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #3b4a6b, #050608 60%); z-index: 2; }
.ipad .dev::after { content: ""; position: absolute; top: -0.5cqw; right: 7%; width: 6%; height: .55cqw; border-radius: .4cqw .4cqw 0 0; background: #3d4045; }

/* Strip */
.strip { background: var(--soft); border-bottom: 1px solid var(--line); }
.strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 26px; padding-bottom: 26px; }
.strip div { font-size: 15px; color: var(--muted); }
.strip b { display: block; color: var(--navy); font-size: 17px; }
@media (max-width: 760px) { .strip .wrap { grid-template-columns: 1fr 1fr; } }

/* Sections */
section { padding: 84px 0; }
section.alt { background: var(--soft); }
.head { max-width: 720px; margin-bottom: 44px; }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { color: var(--blue); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
h2 { font-size: clamp(28px, 4.2vw, 42px); line-height: 1.12; letter-spacing: -.015em; margin: 8px 0 14px; color: var(--navy); }
.head p { color: var(--muted); font-size: 18px; margin: 0; }
@media (max-width: 700px) { section { padding: 60px 0; } .head { margin-bottom: 30px; } }

/* Feature rows */
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-bottom: 96px; }
.row:last-child { margin-bottom: 0; }
.row.flip .media { order: 2; }
.row h3 { font-size: clamp(24px, 3.2vw, 32px); line-height: 1.15; margin: 8px 0 12px; color: var(--navy); letter-spacing: -.01em; }
.row p { color: var(--muted); margin: 0 0 16px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 6px; background: #e0ecff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230066ff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 14px no-repeat; }
.media.phones { display: flex; justify-content: center; align-items: flex-start; gap: 22px; }
.media.phones .iphone { width: 44%; max-width: 270px; }
.media.phones .iphone:nth-child(2) { margin-top: 56px; }
.media.one .iphone { width: 58%; max-width: 290px; margin: 0 auto; }
.media.tablet { padding: 0 2%; }
@media (max-width: 900px) {
  .row { grid-template-columns: 1fr; gap: 30px; margin-bottom: 72px; }
  .row.flip .media { order: 0; }
  .media.phones { gap: 12px; }
}

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card .ic { width: 44px; height: 44px; border-radius: 12px; background: #e0ecff; color: var(--blue); display: grid; place-items: center; margin-bottom: 14px; }
.card .ic svg { width: 24px; height: 24px; }
.card h4 { margin: 0 0 6px; font-size: 18px; color: var(--navy); }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

/* Texting box */
.sms { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
.sms .panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.bubble { background: #eef2f7; border-radius: 18px 18px 18px 6px; padding: 12px 16px; margin: 0 0 10px; font-size: 15.5px; max-width: 92%; }
.bubble.me { background: var(--blue); color: #fff; border-radius: 18px 18px 6px 18px; margin-left: auto; }
.bubble small { display: block; opacity: .7; font-size: 12px; margin-top: 4px; }
.facts { display: grid; gap: 14px; }
.facts > div { color: var(--muted); }
.facts .btns { display: flex; gap: 10px; flex-wrap: wrap; }
.facts b { color: var(--navy); }
@media (max-width: 900px) { .sms { grid-template-columns: 1fr; } }

/* Number */
.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.num em { font-style: normal; color: var(--blue); font-weight: 800; letter-spacing: .02em; }
.dark .num em, .hero .num em, footer .num em { color: #5b9bff; }

/* About + contact */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.about .card { padding: 30px; }
.contact { background: var(--navy); color: #fff; border-radius: 26px; padding: 44px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: center; }
.contact h2 { color: #fff; }
.contact p { color: #cfdcff; margin: 0; }
.contact .ways { display: grid; gap: 12px; }
.contact .ways a { display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 16px 18px; color: #fff; text-decoration: none; font-weight: 700; font-size: 18px; }
.contact .ways a:hover { background: rgba(255,255,255,.1); }
.contact .ways small { display: block; color: var(--sky); font-weight: 600; font-size: 13px; }
.contact .ways svg { width: 26px; height: 26px; color: #5b9bff; flex: none; }
@media (max-width: 900px) { .about, .contact { grid-template-columns: 1fr; } .contact { padding: 28px 22px; } }
@media (max-width: 420px) { .contact .ways a { font-size: 16px; } }

/* Footer */
footer { background: var(--navy-2); color: #a9bde8; padding: 48px 0 36px; font-size: 15px; }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
footer h5 { color: #fff; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 10px; }
footer a { color: #dbe6ff; text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
footer .logo { height: 40px; width: auto; margin-bottom: 12px; }
footer .fine { border-top: 1px solid rgba(255,255,255,.1); margin-top: 32px; padding-top: 20px; font-size: 13px; }
@media (max-width: 760px) { footer .cols { grid-template-columns: 1fr; } }

/* Legal pages */
.legal-hero { background: var(--navy); color: #fff; padding: 46px 0 40px; }
.legal-hero h1 { margin: 6px 0 6px; font-size: clamp(30px, 5vw, 44px); line-height: 1.1; }
.legal-hero p { margin: 0; color: #cfdcff; }
.legal { max-width: 800px; padding-top: 44px; padding-bottom: 72px; }
.legal h2 { font-size: 24px; margin: 36px 0 10px; }
.legal p, .legal li { color: #1e293b; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal .box { background: var(--soft); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; margin: 16px 0; }
.legal .box p { margin: 8px 0; }
.legal .label { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 4px; }
.legal blockquote { margin: 16px 0; border-left: 4px solid var(--blue); padding: 4px 0 4px 16px; font-style: italic; color: #1e293b; }
.legal .key { background: #e0ecff; border-radius: 16px; padding: 18px 22px; font-weight: 600; color: var(--navy); }
.legal table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.legal td { border-top: 1px solid var(--line); padding: 10px 8px; vertical-align: top; }
.legal td:first-child { font-weight: 700; color: var(--navy); width: 38%; }
