/* IDSG! — award-winning marketing redesign
   Brand DNA from the app: sky blue → aqua teal */

:root {
  --blue: #22affa;
  --aqua: #01dbc5;
  --deep: #063a4a;
  --ink: #0b2a33;
  --mist: #e8f7fb;
  --foam: #f4fcfe;
  --white: #ffffff;
  --line: rgba(6, 58, 74, 0.12);
  --glow: rgba(34, 175, 250, 0.45);
  --font-display: "Fraunces", Georgia, serif;
  --font-sans: "Sora", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 4.25rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.55;
  background: var(--foam);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--white);
  padding: 0.75rem 1rem;
  z-index: 100;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
}

/* —— Header —— */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  background: transparent;
  color: var(--white);
  transition: background 0.35s var(--ease), color 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(244, 252, 254, 0.82);
  color: var(--ink);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.75rem);
}

.nav a {
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  opacity: 0.88;
}

.nav a:hover {
  opacity: 1;
}

.nav-cta {
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.site-header.is-scrolled .nav-cta {
  background: linear-gradient(135deg, var(--blue), var(--aqua));
  color: var(--white);
  border-color: transparent;
}

@media (max-width: 720px) {
  .nav a:not(.nav-cta) {
    display: none;
  }
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding:
    calc(var(--header-h) + 1.25rem)
    clamp(1.25rem, 4vw, 3rem)
    clamp(1.25rem, 4vw, 2.5rem);
  overflow: clip;
  color: var(--white);
  isolation: isolate;
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      155deg,
      #0f7fd4 0%,
      #1aa8e8 38%,
      #12c4c8 72%,
      #0bb8a8 100%
    );
}

.bloom {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  pointer-events: none;
  animation: drift 14s ease-in-out infinite;
}

.bloom-a {
  width: 42vw;
  height: 42vw;
  top: -12%;
  left: -8%;
  background: radial-gradient(circle, #7ad4ff 0%, transparent 70%);
}

.bloom-b {
  width: 36vw;
  height: 36vw;
  right: -6%;
  bottom: 8%;
  background: radial-gradient(circle, #7ff3e4 0%, transparent 70%);
  animation-delay: -4s;
}

.bloom-c {
  width: 28vw;
  height: 28vw;
  left: 38%;
  top: 28%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.45) 0%, transparent 70%);
  animation-delay: -7s;
  opacity: 0.35;
}

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(2%, -3%, 0) scale(1.06);
  }
}

.hero-copy {
  max-width: 36rem;
  padding-bottom: clamp(0.5rem, 3vh, 2rem);
  animation: rise 0.9s var(--ease) both;
}

.brand-name {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: clamp(2.5rem, 7vw, 4.75rem);
  line-height: 0.95;
}

.brand-hero {
  margin: 0 0 0.85rem;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(4.25rem, 12vw, 8.5rem);
  line-height: 0.88;
  letter-spacing: -0.04em;
  text-shadow: 0 12px 40px rgba(4, 40, 55, 0.18);
}

.hero-title {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: clamp(1.55rem, 3.4vw, 2.35rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-wrap: balance;
  opacity: 0.96;
  max-width: 18ch;
}

.hero-lede {
  margin: 0 0 1.75rem;
  max-width: 28rem;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.5;
  opacity: 0.95;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.store-badge {
  display: inline-block;
  transition: transform 0.35s var(--ease);
}

.store-badge:hover {
  transform: translateY(-2px);
}

.store-badge img {
  height: 3.5rem;
  width: auto;
}

.hero-meta {
  margin: 0;
  font-size: 0.8rem;
  opacity: 0.8;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 0;
  height: min(78svh, 760px);
  animation: rise 1s var(--ease) 0.12s both;
}

.phone-stage {
  position: relative;
  width: min(100%, 420px);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-glow {
  position: absolute;
  inset: 18% -10% -5%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.55), transparent 68%);
  filter: blur(18px);
  pointer-events: none;
}

.phone {
  margin: 0;
  position: relative;
  width: min(100%, 340px);
  filter: drop-shadow(0 36px 60px rgba(4, 40, 55, 0.35));
  animation: floaty 6.5s ease-in-out infinite;
  transform-origin: center center;
}

.phone img {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    align-items: start;
    min-height: auto;
    padding-bottom: 0;
  }

  .hero-copy {
    padding-bottom: 0.5rem;
    text-align: left;
  }

  .hero-visual {
    margin-top: 1.25rem;
    height: auto;
    max-height: min(58svh, 520px);
    overflow: hidden;
    align-items: flex-start;
  }

  .phone-stage {
    width: min(72vw, 280px);
    height: auto;
    align-items: flex-start;
  }

  .phone {
    width: 100%;
    animation: none;
  }

  .phone img {
    width: 100%;
    height: auto;
  }
}

/* —— Sections —— */
.section {
  padding: clamp(4.5rem, 10vw, 7.5rem) clamp(1.25rem, 4vw, 3rem);
}

.section-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1789b8;
}

.section h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--deep);
  text-wrap: balance;
}

.section-lede {
  margin: 0;
  max-width: 36rem;
  font-size: 1.125rem;
  color: rgba(11, 42, 51, 0.78);
}

.how {
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(34, 175, 250, 0.12), transparent 55%),
    var(--foam);
}

.steps {
  list-style: none;
  margin: 3.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 2.75rem);
  counter-reset: none;
}

.step {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.step-num {
  display: block;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #1789b8;
}

.step h3 {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 650;
  color: var(--deep);
}

.step p {
  margin: 0;
  color: rgba(11, 42, 51, 0.75);
}

@media (max-width: 800px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* —— Interactive proof —— */
.proof {
  background: linear-gradient(180deg, #063a4a 0%, #0a5568 48%, #0d6d78 100%);
  color: var(--white);
}

.proof .eyebrow {
  color: #7fe8de;
}

.proof h2 {
  color: var(--white);
}

.proof .section-lede {
  color: rgba(255, 255, 255, 0.82);
}

.proof-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 6vw, 4rem);
  align-items: center;
}

.live-phone {
  justify-self: center;
  width: min(100%, 320px);
}

.live-screen {
  aspect-ratio: 9 / 17.5;
  border-radius: 2.4rem;
  padding: 2.4rem 1.5rem 1.5rem;
  background: linear-gradient(180deg, #22affa 0%, #01dbc5 100%);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.28);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.live-stats {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  text-align: center;
  margin-bottom: auto;
  padding-top: 0.5rem;
}

.live-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 400;
  opacity: 0.95;
}

.live-count {
  display: block;
  margin-top: 0.35rem;
  font-size: clamp(2.8rem, 8vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.good-btn {
  appearance: none;
  width: min(72%, 210px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, 0.95);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  display: grid;
  place-items: center;
  margin: 0 auto 1.25rem;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.35);
}

.good-btn span {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(0.95rem, 2.8vw, 1.15rem);
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-align: center;
}

.good-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.good-btn:active,
.good-btn.is-pressed {
  transform: scale(0.94);
  background: rgba(255, 255, 255, 0.2);
}

.good-btn.is-pulse {
  animation: pulseRing 0.55s var(--ease);
}

@keyframes pulseRing {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.45);
  }
  100% {
    box-shadow: 0 0 0 28px rgba(255, 255, 255, 0);
  }
}

.live-hint {
  margin: 0;
  font-size: 0.75rem;
  opacity: 0.8;
}

@media (max-width: 800px) {
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .live-phone {
    order: -1;
  }
}

/* —— Why —— */
.why {
  background:
    linear-gradient(180deg, var(--mist), var(--foam));
}

.why-lede {
  margin-bottom: 2.5rem;
}

.audience {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  overflow: hidden;
}

.audience li {
  margin: 0;
  padding: 1.35rem 1.5rem;
  background: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--deep);
}

@media (max-width: 640px) {
  .audience {
    grid-template-columns: 1fr;
  }
}

/* —— FAQ —— */
.faq {
  background: var(--foam);
}

.faq-list {
  margin-top: 2.5rem;
  max-width: 40rem;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 0;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 1.75rem 1.25rem 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 650;
  color: var(--deep);
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-sans);
  font-size: 1.35rem;
  font-weight: 500;
  color: #1789b8;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 0 0 1.35rem;
  max-width: 36rem;
  color: rgba(11, 42, 51, 0.78);
  line-height: 1.55;
}

/* —— CTA band —— */
.cta-band {
  position: relative;
  overflow: clip;
  background: linear-gradient(145deg, #1a9ef5, #01dbc5);
  color: var(--white);
  text-align: center;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.28), transparent 45%);
  pointer-events: none;
  animation: drift 16s ease-in-out infinite;
}

.cta-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.cta-brand {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  margin: 0;
}

.cta-band h2 {
  color: var(--white);
  margin: 0;
}

.cta-band p {
  margin: 0 0 0.75rem;
  max-width: 28rem;
  opacity: 0.95;
}

/* —— Footer —— */
.site-footer {
  background: var(--deep);
  color: rgba(255, 255, 255, 0.82);
  padding: 3rem clamp(1.25rem, 4vw, 3rem) 2rem;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
}

.footer-brand .brand-name {
  display: block;
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  margin: 0;
  max-width: 28rem;
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin-top: 0.5rem;
}

.copyright,
.site-credit {
  margin: 0;
  font-size: 0.8rem;
  opacity: 0.65;
}

.site-credit a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
}

.site-credit a:hover {
  text-decoration: underline;
}

/* —— Reveal on scroll —— */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-reveal].is-in {
  opacity: 1;
  transform: translateY(0);
}

.steps [data-reveal]:nth-child(2) {
  transition-delay: 0.08s;
}

.steps [data-reveal]:nth-child(3) {
  transition-delay: 0.16s;
}

/* —— Inner pages —— */
.page-hero {
  padding:
    calc(var(--header-h) + 3rem)
    clamp(1.25rem, 4vw, 3rem)
    2.5rem;
  background: linear-gradient(165deg, #1a9ef5, #01dbc5);
  color: var(--white);
}

.page-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  letter-spacing: -0.03em;
}

.page-hero p {
  margin: 0.75rem 0 0;
  max-width: 36rem;
  opacity: 0.92;
}

.page-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem clamp(1.25rem, 4vw, 3rem) 5rem;
}

.page-body h2 {
  margin: 2.5rem 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--deep);
}

.page-body p,
.page-body li {
  color: rgba(11, 42, 51, 0.82);
}

.page-body ul,
.page-body ol {
  padding-left: 1.2rem;
}

.page-body a {
  color: #0f7eaa;
}

.site-header.on-light {
  color: var(--ink);
}

.site-header.on-light.is-scrolled,
.site-header.on-light {
  background: rgba(244, 252, 254, 0.9);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.site-header.on-light .nav-cta {
  background: linear-gradient(135deg, var(--blue), var(--aqua));
  color: var(--white);
  border-color: transparent;
}

.support-blocks {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

.support-block h2 {
  margin-top: 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .bloom,
  .phone,
  .cta-band::before,
  .good-btn.is-pulse {
    animation: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-copy,
  .hero-visual {
    animation: none;
  }
}
