:root {
  color-scheme: light;
  --red: #ff1038;
  --red-ink: #ce1031;
  --red-wash: #fff1f3;
  --ink: #111;
  --muted: #575358;
  --line: #17101012;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a, select { touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--red-ink); outline-offset: 5px; }
.wrap { width: min(1180px, calc(100% - 80px)); margin-inline: auto; }
.skip { position: fixed; inset: -100px auto auto 16px; z-index: 4; padding: 15px; background: white; }
.skip:focus { top: 16px; }

.header { height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 34px; font-weight: 850; letter-spacing: -1.8px; }
.brand-logo { display: block; width: 40px; height: 40px; border-radius: 11px; }
.header nav { font-size: 14px; font-weight: 650; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  min-height: 62px;
  max-width: 100%;
  padding: 19px 27px;
  border-radius: 100px;
  background: #000;
  color: #fff;
  font-size: 17px;
  font-weight: 750;
  line-height: 1.35;
  text-align: center;
  transition: transform .18s, background-color .18s;
}
.button:hover { background: #262626; transform: translateY(-2px); }

.hero { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 56px; padding-block: 34px 64px; min-height: 690px; }
.hero-copy { min-width: 0; }
.eyebrow { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 650; line-height: 1.5; }
.dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--red); }
.hero h1 {
  margin: 24px 0;
  font-size: clamp(48px, 5.7vw, 79px);
  font-weight: 850;
  line-height: 1.04;
  letter-spacing: -.065em;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.hero h1 > span { display: block; }
.serif { margin-top: 5px; color: var(--red-ink); font: italic 400 .88em/1.18 Georgia, "Times New Roman", serif; letter-spacing: -.055em; }
.hero-description { max-width: 440px; margin: 0 0 27px; font-size: 18px; line-height: 1.6; letter-spacing: -.01em; }

.hero-art { position: relative; display: grid; place-items: center; min-width: 0; min-height: 570px; isolation: isolate; }
.hero-art::before { content: ""; position: absolute; z-index: -1; top: 82px; width: min(420px, 100%); aspect-ratio: 1; border-radius: 50%; background: var(--red); }
.phone {
  position: relative;
  width: 286px;
  height: 550px;
  padding: 49px 15px 20px;
  border: 7px solid #111;
  border-radius: 51px;
  background: linear-gradient(150deg, #fff 56%, #fff5f6);
  overflow: hidden;
  transform: rotate(-6deg);
  box-shadow: inset 0 0 0 1px #ffffff50, 2px 4px #0004, 8px 16px 22px #00000013, 20px 36px 54px #00000016, 34px 52px 80px #00000009;
}
.island, .mini-island, .phone-home, .mini-home { position: absolute; left: 50%; transform: translateX(-50%); background: #111; }
.island { top: 10px; width: 104px; height: 27px; border-radius: 20px; }
.phone-home { bottom: 9px; width: 89px; height: 4px; border-radius: 10px; }
.home-status { position: absolute; top: 17px; left: 19px; right: 15px; display: flex; align-items: center; justify-content: space-between; font-size: 11px; font-weight: 800; direction: ltr; }
.status-icons { display: inline-flex; align-items: center; gap: 3px; }
.status-icons i { width: 11px; height: 8px; background: #111; clip-path: polygon(0 72%, 22% 72%, 22% 50%, 47% 50%, 47% 27%, 72% 27%, 72% 0, 100% 0, 100% 100%, 0 100%); }
.status-icons b { width: 10px; height: 8px; border: 2px solid transparent; border-top-color: #111; border-radius: 50%; }
.status-icons em { width: 12px; height: 7px; border: 1px solid #111; border-radius: 2px; background: #111; box-shadow: inset 0 0 0 1px white; }
.phone-app, .mini-top { display: flex; align-items: center; justify-content: center; gap: 6px; font-weight: 850; }
.phone-app { font-size: 19px; letter-spacing: -.045em; }
.phone-app img { border-radius: 8px; }
.phone-title { min-height: 2.25em; margin: 13px 0 7px; text-align: center; font-size: 20px; font-weight: 850; line-height: 1.1; text-wrap: balance; }
.hero-draw { display: grid; place-items: center; height: 150px; border-radius: 20px; overflow: hidden; background: var(--red-wash); }
.draw-art { position: relative; width: 100%; aspect-ratio: 2; direction: ltr; }
.draw-art img { display: block; width: 100%; height: 100%; object-fit: contain; }
.bag-back, .bag-front, .draw-hand { position: absolute; inset: 0; }
.bag-back, .bag-front { transform: translateX(-9%); }
.draw-hand { transform: translate(22%, -7%); }
.draw-hand b { position: absolute; inset: 66% auto auto 28%; transform: translate(-50%, -50%); color: var(--red-ink); font-size: 27px; font-weight: 900; }
.hero-draw .draw-hand { animation: draw-slip 5.8s ease-in-out infinite; }
@keyframes draw-slip {
  0%, 100% { transform: translate(22%, -7%); }
  36%, 60% { transform: translate(37%, -18%) rotate(-5deg); }
}
.phone-card { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: center; min-height: 42px; margin-top: 10px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 13px; background: #fff; font-size: 12px; font-weight: 750; }
.mock-gift { display: grid; place-items: center; width: 22px; height: 22px; color: var(--red-ink); background: var(--red-wash); border-radius: 7px; }
.mock-arrow { color: #70676a; font-size: 16px; }
.phone-action, .mock-action { display: grid; place-items: center; color: #fff; background: linear-gradient(#ee3354, #ce1031); text-align: center; font-weight: 750; text-wrap: balance; }
.phone-action { position: absolute; inset: auto 15px 28px; min-height: 40px; border-radius: 13px; padding: 6px; font-size: 13px; }

.how { position: relative; background: #fdfdfc; border: 1px solid #f5f5f3; border-radius: 48px; padding: 64px 40px 76px; margin-bottom: 64px; }
.section-intro { max-width: 850px; margin: auto; text-align: center; }
.section-intro .eyebrow { justify-content: center; }
.section-intro h2 { margin: 12px 0 43px; font: italic 400 clamp(38px, 4.3vw, 58px)/1.12 Georgia, "Times New Roman", serif; letter-spacing: -.055em; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.steps article { position: relative; display: flex; flex-direction: column; align-items: center; min-width: 0; padding-inline: 7px; text-align: center; }
.steps article + article::before { content: ""; position: absolute; inset: 8px auto 4px -16px; width: 1px; background: linear-gradient(transparent, #00000016 15%, #00000016 85%, transparent); }
.step-number { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #e7e7e4; border-radius: 50%; background: #fff; color: var(--red-ink); font-size: 13px; font-weight: 800; letter-spacing: .07em; }
.steps h3 { margin: 10px 0 11px; font-size: 25px; font-weight: 800; line-height: 1.13; letter-spacing: -.045em; text-wrap: balance; }
.steps p { max-width: 290px; margin: 0 0 28px; font-size: 16px; line-height: 1.5; text-wrap: balance; }
.step-phone { position: relative; width: min(220px, 100%); height: 390px; flex: none; overflow: hidden; border: 5px solid #111; border-radius: 37px; padding: 38px 12px 20px; margin-top: auto; background: #fafafa; box-shadow: inset 0 0 0 1px #ffffff50, 2px 3px #00000026, 8px 15px 25px #00000013; }
.mini-island { top: 8px; width: 76px; height: 20px; border-radius: 15px; }
.mini-home { bottom: 10px; width: 66px; height: 4px; border-radius: 5px; }
.mini-top { min-height: 26px; font-size: 12px; }
.mini-top img { border-radius: 5px; }
.mini-title { margin: 10px 0; font-size: 20px; line-height: 1.2; letter-spacing: -.025em; font-weight: 850; text-wrap: balance; }
.mini-gift { display: block; width: 87px; height: 87px; margin: 14px auto 0; object-fit: contain; }
.mock-field { display: flex; align-items: center; justify-content: space-between; gap: 5px; margin-top: 14px; padding: 12px 9px; border: 1px solid #e8e8e8; border-radius: 11px; background: white; font-size: 12px; font-weight: 650; }
.mock-field b { color: #178344; }
.mock-action { position: absolute; inset: auto 12px 29px; min-height: 40px; padding: 8px; border-radius: 13px; font-size: 12px; line-height: 1.25; }
.invite-title { margin: 37px 0 18px; }
.invite-code { border: 1px solid var(--line); border-radius: 14px; padding: 13px 4px; background: #fff; color: var(--red-ink); font: 800 21px/1.3 ui-monospace, monospace; letter-spacing: .06em; }
.invite-caption { margin: 12px 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.reveal-title { margin: 30px 0 13px; }
.mini-draw { display: grid; place-items: center; height: 123px; overflow: hidden; border-radius: 16px; background: var(--red-wash); }
.mini-draw .draw-hand b { font-size: 20px; }

.closing { overflow: hidden; background: var(--red); text-align: center; padding: 66px 0 74px; }
.closing-logo { display: block; width: 76px; height: 76px; border-radius: 19px; margin-inline: auto; }
.closing h2 { max-width: 850px; margin: 26px auto 32px; color: #150407; font-size: clamp(43px, 5.5vw, 70px); font-weight: 850; line-height: 1.02; letter-spacing: -.055em; text-wrap: balance; overflow-wrap: anywhere; }
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 28px; padding-block: 28px; }
.footer-identity, .footer-links, .footer nav { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.footer .brand { font-size: 25px; letter-spacing: -1px; }
.footer .brand-logo { width: 32px; height: 32px; border-radius: 9px; }
.footer small { font-size: 11px; color: #666; }
.footer nav { font-size: 12px; color: var(--muted); }
.footer a { display: inline-flex; align-items: center; min-height: 44px; }
.footer nav a:hover, .how-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.footer-language { padding-inline-start: 12px; border-inline-start: 1px solid #eaeaea; }
.language { max-width: 170px; min-height: 44px; padding: 0 4px; border: 0; background: white; color: var(--muted); font: inherit; font-size: 12px; }
.language-list { flex-basis: 100%; }
.language-list nav { gap: 0 14px; }

@supports (grid-template-rows: subgrid) {
  @media (min-width: 851px) {
    .steps { grid-template-rows: repeat(4, auto); row-gap: 0; }
    .steps article { display: grid; grid-row: span 4; grid-template-rows: subgrid; justify-items: center; row-gap: 0; }
    .steps h3 { align-self: center; }
    .steps p { align-self: start; }
  }
}
@media (max-width: 1050px) {
  .wrap { width: calc(100% - 56px); }
  .hero { gap: 26px; }
  .hero-art::before { top: 105px; width: min(365px, 100%); }
  .hero h1 { font-size: clamp(44px, 5.9vw, 65px); }
  .hero-description { font-size: 17px; }
  .steps { gap: 20px; }
  .steps article { padding-inline: 0; }
  .steps article + article::before { left: -10px; }
  .steps h3 { font-size: 23px; }
  .steps p { font-size: 15px; }
  .step-phone { width: min(208px, 100%); }
}
@media (max-width: 850px) {
  .wrap { width: calc(100% - 40px); }
  .header { height: 90px; }
  .how-link { display: none; }
  .hero { grid-template-columns: 1fr; gap: 39px; padding-block: 14px 40px; min-height: 0; }
  .hero-copy { text-align: center; }
  .hero-copy .eyebrow { justify-content: center; }
  .hero h1 { margin-block: 22px; font-size: clamp(44px, 8.7vw, 76px); }
  .hero-description { max-width: 475px; margin: 0 auto 24px; }
  .hero-art { width: 100%; max-width: 470px; margin-inline: auto; }
  .hero-art::before { top: 87px; width: min(390px, 100%); }
  .how { padding: 45px 20px 52px; border-radius: 32px; margin-bottom: 32px; }
  .section-intro h2 { margin-bottom: 33px; }
  .steps { grid-template-columns: 1fr; max-width: 470px; margin: auto; gap: 44px; }
  .steps article + article { padding-top: 32px; }
  .steps article + article::before { inset: -6px 20% auto; width: auto; height: 1px; background: linear-gradient(90deg, transparent, #00000020, transparent); }
  .steps h3 { font-size: 27px; }
  .steps p { font-size: 16px; max-width: 365px; }
  .step-phone { width: min(232px, 100%); padding-inline: 15px; }
  .closing { padding-block: 55px 64px; }
}
@media (max-width: 430px) {
  .brand { font-size: 30px; gap: 7px; }
  .brand-logo { width: 35px; height: 35px; }
  .hero h1 { font-size: clamp(38px, 10.7vw, 46px); }
  .hero-art { min-height: 545px; }
  .hero-art::before { top: 105px; width: min(330px, 100%); }
  .phone { width: min(276px, calc(100% - 24px)); height: 534px; }
  .hero-description { font-size: 16px; }
  .button { padding: 18px 23px; font-size: 16px; }
  .section-intro h2 { font-size: 37px; }
  .closing h2 { font-size: clamp(36px, 10vw, 46px); }
}
@media (max-width: 600px) {
  .footer { display: grid; gap: 12px; padding-block: 24px; }
  .footer-identity, .footer-links { justify-content: space-between; }
  .footer-language { padding: 0; border: 0; }
  .footer nav { column-gap: 14px; }
}
[dir="rtl"] .steps article + article::before { left: auto; right: -16px; }
@media (max-width: 1050px) { [dir="rtl"] .steps article + article::before { right: -10px; } }
@media (max-width: 850px) { [dir="rtl"] .steps article + article::before { left: 20%; right: 20%; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .draw-hand, .button { animation: none !important; transition: none !important; }
}
