/* Safecall public home page. Standalone: the staff pages use style.css. */
:root {
  --ink: #0f1a33;
  --ink-2: #44506a;
  --navy: #0b1530;
  --navy-2: #13224a;
  --blue: #3b6cff;
  --teal: #14c8a8;
  --wa: #1fae5b;
  --red: #e5484d;
  --line: #e4e9f2;
  --soft: #f5f7fc;
  --radius: 18px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.6 var(--font); color: var(--ink); background: #fff; overflow-x: hidden; }
a { color: var(--blue); text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.2; }
p { margin: 0; }
svg { flex: none; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 1.25rem; }
.wrap.narrow { max-width: 780px; }
.center { text-align: center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .85rem 1.4rem; border-radius: 999px; font-weight: 650;
  font-size: .98rem; border: 1px solid transparent; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; }
.btn-sm { padding: .55rem 1.05rem; font-size: .92rem; }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--blue), #6a4dff); box-shadow: 0 10px 28px -8px rgba(59, 108, 255, .65); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .06); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.btn-light { color: var(--navy); background: #fff; box-shadow: 0 6px 20px -8px rgba(0, 0, 0, .35); }

/* Top bar */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(11, 21, 48, .82); backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.nav-inner { display: flex; align-items: center; gap: 1.5rem; height: 66px; }
.logo { display: inline-flex; align-items: center; gap: .6rem; color: #fff; font-weight: 800; font-size: 1.2rem; letter-spacing: -.01em; }
.logo-mark { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--teal)); box-shadow: 0 6px 16px -6px rgba(20, 200, 168, .7); }
.logo-mark svg { width: 20px; height: 20px; }
.links { display: flex; gap: .25rem; margin-left: auto; }
.links a { color: rgba(255, 255, 255, .78); padding: .45rem .75rem; border-radius: 10px; font-size: .94rem; font-weight: 500; }
.links a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
@media (max-width: 860px) { .links { display: none; } .nav .btn { margin-left: auto; } }

/* Hero */
.hero { position: relative; overflow: hidden; color: #fff; padding: 5rem 0 6rem;
  background: radial-gradient(1200px 600px at 80% -10%, #1d3a8a 0%, transparent 60%), linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%); }
.glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; pointer-events: none; }
.g1 { width: 420px; height: 420px; background: #3b6cff; top: -120px; left: -140px; }
.g2 { width: 380px; height: 380px; background: #14c8a8; bottom: -180px; right: 8%; opacity: .35; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .9rem; border-radius: 999px; font-size: .85rem; font-weight: 600;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: #cfe0ff; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(20, 200, 168, .25); }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.03em; margin: 1.2rem 0 1.2rem; }
.grad { background: linear-gradient(90deg, #7fa2ff, var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.12rem; color: #c3cde3; max-width: 560px; }
.cta-row { display: flex; gap: .8rem; flex-wrap: wrap; margin: 2rem 0 1.6rem; }
.trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; color: #aebad4; font-size: .92rem; }
.trust li { display: inline-flex; align-items: center; gap: .4rem; }
.trust svg { width: 16px; height: 16px; fill: none; stroke: var(--teal); stroke-width: 3; }

/* Hero illustration */
.hero-art { position: relative; height: 520px; }
.phone { position: absolute; right: 8%; top: 0; width: 270px; height: 520px; border-radius: 42px; padding: 12px;
  background: linear-gradient(160deg, #2a3557, #0d1630); box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(255, 255, 255, .12);
  transform: rotate(4deg); }
.notch { position: absolute; top: 18px; left: 50%; width: 90px; height: 22px; margin-left: -45px; border-radius: 12px; background: #0b1226; z-index: 2; }
.screen { height: 100%; border-radius: 32px; background: #f4f6fb; color: var(--ink); padding: 3.4rem 1rem 1rem; display: flex; flex-direction: column; gap: .65rem; }
.s-label { text-align: center; font-size: .72rem; color: var(--ink-2); }
.plate { align-self: center; font: 800 1.15rem/1 ui-monospace, Consolas, monospace; letter-spacing: .06em; padding: .55rem .9rem;
  border: 2.5px solid var(--ink); border-radius: 8px; background: #fff; margin-bottom: .6rem; }
.s-btn { display: flex; align-items: center; justify-content: center; gap: .45rem; padding: .7rem; border-radius: 12px; color: #fff; font-size: .8rem; font-weight: 700; }
.s-btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.s-btn.wa { background: var(--wa); }
.s-btn.call { background: var(--blue); }
.s-btn.sos { background: #fff; color: var(--red); border: 1.5px solid var(--red); }
.s-note { margin-top: auto; display: flex; align-items: center; justify-content: center; gap: .35rem; font-size: .7rem; color: var(--ink-2); }
.s-note svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; }
.sticker { position: absolute; left: 0; top: 70px; width: 200px; padding: 14px; border-radius: 22px; background: #fff; color: var(--navy);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55); transform: rotate(-8deg); text-align: center; z-index: 3; }
.sticker-head { font-weight: 900; letter-spacing: .25em; font-size: .8rem; padding: .35rem; border-radius: 10px; color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--teal)); }
.qr { display: grid; grid-template-columns: repeat(9, 1fr); gap: 2px; margin: 12px 6px; aspect-ratio: 1; }
.qr i { border-radius: 2px; background: transparent; }
.qr i.on { background: var(--navy); }
.sticker-foot { font-size: .7rem; font-weight: 700; color: var(--ink-2); }
.toast { position: absolute; left: 6%; bottom: 30px; z-index: 4; display: flex; gap: .7rem; align-items: flex-start; width: 290px; padding: .85rem 1rem;
  border-radius: 16px; background: rgba(255, 255, 255, .96); color: var(--ink); font-size: .8rem; line-height: 1.45;
  box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .55); animation: float 5s ease-in-out infinite; }
.toast-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--wa); color: #fff; flex: none; }
.toast-ic svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .toast { animation: none; } html { scroll-behavior: auto; } }

@media (max-width: 960px) {
  .hero { padding: 3.5rem 0 4rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { height: 460px; max-width: 480px; margin: 0 auto; width: 100%; }
  .phone { width: 240px; height: 460px; right: 4%; }
  .sticker { width: 170px; }
}
@media (max-width: 480px) {
  .hero-art { height: 430px; }
  .phone { right: -10px; transform: rotate(3deg) scale(.92); transform-origin: top right; }
  .sticker { width: 150px; top: 40px; }
  .toast { left: 0; width: 250px; bottom: 10px; }
}

/* Sections */
.section { padding: 5.5rem 0; }
.section.alt { background: var(--soft); }
.eyebrow { text-align: center; text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 750; color: var(--blue); margin-bottom: .7rem; }
.title { text-align: center; font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 3rem; }
.title.left, .split .eyebrow { text-align: left; }
.split .title { margin-bottom: .8rem; }
.sub { color: var(--ink-2); font-size: 1.05rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-3 { grid-template-columns: 1fr; } .section { padding: 4rem 0; } }
h3 { font-size: 1.12rem; font-weight: 750; margin-bottom: .45rem; }
.uc, .feat { padding: 1.6rem; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; transition: transform .2s, box-shadow .2s; }
.uc:hover, .feat:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -24px rgba(15, 26, 51, .35); }
.uc p, .feat p, .step p { color: var(--ink-2); font-size: .96rem; }
.uc-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--soft); font-size: 1.6rem; margin-bottom: 1rem; }
.f-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; margin-bottom: 1rem; color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--teal)); }
.f-ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Products */
.section.products { border-top: 1px solid var(--line); }
.product-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
@media (max-width: 1000px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .product-grid { grid-template-columns: 1fr; } }
.product { padding: 1.4rem 1.2rem; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; text-align: center;
  transition: transform .2s, box-shadow .2s; }
.product:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -24px rgba(15, 26, 51, .35); }
.product p { color: var(--ink-2); font-size: .92rem; }
.p-ic { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; font-size: 1.8rem; margin-bottom: .9rem; }
.p-ic.car { background: #e3ecff; } .p-ic.door { background: #fff1d6; } .p-ic.key { background: #ece4ff; }
.p-ic.bag { background: #dcf5ef; } .p-ic.wallet { background: #fde4ee; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; counter-reset: s; }
.step { position: relative; padding: 2rem 1.6rem 1.6rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; font-weight: 800; color: #fff; margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--blue), #6a4dff); box-shadow: 0 8px 20px -8px rgba(59, 108, 255, .8); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.relay { display: flex; align-items: center; justify-content: center; gap: .5rem; margin: 3.5rem auto 1rem; max-width: 760px; }
.node { display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 120px; }
.node .avatar { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #fff; border: 1px solid var(--line);
  font-size: 1.8rem; margin-bottom: .5rem; box-shadow: 0 10px 24px -14px rgba(15, 26, 51, .4); }
.node.hub .avatar { width: 76px; height: 76px; border-radius: 22px; border: 0; background: linear-gradient(135deg, var(--blue), var(--teal)); }
.node.hub .avatar svg { width: 34px; height: 34px; }
.node small { color: var(--ink-2); font-size: .8rem; }
.wire { flex: 1; position: relative; height: 2px; margin-bottom: 2.6rem; background: repeating-linear-gradient(90deg, var(--blue) 0 8px, transparent 8px 14px); }
.wire span { position: absolute; left: 50%; top: -1.6rem; transform: translateX(-50%); font-size: .75rem; font-weight: 650; color: var(--blue); white-space: nowrap; }
.relay-note { text-align: center; color: var(--ink-2); max-width: 620px; margin: 0 auto; }
@media (max-width: 600px) {
  .relay { flex-direction: column; }
  .wire { width: 2px; height: 46px; flex: none; margin: 0; background: repeating-linear-gradient(180deg, var(--blue) 0 8px, transparent 8px 14px); }
  .wire span { top: 50%; left: 14px; transform: translateY(-50%); }
}

/* Owners */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.timeline { list-style: none; padding: 0; margin: 2rem 0 0; counter-reset: t; }
.timeline li { position: relative; padding: 0 0 1.5rem 3.2rem; counter-increment: t; }
.timeline li::before { content: counter(t); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 34px; height: 34px;
  border-radius: 50%; background: #fff; border: 2px solid var(--blue); color: var(--blue); font-weight: 800; font-size: .9rem; }
.timeline li::after { content: ""; position: absolute; left: 16px; top: 38px; bottom: 4px; width: 2px; background: #cdd8f5; }
.timeline li:last-child::after { display: none; }
.timeline b { display: block; font-size: 1.05rem; }
.timeline span { color: var(--ink-2); font-size: .95rem; }
.card-glass { padding: 2rem; border-radius: 24px; color: #fff; background: linear-gradient(150deg, var(--navy-2), #1b3d8f 60%, #127e78);
  box-shadow: 0 30px 60px -30px rgba(11, 21, 48, .7); }
.card-glass h3 { font-size: 1.3rem; margin-bottom: 1rem; }
.checks { list-style: none; padding: 0; margin: 0 0 1.4rem; }
.checks li { position: relative; padding: .5rem 0 .5rem 2rem; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.checks li::before { content: "✓"; position: absolute; left: 0; top: .5rem; display: grid; place-items: center; width: 22px; height: 22px;
  border-radius: 50%; background: var(--teal); color: var(--navy); font-weight: 900; font-size: .75rem; }
.small { font-size: .85rem; color: #b9c6e4; }

/* Agents */
.section.dark { position: relative; overflow: hidden; color: #fff; background: linear-gradient(180deg, var(--navy) 0%, #101d42 100%); }
.g3 { width: 520px; height: 520px; background: #6a4dff; top: -260px; left: 50%; margin-left: -260px; opacity: .3; }
.section.dark .wrap { position: relative; }
.eyebrow.light { color: var(--teal); }
.title.light { color: #fff; margin-bottom: 1rem; }
.sub.light { color: #b9c6e4; max-width: 620px; margin: 0 auto 3rem; }
.role { padding: 1.8rem; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.role.featured { background: linear-gradient(160deg, rgba(59, 108, 255, .3), rgba(20, 200, 168, .15)); border-color: rgba(127, 162, 255, .45); }
.badge { display: inline-block; padding: .25rem .7rem; border-radius: 999px; font-size: .75rem; font-weight: 750; letter-spacing: .04em;
  background: rgba(20, 200, 168, .16); color: #7ff0da; margin-bottom: .9rem; }
.role ul { list-style: none; padding: 0; margin: .6rem 0 0; color: #c3cde3; font-size: .95rem; }
.role li { padding: .3rem 0 .3rem 1.4rem; position: relative; }
.role li::before { content: ""; position: absolute; left: 0; top: .78rem; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.roles { margin-bottom: 2.8rem; }
.small.light { margin-top: 1rem; }

/* FAQ */
details { border: 1px solid var(--line); border-radius: 14px; margin-bottom: .75rem; background: #fff; transition: box-shadow .2s; }
details[open] { box-shadow: 0 16px 30px -22px rgba(15, 26, 51, .4); }
summary { cursor: pointer; list-style: none; padding: 1.1rem 3rem 1.1rem 1.3rem; font-weight: 650; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 400; color: var(--blue); }
details[open] summary::after { content: "–"; }
details p { padding: 0 1.3rem 1.2rem; color: var(--ink-2); }

/* Closing band + footer */
.cta-band { padding: 3.2rem 0; color: #fff; background: linear-gradient(120deg, var(--blue), #6a4dff 55%, var(--teal)); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(1.35rem, 2.6vw, 1.85rem); font-weight: 800; margin-bottom: .4rem; max-width: 640px; }
.cta-band p { color: rgba(255, 255, 255, .85); }
.foot { background: var(--navy); color: #94a2c2; padding: 2.5rem 0; font-size: .9rem; }
.foot-inner { display: flex; flex-direction: column; align-items: center; gap: .7rem; text-align: center; }
.foot a { color: #c3cde3; }
.copy { font-size: .82rem; color: #6f7ea0; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem 1.2rem; }

/* Privacy / terms / refund / contact pages */
.section.legal { padding: 2.5rem 0 4rem; }
.legal-tabs { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 2rem; }
.legal-tabs a { padding: .4rem .85rem; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); font-size: .88rem; font-weight: 550; }
.legal-tabs a[aria-current="page"] { color: #fff; background: var(--blue); border-color: var(--blue); }
.legal h1 { font-size: clamp(1.7rem, 4vw, 2.3rem); font-weight: 800; letter-spacing: -.02em; }
.legal h2 { font-size: 1.2rem; font-weight: 750; margin: 2rem 0 .6rem; }
.legal h3 { font-size: 1rem; margin: 1.2rem 0 .3rem; }
.legal p, .legal li, .legal dd { color: var(--ink-2); }
.legal p { margin-bottom: .8rem; }
.legal ul { padding-left: 1.3rem; margin: 0 0 .8rem; }
.legal li { margin-bottom: .35rem; }
.updated { font-size: .85rem; margin-top: .4rem; }
.legal-callout { padding: 1.1rem 1.3rem; margin: 1.5rem 0; border-radius: 14px; background: #dcf5ef; color: var(--ink); }
.legal-callout b { display: block; margin-bottom: .25rem; }
.legal-table { border-collapse: collapse; margin: 0 0 1rem; min-width: 260px; }
.legal-table th, .legal-table td { text-align: left; padding: .5rem 1.2rem .5rem 0; border-bottom: 1px solid var(--line); }
.legal-contact { display: grid; grid-template-columns: max-content 1fr; gap: .6rem 1.5rem; margin: 1.5rem 0; }
.legal-contact dt { font-weight: 700; }
.legal-contact dd { margin: 0; }
