:root {
  --ink: #1c1c2e;
  --muted: #645a75;
  --sand: #fff8f2;
  --cream: #fffdf8;
  --card: rgba(255, 255, 255, 0.74);
  --line: rgba(28, 28, 46, 0.1);
  --purple: #a070f0;
  --blue: #4da6ff;
  --green: #3dcf82;
  --yellow: #ffce3d;
  --orange: #ff9a3c;
  --red: #ff5757;
  --shadow: 0 24px 80px rgba(56, 42, 82, 0.18);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}
body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  font-family: "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 206, 61, 0.2), transparent 34%),
    radial-gradient(circle at 90% 0%, rgba(160, 112, 240, 0.22), transparent 32%),
    linear-gradient(180deg, #fff8f2 0%, #f8f1ff 48%, #fffdf8 100%);
  overflow-x: hidden;
  overflow-x: clip;
}

body,
main,
section,
.site-header,
.site-footer {
  max-width: 100vw;
}

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

.container {
  width: calc(100% - 40px);
  max-width: 1160px;
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 18px;
  top: -80px;
  background: var(--ink);
  color: white;
  padding: 10px 14px;
  border-radius: 999px;
  z-index: 20;
}
.skip-link:focus { top: 18px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(255, 248, 242, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.site-header.is-scrolled {
  background: rgba(255, 248, 242, 0.9);
  border-bottom-color: var(--line);
}
.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand img { width: 190px; }
.nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-weight: 800;
  font-size: 0.95rem;
}
.nav a:hover { color: var(--ink); }
.header-cta {
  padding: 11px 18px;
  border-radius: 999px;
  color: white;
  background: var(--ink);
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(28, 28, 46, 0.16);
}

.hero {
  position: relative;
  padding: 78px 0 52px;
  isolation: isolate;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.88fr);
  gap: 54px;
  align-items: center;
}
.hero-copy h1,
.section-heading h2,
.privacy-grid h2,
.community-card h2,
.download-grid h2 {
  font-family: "Fredoka", system-ui, sans-serif;
  letter-spacing: -0.045em;
  line-height: 0.94;
}
.hero-copy h1 {
  margin: 0;
  font-size: clamp(3.2rem, 7vw, 6.8rem);
  max-width: 860px;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--purple);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.82rem;
}
.hero-lede {
  margin: 24px 0 0;
  max-width: 660px;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.32rem);
  line-height: 1.55;
  font-weight: 700;
}
.hero-actions,
.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 950;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
  background: linear-gradient(135deg, var(--purple), #ff6bb5);
  color: white;
  box-shadow: 0 16px 34px rgba(160, 112, 240, 0.34);
}
.button-soft {
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  border: 1px solid rgba(28, 28, 46, 0.1);
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.trust-row span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 850;
  font-size: 0.92rem;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(12px);
  z-index: -1;
}
.hero-glow-one {
  width: 340px;
  height: 340px;
  background: rgba(77, 166, 255, 0.22);
  left: 0;
  top: 180px;
}
.hero-glow-two {
  width: 420px;
  height: 420px;
  background: rgba(255, 87, 87, 0.12);
  right: 0;
  top: 40px;
}

.phone-stage {
  position: relative;
  min-height: 650px;
  display: grid;
  place-items: center;
}
.rainbow-orbit {
  position: absolute;
  width: min(560px, 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(var(--red), var(--orange), var(--yellow), var(--green), var(--blue), var(--purple), var(--red));
  opacity: 0.18;
  filter: blur(8px);
}
.iphone-showcase {
  position: relative;
  width: min(620px, 100%);
  min-height: 620px;
}
.iphone-trio {
  perspective: 1200px;
}
.iphone-device {
  position: absolute;
  top: 74px;
  margin: 0;
  padding: 10px;
  width: 232px;
  aspect-ratio: 314 / 682;
  border-radius: 44px;
  background: linear-gradient(135deg, #f4f1ea 0%, #c9c1b7 18%, #faf7ef 38%, #8f887f 62%, #f3eee5 100%);
  box-shadow:
    0 22px 56px rgba(28, 28, 46, 0.2),
    inset 0 0 0 2px rgba(255,255,255,0.68),
    inset 0 0 0 4px rgba(0,0,0,0.08);
}
.iphone-device::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 38px;
  background: #11111d;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}
.iphone-device-main {
  z-index: 5;
  left: 50%;
  top: 18px;
  width: 282px;
  transform: translateX(-50%);
}
.iphone-device-left {
  z-index: 3;
  left: 0;
  transform: none;
}
.iphone-device-right {
  z-index: 3;
  right: 0;
  transform: none;
}
.iphone-action-button {
  position: absolute;
  left: -4px;
  top: 112px;
  width: 5px;
  height: 48px;
  border-radius: 5px 0 0 5px;
  background: linear-gradient(180deg, #bbb4aa, #736d66);
  box-shadow: 0 10px 20px rgba(0,0,0,0.18);
}
.iphone-camera-island {
  position: absolute;
  z-index: 6;
  top: 20px;
  left: 50%;
  width: 88px;
  height: 27px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #08080f;
  box-shadow: 0 2px 10px rgba(0,0,0,0.22);
}
.iphone-camera-island span {
  position: absolute;
  right: 12px;
  top: 9px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #445a7a, #05060a 65%);
}
.iphone-screen-glass {
  position: relative;
  z-index: 5;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 34px;
  background: #11111d;
}
.iphone-device-main .iphone-screen-glass {
  border-radius: 38px;
}
.iphone-screen-glass::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(255,255,255,0.16), transparent 28%, transparent 76%, rgba(255,255,255,0.06));
  mix-blend-mode: screen;
}
.iphone-screen-glass img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: top center;
}
.floating-card {
  position: absolute;
  z-index: 2;
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 40px rgba(56, 42, 82, 0.16);
  backdrop-filter: blur(18px);
}
.floating-card strong,
.floating-card span { display: block; }
.floating-card span { color: var(--muted); font-weight: 750; font-size: 0.9rem; }
.floating-card-one { left: 0; top: 100px; }
.floating-card-two { right: 0; bottom: 118px; }

.section { padding: 82px 0; }
.stats-section { padding: 34px 0 72px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.stats-grid div {
  padding: 26px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--line);
}
.stats-grid strong {
  display: block;
  font-family: "Fredoka", system-ui, sans-serif;
  font-size: 3rem;
  line-height: 1;
}
.stats-grid span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 800;
}
.section-heading {
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center;
}
.section-heading.align-left { text-align: left; margin: 0; }
.section-heading h2,
.privacy-grid h2,
.community-card h2,
.download-grid h2 {
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
}
.section-heading p:not(.eyebrow),
.large-copy,
.community-card p,
.download-grid p {
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.6;
  font-weight: 750;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature-card {
  padding: 26px;
  min-height: 260px;
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 50px rgba(56, 42, 82, 0.08);
}
.icon-bubble {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, #fff, #f0e8ff);
  font-size: 1.45rem;
  box-shadow: 0 10px 28px rgba(160, 112, 240, 0.14);
}
.feature-card h3 {
  margin: 24px 0 10px;
  font-size: 1.45rem;
}
.feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
  font-weight: 730;
}

.privacy-section {
  background: linear-gradient(135deg, rgba(28, 28, 46, 0.96), rgba(69, 47, 111, 0.95));
  color: white;
  border-radius: 44px;
  width: min(1240px, calc(100% - 24px));
  margin: 30px auto;
}
.privacy-section .eyebrow { color: #ffce3d; }
.privacy-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 54px;
  align-items: start;
}
.privacy-grid .large-copy { color: rgba(255, 255, 255, 0.76); }
.privacy-list {
  display: grid;
  gap: 12px;
}
.privacy-list div {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  align-items: center;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.privacy-list span {
  color: #ffce3d;
  font-weight: 950;
}
.privacy-list p { margin: 0; font-weight: 800; color: rgba(255,255,255,0.86); }

.showcase-grid {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: 42px;
  align-items: center;
}
.image-mosaic {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 14px;
}
.image-mosaic img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 18px 50px rgba(56, 42, 82, 0.12);
}
.image-mosaic img:first-child { height: 520px; grid-row: span 2; }

.community-card,
.download-grid {
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}
.community-card {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 34px;
  padding: clamp(28px, 5vw, 54px);
}
.steps { display: grid; gap: 14px; }
.steps div {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-radius: 22px;
  background: #fffdf8;
}
.steps span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--purple);
  font-weight: 950;
}
.steps p { margin: 0; }
.download-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 34px;
  align-items: center;
  padding: clamp(28px, 5vw, 54px);
}
.qr-card {
  padding: 18px;
  border-radius: 28px;
  background: white;
  text-align: center;
}
.qr-card img {
  width: 100%;
  border-radius: 20px;
}
.qr-card p {
  margin: 12px 0 0;
  font-size: 0.95rem;
}

.site-footer {
  padding: 44px 0;
  background: var(--ink);
  color: white;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 54px;
  align-items: start;
}
.footer-grid img { width: 190px; margin-bottom: 12px; }
.footer-grid p,
.footer-grid a,
.footer-grid span {
  color: rgba(255,255,255,0.72);
  font-weight: 750;
}
.footer-grid strong,
.footer-grid a,
.footer-grid span { display: block; margin-bottom: 7px; }

@media (max-width: 920px) {
  .nav { display: none; }
  .hero-grid,
  .privacy-grid,
  .showcase-grid,
  .community-card,
  .download-grid { grid-template-columns: 1fr; }
  .phone-stage { min-height: 640px; }
  .iphone-showcase { width: min(620px, 100%); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .image-mosaic img:first-child { height: 340px; }
}

@media (max-width: 620px) {
  .container {
    width: calc(100% - 28px);
    max-width: 100%;
  }
  .header-inner { min-height: 66px; }
  .brand img { width: 156px; }
  .header-cta { display: none; }
  .hero {
    padding-top: 52px;
    width: 100%;
    max-width: 100vw;
  }
  .hero-glow { display: none; }
  .hero-copy h1 { font-size: 3.25rem; }
  .hero-actions,
  .download-actions { flex-direction: column; }
  .button { width: 100%; }
  .feature-grid { grid-template-columns: 1fr; }
  .phone-stage {
    width: 100%;
    max-width: 100%;
    min-height: 430px;
    overflow: visible;
    place-items: start center;
  }
  .rainbow-orbit {
    width: min(360px, 94vw);
    height: 360px;
    max-width: 100%;
    top: 34px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 42px;
    opacity: 0.2;
    filter: blur(7px);
    background:
      radial-gradient(circle at 24% 22%, rgba(255, 206, 61, 0.42), transparent 34%),
      radial-gradient(circle at 82% 18%, rgba(160, 112, 240, 0.36), transparent 38%),
      radial-gradient(circle at 76% 78%, rgba(77, 166, 255, 0.3), transparent 38%),
      radial-gradient(circle at 22% 78%, rgba(58, 212, 130, 0.26), transparent 36%),
      linear-gradient(135deg, rgba(255, 87, 87, 0.2), rgba(255, 255, 255, 0.08));
  }
  .iphone-showcase {
    width: 100%;
    max-width: 390px;
    min-height: 420px;
    margin: 0 auto;
    overflow: visible;
  }
  .iphone-device {
    width: clamp(108px, 30vw, 128px);
    padding: 5px;
    border-radius: 24px;
    top: 98px;
  }
  .iphone-device::before { inset: 3px; border-radius: 21px; }
  .iphone-device-main {
    width: clamp(154px, 43vw, 176px);
    top: 42px;
  }
  .iphone-device-left { left: 10px; }
  .iphone-device-right { right: 10px; }
  .iphone-screen-glass,
  .iphone-device-main .iphone-screen-glass { border-radius: 18px; }
  .iphone-camera-island { top: 10px; width: 54px; height: 17px; }
  .iphone-camera-island span { width: 6px; height: 6px; right: 8px; top: 6px; }
  .iphone-action-button { top: 60px; height: 30px; }
  .floating-card { display: none; }
  .image-mosaic { grid-template-columns: 1fr; }
  .image-mosaic img,
  .image-mosaic img:first-child { height: 250px; }
  .privacy-section { border-radius: 28px; }
  .section { padding: 58px 0; }
}

.faq-section {
  padding-top: 70px;
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.faq-card {
  padding: 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 46px rgba(56, 42, 82, 0.12);
}
.faq-card h3 {
  margin: 0 0 10px;
  font-size: 1.24rem;
}
.faq-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 750;
}
@media (max-width: 620px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-card { padding: 20px; border-radius: 22px; }
}
