/* Strolla — bystrolla.com */

@font-face { font-family: "Fredoka"; font-weight: 500; font-display: swap; src: url("/assets/fonts/fredoka-hebrew-500-normal.woff2") format("woff2"); unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Fredoka"; font-weight: 600; font-display: swap; src: url("/assets/fonts/fredoka-hebrew-600-normal.woff2") format("woff2"); unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Fredoka"; font-weight: 500; font-display: swap; src: url("/assets/fonts/fredoka-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fredoka"; font-weight: 600; font-display: swap; src: url("/assets/fonts/fredoka-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Heebo"; font-weight: 400; font-display: swap; src: url("/assets/fonts/heebo-hebrew-400-normal.woff2") format("woff2"); unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Heebo"; font-weight: 500; font-display: swap; src: url("/assets/fonts/heebo-hebrew-500-normal.woff2") format("woff2"); unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Heebo"; font-weight: 700; font-display: swap; src: url("/assets/fonts/heebo-hebrew-700-normal.woff2") format("woff2"); unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Heebo"; font-weight: 400; font-display: swap; src: url("/assets/fonts/heebo-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Heebo"; font-weight: 500; font-display: swap; src: url("/assets/fonts/heebo-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Heebo"; font-weight: 700; font-display: swap; src: url("/assets/fonts/heebo-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* from the app's theme (src/theme/colors.ts) */
  --pink: #f8aab3;
  --pink-soft: #fde6e9;
  --milk: #fff8f8;
  --rose: #c24f65;
  --rose-ink: #a53d53;
  --ink: #3b2a31;
  --ink-soft: #6e5a63;
  --lavender: #d6cff8;
  --mint: #b9e4cf;
  --white: #ffffff;

  --display: "Fredoka", "Heebo", system-ui, sans-serif;
  --text: "Heebo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1180px;
  --radius-xl: clamp(28px, 5vw, 64px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--milk);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rose); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--rose-ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.1; margin: 0; letter-spacing: -0.005em; text-wrap: balance; }
.lede, .pillar p, .cta-copy > p { text-wrap: pretty; }
p { margin: 0; }
ul { margin: 0; padding: 0; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 999px; z-index: 10; }
.skip:focus { top: 12px; }

/* ---------- top bar ---------- */
.topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: var(--max); margin: 0 auto; padding: 18px var(--gutter) 0;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img:first-child { width: 40px; }
.brand-word { width: 96px; margin-top: 4px; }
.nav-links { display: flex; gap: clamp(14px, 2.6vw, 32px); list-style: none; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 1rem; }
.nav-links a:hover { text-decoration: underline; color: var(--ink); }

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(120% 90% at 25% 35%, #fbc3ca 0%, rgba(251,195,202,0) 60%),
    var(--pink);
  border-end-start-radius: var(--radius-xl);
  border-end-end-radius: var(--radius-xl);
  overflow: hidden;
}
.hero-grid {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(8px, 2vw, 24px) var(--gutter) clamp(48px, 7vw, 96px);
  display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: clamp(8px, 3vw, 40px);
}
.hero-copy { grid-column: 1; grid-row: 1; max-width: 34rem; }
.stage { grid-column: 2; grid-row: 1; }
.hero h1 {
  font-size: clamp(2.75rem, 6.4vw, 5.25rem);
  line-height: 1.02;
  color: #40202b;
}
.lede { margin-top: 20px; font-size: clamp(1.0625rem, 1.5vw, 1.2rem); line-height: 1.65; color: #4a2f39; max-width: 30em; }

.stage { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 620px; justify-self: center; }
.stage-poster, #stroller-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
#stroller-canvas { opacity: 0; transition: opacity 0.6s ease; touch-action: pan-y; cursor: grab; }
#stroller-canvas:active { cursor: grabbing; }
.stage.is-live #stroller-canvas { opacity: 1; }
.stage.is-live .stage-poster { opacity: 0; transition: opacity 0.6s ease 0.2s; }
.stage-hint {
  position: absolute; inset-inline: 0; bottom: 4%; margin: 0 auto; width: max-content;
  display: flex; align-items: center; gap: 6px;
  font-size: 0.875rem; color: #6b3a48; background: rgba(255, 255, 255, 0.55);
  padding: 4px 12px; border-radius: 999px; opacity: 0; transition: opacity 0.4s;
}
.stage.is-live .stage-hint { opacity: 1; }
.stage.was-dragged .stage-hint { opacity: 0; }

/* ---------- app store ---------- */
.store { margin-top: 32px; }
.store-btn {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none;
  background: var(--ink); color: var(--white); padding: 10px 22px 10px 24px; border-radius: 999px;
  box-shadow: 0 12px 30px -14px rgba(59, 42, 49, 0.6); transition: transform 0.15s ease, background 0.15s ease;
}
.store-btn:hover { background: #241820; color: var(--white); transform: translateY(-1px); }
.store-btn svg { flex: none; }
.store-btn-text { display: flex; flex-direction: column; line-height: 1.15; text-align: start; }
.store-btn-text small { font-size: 0.78rem; font-weight: 500; opacity: 0.85; }
.store-btn-text strong { font-family: var(--display); font-weight: 600; font-size: 1.35rem; letter-spacing: 0.01em; direction: ltr; }
.store-btn-light { margin-top: 24px; }
.store-note { margin-top: 14px; font-size: 0.95rem; color: #5b3944; max-width: 30rem; }
.store-note a { color: inherit; }
.nav-cta { background: var(--ink); color: var(--white) !important; padding: 8px 18px; border-radius: 999px; }
.nav-cta:hover { background: #241820; }

/* ---------- signup ---------- */
.signup { margin-top: 32px; max-width: 30rem; }
.signup-label { display: block; font-family: var(--display); font-weight: 500; font-size: 1.15rem; margin-bottom: 10px; color: #40202b; }
.signup-row {
  display: flex; gap: 6px; padding: 6px; background: var(--white);
  border-radius: 999px; box-shadow: 0 10px 30px -12px rgba(140, 40, 70, 0.35);
}
.signup input[type="email"] {
  flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 1rem;
  padding: 10px 16px; color: var(--ink); border-radius: 999px; text-align: right;
}
.signup input[type="email"]::placeholder { color: #9b8790; }
.signup input[type="email"]:focus-visible { outline: 2px solid var(--rose); outline-offset: 0; }
.signup button {
  border: 0; cursor: pointer; font: inherit; font-weight: 700; font-size: 1rem;
  background: var(--rose); color: var(--white); padding: 10px 22px; border-radius: 999px; white-space: nowrap;
}
.signup button:hover { background: var(--rose-ink); }
.signup button:disabled { opacity: 0.7; cursor: progress; }
.signup-note { margin-top: 10px; font-size: 0.9rem; color: #5b3944; }
.signup-note a { color: inherit; }
.signup.is-done .signup-row { display: none; }
.signup.is-done .signup-note { font-size: 1.05rem; font-weight: 500; color: var(--ink); }
.signup.is-error .signup-note { color: #8f1d33; font-weight: 500; }

/* ---------- pillars ---------- */
.pillars {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(56px, 9vw, 120px) var(--gutter) 0;
  display: grid; gap: clamp(56px, 8vw, 104px);
}
.pillar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 5vw, 72px); }
.pillar:nth-child(even) .disc { order: 2; }
.disc { margin: 0; position: relative; aspect-ratio: 1; width: min(100%, 480px); justify-self: center; }
.disc::before { content: ""; position: absolute; inset: 3%; border-radius: 50%; background: var(--c, var(--pink)); }
.disc img { position: relative; width: 100%; }
.disc-pink { --c: var(--pink); }
.disc-lavender { --c: var(--lavender); }
.disc-mint { --c: var(--mint); }
.pillar-copy { max-width: 30rem; }
.pillar h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
.pillar p { margin-top: 16px; color: var(--ink-soft); }
.pillar ul { margin-top: 18px; list-style: none; display: grid; gap: 10px; }
.pillar li { position: relative; padding-inline-start: 26px; font-weight: 500; }
.pillar li::before {
  content: ""; position: absolute; inset-inline-start: 2px; top: 0.62em; width: 12px; height: 12px;
  border-radius: 50%; border: 3px solid var(--rose);
}

/* ---------- screens ---------- */
.screens {
  margin-top: clamp(80px, 11vw, 150px);
  background: var(--pink);
  border-radius: var(--radius-xl);
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 6vw, 72px);
  text-align: center;
}
.screens h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); padding-inline: var(--gutter); color: #40202b; }
.section-lede { margin-top: 10px; color: var(--ink-soft); padding-inline: var(--gutter); }
.screens .section-lede { color: #5b3944; }
.gallery { margin-top: clamp(28px, 4vw, 48px); }
.shots {
  list-style: none; display: flex; gap: clamp(14px, 2vw, 24px);
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding: 8px clamp(16px, 4vw, 56px) 28px; scroll-padding-inline: clamp(16px, 4vw, 56px);
  scrollbar-width: none;
}
.shots::-webkit-scrollbar { display: none; }
.shots li { flex: 0 0 clamp(210px, 22vw, 270px); scroll-snap-align: start; }
.shots img {
  width: 100%; aspect-ratio: 600 / 1304; border-radius: 26px; background: var(--pink-soft);
  box-shadow: 0 22px 40px -24px rgba(110, 30, 55, 0.55);
}
.gallery-nav { display: flex; justify-content: center; gap: 12px; }
.gallery-btn {
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: var(--white); color: var(--rose);
  box-shadow: 0 8px 20px -12px rgba(110, 30, 55, 0.6);
}
.gallery-btn:hover { background: var(--pink-soft); }
.gallery-btn:disabled { opacity: 0.45; cursor: default; }

/* ---------- android beta ---------- */
.beta {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(80px, 10vw, 136px) var(--gutter) 0;
  scroll-margin-top: 24px;
}
.beta h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
.beta .section-lede { padding-inline: 0; }
.beta-steps {
  list-style: none; margin-top: 28px; padding: 0; counter-reset: step;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px);
}
.beta-steps li {
  counter-increment: step; display: flex; flex-direction: column; align-items: flex-start;
  background: var(--pink-soft); border-radius: 28px; padding: 24px;
}
.beta-steps li::before {
  content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 14px;
  border-radius: 50%; background: var(--pink); font-family: var(--display); font-weight: 600; font-size: 1.2rem; color: #40202b;
}
.beta-steps strong { font-weight: 700; font-size: 1.1rem; }
.beta-steps p { margin-top: 6px; color: var(--ink-soft); flex: 1; }
.beta-btn {
  margin-top: 18px; display: inline-block; padding: 10px 20px; border-radius: 999px;
  background: var(--rose); color: var(--white); font-weight: 700; text-decoration: none;
}
.beta-btn:hover { background: var(--rose-ink); color: var(--white); }
.beta-note { margin-top: 20px; color: var(--ink-soft); max-width: 46rem; }
.beta-direct {
  margin-top: 28px; padding: 24px; border-radius: 28px; max-width: 46rem;
  background: var(--white); border: 1px solid var(--pink-soft);
}
.beta-direct strong { font-weight: 700; font-size: 1.1rem; }
.beta-direct p { margin-top: 6px; color: var(--ink-soft); }

/* ---------- safety ---------- */
.safety {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(80px, 10vw, 136px) var(--gutter) 0;
}
.safety h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
.safety-list {
  list-style: none; margin-top: 28px;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px);
}
.safety-list li { border-top: 3px solid var(--pink); padding-top: 16px; color: var(--ink-soft); }
.safety-list strong { display: block; color: var(--ink); font-weight: 700; margin-bottom: 4px; }

/* ---------- cta ---------- */
.cta {
  max-width: var(--max); margin: clamp(80px, 10vw, 136px) auto 0;
  padding: 0 var(--gutter);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: clamp(16px, 4vw, 56px);
}
.cta-art {
  grid-column: 2; grid-row: 1; width: min(100%, 520px); justify-self: center;
  background: radial-gradient(closest-side, var(--pink) 0 94%, transparent 95%);
}
.cta-copy { grid-column: 1; grid-row: 1; max-width: 32rem; }
.cta h2 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); }
.cta-copy > p { margin-top: 14px; color: var(--ink-soft); }
.cta .signup { margin-top: 36px; }
.signup-light .signup-row { box-shadow: 0 0 0 2px var(--pink), 0 14px 30px -18px rgba(140, 40, 70, 0.45); }
.signup-light .signup-note { color: var(--ink-soft); }
.ig {
  margin-top: 28px; display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; text-decoration: none; color: var(--ink);
  padding: 10px 18px 10px 20px; border-radius: 999px; background: var(--pink-soft);
}
.ig:hover { background: var(--pink); color: var(--ink); }

/* ---------- footer ---------- */
.footer { margin-top: clamp(80px, 10vw, 136px); background: var(--ink); color: #f3e3e8; }
.footer-inner {
  max-width: var(--max); margin: 0 auto; padding: 40px var(--gutter) 48px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px;
}
.footer-links { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer a { color: #f3e3e8; text-decoration: none; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer-meta { font-size: 0.9rem; color: #d7c3ca; text-align: end; }
.brand-footer img:first-child { width: 34px; }
.brand-footer .brand-word { width: 84px; }

/* ---------- legal / simple pages ---------- */
.doc-head { background: var(--pink); border-end-start-radius: var(--radius-xl); border-end-end-radius: var(--radius-xl); }
.doc-head .topbar { padding-bottom: 0; }
.doc-title { max-width: 46rem; margin: 0 auto; padding: clamp(28px, 5vw, 56px) var(--gutter) clamp(36px, 6vw, 64px); }
.doc-title h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); color: #40202b; }
.doc-title p { margin-top: 10px; color: #5b3944; }
.doc { max-width: 46rem; margin: 0 auto; padding: clamp(32px, 5vw, 56px) var(--gutter) 0; }
.doc h2 { font-size: clamp(1.35rem, 2.4vw, 1.65rem); margin-top: 40px; margin-bottom: 12px; }
.doc p + p, .doc p + ul, .doc ul + p { margin-top: 12px; }
.doc ul { padding-inline-start: 1.3em; display: grid; gap: 8px; }
.doc ol { padding-inline-start: 1.3em; display: grid; gap: 8px; margin: 0; }
.doc li::marker { color: var(--rose); }
.doc .back { display: inline-block; margin-top: 48px; font-weight: 500; }
.doc .callout { background: var(--pink-soft); border-radius: 20px; padding: 20px 24px; margin-top: 20px; }
.doc .callout h2 { margin-top: 0; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .nav-links li:not(:last-child) { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; padding-top: 0; }
  .stage { grid-column: 1; grid-row: 1; max-width: 460px; margin-top: -8px; }
  .hero-copy { grid-column: 1; grid-row: 2; max-width: none; }
  .hero h1 { font-size: clamp(2.6rem, 11vw, 3.6rem); }
  .pillar { grid-template-columns: 1fr; gap: 20px; }
  .pillar:nth-child(even) .disc { order: 0; }
  .disc { width: min(88%, 420px); }
  .safety-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .beta-steps { grid-template-columns: 1fr; }
  .cta { grid-template-columns: 1fr; }
  .cta-art { grid-column: 1; grid-row: 1; width: min(80%, 400px); }
  .cta-copy { grid-row: 2; }
  .footer-meta { text-align: start; }
}
@media (max-width: 760px) {
  .screens { border-radius: 32px; margin-inline: 12px; }
  .shots li { flex-basis: 66vw; scroll-snap-align: center; }
}
@media (max-width: 560px) {
  .safety-list { grid-template-columns: 1fr; gap: 18px; }
  .signup-row { flex-direction: column; border-radius: 26px; }
  .signup input[type="email"] { padding: 12px 14px; }
  .signup button { padding: 12px 22px; }
  .topbar { padding-top: 14px; }
}

/* original legal pages: h3/h4 and the "box" */
.doc h3 { font-family: var(--display); font-weight: 600; font-size: clamp(1.2rem, 2.2vw, 1.45rem); margin-top: 36px; margin-bottom: 10px; }
.doc h4 { font-family: var(--display); font-weight: 600; font-size: 1.15rem; margin: 0 0 8px; }
.doc .box { background: var(--pink-soft); border-radius: 20px; padding: 20px 24px; margin-top: 28px; }
.doc p { margin-top: 12px; }
.doc ul, .doc ol { margin-top: 12px; }
