@import url(fonts.css);
* { box-sizing: border-box; }
body { margin: 0; font: 17px/1.55 var(--font); color: var(--white); background: var(--navy); overflow-x: hidden; }
a { color: var(--gold); }
h1, h2, h3 { line-height: 1.1; margin: 0; }
h2 { font: 700 clamp(28px, 4.2vw, 42px) var(--display); text-align: center; margin-bottom: 30px; letter-spacing: -.02em; }

.top {
  position: sticky; top: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center;
  padding: 12px clamp(16px, 5vw, 56px); background: rgba(11,26,44,.9); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(91,80,64,.5);
}
.brand { display: flex; align-items: center; gap: 10px; font-size: 19px; text-decoration: none; }
.brand img { width: 38px; height: 38px; }
.top-link { font-weight: 700; text-decoration: none; }

.hero {
  position: relative;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 72px); align-items: center;
  max-width: 1160px; margin: 0 auto; padding: clamp(48px, 8vw, 104px) clamp(18px, 5vw, 48px);
}
/* brand shapes: a soft navy circle and a thin gold-brown ring */
.hero::before, .hero::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.hero::before { width: 520px; height: 520px; left: -260px; bottom: -220px; background: var(--navy-2); }
.hero::after { width: 640px; height: 640px; right: -300px; top: -260px; border: 3px solid var(--line); }
.hero-logo { display: block; width: clamp(92px, 12vw, 128px); height: auto; margin: 0 0 18px; }
.eyebrow { color: var(--gold); font: 700 15px var(--display); letter-spacing: .16em; text-transform: uppercase; margin: 0 0 14px; }
h1 { font: 700 clamp(48px, 8vw, 90px)/1 var(--display); letter-spacing: -.03em; }
h1 b { color: var(--gold); font-weight: 700; }
.lead { font-size: clamp(18px, 2vw, 22px); color: var(--lavender); margin: 22px 0 30px; max-width: 32em; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px;
  border-radius: 27px; font: 700 17px var(--font); text-decoration: none; cursor: pointer; border: 0;
}
.btn.primary { background: var(--gold); color: var(--navy); box-shadow: 0 10px 30px rgba(244,185,66,.25); }
.btn.primary:hover { background: #ffc030; }
.btn.ghost { background: transparent; color: var(--white); border: 2px solid var(--line); }
.btn.ghost:hover { border-color: var(--gold); }
.btn:disabled { opacity: .7; cursor: default; }
.btn.wide { width: 100%; }
.fine { font-size: 14px; color: var(--lavender); opacity: .85; margin-top: 14px; }

/* Phone mockup */
.phone {
  justify-self: center; width: min(320px, 80vw); aspect-ratio: 9 / 18.5; border-radius: 46px; padding: 11px;
  background: #050a18; box-shadow: 0 30px 90px rgba(0,0,0,.5), inset 0 0 0 2px #2a3866;
}
.screen { height: 100%; border-radius: 36px; background: var(--navy); overflow: hidden; display: flex; flex-direction: column; font-size: 13.5px; }
.p-head { display: flex; flex-direction: column; align-items: center; padding: 30px 0 8px; background: #081524; border-bottom: 1px solid var(--navy-3); line-height: 1.2; font-size: 13px; }
.p-head img { width: 38px; height: 38px; border-radius: 50%; margin-bottom: 3px; }
.p-head span { color: #5fd38a; font-size: 11px; }
.p-msgs { flex: 1; padding: 14px 10px; display: flex; flex-direction: column; gap: 8px; }
.p-msgs p { margin: 0; padding: 9px 12px; border-radius: 16px; max-width: 84%; line-height: 1.3; }
.p-me { align-self: flex-end; background: var(--navy-3); color: #fff; border-bottom-right-radius: 5px; }
.p-him { align-self: flex-start; background: var(--gold); color: var(--navy); font-weight: 500; border-bottom-left-radius: 5px; }
.p-him small { display: block; font-weight: 700; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; margin-top: 4px; opacity: .85; }
.p-input { margin: 8px 10px 18px; padding: 7px 12px; background: var(--navy-2); border-radius: 16px; color: #8d99c4; }

section { padding: clamp(56px, 8vw, 96px) clamp(18px, 5vw, 48px); }
.how, .install { background: #081524; }
.steps { list-style: none; padding: 0; margin: 0 auto; max-width: 1060px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li, .card { background: var(--navy-2); border-radius: 22px; padding: 28px; }
.steps span {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px 12px 12px 4px;
  background: var(--gold); color: var(--navy); font: 700 18px var(--display); margin-bottom: 16px;
}
.steps h3, .card h3 { font: 700 20px var(--font); margin-bottom: 8px; }
.steps p, .card ol { margin: 0; color: var(--lavender); }
.card ol { padding-left: 20px; }
.card b, .steps b { color: var(--white); }

.tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 880px; margin: 0 auto; }
.tags a { padding: 9px 18px; border-radius: 20px; background: var(--gold); color: var(--navy); text-decoration: none; font-weight: 700; }
.tags a:hover { background: #ffc030; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1060px; margin: 0 auto; }

.follow { text-align: center; }
.follow p { color: var(--lavender); margin: -16px 0 24px; }
.socials { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.socials a { padding: 12px 24px; border-radius: 26px; border: 2px solid var(--line); color: var(--white); text-decoration: none; font-weight: 700; }
.socials a:hover { border-color: var(--gold); color: var(--gold); }

footer { padding: 40px clamp(18px, 5vw, 48px) 52px; background: #06111e; color: #9fb0c8; font-size: 14px; text-align: center; }
.foot-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; margin-bottom: 16px; }
.foot-brand img { width: 40px; height: 40px; }
footer p { max-width: 720px; margin: 0 auto 10px; }

.sheet { border: 0; border-radius: 20px; padding: 24px; max-width: min(420px, 92vw); font: 16px/1.5 var(--font); color: var(--white); background: var(--navy-2); box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.sheet::backdrop { background: rgba(5,10,25,.6); }
.sheet h2 { font: 700 22px var(--font); text-align: left; margin-bottom: 12px; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero-logo { margin-inline: auto; }
  .hero::after { width: 300px; height: 300px; right: -190px; top: -170px; }
  .hero::before { width: 360px; height: 360px; left: -220px; bottom: auto; top: 380px; }
  .lead { margin-inline: auto; }
  .ctas { justify-content: center; }
  .steps, .cards { grid-template-columns: 1fr; }
}
