/* ==========================================================================
   Vimblu landing page
   Mobile-first. Every media query below is min-width: the phone layout is the
   base stylesheet, larger screens only add to it.
   ========================================================================== */

:root {
  /* Palette lifted from the mockups: pastel dawn sky, indigo ink, rose accent. */
  --ink: #322a5e;
  --ink-soft: #5d5583;
  --ink-mute: #7a739b;

  --rose: #ee5285;
  --rose-deep: #d6386b;
  --lilac: #8b7fd4;
  --violet: #6f5fc4;

  --sky-1: #cfe0f8;
  --sky-2: #ded8f8;
  --sky-3: #f1dcf0;
  --sky-4: #fbdfe1;
  --sky-5: #f3e5f6;

  --glass: rgba(255, 255, 255, .58);
  --glass-strong: rgba(255, 255, 255, .8);
  --glass-line: rgba(255, 255, 255, .8);

  --shadow-sm: 0 2px 10px rgba(76, 58, 130, .08);
  --shadow-md: 0 14px 40px -14px rgba(76, 58, 130, .28);
  --shadow-lg: 0 40px 80px -30px rgba(76, 58, 130, .42);
  --shadow-rose: 0 14px 30px -10px rgba(214, 56, 107, .55);

  --r-sm: 14px;
  --r-md: 22px;
  --r-lg: 30px;
  --r-pill: 999px;

  --wrap: 1180px;
  --gut: 20px;
  --header-h: 66px;

  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  /* The app has no bundled font — the wordmark is art, and everything else is
     the system rounded face (SF Pro Rounded, per VimbluLogo6's SVG and the
     `design: .rounded` calls in MainScreen). `ui-rounded` gets the genuine
     article on Apple devices; Baloo 2 stands in elsewhere. */
  --font-round: ui-rounded, "SF Pro Rounded", "Baloo 2", "Nunito", -apple-system, system-ui, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Anchor targets must clear the sticky header. */
  scroll-padding-top: calc(var(--header-h) + 14px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--sky-2);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3,
h4 {
  color: var(--ink);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.5rem, 11vw, 4.5rem);
  letter-spacing: -.035em;
}

h2 {
  font-size: clamp(1.85rem, 6.6vw, 3rem);
  letter-spacing: -.03em;
}

h3 {
  font-size: 1.16rem;
}

p {
  margin: 0 0 1em;
}

em {
  font-style: normal;
  background: linear-gradient(100deg, var(--rose) 0%, var(--violet) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

a {
  color: var(--violet);
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  box-shadow: var(--shadow-md);
  transform: translateY(-160%);
  transition: transform .2s;
}

.skip-link:focus {
  transform: none;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.wrap--narrow {
  max-width: 780px;
}

/* ==========================================================================
   Ambient background
   Fixed so it never re-paints while scrolling, and so the gradient reads as
   one continuous sky behind the whole page instead of repeating per section.
   ========================================================================== */

.sky {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg,
      var(--sky-1) 0%,
      var(--sky-2) 22%,
      var(--sky-3) 45%,
      var(--sky-4) 68%,
      var(--sky-5) 100%);
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .55;
}

.blob--1 {
  width: 60vw;
  height: 60vw;
  top: -14vw;
  right: -18vw;
  background: radial-gradient(circle, #f7c3d6, transparent 68%);
}

.blob--2 {
  width: 70vw;
  height: 70vw;
  top: 32vh;
  left: -30vw;
  background: radial-gradient(circle, #c3cdf7, transparent 68%);
}

.blob--3 {
  width: 55vw;
  height: 55vw;
  bottom: -12vw;
  right: -14vw;
  background: radial-gradient(circle, #e4c9f7, transparent 68%);
}

/* Fine noise stops the big gradients from banding on cheap panels. */
.grain {
  position: absolute;
  inset: 0;
  opacity: .35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.32'/%3E%3C/svg%3E");
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}

.site-header.is-stuck {
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .6), var(--shadow-sm);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
}

/* The lockup from the app: a round badge holding the heart glyph, then the
   wordmark. The app draws it white-on-translucent because it sits on the pink
   gradient; this header is on a pale ground, so the badge takes the pink and
   the glyph goes white. `mask` rather than <img> so the one asset can be any
   colour — white here, brand ink nowhere yet, but the footer may want it. */
.brand-mark {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #f4699a, var(--rose) 55%, var(--rose-deep));
  box-shadow: var(--shadow-rose);
  position: relative;
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: 0;
}

/* The real wordmark, not a webfont approximation. It ships as a white PNG, so
   it is masked rather than placed as an <img> — that way the one asset renders
   ink on the pale header and white on the pink panel, from a single file.
   Aspect is 711:183; keep width and height in that ratio. */
.brand-name {
  display: block;
  width: 105px;
  height: 27px;
}

/* Both marks are painted as currentColor showing through a mask. Guarded,
   because without mask support the same declarations would paint a solid
   rectangle where the logo should be. */
@supports ((-webkit-mask-image: url("")) or (mask-image: url(""))) {

  /* heart-mark.png carries ~10% transparent padding on each side, so only 78%
     of the file is ink. Sizing the mask past 100% cancels that padding out —
     at 84% the glyph lands at roughly 65% of the badge, which is what reads
     correctly. `contain` would leave it looking undersized. */
  .brand-mark::before {
    background: currentColor;
    -webkit-mask: url("../img/heart-mark.png") center/84% no-repeat;
    mask: url("../img/heart-mark.png") center/84% no-repeat;
  }

  /* The wordmark takes the badge's own gradient rather than the body ink, so
     the two halves of the lockup read as one object. Being a mask, it can be
     any paint — a flat colour, or this. */
  .brand-name {
    background: linear-gradient(100deg, #f4699a 0%, var(--rose) 45%, var(--rose-deep) 100%);
    /* WebP at 426px, not the 711px PNG it replaced: the lockup renders at
       ~105px, so this covers a 4x screen, and being a mask only the alpha is
       ever read - the PNG spent 128KB carrying colour that was discarded.
       tools/source-art/ keeps the full size original. */
    -webkit-mask: url("../img/vimblu-wordmark.webp") left center/contain no-repeat;
    mask: url("../img/vimblu-wordmark.webp") left center/contain no-repeat;
  }
}

/* --- Nav: full-screen sheet on mobile, inline row from 900px up --- */

.nav {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  display: grid;
  gap: 2px;
  padding: 14px var(--gut) 22px;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  transform: translateY(-14px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s, transform .22s, visibility .22s;
}

.nav.is-open {
  transform: none;
  opacity: 1;
  visibility: visible;
}

.nav a {
  color: var(--ink);
  font-weight: 600;
  padding: 13px 6px;
  border-radius: var(--r-sm);
  border-bottom: 1px solid rgba(120, 110, 170, .12);
}

.nav a:last-child {
  border-bottom: 0;
}

.nav .nav-cta {
  margin-top: 10px;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, var(--rose), var(--rose-deep));
  border-radius: var(--r-pill);
  border-bottom: 0;
  box-shadow: var(--shadow-rose);
}

.menu-toggle {
  width: 44px;
  height: 44px;
  display: grid;
  place-content: center;
  gap: 5px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, .6);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .25s, opacity .2s;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 26px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  white-space: nowrap;
  transition: transform .2s, box-shadow .2s, background .2s;
}

.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, #f4699a 0%, var(--rose) 45%, var(--rose-deep) 100%);
  box-shadow: var(--shadow-rose);
}

.btn--ghost {
  color: var(--ink);
  background: var(--glass-strong);
  border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}

.btn--lg {
  padding: 18px 34px;
  font-size: 1.06rem;
}

.btn-arrow {
  width: 18px;
  height: 18px;
  transition: transform .2s;
}

@media (hover: hover) {
  .btn:hover {
    transform: translateY(-2px);
  }

  .btn--primary:hover {
    box-shadow: 0 20px 40px -12px rgba(214, 56, 107, .65);
  }

  .btn:hover .btn-arrow {
    transform: translateX(3px);
  }
}

.btn:active {
  transform: translateY(0) scale(.985);
}

/* ==========================================================================
   Shared section furniture
   ========================================================================== */

.section {
  padding: 64px 0;
}

.section-head {
  max-width: 730px;
  margin: 0 auto 36px;
  text-align: center;
}

/* The four-step chain needs the extra room to stay on one line, otherwise it
   wraps and leaves an arrow dangling at the end of a line. */
.section-head--flow {
  max-width: 960px;
}

.section-sub {
  font-size: 1.05rem;
  margin: 0;
  text-wrap: balance;
}

.kicker {
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--lilac);
  margin: 0 0 .7em;
}

.arrow {
  color: var(--lilac);
  font-weight: 400;
  padding: 0 .06em;
}

.card {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--glass-line);
  border-radius: var(--r-lg);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: var(--shadow-md);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px 8px 12px;
  margin: 0 0 20px;
  border-radius: var(--r-pill);
  background: var(--glass-strong);
  border: 1px solid var(--glass-line);
  box-shadow: var(--shadow-sm);
  font-size: .84rem;
  font-weight: 700;
  color: var(--ink);
}

.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2ecf7d;
  box-shadow: 0 0 0 0 rgba(46, 207, 125, .6);
  animation: pulse 2.2s infinite;
  flex: none;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 9px rgba(46, 207, 125, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(46, 207, 125, 0);
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  padding: 30px 0 20px;
}

.hero-copy {
  text-align: center;
}

.lede {
  font-size: 1.08rem;
  max-width: 34em;
  margin-inline: auto;
}

.lede strong {
  color: var(--ink);
  font-weight: 700;
}

.cta-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 28px 0 22px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink-mute);
}

.trust-row li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.trust-row li::before {
  content: "";
  width: 15px;
  height: 15px;
  flex: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, .85) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236f5fc4' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7'/%3E%3C/svg%3E") center/10px no-repeat;
}

/* --- Hero visual --- */

/* Widths are tuned to the render's aspect, now 478:913 after the bezel crop.
   Trimming the frame made the phone relatively taller, so these came down to
   hold the same on-screen height as before. */
.hero-visual {
  position: relative;
  margin: 26px auto 0;
  max-width: 315px;
}

/* The render's own bezel is ~24px on a 506px body, which reads as an old phone.
   Trimming it by cropping does not work: a rectangular crop thins the straight
   edges but leaves the corners at full thickness, and faking the corner back in
   with border-radius cannot match a photographed curve — measured across the
   four corners it fitted 6-8px with the white backdrop reaching 14-20px, all
   different. So the image is cropped to the *screen only* and the frame is
   drawn, exactly like the trio phones. The bezel is then one number and is
   identical on every edge and corner. Original render kept in tools/. */
.hero-phone {
  padding: 2.2%;
  border-radius: 15.5% / 8.1%;
  background: linear-gradient(150deg, #5b5286 0%, #2b2545 42%, #4d4576 100%);
  box-shadow: 0 30px 60px -24px rgba(76, 58, 130, .55);
}

.hero-phone img {
  display: block;
  width: 100%;
  /* Outer radius less the padding, as a share of the screen rather than the frame. */
  border-radius: 13.9% / 7.1%;
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: var(--shadow-md);
  font-size: .78rem;
  line-height: 1.35;
  color: var(--ink-soft);
  animation: bob 5s ease-in-out infinite;
}

.float-card strong {
  color: var(--ink);
  font-weight: 800;
}

.float-card--online {
  top: 12%;
  left: -6px;
}

.float-card--liked {
  bottom: 16%;
  right: -6px;
  animation-delay: -2.5s;
}

.float-heart {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 50%;
  font-size: .75rem;
  color: #fff;
  background: linear-gradient(135deg, #f4699a, var(--rose-deep));
}

@keyframes bob {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-9px);
  }
}

.heart,
.spark {
  position: absolute;
  pointer-events: none;
}

.heart {
  color: #f5799f;
  filter: drop-shadow(0 6px 10px rgba(214, 56, 107, .28));
  animation: drift 7s ease-in-out infinite;
}

.heart--1 {
  top: 6%;
  right: 8%;
  font-size: 1.5rem;
}

.heart--2 {
  top: 46%;
  right: 0;
  font-size: 1.05rem;
  opacity: .8;
  animation-delay: -2s;
}

.heart--3 {
  bottom: 6%;
  left: 6%;
  font-size: 1.25rem;
  opacity: .85;
  animation-delay: -4s;
}

@keyframes drift {

  0%,
  100% {
    transform: translateY(0) rotate(-6deg);
  }

  50% {
    transform: translateY(-16px) rotate(6deg);
  }
}

.spark {
  width: 16px;
  height: 16px;
  background: radial-gradient(circle, #fff 0%, rgba(255, 255, 255, 0) 70%);
  animation: twinkle 3.4s ease-in-out infinite;
}

.spark::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(#fff, #fff) center/2px 100% no-repeat,
    linear-gradient(#fff, #fff) center/100% 2px no-repeat;
  -webkit-mask: radial-gradient(circle, #000 0%, transparent 62%);
  mask: radial-gradient(circle, #000 0%, transparent 62%);
}

.spark--1 {
  top: 16%;
  right: 22%;
}

.spark--2 {
  bottom: 26%;
  left: 2%;
  animation-delay: -1.7s;
}

@keyframes twinkle {

  0%,
  100% {
    transform: scale(.6);
    opacity: .35;
  }

  50% {
    transform: scale(1.1);
    opacity: 1;
  }
}

/* ==========================================================================
   Steps
   ========================================================================== */

.steps {
  display: grid;
  gap: 16px;
}

.step {
  padding: 30px 24px 26px;
}

.step-num {
  position: absolute;
  top: -14px;
  left: 24px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: var(--font-round);
  font-weight: 800;
  font-size: 1.05rem;
  color: #fff;
  background: linear-gradient(135deg, #f4699a, var(--rose-deep));
  box-shadow: var(--shadow-rose);
}

.step-icon,
.feature-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 16px;
  border-radius: 16px;
  color: var(--violet);
  background: linear-gradient(150deg, rgba(255, 255, 255, .95), rgba(233, 226, 253, .85));
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: var(--shadow-sm);
}

.step-icon svg,
.feature-icon svg {
  width: 25px;
  height: 25px;
}

.step p,
.feature p {
  margin: 0;
  font-size: .97rem;
}

/* ==========================================================================
   Split section
   ========================================================================== */

.split {
  display: grid;
  gap: 34px;
}

.split-copy {
  text-align: center;
}

.split-media {
  position: relative;
}

/* ==========================================================================
   Flow phones
   The three screens in the "why video" section, drawn in markup instead of
   shipped as a render — a render kept drifting from the flow described above
   it, and this one can be corrected in a text editor.

   Everything inside a phone is sized in `em`, and the em is a share of the
   phone's own width via `cqw`. So one number — .pf-screen's font-size — scales
   the entire screen, and the phones stay legible from 110px to 200px wide.
   The px font-size before it is the fallback where container units are missing.
   ========================================================================== */

.flow-phones {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 3.5%;
}

.pf {
  container-type: inline-size;
  position: relative;
  aspect-ratio: 41 / 86;
  padding: 2.4%;
  border-radius: 15% / 7.2%;
  background: linear-gradient(150deg, #5b5286 0%, #2b2545 42%, #4d4576 100%);
  box-shadow: 0 18px 32px -14px rgba(60, 45, 110, .55);
}

/* A slight stagger, so the row reads as a group rather than a filmstrip. */
.pf--side {
  transform: translateY(4%);
}

.pf-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 12.6% / 6%;
  display: flex;
  flex-direction: column;
  font-size: 11px;
  font-size: 8.2cqw;
  line-height: 1.25;
  color: var(--ink);
  background: linear-gradient(170deg, #e6dbf7 0%, #f1dcef 42%, #f9dfe4 72%, #eee1f8 100%);
}

.pf-island {
  position: absolute;
  top: 2.4%;
  left: 50%;
  transform: translateX(-50%);
  width: 32%;
  height: 3.2%;
  border-radius: var(--r-pill);
  background: #191428;
  z-index: 4;
}

/* ---- 1. Like: the profile photo is the screen, not a card on it ---- */

.pf-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.pf-profile-foot {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  /* Generous bottom padding lifts the name and button off the screen edge;
     the scrim still runs to the bottom so the photo stays covered. */
  padding: 1.3em .6em 3.2em;
  text-align: center;
  /* Scrim so the name and button stay readable whatever the photo does. */
  background: linear-gradient(to top, rgba(38, 22, 62, .82) 12%, rgba(38, 22, 62, .45) 55%, transparent);
}

/* Proportions measured off the reference render, as a share of the screen:
   name 37% of screen width, pill 79% wide and 9.5% of screen height, sitting
   12% up from the bottom. Keep those ratios if any of this is retuned. */
.pf-profile-name {
  margin: 0 0 .2em;
  font-size: 2.3em;
  font-weight: 500;
  letter-spacing: -.01em;
  color: #fff;
  text-shadow: 0 2px 8px rgba(40, 25, 70, .5);
}

.pf-connect {
  display: inline-flex;
  width: 88%;
  align-items: center;
  justify-content: center;
  gap: .45em;
  padding: .68em .7em;
  border-radius: var(--r-pill);
  font-size: .95em;
  font-weight: 700;
  letter-spacing: -.01em;
  color: #fff;
  background: linear-gradient(135deg, #f4699a, var(--rose) 55%, var(--rose-deep));
  box-shadow: 0 .35em .9em -.2em rgba(214, 56, 107, .75);
}

.pf-connect svg {
  width: 1.15em;
  height: 1.15em;
  fill: currentColor;
}

/* ---- 2. Video call ---- */

/* Drawn rather than part of the photograph. The first render carried its own
   '00:41' and both buttons, so changing the call length or the spacing meant
   editing a JPEG; tools/mkcallscreen.py cuts this screen out of a clean plate
   instead. The island is still the render's own, so none is drawn on top.

   Sizes are in em like the rest of the phone, so one number - .pf-screen's
   font-size - still scales the whole screen. */

.pf-timer {
  position: absolute;
  z-index: 2;
  top: 6.6%;
  left: 0;
  right: 0;
  text-align: center;
  font-size: .95em;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: #fff;
  text-shadow: 0 .12em .4em rgba(40, 25, 70, .6);
}

/* The gap is what puts the pair at 31% and 69% of the width. The render had them
   at 18% and 80%, far enough apart to read as two unrelated controls rather than
   as a pair. Diameter and bottom offset are the render's own. */
.pf-call-controls {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 4.5%;
  display: flex;
  justify-content: center;
  gap: 13.6%;
}

.pf-call-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24.4%;
  aspect-ratio: 1;
  border-radius: 50%;
  color: #fff;
}

.pf-call-btn svg {
  width: 52%;
  height: 52%;
}

.pf-call-btn--mute {
  /* Slightly transparent, so the sweater behind it still shows through the way it
     did when this was part of the photograph. */
  background: rgba(61, 56, 60, .88);
}

.pf-call-btn--end {
  background: #f02e2c;
  box-shadow: 0 .28em .7em -.12em rgba(190, 30, 30, .6);
}

/* ---- 3. Match ---- */

/* Sampled off screen 1's own photo so the three phones share a sky: muted
   purple top and bottom, pink cloud blooms through the middle. */
.pf-screen--match {
  background:
    radial-gradient(58% 26% at 16% 24%, rgba(226, 170, 214, .62), transparent 72%),
    radial-gradient(52% 24% at 86% 40%, rgba(230, 176, 214, .55), transparent 74%),
    radial-gradient(66% 30% at 46% 66%, rgba(232, 183, 220, .42), transparent 76%),
    linear-gradient(170deg, #a98cc6 0%, #b492cd 28%, #c79ccd 54%, #9d78bc 82%, #86649f 100%);
}

.pf-match-body {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: 0 .4em 1.4em;
  text-align: center;
}

.pf-pair {
  display: flex;
  gap: .35em;
}

/* ~43% of the screen width each, matching the reference, with a hairline ring
   rather than a heavy one. They are cropped so she looks right and he looks
   left, which only works with her on the left — do not reorder them. */
.pf-pair img {
  width: 5.2em;
  height: 5.2em;
  border-radius: 50%;
  object-fit: cover;
  border: .08em solid rgba(255, 255, 255, .92);
  box-shadow: 0 .35em .9em -.25em rgba(50, 30, 90, .45);
}

/* Two shadows: a wide pink bloom for the celebratory glow, and a tighter dark
   one underneath so the heart sits on the screen rather than floating flat. */
.pf-bigheart {
  display: block;
  margin-top: -.15em;
  filter:
    drop-shadow(0 0 .62em rgba(255, 105, 150, .95))
    drop-shadow(0 .22em .3em rgba(150, 15, 65, .45));
  animation: heartbeat 2.8s ease-in-out infinite;
}

@keyframes heartbeat {

  0%,
  100% {
    transform: scale(1);
  }

  10% {
    transform: scale(1.14);
  }

  20% {
    transform: scale(1);
  }

  30% {
    transform: scale(1.08);
  }

  40% {
    transform: scale(1);
  }
}

.pf-bigheart svg {
  width: 2.5em;
  height: 2.5em;
}

.pf-match-line {
  margin: 0;
  font-size: 1.75em;
  font-weight: 800;
  letter-spacing: -.02em;
  color: #fff;
  text-shadow: 0 2px 8px rgba(50, 25, 90, .45);
}

.pf-connect--match {
  margin-top: .35em;
}

/* Paper confetti. Each piece is placed and tinted from inline custom props, so
   the scatter lives in the markup and the shape lives here. */
.pf-confetti i,
.pf-confetti b {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: rotate(var(--r));
}

.pf-confetti i {
  width: .42em;
  height: .62em;
  border-radius: .08em;
  background: var(--c);
  opacity: .85;
}

/* Thrown in with the paper so the scatter is not all rectangles. */
.pf-confetti b {
  font-size: .75em;
  line-height: 1;
  color: #f9829f;
  filter: drop-shadow(0 1px 2px rgba(120, 20, 60, .3));
}

.checks {
  display: grid;
  gap: 13px;
  text-align: left;
  margin: 26px 0 30px;
}

.checks li {
  position: relative;
  padding-left: 34px;
  font-size: .99rem;
}

.checks strong {
  color: var(--ink);
  font-weight: 700;
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ee5285' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7'/%3E%3C/svg%3E") center/13px no-repeat;
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   Features
   ========================================================================== */

.feature-grid {
  display: grid;
  gap: 16px;
}

.feature {
  padding: 26px 24px;
}

/* ==========================================================================
   Safety
   ========================================================================== */

.safety {
  padding: 34px 24px;
}

.safety-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.safety-head h2 {
  margin: 0;
  font-size: clamp(1.6rem, 5.6vw, 2.3rem);
}

.safety-head .kicker {
  margin-bottom: .3em;
}

.safety-badge {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  flex: none;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--lilac), var(--violet));
  box-shadow: 0 14px 28px -10px rgba(111, 95, 196, .6);
}

.safety-badge svg {
  width: 28px;
  height: 28px;
}

.safety-grid {
  display: grid;
  gap: 22px;
}

.safety-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

/* A tinted disc rather than the head badge's gradient: four badges at that
   strength compete with the heading each one belongs to. */
.safety-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: none;
  /* Optical alignment - the disc reads as low against the cap height. */
  margin-top: -2px;
  border-radius: 50%;
  color: var(--violet);
  background: rgba(139, 127, 212, .15);
}

.safety-icon svg {
  width: 26px;
  height: 26px;
}

.safety-item h3 {
  font-size: 1.05rem;
  margin-bottom: .35em;
}

.safety-item p {
  margin: 0;
  font-size: .95rem;
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq {
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--glass);
  border: 1px solid var(--glass-line);
  border-radius: var(--r-md);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
  list-style: none;
}

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

.faq-item summary::after {
  content: "";
  width: 22px;
  height: 22px;
  flex: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236f5fc4' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 9.5 12 15.5 18 9.5'/%3E%3C/svg%3E") center/12px no-repeat;
  transition: transform .25s;
}

.faq-item[open] summary::after {
  transform: rotate(180deg);
}

.faq-item p {
  margin: 0;
  padding: 0 20px 20px;
  font-size: .97rem;
}

/* ==========================================================================
   Contact form
   ========================================================================== */

/* A dialog rather than a section: the form is a side door, not part of the
   pitch, so it should not take a screen of the page to say so. */
.contact-dialog {
  width: min(94vw, 460px);
  padding: 0;
  border: 0;
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, #fdf7fb, #f6f1fd);
  box-shadow: var(--shadow-lg);
  color: var(--ink-soft);
}

.contact-dialog::backdrop {
  background: rgba(50, 42, 94, .45);
  backdrop-filter: blur(3px);
}

.contact-dialog h2 {
  margin: 0 0 .25em;
  font-size: 1.6rem;
}

.dialog-lede {
  margin: 0 0 4px;
  font-size: .95rem;
}

.dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  color: var(--ink-mute);
  background: rgba(111, 95, 196, .1);
}

.dialog-close:hover {
  color: var(--ink);
  background: rgba(111, 95, 196, .18);
}

.dialog-close svg {
  width: 17px;
  height: 17px;
}

.contact-form {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 28px 24px 26px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  font-size: .9rem;
  font-weight: 700;
  color: var(--ink);
}

.field input,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid rgba(111, 95, 196, .22);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .72);
  font: inherit;
  font-size: .97rem;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(111, 95, 196, .18);
}

.field input:user-invalid,
.field textarea:user-invalid {
  border-color: var(--rose-deep);
}

/* The honeypot. Off-screen rather than display:none - some bots skip anything
   they can tell is not rendered, and this one should look fillable. */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form .btn {
  justify-self: start;
}

.form-status {
  margin: 0;
  min-height: 1.4em;
  font-size: .92rem;
  color: var(--ink-mute);
}

.form-status.is-error {
  color: var(--rose-deep);
}

.form-status.is-sent {
  color: var(--violet);
  font-weight: 600;
}

/* ==========================================================================
   Final CTA
   ========================================================================== */

.final-cta {
  padding-bottom: 70px;
}

.cta-panel {
  position: relative;
  overflow: hidden;
  padding: 40px 24px;
  border-radius: 34px;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(120% 90% at 15% 0%, rgba(255, 255, 255, .3), transparent 55%),
    linear-gradient(135deg, #f4699a 0%, var(--rose) 40%, #a05fc0 100%);
  box-shadow: var(--shadow-lg);
}

.cta-panel h2,
.cta-panel p {
  color: #fff;
}

.cta-panel h2 {
  font-size: clamp(1.7rem, 6.2vw, 2.6rem);
}

.cta-panel>p {
  opacity: .92;
  margin-bottom: 26px;
}

.cta-panel .btn--primary {
  color: var(--rose-deep);
  background: #fff;
  box-shadow: 0 16px 34px -12px rgba(60, 20, 50, .5);
}

.cta-phone {
  width: 190px;
  margin: 0 auto 24px;
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
}

.store-note {
  margin: 28px 0 12px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .8;
}

.stores {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* Second placement, above the fold. The badges below live on the pink panel and
   are translucent against it; on the pale ground they need a solid body, which
   is also how the real store badges look. */
.store-strip {
  padding: 6px 0 10px;
  text-align: center;
}

.store-strip .store-note {
  margin: 0 0 12px;
  color: var(--ink-mute);
  opacity: 1;
}

.store-strip .store-badge {
  background: #241533;
  border-color: rgba(255, 255, 255, .12);
  box-shadow: var(--shadow-md);
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 14px;
  background: rgba(24, 12, 34, .55);
  border: 1px solid rgba(255, 255, 255, .28);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  text-align: left;
}

.store-glyph {
  width: 24px;
  height: 24px;
  flex: none;
}

.store-text {
  display: grid;
  line-height: 1.15;
}

.store-text small {
  font-size: .62rem;
  letter-spacing: .04em;
  opacity: .8;
}

.store-text b {
  font-size: 1.02rem;
  font-weight: 700;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  padding: 44px 0 30px;
  background: rgba(255, 255, 255, .5);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, .7);
}

.footer-inner {
  display: grid;
  gap: 30px;
}

.footer-brand p {
  margin: 12px 0 0;
  font-size: .95rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 18px;
}

.footer-links div {
  display: grid;
  gap: 9px;
  align-content: start;
}

.footer-links h4 {
  margin: 0 0 2px;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--lilac);
}

.footer-links a {
  color: var(--ink-soft);
  font-size: .95rem;
  font-weight: 500;
}

.footer-bottom {
  display: grid;
  gap: 4px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(120, 110, 170, .16);
  font-size: .84rem;
  color: var(--ink-mute);
}

.footer-bottom p {
  margin: 0;
}

@media (hover: hover) {

  .nav a:hover,
  .footer-links a:hover {
    color: var(--rose);
  }

  .faq-item summary:hover {
    color: var(--rose);
  }
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.2, .7, .3, 1), transform .7s cubic-bezier(.2, .7, .3, 1);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Nothing may stay invisible if the observer never runs (no JS, old browser). */
.no-js .reveal {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   Breakpoints
   ========================================================================== */

@media (min-width: 600px) {
  :root {
    --gut: 28px;
  }

  .cta-row {
    flex-direction: row;
    justify-content: center;
  }

  .section {
    padding: 78px 0;
  }

  .steps,
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .safety {
    padding: 44px 40px;
  }

  .safety-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 34px;
  }

  .cta-panel {
    padding: 54px 40px;
  }

  .footer-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-bottom {
    grid-template-columns: 1fr auto;
    gap: 16px;
  }

  .footer-bottom p:last-child {
    text-align: right;
  }
}

@media (min-width: 900px) {
  :root {
    --header-h: 78px;
    --gut: 36px;
  }

  body {
    font-size: 18px;
  }

  /* Nav returns to an inline row; the sheet styles above are all overridden. */
  .nav {
    position: static;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    background: none;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-radius: 0;
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .nav a {
    padding: 10px 14px;
    border-bottom: 0;
    font-size: .96rem;
  }

  .nav .nav-cta {
    margin: 0 0 0 10px;
    padding: 11px 24px;
  }

  .menu-toggle {
    display: none;
  }

  .hero {
    padding: 56px 0 40px;
  }

  .hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 40px;
  }

  .hero-copy {
    text-align: left;
  }

  .lede {
    margin-inline: 0;
  }

  .cta-row {
    justify-content: flex-start;
  }

  .trust-row {
    justify-content: flex-start;
  }

  /* The render is 478x913, so width alone decides how tall the hero gets.
     Capping against vh as well keeps the buttons above the fold on a laptop. */
  .hero-visual {
    margin: 0 0 0 auto;
    max-width: min(370px, 42vh);
  }

  .float-card {
    font-size: .84rem;
    padding: 13px 18px;
  }

  .float-card--online {
    left: -34px;
  }

  .float-card--match {
    right: -30px;
  }

  .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }

  .step {
    padding: 30px 20px 24px;
  }

  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
  }

  .split {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 56px;
  }

  .split-copy {
    text-align: left;
  }

  .section-head {
    margin-bottom: 48px;
  }

  .cta-panel {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 48px;
    padding: 58px 56px;
    text-align: left;
  }

  .cta-panel-copy .btn,
  .cta-panel-copy .stores {
    justify-content: flex-start;
  }

  .cta-phone {
    width: 230px;
    margin: 0;
  }

  .footer-inner {
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
  }
}

@media (min-width: 1200px) {
  .hero {
    padding: 70px 0 56px;
  }

  .hero-grid {
    gap: 60px;
  }

  .cta-phone {
    width: 270px;
  }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */

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

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .sky,
  .site-header,
  .heart,
  .spark {
    display: none;
  }

  body {
    background: #fff;
  }
}
