/* ===========================================================
   HALO — Landing page styles
   Type: Newsreader (display serif), Manrope (UI), JetBrains Mono (labels)
   =========================================================== */

:root {
  /* Warm neutrals */
  --cream:        #FAF1EC;
  --cream-2:      #F6E9E1;
  --cream-3:      #F1DED4;
  --blush:        #FCE4DF;
  --paper:        #FFFCFA;

  /* Inks */
  --wine:         #4E1726;   /* deep maroon display text */
  --wine-2:       #80354B;   /* rose-brown body */
  --ink:          #1B1A1B;   /* near-black headings */
  --muted:        #8A7A74;   /* warm grey */
  --muted-2:      #A8968E;

  /* Brand */
  --rose:         #C23A63;
  --rose-deep:    #A82A52;
  --rose-tint:    #F7D9DF;
  --crimson:      #B23341;
  --purple:       #7A33EB;
  --purple-tint:  #ECE3FC;

  /* Accent dots */
  --coral:        #E8916B;
  --mint:         #6FBFA0;
  --peri:         #9B8BE8;

  /* System */
  --radius-sm: 14px;
  --radius:    22px;
  --radius-lg: 34px;
  --shadow-sm: 0 2px 10px rgba(78,23,38,0.06);
  --shadow:    0 18px 50px -18px rgba(78,23,38,0.22);
  --shadow-lg: 0 40px 90px -30px rgba(78,23,38,0.34);
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --serif: "Newsreader", Georgia, serif;
  --sans:  "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--wine);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rose);
  font-weight: 500;
}

.serif { font-family: var(--serif); font-weight: 400; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans); font-weight: 700; font-size: 16px;
  border: none; cursor: pointer; border-radius: 999px;
  padding: 16px 30px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  white-space: nowrap;
}
.btn-rose { background: var(--rose); color: #fff; box-shadow: 0 12px 30px -10px rgba(194,58,99,0.6); }
.btn-rose:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(194,58,99,0.7); background: var(--rose-deep); }
.btn-ghost { background: transparent; color: var(--wine); border: 1.5px solid rgba(78,23,38,0.18); }
.btn-ghost:hover { border-color: var(--rose); color: var(--rose); transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); background: #000; }

/* ===========================================================
   NAV
   =========================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s, box-shadow .3s, padding .3s;
  padding: 22px 0;
}
.nav.scrolled {
  background: rgba(250,241,236,0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(78,23,38,0.06);
  padding: 14px 0;
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--serif); font-size: 25px; color: var(--wine); font-weight: 500; }
.brand .mark { width: 34px; height: 34px; flex: 0 0 auto; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { font-size: 15px; font-weight: 600; color: var(--wine-2); transition: color .2s; }
.nav-links a:hover { color: var(--rose); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .btn { padding: 12px 22px; font-size: 15px; }
.menu-toggle {
  display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  width: 44px; height: 44px; padding: 0; border: none; background: transparent; cursor: pointer;
  border-radius: 50%; flex-shrink: 0;
}
.menu-toggle span {
  display: block; width: 20px; height: 2px; background: var(--wine); border-radius: 2px;
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.nav.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.nav.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile {
  display: none; position: fixed; top: 72px; left: 0; right: 0; z-index: 99;
  flex-direction: column; gap: 4px; padding: 20px 28px 28px;
  background: rgba(250,241,236,0.96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(78,23,38,0.08); box-shadow: 0 12px 40px -20px rgba(78,23,38,0.2);
}
.nav-mobile a {
  font-size: 17px; font-weight: 600; color: var(--wine-2); padding: 14px 4px;
  border-bottom: 1px solid rgba(78,23,38,0.06);
}
.nav-mobile a:hover { color: var(--rose); }
.nav-mobile .btn { margin-top: 12px; width: 100%; justify-content: center; }
.nav.menu-open .nav-mobile { display: flex; }
body.menu-open { overflow: hidden; }

/* ===========================================================
   HERO
   =========================================================== */
.hero { position: relative; padding: 168px 0 90px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.hero-copy { max-width: 560px; }
.hero h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(56px, 8.5vw, 104px); line-height: 0.96;
  letter-spacing: -0.02em; color: var(--wine); margin: 22px 0 0;
}
.hero h1 .accent { font-style: italic; color: var(--rose); }
.hero .lede {
  font-size: clamp(19px, 2.2vw, 23px); color: var(--wine-2);
  margin-top: 26px; max-width: 480px; line-height: 1.5;
}
.hero .sub { margin-top: 14px; font-size: 16px; color: var(--muted); font-weight: 600; }

/* waitlist form */
.waitlist { margin-top: 36px; }
.waitlist-form { display: flex; gap: 10px; max-width: 440px; background: var(--paper);
  padding: 8px; border-radius: 999px; box-shadow: var(--shadow-sm); border: 1px solid rgba(78,23,38,0.07); }
.waitlist-form input {
  flex: 1; border: none; background: transparent; outline: none;
  font-family: var(--sans); font-size: 16px; padding: 10px 18px; color: var(--wine);
}
.waitlist-form input::placeholder { color: var(--muted-2); }
.waitlist-form .btn { padding: 14px 26px; }
.waitlist-note { margin-top: 14px; font-size: 13.5px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.waitlist-note .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(111,191,160,0.22); }
.waitlist-success { display: none; margin-top: 6px; font-weight: 600; color: var(--rose); }

.store-row { display: flex; gap: 12px; margin-top: 26px; align-items: center; }
.store-badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 11px 16px;
  border: 1.5px solid rgba(78,23,38,0.16); border-radius: 14px; font-size: 13px; font-weight: 600;
  color: var(--wine-2); background: rgba(255,255,255,0.4);
}
.store-badge small { display: block; font-size: 10px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.store-badge .label-strong { font-size: 15px; font-weight: 700; line-height: 1.1; }
.store-badge svg { width: 22px; height: 22px; }

/* Hero visual: motif + phone */
.hero-visual { position: relative; height: 620px; display: flex; align-items: center; justify-content: center; }

/* HaloMotif rings */
.motif { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.motif .ring {
  position: absolute; border-radius: 50%; border: 1.5px solid rgba(194,58,99,0.18);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
}
.motif .ring.pulse { animation: ringPulse 4s var(--ease) infinite; }
@keyframes ringPulse { 0%,100% { opacity: .6; } 50% { opacity: 1; } }

.orbit { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); border-radius: 50%; }
.orbit .sat { position: absolute; top: -7px; left: 50%; margin-left: -7px; width: 14px; height: 14px; border-radius: 50%; box-shadow: var(--shadow-sm); }
.orbit.o1 { animation: spin 22s linear infinite; }
.orbit.o2 { animation: spin 30s linear infinite reverse; }
.orbit.o3 { animation: spin 40s linear infinite; }
@keyframes spin { to { transform: translate(-50%,-50%) rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .orbit, .motif .ring.pulse { animation: none !important; }
}

/* Phone frame */
.phone {
  position: relative; width: 286px; aspect-ratio: 1179 / 2556;
  background: #1b1014; border-radius: 46px; padding: 11px;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255,255,255,0.06);
  z-index: 2;
}
.phone::before {
  content: ""; position: absolute; top: 17px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 28px; background: #1b1014; border-radius: 16px; z-index: 4;
}
.phone .screen {
  width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: var(--cream);
  position: relative;
}
.phone .screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone-float { animation: floaty 7s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@media (prefers-reduced-motion: reduce) { .phone-float { animation: none; } }

/* ===========================================================
   MARQUEE / trust strip
   =========================================================== */
.strip { border-top: 1px solid rgba(78,23,38,0.08); border-bottom: 1px solid rgba(78,23,38,0.08); padding: 30px 0; background: var(--cream-2); }
.strip .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px; }
.strip-item { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--wine-2); font-size: 15px; }
.strip-item .ic { width: 22px; height: 22px; color: var(--rose); flex: 0 0 auto; }

/* ===========================================================
   SECTION SCAFFOLD
   =========================================================== */
.section { padding: 110px 0; }
.section-head { max-width: 720px; margin-bottom: 64px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 {
  font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em;
  font-size: clamp(38px, 5.2vw, 60px); line-height: 1.02; color: var(--wine); margin-top: 16px;
}
.section-head h2 em { font-style: italic; color: var(--rose); }
.section-head p { font-size: 19px; color: var(--wine-2); margin-top: 20px; }

/* ---------- Pillars ---------- */
.pillars { background: var(--cream-2); }
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar {
  background: var(--paper); border-radius: var(--radius-lg); padding: 38px 34px;
  border: 1px solid rgba(78,23,38,0.06); box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.pillar:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.pillar .num {
  font-family: var(--serif); font-size: 26px; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; color: var(--rose); background: var(--rose-tint); margin-bottom: 26px;
}
.pillar h3 { font-size: 23px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.pillar p { margin-top: 10px; color: var(--wine-2); font-size: 16px; }

/* ---------- Feature rows ---------- */
.feature { padding: 96px 0; }
.feature + .feature { padding-top: 40px; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.feature.reverse .feature-grid { direction: rtl; }
.feature.reverse .feature-grid > * { direction: ltr; }
.feature-text { max-width: 470px; }
.feature-tag {
  display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono);
  font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500;
  padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
}
.feature-text h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 4vw, 46px); line-height: 1.04; letter-spacing: -0.02em; color: var(--wine); }
.feature-text p { font-size: 18px; color: var(--wine-2); margin-top: 18px; }
.feature-list { list-style: none; margin-top: 26px; display: flex; flex-direction: column; gap: 14px; }
.feature-list li { display: flex; gap: 13px; align-items: flex-start; font-size: 16px; color: var(--wine-2); }
.feature-list .tick { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; margin-top: 1px; }
.feature-list .tick svg { width: 12px; height: 12px; }

/* feature phone display */
.feature-phone { display: flex; justify-content: center; position: relative; }
.feature-phone .glow { position: absolute; width: 420px; height: 420px; border-radius: 50%; filter: blur(70px); opacity: 0.5; z-index: 0; }
.feature-phone .phone { width: 300px; }

/* color tints per feature */
.t-protect { background: var(--rose-tint); color: var(--crimson); }
.t-map { background: var(--purple-tint); color: var(--purple); }
.t-roster { background: #FCE9DF; color: var(--coral); }
.t-circles { background: #DDF1E9; color: #2F8466; }
.glow.g-protect { background: var(--rose); }
.glow.g-map { background: var(--purple); }
.glow.g-roster { background: var(--coral); }
.glow.g-circles { background: var(--mint); }

/* ---------- How it works ---------- */
.how { background: var(--wine); color: var(--cream); }
.how .section-head h2 { color: var(--cream); }
.how .section-head .eyebrow { color: #E89BB0; }
.how .section-head p { color: rgba(250,241,236,0.72); }
.how-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { position: relative; padding-top: 30px; }
.step .stepnum { font-family: var(--mono); font-size: 13px; color: #E89BB0; letter-spacing: .1em; }
.step h4 { font-family: var(--serif); font-size: 26px; font-weight: 400; margin-top: 14px; }
.step p { color: rgba(250,241,236,0.7); margin-top: 10px; font-size: 15.5px; }
.step .bar { position: absolute; top: 0; left: 0; width: 46px; height: 3px; border-radius: 3px; background: var(--rose); }

/* ---------- Privacy ---------- */
.privacy { background: var(--cream-2); }
.privacy-card {
  background: var(--paper); border-radius: var(--radius-lg); padding: 64px;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(78,23,38,0.06);
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.privacy-points { display: flex; flex-direction: column; gap: 24px; }
.privacy-point { display: flex; gap: 16px; }
.privacy-point .pic { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 14px; background: var(--rose-tint); color: var(--rose); display: grid; place-items: center; }
.privacy-point .pic svg { width: 22px; height: 22px; }
.privacy-point h4 { font-size: 17px; font-weight: 700; color: var(--ink); }
.privacy-point p { font-size: 15px; color: var(--wine-2); margin-top: 4px; }
.privacy-shield { display: grid; place-items: center; }

/* ---------- Founder ---------- */
.founder { background: var(--blush); }
.founder-card { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: center; }
.founder-quote { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.28; color: var(--wine); letter-spacing: -0.01em; }
.founder-quote .hl { color: var(--rose); font-style: italic; }
.founder-sig { margin-top: 28px; display: flex; align-items: center; gap: 14px; }
.founder-sig .av { width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, var(--rose), var(--coral)); color: #fff; display: grid; place-items: center; font-family: var(--serif); font-size: 20px; }
.founder-sig .who { font-weight: 700; color: var(--ink); }
.founder-sig .role { font-size: 14px; color: var(--wine-2); }
.founder-visual { display: flex; justify-content: center; }

/* ---------- FAQ ---------- */
.faq-grid { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(78,23,38,0.12); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; background: none; border: none; cursor: pointer;
  padding: 28px 4px; font-family: var(--sans); font-size: 20px; font-weight: 700; color: var(--wine); text-align: left; }
.faq-q .pm { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid rgba(78,23,38,0.2); display: grid; place-items: center; transition: .3s var(--ease); color: var(--rose); }
.faq-item.open .pm { background: var(--rose); border-color: var(--rose); color: #fff; transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a p { padding: 0 4px 28px; font-size: 17px; color: var(--wine-2); max-width: 680px; }

/* ---------- Final CTA ---------- */
.cta { padding: 120px 0; text-align: center; position: relative; overflow: hidden; }
.cta h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 6.5vw, 78px); line-height: 1; letter-spacing: -0.02em; color: var(--wine); }
.cta h2 em { font-style: italic; color: var(--rose); }
.cta p { font-size: 20px; color: var(--wine-2); margin: 22px auto 38px; max-width: 520px; }
.cta .waitlist-form { margin: 0 auto; }
.cta-motif { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; opacity: .5; z-index: 0; }
.cta .wrap { position: relative; z-index: 1; }

/* ---------- Footer ---------- */
.footer { background: var(--wine); color: rgba(250,241,236,0.78); padding: 70px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(250,241,236,0.14); }
.footer .brand { color: var(--cream); margin-bottom: 16px; }
.footer-blurb { font-size: 15px; max-width: 280px; line-height: 1.6; }
.footer-entity { font-size: 13.5px; margin-top: 14px; max-width: 280px; line-height: 1.5; color: rgba(250,241,236,0.62); }
.footer-entity a { color: rgba(250,241,236,0.85); text-decoration: underline; text-underline-offset: 3px; }
.footer-entity a:hover { color: var(--cream); }
.footer h5 { color: var(--cream); font-size: 13px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 18px; font-weight: 700; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer ul a { font-size: 15px; transition: color .2s; }
.footer ul a:hover { color: var(--cream); }
.footer-bottom { padding-top: 28px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; font-size: 13.5px; }
.footer-bottom .legal { color: rgba(250,241,236,0.5); }

/* ===========================================================
   SCROLL REVEAL
   =========================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.shown { opacity: 1 !important; transform: none !important; transition: none !important; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-cta .btn { display: none; }
  .menu-toggle { display: flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-visual { height: 540px; order: 2; }
  .hero-copy { order: 1; max-width: none; }
  .pillar-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; gap: 44px; }
  .feature.reverse .feature-grid { direction: ltr; }
  .feature-phone { order: -1; }
  .how-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .privacy-card { grid-template-columns: 1fr; gap: 40px; padding: 44px 32px; }
  .privacy-shield { order: -1; }
  .founder-card { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .hero { padding: 130px 0 70px; }
  .waitlist-form { flex-direction: column; background: transparent; padding: 0; box-shadow: none; border: none; gap: 12px; }
  .waitlist-form input { background: var(--paper); border-radius: 999px; padding: 16px 22px; box-shadow: var(--shadow-sm); border: 1px solid rgba(78,23,38,0.07); }
  .waitlist-form .btn { width: 100%; }
  .store-row { flex-wrap: wrap; }
  .how-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
  .feature { padding: 56px 0; }
}
