/* Design tokens */
:root {
  --deep-navy: #070d33;
  --deep-indigo: #171c57;
  --dream-purple: #6d5df6;
  --soft-violet: #9b7cff;
  --candy-pink: #ff6fcb;
  --sky-blue: #72d7ff;
  --warm-star: #ffd36e;
  --bg-top: #050a2b;
  --bg-mid: #14184e;
  --bg-bottom: #241f68;
  --text-primary: #fff;
  --text-secondary: #dfe5ff;
  --text-muted: #aeb7df;
  --glass: rgba(255, 255, 255, 0.075);
  --glass-strong: rgba(255, 255, 255, 0.13);
  --hairline: rgba(255, 255, 255, 0.16);
  --focus-ring: #ffd36e;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --page-width: 1220px;
  --readable-width: 74ch;
  --section-space: clamp(4rem, 9vw, 8rem);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;
  color-scheme: dark;
}
/* Base/reset */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background:
    radial-gradient(
      circle at 12% 8%,
      rgba(255, 111, 203, 0.2),
      transparent 28rem
    ),
    radial-gradient(
      circle at 88% 18%,
      rgba(114, 215, 255, 0.16),
      transparent 30rem
    ),
    linear-gradient(180deg, var(--bg-top), var(--bg-mid) 46%, var(--bg-bottom));
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}
body:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.42) 1px,
    transparent 1.5px
  );
  background-size: 58px 58px;
  opacity: 0.08;
}
a {
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
}
.container {
  width: min(100% - 32px, var(--page-width));
  margin-inline: auto;
}
.narrow {
  max-width: 820px;
}
.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  background: #fff;
  color: #070d33;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  z-index: 20;
}
.skip-link:focus {
  top: 1rem;
}
/* Header/nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: calc(0.65rem + env(safe-area-inset-top)) 0 0.65rem;
  background: rgba(7, 13, 51, 0.78);
  border-bottom: 1px solid var(--hairline);
  backdrop-filter: blur(16px);
}
.header-inner {
  width: min(100% - 24px, var(--page-width));
  margin: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}
.nav-links {
  display: flex;
  gap: 0.35rem;
  align-items: center;
  margin-left: auto;
}
.nav-links a,
.site-footer a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--text-secondary);
}
.nav-links a:hover,
.site-footer a:hover {
  background: var(--glass);
}
/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0.82rem 1.15rem;
  border-radius: 18px;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid var(--hairline);
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.button:hover {
  transform: translateY(-2px);
}
.button-primary {
  background:
    linear-gradient(135deg, rgba(8, 12, 38, 0.96), rgba(28, 31, 82, 0.92)) padding-box,
    linear-gradient(135deg, rgba(255, 211, 110, 0.78), rgba(155, 124, 255, 0.72), rgba(114, 215, 255, 0.65)) border-box;
  border-color: transparent;
  color: #fff;
  box-shadow:
    0 16px 38px rgba(7, 10, 31, 0.34),
    0 0 30px rgba(109, 93, 246, 0.18);
}
.button-secondary {
  background: var(--glass);
  color: var(--text-primary);
}
.header-cta {
  min-height: 40px;
  height: 40px;
  width: auto;
  flex: 0 0 auto;
  padding: 0 0.95rem;
  border-radius: 15px;
  font-size: 0.92rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.045)) padding-box,
    linear-gradient(135deg, rgba(255, 211, 110, 0.5), rgba(114, 215, 255, 0.38)) border-box;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}
:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}
/* Hero */
.section-pad {
  padding-block: var(--section-space);
}
.target-section {
  scroll-margin-top: 110px;
}
.hero {
  padding-top: clamp(3rem, 7vw, 6rem);
}
.hero-grid,
.privacy-grid,
.final-card {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}
.eyebrow {
  color: var(--warm-star);
  font-weight: 900;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
}
.hero h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.92;
  letter-spacing: -0.075em;
  margin: 0.2rem 0 1.2rem;
  text-wrap: balance;
}
h2 {
  font-size: clamp(2rem, 5vw, 3.7rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
  margin: 0.2rem 0 1rem;
  text-wrap: balance;
}
h3 {
  font-size: 1.35rem;
  margin: 0.2rem 0 0.55rem;
}
.lead,
.section-intro p,
.privacy-major p,
.final-card p {
  font-size: clamp(1.04rem, 2vw, 1.18rem);
  color: var(--text-secondary);
  max-width: var(--readable-width);
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.7rem 0;
}
.trust-row,
.point-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0;
  display: grid;
  gap: 0.7rem;
}
.trust-row {
  grid-template-columns: repeat(3, minmax(170px, 1fr));
  max-width: 820px;
  margin-top: 1.5rem;
}
.trust-row li {
  display: grid;
  gap: 0.25rem;
  padding: 0.95rem;
  border: 1px solid var(--hairline);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.045));
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
}
.trust-row strong {
  color: var(--text-primary);
  font-size: 0.98rem;
  line-height: 1.25;
}
.trust-row span {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}
.point-list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--text-secondary);
}
.point-list li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--warm-star), var(--candy-pink));
}
.hero-visual {
  position: relative;
  min-height: 620px;
}
/* Device screenshot frames */
.device-frame {
  position: relative;
  border-radius: 42px;
  padding: 12px;
  background: linear-gradient(145deg, #11183f, #070a1f);
  box-shadow:
    var(--shadow),
    inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  overflow: hidden;
}
.device-screenshot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 31px;
}
.phone-main {
  width: min(295px, 58vw);
  position: absolute;
  right: 14%;
  top: 30px;
}
.phone-secondary {
  width: min(220px, 45vw);
  position: absolute;
  left: 2%;
  bottom: 15px;
  transform: rotate(-7deg);
}
.mini-phone {
  width: min(190px, 70vw);
  border-radius: 30px;
  padding: 8px;
  margin: 1rem auto 0;
}
.mini-phone .device-screenshot {
  border-radius: 23px;
}
/* Feature sections */
.trust-strip {
  border-block: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.055);
}
.trust-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1rem 0;
  font-weight: 800;
  color: var(--text-secondary);
}
.section-intro {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 3rem;
}
.steps-showcase,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.step-card,
.feature-card,
.feel-card,
.plan,
.glass-card,
details,
.final-card,
.privacy-major {
  border: 1px solid var(--hairline);
  background: linear-gradient(
    180deg,
    var(--glass-strong),
    rgba(255, 255, 255, 0.045)
  );
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
}
.step-card {
  padding: 1.5rem;
  overflow: visible;
}
.step-card > span {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid var(--hairline);
  color: var(--warm-star);
  font-weight: 900;
  margin-bottom: 1rem;
}
.step-card h3 {
  margin-top: 0;
}
.raised {
  margin-top: 2.5rem;
}
.note {
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* Feature gallery */
.everyday-features {
  position: relative;
}
.feature-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}
.feature-gallery:focus-visible,
.steps-showcase:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 6px;
  border-radius: var(--radius-lg);
}
.feature-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 250px);
  gap: 1.2rem;
  align-items: center;
  padding: 1.3rem;
}
.feature-card h3 {
  font-size: 1.45rem;
}
.feature-card p {
  color: var(--text-secondary);
}
.feature-phone {
  width: clamp(190px, 22vw, 250px);
  justify-self: center;
  align-self: center;
}
.feature-phone .device-screenshot {
  width: 100%;
  height: auto;
  object-fit: contain;
}
/* Privacy section */
.privacy-major {
  margin-inline: 16px;
}
.flow {
  display: grid;
  gap: 0.6rem;
  margin: 1.5rem 0;
}
.flow div,
.flow aside {
  border: 1px solid var(--hairline);
  background: var(--glass);
  padding: 1rem;
  border-radius: var(--radius-md);
}
.flow span {
  color: var(--warm-star);
  font-weight: 900;
  padding-left: 1rem;
}
.flow aside {
  border-color: rgba(255, 211, 110, 0.38);
}
.flow aside span {
  display: block;
}
.privacy-details {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
}
.privacy-details article {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 1rem;
  background: var(--glass);
}

/* Real moments */
.feel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}
.feel-card {
  padding: 1.45rem;
}
.feel-card p {
  color: var(--text-secondary);
  margin-bottom: 0;
}
.feel-card h3 {
  margin-top: 0;
}
/* Local-first table */
.local-first-card {
  margin-top: 1.4rem;
  padding: 1rem;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  background: var(--glass);
}
.local-first-card h3 {
  margin-top: 0;
}
.local-first-card p {
  font-size: 0.98rem;
  color: var(--text-secondary);
}
.local-first-table {
  display: grid;
  gap: 0.5rem;
}
.local-first-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}
.local-first-row > div {
  padding: 0.72rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--text-secondary);
}
.local-first-head > div {
  color: var(--text-primary);
  font-weight: 900;
  background: rgba(255, 255, 255, 0.09);
}
/* Friend Circle */
.plan-price {
  margin: 0.2rem 0 0.8rem;
  color: var(--text-primary);
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: -0.035em;
}
.plan-billing {
  color: var(--text-muted);
  font-size: 0.98rem;
}
.pricing-grid {
  grid-template-columns: 1fr 1fr;
}
.plan {
  padding: 2rem;
}
.plan ul {
  padding-left: 1.2rem;
}
.featured-plan {
  border-color: rgba(255, 111, 203, 0.45);
  background: linear-gradient(
    180deg,
    rgba(109, 93, 246, 0.22),
    rgba(255, 255, 255, 0.06)
  );
}
.center {
  text-align: center;
  margin-inline: auto;
}
/* FAQ */
.faq-list {
  display: grid;
  gap: 0.8rem;
}
details {
  padding: 1rem 1.2rem;
}
summary {
  cursor: pointer;
  font-weight: 850;
  min-height: 44px;
  display: flex;
  align-items: center;
}
details p {
  color: var(--text-secondary);
}
summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
summary::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 1.35rem;
  line-height: 1;
}
details[open] summary::after {
  content: "−";
}
.final-card {
  padding: clamp(1.3rem, 4vw, 3rem);
  overflow: hidden;
}
.final-logo {
  width: 64px;
  height: 64px;
  border-radius: 18px;
}
.cta-phone {
  width: min(230px, 60vw);
}
.plain-summary {
  max-width: var(--readable-width);
  margin: 0 auto 2rem;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(255, 211, 110, 0.36);
  border-radius: var(--radius-md);
  background: var(--glass);
  color: var(--text-primary);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}
/* Legal pages */
.legal-hero {
  padding-block: 4rem 2rem;
}
.back-link {
  color: var(--warm-star);
  font-weight: 800;
}
.legal-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
}
.toc {
  position: sticky;
  top: 110px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 1rem;
  background: var(--glass);
}
.toc a {
  display: block;
  padding: 0.45rem;
  color: var(--text-secondary);
  text-decoration: none;
}
.legal-card {
  max-width: var(--readable-width);
}
.legal-card section {
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--hairline);
  break-inside: avoid;
}
.legal-card h2 {
  font-size: 1.8rem;
}
.mobile-toc {
  display: none;
}
/* Footer */
.site-footer {
  border-top: 1px solid var(--hairline);
  padding: 3rem 0 1.5rem;
  background: rgba(0, 0, 0, 0.16);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem;
}
.site-footer nav,
.site-footer .footer-grid > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.site-footer h2 {
  font-size: 1rem;
  letter-spacing: 0;
  margin: 0 0 0.5rem;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 0.7rem 1rem;
  flex-wrap: wrap;
  align-items: center;
  border-top: 1px solid var(--hairline);
  margin-top: 2rem;
  padding-top: 1rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}
/* 404 page */
.not-found {
  min-height: 70vh;
  display: grid;
  place-items: center;
}
.bubble-art {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 2rem;
  background: var(--glass);
  max-width: 360px;
}
.bubble-art > img {
  width: 64px;
  height: 64px;
  border-radius: 18px;
}
.bubble-art .chat-bubble {
  margin: 0.7rem;
  padding: 1rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.12);
}
@keyframes floaty {
  50% {
    translate: 0 -12px;
  }
}
.float {
  animation: floaty 8s ease-in-out infinite;
}
.float-alt {
  animation: floaty 9s ease-in-out infinite reverse;
}
/* Mobile section navigation */
.mobile-section-nav {
  display: none;
}

@media (min-width: 1200px) {
  .phone-main {
    width: min(330px, 34vw);
    right: 10%;
    top: 0;
  }
  .phone-secondary {
    width: min(230px, 24vw);
    left: 4%;
    bottom: 0;
  }
}
@media (min-width: 1025px) and (max-width: 1199px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: clamp(1.5rem, 3vw, 3rem);
  }
  .hero-visual {
    min-height: 520px;
  }
  .phone-main {
    width: min(285px, 30vw);
    right: 8%;
    top: 10px;
  }
  .phone-secondary {
    width: min(205px, 21vw);
    left: 0;
    bottom: 20px;
  }
}
@media (max-width: 1050px) {
  .phone-secondary {
    display: none;
  }
}
/* Responsive rules */
@media (max-width: 1024px) {
  .site-header {
    min-height: 64px;
  }
  .header-inner {
    min-height: 64px;
    flex-wrap: nowrap;
    padding-block: 0.45rem;
  }
  .brand img {
    width: 38px;
    height: 38px;
  }
  .nav-links {
    display: none;
  }
  .header-cta {
    width: auto;
    margin-left: auto;
    padding: 0.55rem 0.8rem;
    font-size: 0.88rem;
    white-space: nowrap;
  }
  .mobile-section-nav {
    display: flex;
    gap: 0.55rem;
    overflow-x: auto;
    padding: 0.75rem max(12px, calc((100vw - var(--page-width)) / 2));
    border-bottom: 1px solid var(--hairline);
    background: rgba(9, 13, 45, 0.86);
  }
  .mobile-section-nav a {
    flex: 0 0 auto;
    padding: 0.55rem 0.8rem;
    border: 1px solid var(--hairline);
    border-radius: 999px;
    color: var(--text-secondary);
    font-weight: 800;
  }
  .hero-grid,
  .privacy-grid,
  .final-card,
  .legal-layout {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    min-height: 500px;
    max-width: 420px;
    margin-inline: auto;
    width: 100%;
  }
  .phone-main {
    right: 50%;
    top: 0;
    width: min(300px, 70vw);
    transform: translateX(50%);
  }
  .phone-secondary {
    display: none;
  }
  .trust-strip-inner,
  .pricing-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .steps-showcase,
  .feature-gallery {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(270px, 84vw);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-inline: contain;
    padding-bottom: 0.75rem;
  }
  .step-card,
  .feature-card {
    scroll-snap-align: start;
  }
  .feature-card {
    grid-template-columns: 1fr;
  }
  .feature-phone {
    width: min(210px, 58vw);
  }
  .feel-grid {
    grid-template-columns: 1fr;
  }
  .toc {
    display: none;
  }
  .mobile-toc {
    display: block;
    position: static;
    margin-bottom: 1rem;
  }
  .legal-card {
    max-width: none;
  }
  .footer-bottom {
    flex-direction: column;
  }
}
@media (max-width: 560px) {
  .container {
    width: min(100% - 24px, var(--page-width));
  }
  .section-pad {
    padding: 3.2rem 0;
  }
  .hero h1 {
    font-size: clamp(2.8rem, 15vw, 4.2rem);
  }
  .trust-row,
  .trust-strip-inner,
  .pricing-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    min-height: 0;
  }
  .phone-main {
    position: relative;
    inset: auto;
    margin: 0 auto;
    width: min(290px, 82vw);
    transform: none;
  }
  .phone-secondary {
    display: none;
  }
  .raised {
    margin-top: 0;
  }
  .local-first-row {
    grid-template-columns: 1fr;
  }
  .cta-row .button,
  .featured-plan .button {
    width: 100%;
  }
  .header-cta {
    width: auto;
    flex: 0 0 auto;
  }
  .nav-links a {
    font-size: 0.92rem;
    padding: 0.4rem 0.55rem;
  }
  .site-header {
    position: sticky;
  }
  .device-frame {
    padding: 8px;
  }
}
/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .button:hover {
    transform: none;
  }
}
/* Print */
@media print {
  * {
    background: #fff !important;
    color: #000 !important;
    box-shadow: none !important;
  }
  body:before,
  .site-header,
  .button,
  .site-footer nav,
  .hero-visual,
  .device-frame {
    display: none !important;
  }
  .container {
    width: 100%;
  }
  a[href]:after {
    content: " (" attr(href) ")";
  }
  h1,
  h2,
  h3 {
    break-after: avoid;
  }
  .legal-layout {
    display: block;
  }
  .toc {
    display: none;
  }
  .legal-card section {
    break-inside: avoid;
  }
}
