@font-face {
  font-family: "DM Sans";
  src: url("./assets/fonts/dm-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("./assets/fonts/fraunces-italic-latin.woff2") format("woff2");
  font-style: italic;
  font-weight: 600;
  font-display: swap;
}
:root {
  --blue: #303bb0;
  --blue-deep: #252b86;
  --ink: #182348;
  --muted: #5c6680;
  --aqua: #6cc2be;
  --teal: #287e79;
  --line: #d7e2e7;
  --pale: #f5f9fa;
  --font: "DM Sans", "Avenir Next", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; color: var(--ink); background: #fff; font-family: var(--font); }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
.skip-link { position: absolute; top: -5rem; left: 1rem; z-index: 20; padding: .7rem 1rem; background: #fff; border: 2px solid var(--teal); border-radius: 8px; }
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.header { height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0 max(2rem, calc((100vw - 1180px) / 2)); border-bottom: 1px solid var(--line); background: #fff; }
.brand img { width: 132px; height: auto; }
.header__label { font-size: .79rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-deep); }
.hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; gap: clamp(1rem, 4vw, 4rem); max-width: 1180px; min-height: 590px; margin: auto; padding: 2.2rem 2rem 2rem; background: #fff; }
.hero__copy { min-width: 0; padding: 0 0 0 .4rem; }
.eyebrow { margin-bottom: 1.35rem; color: var(--teal); font-size: .74rem; font-weight: 700; letter-spacing: .16em; }
.hero h1 { max-width: 690px; margin: 0 0 1.6rem; color: var(--blue-deep); font-size: clamp(3.7rem, 5.3vw, 5.8rem); font-weight: 700; letter-spacing: -.055em; line-height: 1.04; }
.hero h1 em { display: block; margin-top: .13em; color: var(--blue); font-family: "Fraunces", Georgia, serif; font-size: .88em; font-weight: 600; letter-spacing: -.045em; line-height: 1.12; }
.hero__lead { max-width: 31rem; margin-bottom: 0; color: var(--muted); font-size: 1.09rem; line-height: 1.7; }
.playground { position: relative; min-width: 0; min-height: 545px; overflow: hidden; touch-action: pan-y; cursor: grab; }
.playground.is-dragging { cursor: grabbing; }
.cart { --travel: 0px; --turn: 0deg; position: absolute; left: 50%; bottom: 5px; width: min(82%, 405px); aspect-ratio: 1000 / 1328; transform: translateX(calc(-50% + var(--travel))) rotate(var(--turn)); transition: transform .32s cubic-bezier(.2, .8, .2, 1); filter: drop-shadow(0 16px 12px rgba(35, 45, 100, .15)); will-change: transform; }
.cart img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; user-select: none; }
.impact { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; justify-items: center; padding: 1.65rem max(2rem, calc((100vw - 1180px) / 2)); background: var(--blue-deep); color: #fff; }
.impact p { display: flex; align-items: center; gap: 1rem; margin: 0; }
.impact strong { color: var(--aqua); font-size: 2.35rem; font-weight: 700; letter-spacing: -.06em; }
.impact span { color: #e4e9fa; font-size: .78rem; line-height: 1.45; }
.give { padding: 5.4rem max(1.5rem, calc((100vw - 1130px) / 2)) 4.1rem; background: var(--pale); }
.give__intro { max-width: 790px; margin: 0 0 2rem; }
.give h2, .dedicate h2 { margin-bottom: .85rem; color: var(--blue-deep); font-size: clamp(2.4rem, 4vw, 3.8rem); font-weight: 700; letter-spacing: -.055em; line-height: 1.13; }
.give__intro p { max-width: 620px; margin: 0; color: var(--muted); font-size: 1.02rem; line-height: 1.6; }
.options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.option { position: relative; display: flex; align-items: stretch; justify-content: space-between; gap: 1.2rem; min-width: 0; min-height: 168px; padding: 1.4rem 1.5rem; border: 2px solid var(--line); border-radius: 16px; background: #fff; cursor: pointer; transition: border-color .18s, background-color .18s; }
.option:hover { border-color: #9fbfc6; }
.option:has(input:checked) { border-color: var(--teal); background: #f0f9f8; }
.option:has(input:focus-visible) { outline: 2px solid var(--blue); outline-offset: 3px; }
.option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.option__content { display: flex; flex-direction: column; align-items: flex-start; gap: .45rem; min-width: 0; }
.option__eyebrow { color: var(--teal); font-size: .66rem; font-weight: 700; letter-spacing: .14em; }
.option__content strong { color: var(--ink); font-size: 1.21rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.option__content > span:last-child { max-width: 18rem; color: var(--muted); font-size: .84rem; line-height: 1.5; }
.option__price { align-self: flex-end; flex: none; color: var(--blue-deep); font-size: 1.47rem; font-weight: 700; letter-spacing: -.04em; white-space: nowrap; }
.give__note { margin: 1.15rem 0 0; color: var(--muted); font-size: .8rem; line-height: 1.5; }
.dedicate { max-width: 920px; margin: auto; padding: 4.4rem 1.5rem 6rem; }
.dedicate__copy { margin-bottom: 1.6rem; }
.dedicate h2 { margin: 0; font-size: clamp(2rem, 3.3vw, 3.1rem); }
.form { padding: clamp(1.4rem, 3vw, 2.35rem); border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 18px 50px rgba(33, 47, 90, .065); }
.form__types { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .65rem; margin: 0 0 1.5rem; padding: 0; border: 0; }
.form__types label { display: flex; align-items: flex-start; gap: .55rem; min-height: 66px; padding: .75rem; border: 1.5px solid var(--line); border-radius: 10px; cursor: pointer; }
.form__types label:has(input:checked) { border-color: var(--teal); background: #f0f9f8; }
.form__types label:has(input:focus-visible) { outline: 2px solid var(--blue); outline-offset: 2px; }
.form__types input { flex: none; margin: .13rem 0 0; accent-color: var(--teal); }
.form__types span { font-size: .8rem; font-weight: 700; line-height: 1.2; }
.form__types bdi { display: block; margin-top: .3rem; color: var(--muted); font-family: "Noto Sans Hebrew", "Arial Hebrew", sans-serif; font-size: .77rem; font-weight: 500; }
.field { display: flex; flex-direction: column; min-width: 0; margin-bottom: 1rem; }
.field > span, .form__subheading { margin-bottom: .47rem; color: var(--ink); font-size: .82rem; font-weight: 700; }
.field small { margin-left: .25rem; color: #6f7991; font-size: .68rem; font-weight: 500; }
.field input:not([type="hidden"]), .field textarea, .ifield { width: 100%; min-height: 48px; padding: .7rem .8rem; border: 1px solid #b9c8d0; border-radius: 8px; background: #fff; color: var(--ink); }
.field input:focus-visible, .field textarea:focus-visible { border-color: var(--teal); outline: 2px solid rgba(23, 127, 131, .25); outline-offset: 1px; }
.field textarea { min-height: 80px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8b98a6; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form__divider { height: 1px; margin: 1.25rem 0 1.45rem; background: var(--line); }
.form__subheading { margin: 0 0 .9rem; font-size: 1rem; }
.checkout { margin: 1.2rem calc(-1 * clamp(1.4rem, 3vw, 2.35rem)) calc(-1 * clamp(1.4rem, 3vw, 2.35rem)); padding: 1.8rem clamp(1.4rem, 3vw, 2.35rem) 2rem; border-top: 1px solid var(--line); border-radius: 0 0 20px 20px; background: #f3f8fa; }
.checkout__heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.checkout__heading .eyebrow { margin-bottom: .4rem; }
.checkout__heading h3 { margin: 0 0 .2rem; color: var(--blue-deep); font-size: 1.35rem; font-weight: 700; }
.checkout__heading p:last-child { margin: 0; color: var(--muted); font-size: .8rem; }
.checkout__heading > strong { color: var(--blue-deep); font-size: 1.6rem; letter-spacing: -.05em; white-space: nowrap; }
.payment-method { display: flex; align-items: center; gap: .85rem; min-height: 68px; margin-bottom: 1.2rem; padding: .85rem 1rem; border: 1.5px solid var(--teal); border-radius: 10px; background: #fff; }
.payment-method__mark { width: 18px; height: 18px; flex: none; border: 5px solid var(--teal); border-radius: 50%; }
.payment-method strong, .payment-method small { display: block; }
.payment-method strong { color: var(--ink); font-size: .88rem; }
.payment-method small { margin-top: .17rem; color: var(--muted); font-size: .73rem; }
.checkout__fields { display: grid; gap: .2rem; }
.checkout__fields[hidden] { display: none; }
.ifield { display: block; height: 50px; padding: 0; }
.checkout__message { min-height: 1.5em; margin: .3rem 0 .8rem; color: var(--muted); font-size: .82rem; line-height: 1.5; }
.checkout__message.is-error { color: #a13044; }
.checkout__message.is-ok { color: #176c62; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 1rem; border: 0; border-radius: 8px; padding: .95rem 1.3rem; font-weight: 700; }
.button--primary { background: var(--blue); color: #fff; }
.button--primary:hover:not(:disabled) { background: var(--blue-deep); }
.button:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.checkout__button { width: 100%; justify-content: space-between; }
.checkout__button:disabled { background: #9ba4c3; cursor: not-allowed; }
.button--receipt { width: 100%; margin-top: .7rem; justify-content: center; border: 1px solid var(--teal); background: #fff; color: var(--teal); }
.button--receipt:hover { background: #edf8f6; }
.button[hidden] { display: none; }
.checkout__assurance { max-width: 34rem; margin: .9rem 0 0; color: var(--muted); font-size: .72rem; line-height: 1.5; }
.footer { display: flex; justify-content: center; gap: 1rem 2.5rem; flex-wrap: wrap; padding: 2rem 1.5rem; background: var(--blue-deep); color: #eef4ff; font-size: .82rem; }
.footer p { margin: 0; }
.footer a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) {
  .header { padding-inline: 1.5rem; }
  .hero { min-height: 520px; gap: 1rem; padding-inline: 1.5rem; }
  .hero h1 { font-size: clamp(3.1rem, 5.5vw, 4.7rem); }
  .playground { min-height: 480px; }
  .cart { width: min(88%, 350px); }
  .impact { padding-inline: 1.5rem; }
  .give { padding-inline: 1.5rem; }
}
@media (max-width: 700px) {
  .header { height: 70px; }
  .brand img { width: 116px; }
  .header__label { font-size: .67rem; }
  .hero { display: flex; flex-direction: column; align-items: stretch; gap: 0; min-height: 0; padding: 3.4rem 1.35rem 0; }
  .hero__copy { width: 100%; min-width: 0; padding: 0; }
  .hero h1 { max-width: 100%; margin-bottom: 1.2rem; font-size: clamp(2.65rem, 9vw, 4.1rem); overflow-wrap: anywhere; }
  .hero h1 em { font-size: .85em; }
  .hero__lead { font-size: .98rem; }
  .playground { min-height: 425px; margin-top: 1.2rem; }
  .cart { width: min(74%, 310px); bottom: 0; }
  .impact { gap: .5rem; padding: 1.15rem .75rem; }
  .impact p { display: block; text-align: center; }
  .impact strong { display: block; font-size: 1.8rem; }
  .impact span { display: block; font-size: .65rem; }
  .give { padding: 3.3rem 1.25rem 2.5rem; }
  .options { grid-template-columns: 1fr; gap: .7rem; }
  .option { min-height: 120px; padding: 1rem 1.1rem; }
  .option__content > span:last-child { max-width: 20rem; }
  .dedicate { padding: 3rem 1.25rem 4.2rem; }
  .form__types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer { gap: .8rem 1.2rem; }
}
@media (max-width: 410px) {
  .hero h1 { font-size: 2.55rem; }
  .playground { min-height: 385px; }
  .cart { width: min(76%, 280px); }
  .option__price { font-size: 1.27rem; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .checkout__heading > strong { font-size: 1.32rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cart, .option { transition: none; }
}
