:root {
  --navy: #1c2147;
  --navy-deep: #12162f;
  --navy-mid: #2b3170;
  --peach: #ffb088;
  --peach-pressed: #e8875c;
  --lilac: #c9c3f2;
  --lilac-soft: #eeebfd;
  --cream: #f7f5fb;
  --lamp: #fdf3e0;
  --text: #1c2147;
  --muted: #5e6283;
  --white: #ffffff;
  --danger: #b3261e;
  --shadow: 0 18px 40px -24px rgba(28, 33, 71, 0.55);
  --radius: 18px;
  --font-display: 'Secular One', 'Heebo', sans-serif;
  --font-body: 'Heebo', sans-serif;
}

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

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--white);
  background: var(--navy-deep);
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

.skip {
  position: absolute;
  right: 1rem;
  top: -4rem;
  z-index: 20;
  padding: 0.6rem 1rem;
  background: var(--peach);
  color: var(--navy);
  border-radius: 999px;
}

.skip:focus {
  top: 1rem;
}

.hero {
  position: relative;
  min-height: 100svh;
  min-height: calc(100dvh - 2.75rem);
  display: flex;
  flex-direction: column;
  isolation: isolate;
  overflow: hidden;
}

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

.hero-wash,
.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-wash {
  background:
    linear-gradient(to left, rgba(18, 22, 47, 0.88) 0%, rgba(18, 22, 47, 0.72) 38%, rgba(18, 22, 47, 0.28) 68%, rgba(18, 22, 47, 0.18) 100%),
    linear-gradient(to top, rgba(18, 22, 47, 0.78) 0%, rgba(18, 22, 47, 0.12) 42%, rgba(18, 22, 47, 0.35) 100%);
}

html[dir='ltr'] .hero-wash {
  background:
    linear-gradient(to right, rgba(18, 22, 47, 0.88) 0%, rgba(18, 22, 47, 0.72) 38%, rgba(18, 22, 47, 0.28) 68%, rgba(18, 22, 47, 0.18) 100%),
    linear-gradient(to top, rgba(18, 22, 47, 0.78) 0%, rgba(18, 22, 47, 0.12) 42%, rgba(18, 22, 47, 0.35) 100%);
}

.hero-grain {
  opacity: 0.18;
  mix-blend-mode: overlay;
  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='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}

.site-header,
.hero-copy,
.inner {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
}

.wordmark {
  font-family: var(--font-display);
  font-size: 1.65rem;
  letter-spacing: 0.01em;
  color: var(--white);
  text-decoration: none;
}

.wordmark .dot {
  color: var(--peach);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.hero .lang-btn {
  color: var(--white);
  border-color: rgba(201, 195, 242, 0.45);
  background: rgba(247, 245, 251, 0.08);
  min-height: 36px;
}

.hero .lang-btn.is-on {
  background: var(--peach);
  color: var(--navy);
  border-color: var(--peach);
}

.header-in {
  color: var(--lamp);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  border-bottom: 1px solid transparent;
}

.header-in:hover {
  border-bottom-color: var(--peach);
}

.hero-copy {
  position: relative;
  z-index: 3;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 0 1.25rem;
  animation: rise 0.9s ease both;
}

.hero-copy h1,
.hero-copy .lede {
  max-width: 36rem;
  margin-inline: auto;
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.1rem);
  line-height: 1.12;
  font-weight: 400;
  margin: 0 0 1rem;
  text-wrap: balance;
}

.lede {
  margin: 0 0 1.75rem;
  font-size: 1.15rem;
  color: rgba(247, 245, 251, 0.88);
  max-width: 30rem;
}

.mode-sitter,
.mode-parent {
  display: none;
}

html[data-mode='sitter'] .mode-default,
html[data-mode='parent'] .mode-default {
  display: none;
}

html[data-mode='sitter'] .mode-sitter,
html[data-mode='parent'] .mode-parent {
  display: revert;
}

.cta-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: max-content;
  max-width: 100%;
}

.cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin-bottom: 0.55rem;
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.5rem 1.05rem;
  border-radius: 999px;
  text-decoration: none;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  text-align: center;
  text-wrap: balance;
  border: 1px solid transparent;
  cursor: pointer;
  appearance: none;
  touch-action: manipulation;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:focus-visible {
  outline: 3px solid var(--lilac);
  outline-offset: 3px;
}

.btn-peach {
  background: var(--peach);
  color: var(--navy);
  box-shadow: var(--shadow);
}

.btn-peach:hover {
  background: var(--peach-pressed);
}

.btn-ghost {
  background: rgba(247, 245, 251, 0.08);
  color: var(--white);
  border-color: rgba(201, 195, 242, 0.55);
}

.btn-ghost:hover {
  background: rgba(201, 195, 242, 0.16);
}

.cta-row .btn {
  width: 100%;
}

.notify-dialog {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: 22rem;
  width: calc(100vw - 2rem);
  color: var(--white);
}

.notify-dialog::backdrop {
  background: rgba(18, 22, 47, 0.72);
}

.notify-card {
  position: relative;
  background: var(--navy);
  border-radius: 22px;
  padding: 1.45rem 1.2rem 1.2rem;
  box-shadow: var(--shadow);
}

.notify-card h2 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  margin: 0 0 0.4rem;
}

.notify-card p {
  margin: 0 0 0.85rem;
  color: rgba(247, 245, 251, 0.82);
  font-size: 0.95rem;
}

.notify-card label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin: 0 0 0.7rem;
  font-size: 0.86rem;
  color: rgba(247, 245, 251, 0.78);
}

.notify-card input:not(.notify-hp) {
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(201, 195, 242, 0.35);
  background: rgba(247, 245, 251, 0.08);
  color: var(--white);
  padding: 0.5rem 0.75rem;
  font: inherit;
}

.notify-card input:not(.notify-hp):focus {
  outline: 2px solid var(--lilac);
  outline-offset: 1px;
}

.notify-hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.notify-x {
  position: absolute;
  top: 0.7rem;
  inset-inline-end: 0.7rem;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--lilac);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.notify-error {
  color: #ffb4ab !important;
}

.notify-done {
  color: var(--peach) !important;
}

.notify-card .btn {
  width: 100%;
  margin-top: 0.25rem;
}

.sitter-dialog {
  border: 0;
  padding: 0;
  margin: auto auto 0;
  width: 100%;
  max-width: 100%;
  background: transparent;
  color: var(--white);
}

.sitter-dialog::backdrop {
  background: rgba(18, 22, 47, 0.62);
}

.sitter-dialog[open] {
  animation: sheet-up 0.28s ease;
}

.sitter-dialog[open]::backdrop {
  animation: sheet-fade 0.28s ease;
}

@keyframes sheet-up {
  from {
    transform: translateY(28px);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

@keyframes sheet-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.sitter-sheet {
  position: relative;
  background:
    radial-gradient(420px 160px at 80% -20%, rgba(255, 176, 136, 0.28), transparent 70%),
    var(--navy);
  border-radius: 24px 24px 0 0;
  padding: 0.45rem 1.2rem max(1.35rem, env(safe-area-inset-bottom));
  box-shadow: 0 -18px 40px -20px rgba(8, 10, 28, 0.7);
}

.sitter-handle {
  width: 2.4rem;
  height: 0.28rem;
  margin: 0.15rem auto 0.85rem;
  border-radius: 999px;
  background: rgba(201, 195, 242, 0.45);
}

.sitter-sheet h2 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  line-height: 1.2;
  font-weight: 400;
  margin: 0 0 1rem;
  padding-inline-end: 2rem;
}

.sitter-pick-store,
.sitter-pick-web {
  width: 100%;
  margin: 0 0 0.5rem;
}


@media (min-width: 520px) {
  .sitter-dialog {
    margin: auto;
    width: calc(100vw - 2rem);
    max-width: 22rem;
  }

  .sitter-sheet {
    border-radius: 24px;
    padding-bottom: 1.25rem;
  }

  .sitter-handle {
    display: none;
  }
}

html[data-mode='sitter'] .cta-sitter {
  order: -1;
}

html[data-mode='sitter'] .cta-parent,
html[data-mode='parent'] .cta-sitter {
  background: transparent;
  color: var(--lamp);
  border-color: transparent;
  box-shadow: none;
  min-height: 40px;
  padding-inline: 0.35rem;
  text-decoration: underline;
  text-underline-offset: 0.28em;
  font-weight: 500;
}

html[data-mode='sitter'] .cta-parent:hover,
html[data-mode='parent'] .cta-sitter:hover {
  background: transparent;
  transform: none;
  color: var(--peach);
}

.money {
  margin: 0;
  color: rgba(201, 195, 242, 0.95);
  font-size: 0.92rem;
  text-align: center;
}

.stores {
  margin-top: 0.85rem;
  width: 100%;
}

.stores-label {
  margin: 0 0 0.45rem;
  color: rgba(201, 195, 242, 0.88);
  font-size: 0.82rem;
  text-align: center;
}

.store-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}

.store-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.32rem 0.55rem;
  border-radius: 12px;
  border: 1px solid rgba(201, 195, 242, 0.4);
  background: rgba(247, 245, 251, 0.07);
  color: var(--white);
  text-align: center;
  text-decoration: none;
  line-height: 1.15;
}

.store-btn:hover {
  background: rgba(201, 195, 242, 0.16);
}

.store-btn.is-off,
.footer-links a.is-off {
  opacity: 0.42;
  pointer-events: none;
  cursor: default;
}

.store-btn.is-off:hover {
  background: rgba(247, 245, 251, 0.07);
  transform: none;
}

.store-btn:focus-visible {
  outline: 3px solid var(--lilac);
  outline-offset: 3px;
}

.store-kicker {
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(247, 245, 251, 0.7);
}

.store-btn strong {
  font-size: 0.88rem;
  font-weight: 700;
}

.more-hint {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  margin-inline: auto;
  padding: 0.4rem 0.8rem max(0.9rem, env(safe-area-inset-bottom));
  color: var(--peach);
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.65;
}

.more-hint:hover {
  color: var(--lamp);
}

.more-chevron {
  width: 1.15rem;
  height: 1.15rem;
  animation: hint-bounce 1.7s ease-in-out infinite;
}

@keyframes hint-bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}

.panel {
  position: relative;
  z-index: 2;
  background: var(--cream);
  color: var(--text);
}

.panel h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.2;
  font-weight: 400;
  margin: 0 0 0.4rem;
}

.section-lead {
  color: var(--muted);
  margin: 0 0 2.5rem;
  max-width: 32rem;
}

.how {
  padding: 4.5rem 0 4rem;
  scroll-margin-top: 0.5rem;
}

.how h2 {
  margin-bottom: 1.6rem;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.15rem;
  padding: 1.25rem 1.3rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  align-items: start;
}

.num {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--peach);
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.steps h3 {
  margin: 0.15rem 0 0.25rem;
  font-size: 1.15rem;
}

.steps p {
  margin: 0;
  color: var(--muted);
}

.trust {
  padding: 2.25rem 0 2.5rem;
  background: var(--navy);
  color: var(--white);
}

.trust .inner {
  display: grid;
  gap: 0.35rem;
  grid-template-columns: 1fr;
}

.trust h2 {
  margin-bottom: 0;
}

.trust-grid {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.trust-item {
  padding: 0.7rem 0.9rem;
  border-radius: 16px;
  background: rgba(247, 245, 251, 0.06);
  border: 1px solid rgba(201, 195, 242, 0.18);
}

.trust-item strong {
  display: flex;
  align-items: baseline;
  gap: 0.4em;
  color: var(--peach);
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.trust-item strong::before {
  content: '★';
  flex-shrink: 0;
  font-size: 0.78em;
  line-height: 1.4;
  color: var(--peach);
}

.trust-item p {
  margin: 0;
  color: rgba(247, 245, 251, 0.82);
  font-size: 0.95rem;
}

.close {
  padding: 4rem 0;
  background:
    radial-gradient(1200px 280px at 80% 0%, rgba(255, 176, 136, 0.22), transparent 60%),
    var(--navy-deep);
  text-align: center;
}

.close h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  margin: 0 0 1.4rem;
}

.close .cta-block {
  margin-inline: auto;
}

.close .money {
  margin-top: 0.4rem;
}

.site-footer {
  background: #0d1022;
  color: rgba(247, 245, 251, 0.78);
  padding: 2rem 0 2.4rem;
  font-size: 0.92rem;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: center;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.15rem;
}

.footer-links a {
  color: var(--lilac);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--peach);
}

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

@media (min-width: 720px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps li {
    grid-template-columns: 1fr;
    min-height: 100%;
  }

  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 719px) {
  .site-header,
  .hero-copy,
  .inner {
    width: min(1120px, calc(100% - 1.5rem));
  }

  .site-header {
    padding-top: max(0.9rem, env(safe-area-inset-top));
    gap: 0.55rem;
  }

  .wordmark {
    font-size: 1.4rem;
  }

  .header-actions {
    gap: 0.4rem;
    flex-shrink: 0;
  }

  .hero .lang-btn,
  .lang-btn {
    min-height: 36px;
    padding: 0.28rem 0.62rem;
    font-size: 0.78rem;
  }

  .header-in {
    font-size: 0.88rem;
    padding: 0.35rem 0.15rem;
  }

  .hero-copy {
    padding: 1.5rem 0 0.75rem;
    max-width: none;
  }

  .hero-copy h1,
  .hero-copy .lede {
    max-width: none;
  }

  h1 {
    font-size: clamp(1.85rem, 8.4vw, 2.35rem);
    line-height: 1.22;
    margin-bottom: 0.7rem;
  }

  .lede {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
    max-width: none;
  }

  .cta-row,
  html[data-mode='sitter'] .cta-row,
  html[data-mode='parent'] .cta-row,
  .close .cta-row {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .btn,
  html[data-mode='default'] .btn-role {
    width: 100%;
    min-height: 44px;
    padding: 0.48rem 0.95rem;
    font-size: 0.9rem;
    line-height: 1.2;
    border-radius: 999px;
  }

  html[data-mode='sitter'] .cta-parent,
  html[data-mode='parent'] .cta-sitter {
    width: 100%;
    min-height: 40px;
    padding: 0.4rem 0.35rem;
    font-size: 0.88rem;
    font-weight: 500;
    border-radius: 0;
  }

  .more-hint {
    font-size: 1rem;
    line-height: 1.5;
  }

  .money {
    font-size: 0.9rem;
  }

  .how,
  .close {
    padding-block: 3rem;
  }

  .trust {
    padding-block: 1.85rem;
  }

  .panel h2,
  .close h2 {
    font-size: clamp(1.55rem, 7vw, 2.1rem);
  }

  .section-lead {
    margin-bottom: 1.5rem;
    font-size: 0.98rem;
  }

  .steps li {
    padding: 1.05rem 1rem;
  }

  .footer-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .site-footer {
    padding-bottom: max(1.6rem, env(safe-area-inset-bottom));
  }

  .hero-wash {
    background:
      linear-gradient(to top, rgba(18, 22, 47, 0.94) 0%, rgba(18, 22, 47, 0.62) 48%, rgba(18, 22, 47, 0.28) 100%);
  }

  .hero-photo {
    object-position: 82% 42%;
  }
}

.legal-page {
  background: var(--cream);
  color: var(--text);
  color-scheme: light;
  min-height: 100svh;
}

.legal-page .wordmark {
  color: var(--navy);
}

.legal-header {
  padding-bottom: 0.5rem;
}

.lang-toggle {
  display: flex;
  gap: 0.4rem;
}

.lang-btn {
  min-height: 40px;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--lilac);
  background: transparent;
  color: var(--navy);
  font-family: var(--font-body);
  font-weight: 700;
  cursor: pointer;
}

.lang-btn.is-on {
  background: var(--peach);
  border-color: var(--peach);
}

.legal-main {
  width: min(760px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0 3rem;
}

html[data-legal-lang='he'] .doc-en,
html[data-legal-lang='en'] .doc-he {
  display: none;
}

.legal-article h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 400;
  margin: 0 0 0.4rem;
}

.legal-article h2 {
  font-size: 1.15rem;
  margin: 1.8rem 0 0.5rem;
}

.legal-article p,
.legal-article li {
  line-height: 1.7;
}

.legal-article .updated {
  color: var(--muted);
  font-size: 0.9rem;
}

.legal-article .draft {
  color: var(--danger);
  font-weight: 700;
}

.legal-article ul,
.legal-article ol {
  padding-inline-start: 1.2rem;
}

.legal-article .delete-steps {
  margin: 0.8rem 0 1.4rem;
  font-size: 1.05rem;
}

.legal-article .delete-steps li {
  margin: 0.55rem 0;
  font-weight: 500;
}

.legal-page .site-footer .wordmark {
  color: var(--white);
}

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

  .hero-copy,
  .btn,
  .more-chevron {
    animation: none;
    transition: none;
  }
}
