/* Haven marketing site. No external fonts, no JS. */
:root {
  --bg: #0c1130; --bg-2: #101646; --bg-3: #151b47; --card: #151b47; --top: #232b78; --line: #2b3478;
  --text: #f1f4ff; --muted: #b3bce6; --dim: #7f8ac4; --teal: #5ee0cc; --teal-2: #9af0e3; --indigo: #8a92ff;
  --coral: #ff8e96; --red: #ff5a5f; --amber: #ffc25c; --green: #4ce3a2;
  --radius: 20px; --wrap: 1140px; color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1.0625rem/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-2); text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 .5em; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.center .lead { margin-left: auto; margin-right: auto; }
.eyebrow { color: var(--teal); font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--amber); color: #111; padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(12, 17, 48, .88); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(43, 52, 120, .7); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 1.2rem; }
.brand img { border-radius: 9px; }
.nav ul, .foot-row ul { list-style: none; display: flex; flex-wrap: wrap; gap: 2px 22px; margin: 0; padding: 0; }
.nav a:not(.brand) { color: var(--muted); text-decoration: none; font-size: .95rem; padding: 10px 0; display: inline-block; }
.nav a:not(.brand):hover, .nav a[aria-current="page"] { color: #fff; }
.nav a.nav-cta, .nav ul a.nav-cta { background: var(--teal); color: #06312f; font-weight: 800; padding: 8px 16px !important; border-radius: 999px; }
.nav a.nav-cta:hover { background: var(--teal-2); color: #06312f; }
@media (max-width: 760px) {
  .nav { flex-wrap: wrap; row-gap: 0; padding-bottom: 6px; }
  .nav ul { width: 100%; gap: 0 16px; }
  .nav a:not(.brand) { font-size: .9rem; padding: 6px 0; }
}

/* hero */
.hero { position: relative; overflow: hidden; padding: 60px 0 44px;
  background: radial-gradient(900px 520px at 80% 25%, rgba(94, 224, 204, .18), transparent 70%), radial-gradient(700px 500px at 10% 0, rgba(138, 146, 255, .25), transparent 70%), linear-gradient(180deg, var(--top), var(--bg)); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px; }
.app-icon { border-radius: 22%; box-shadow: 0 10px 30px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .1); margin-bottom: 22px; }
.hero h1 { font-size: clamp(2.8rem, 1.6rem + 4.4vw, 4.6rem); font-weight: 800; margin-bottom: 14px; }
.hero h1 .sub { display: block; font-size: clamp(1.2rem, 1rem + 1vw, 1.7rem); font-weight: 600; color: var(--teal-2); margin-top: 10px; letter-spacing: 0; }
.pitch { font-size: 1.2rem; color: #dbe1ff; max-width: 36ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 0; }
.hero-note { color: var(--muted); font-size: .95rem; margin-top: 14px; }
.hero-disclaimer { display: inline-block; font-size: .92rem; color: #ffe0e1; background: rgba(255, 90, 95, .13); border: 1px solid rgba(255, 90, 95, .45); padding: 8px 12px; border-radius: 10px; }
.hero-phones { position: relative; display: flex; justify-content: center; align-items: center; min-height: 600px; }
.hero-phones .main { width: 280px; z-index: 2; }
.hero-phones .side { position: absolute; width: 224px; opacity: .8; z-index: 1; }
.hero-phones .left { transform: translateX(-64%) rotate(-7deg); }
.hero-phones .right { transform: translateX(64%) rotate(7deg); }
@media (max-width: 900px) {
  .hero { padding-top: 36px; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-cta { justify-content: center; }
  .hero-phones { min-height: 0; padding-top: 10px; }
  .hero-phones .main { width: min(62vw, 250px); }
  .hero-phones .side { width: min(46vw, 196px); }
  .hero-phones .left { transform: translateX(-58%) rotate(-7deg); }
  .hero-phones .right { transform: translateX(58%) rotate(7deg); }
}

/* phone mockup */
.phone { margin: 0; background: #0b1030; border-radius: 44px; padding: 10px; border: 2px solid #3a4590; box-shadow: 0 30px 60px rgba(0, 0, 0, .5), inset 0 0 0 2px #070a20; }
.phone .screen { border-radius: 34px; overflow: hidden; aspect-ratio: 780 / 1688; background: var(--bg); }
.phone .screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone.small { width: 200px; flex: none; border-radius: 36px; padding: 8px; }
.phone.small .screen { border-radius: 28px; }

/* buttons */
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 0; }
.center .stores { justify-content: center; }
.store-btn { display: inline-flex; flex-direction: column; justify-content: center; min-width: 176px; min-height: 56px; padding: 8px 20px; background: #000; color: #fff; text-decoration: none; border: 1px solid #a6a6a6; border-radius: 12px; line-height: 1.15; }
.store-btn:hover { color: #fff; border-color: #fff; }
.store-top { font-size: .72rem; letter-spacing: .02em; }
.store-name { font-size: 1.3rem; font-weight: 600; }
.btn { display: inline-block; background: var(--teal); color: #06312f; font-weight: 800; text-decoration: none; padding: 13px 24px; border-radius: 14px; }
.btn:hover { background: var(--teal-2); color: #06312f; }
.btn.ghost { background: transparent; color: var(--teal-2); border: 1.5px solid var(--line); }
.btn.ghost:hover { border-color: var(--teal); color: #fff; }
.btn.danger { background: var(--red); color: #fff; }

/* sections */
.section { padding: 84px 0; }
.section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pagehead { padding: 56px 0 8px; background: linear-gradient(180deg, var(--top), var(--bg)); }
.pagehead h1 { font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.2rem); }
.steps { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.step { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.step p { color: var(--muted); }
.num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--teal); color: #06312f; font-weight: 800; margin-bottom: 10px; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 44px; }
  .step { flex-direction: row; text-align: left; align-items: flex-start; }
  .phone.small { width: 140px; border-radius: 26px; padding: 6px; }
  .phone.small .screen { border-radius: 20px; }
}
@media (max-width: 420px) { .phone.small { width: 112px; } .step { gap: 16px; } }
.cards { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { color: var(--teal-2); }
.card p { color: var(--muted); margin: 0 0 .8em; }
.card p:last-child { margin: 0; }
.card.red { border-color: rgba(255, 90, 95, .55); }
.card.teal { border-color: rgba(94, 224, 204, .55); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.split .phone { margin: 0 auto; width: min(100%, 260px); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.timeline { list-style: none; margin: 22px 0; padding: 0; counter-reset: t; display: grid; gap: 14px; }
.timeline li { counter-increment: t; position: relative; padding: 14px 16px 14px 62px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
.timeline li::before { content: counter(t); position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 800; display: grid; place-items: center; }
.timeline li.ok::before { background: var(--teal); color: #06312f; }
.timeline strong { display: block; }
.timeline span { color: var(--muted); }
.checks { list-style: none; margin: 18px 0; padding: 0; display: grid; gap: 10px; }
.checks li { padding-left: 36px; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: rgba(76, 227, 162, .15); color: var(--green); display: grid; place-items: center; font-weight: 800; font-size: .85rem; }
.checks.no li::before { content: "×"; background: rgba(255, 90, 95, .15); color: var(--red); font-size: 1.1rem; }
.price { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-top: 28px; }
.price .big { font-size: 1.9rem; font-weight: 800; color: #fff; margin: 4px 0 10px; }
.faq { margin: 24px 0; }
details { border: 1px solid var(--line); border-radius: 14px; background: var(--card); margin-bottom: 10px; }
summary { cursor: pointer; padding: 16px 48px 16px 18px; font-weight: 700; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--teal); }
details[open] summary::after { content: "−"; }
details p { padding: 0 18px 4px; color: var(--muted); }
.cta { background: radial-gradient(600px 300px at 50% 0, rgba(94, 224, 204, .16), transparent 70%); }

/* prose */
.prose { padding-top: 48px; padding-bottom: 72px; }
.prose h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.8rem); }
.prose h2 { font-size: 1.35rem; margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.prose li { margin-bottom: .4em; }
.draft { background: #2a2410; border: 1px solid #7a6324; border-radius: 12px; padding: 12px 14px; margin-bottom: 1.2em; color: #ffe6a8; }
.contact-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 22px 8px; margin: 24px 0 8px; }
.notfound { padding-top: 80px; padding-bottom: 100px; }
.notfound .app-icon { margin: 0 auto 24px; }

/* footer */
.site-footer { border-top: 1px solid var(--line); background: #080b22; padding: 34px 0 40px; font-size: .95rem; color: var(--muted); }
.disclaimer { background: rgba(255, 90, 95, .09); border: 1px solid rgba(255, 90, 95, .4); color: #ffe0e1; border-radius: 12px; padding: 14px 16px; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; align-items: center; }
.foot-row p { margin: 0; }
.foot-row a { color: var(--muted); }
.foot-row a:hover { color: #fff; }
.safety-strip { background: #3a1822; border-bottom: 1px solid rgba(255, 90, 95, .5); color: #ffe0e1; font-size: .9rem; text-align: center; padding: 8px 14px; }
.safety-strip a { color: #fff; font-weight: 700; }
