:root {
  color-scheme: light;
  --ink: #24242a;
  --muted: #686870;
  --cream: #f8f7f4;
  --surface: #fff;
  --sage: #f0eee9;
  --line: #e6e3de;
  --coral: #c24f3b;
  --on-button: #fff;
  --lilac: #eeeaf7;
  --shadow: 0 24px 70px #24242a0b, 0 3px 12px #24242a05;
}

:root[data-theme=dark] {
  color-scheme: dark;
  --ink: #f3f3f5;
  --muted: #acacb4;
  --cream: #101012;
  --surface: #1a1a1e;
  --sage: #252529;
  --line: #34343a;
  --coral: #f69680;
  --on-button: #171719;
  --lilac: #2d2937;
  --shadow: 0 24px 70px #0005, 0 3px 12px #0002;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 16px/1.7 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--coral); }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--coral); outline-offset: 5px; }
::selection { background: var(--lilac); color: var(--ink); }
main, .site-header, .site-footer { width: min(1160px, calc(100% - 72px)); margin-inline: auto; }
.site-header { padding-block: 27px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-size: 20px; font-weight: 800; letter-spacing: -.7px; white-space: nowrap; }
.brand-at { font-weight: 500; color: var(--muted); }
.site-header nav { display: flex; align-items: center; gap: 27px; font-size: 13px; font-weight: 650; }
.site-header nav > a:not(.button) { text-decoration: none; }
.theme-toggle { border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; width: 40px; height: 40px; background: var(--surface); color: var(--ink); cursor: pointer; flex-shrink: 0; transition: border-color .18s, transform .18s; }
.theme-toggle:hover { border-color: var(--muted); transform: rotate(-12deg); }
.theme-toggle .theme-sun { display: none; }
[data-theme=dark] .theme-toggle .theme-sun { display: block; }
[data-theme=dark] .theme-toggle .theme-moon { display: none; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; background: var(--coral); color: var(--on-button); border: 1px solid transparent; border-radius: 14px; padding: 16px 25px; text-decoration: none; font-size: 14px; font-weight: 750; line-height: 1.4; transition: transform .18s, box-shadow .18s; }
.button:hover { color: var(--on-button); transform: translateY(-2px); box-shadow: var(--shadow); }
.button-small { padding: 11px 19px; background: var(--ink); color: var(--cream); border-radius: 11px; }
.button-small:hover { color: var(--cream); }
.text-link { font-size: 14px; font-weight: 700; text-decoration: none; }
.eyebrow { font-size: 10px; font-weight: 800; letter-spacing: 2.2px; color: var(--coral); margin: 0 0 18px; }
h1, h2, h3 { line-height: 1.13; letter-spacing: -1.6px; margin: 0; font-weight: 800; text-wrap: balance; }
h1 { font-size: clamp(40px, 4.7vw, 64px); letter-spacing: -2.6px; }
h1 span { color: var(--coral); }
h2 { font-size: clamp(29px, 3vw, 39px); }
h3 { font-size: 21px; letter-spacing: -.6px; }
p { margin: 16px 0; }
.hero { display: grid; grid-template-columns: 1.35fr 1fr; align-items: center; gap: 64px; padding: 90px 0 105px; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 7px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 50px; font-size: 9px; letter-spacing: 1.7px; }
.hero .eyebrow::before { content: ""; width: 5px; height: 5px; background: var(--coral); border-radius: 50%; }
.hero-description { max-width: 550px; font-size: 17px; color: var(--muted); margin: 26px 0 30px; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }
.small-note { font-size: 12px; color: var(--muted); margin-top: 20px; }
.hero-benefits { display: flex; flex-wrap: wrap; gap: 12px 20px; margin: 29px 0 0; padding: 0; list-style: none; font-size: 11px; font-weight: 650; color: var(--muted); }
.hero-benefits li::before { content: "✓"; color: var(--coral); margin-right: 7px; }
.hero-art { height: 395px; position: relative; display: grid; place-items: center; }
.hero-art::before { content: ""; position: absolute; width: 345px; height: 345px; border-radius: 44% 56% 58% 42%; background: var(--lilac); transform: rotate(-14deg); }
.hero-art::after { content: ""; position: absolute; width: 285px; height: 285px; border: 1px dashed var(--line); border-radius: 50%; transform: translate(25px, 8px); }
.gift-card { position: relative; z-index: 1; width: 245px; height: 310px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 27px 20px 28px; border: 1px solid var(--line); border-radius: 25px; background: var(--surface); box-shadow: var(--shadow); transform: rotate(-7deg); animation: float-gift 7s ease-in-out infinite; }
.gift-label { font-size: 9px; letter-spacing: 2px; font-weight: 750; color: var(--muted); }
.gift-card img { transform: rotate(7deg); margin-top: 8px; }
.gift-caption { font-size: 19px; font-weight: 800; line-height: 1.2; text-align: center; letter-spacing: -.4px; }
.sticker { position: absolute; z-index: 2; background: var(--surface); border: 1px solid var(--line); border-radius: 15px; padding: 15px 20px; box-shadow: var(--shadow); font-size: 13px; font-weight: 750; line-height: 1.4; }
.sticker-one { left: -8px; top: 28px; transform: rotate(-12deg); color: var(--ink); }
.sticker-two { bottom: 17px; right: -8px; transform: rotate(7deg); color: var(--coral); background: var(--lilac); }
.art-spark { position: absolute; z-index: 2; color: var(--coral); font-size: 45px; }
.spark-one { right: -1px; top: 6px; }
.spark-two { left: 3px; bottom: 34px; }
.section { padding: 58px 0 70px; }
.section-heading { max-width: 710px; margin-bottom: 35px; }
.section-heading .eyebrow { margin-bottom: 14px; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { padding: 31px 28px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: 0 3px 10px #00000002; }
.card p { font-size: 14px; color: var(--muted); margin-bottom: 0; }
.card a { display: inline-block; font-size: 13px; font-weight: 700; margin-top: 22px; }
.step { display: inline-grid; place-items: center; width: 41px; height: 41px; border-radius: 13px; background: var(--sage); font-size: 12px; font-weight: 800; color: var(--coral); letter-spacing: 1px; margin-bottom: 25px; }
.feature-icon { display: inline-grid; place-items: center; width: 47px; height: 47px; border-radius: 14px; background: var(--lilac); font-size: 26px; color: var(--ink); margin-bottom: 24px; line-height: 1; }
.feature-section { border-block: 1px solid var(--line); }
.feature-section .card { background: transparent; box-shadow: none; }
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; padding-block: 84px; }
.about p { color: var(--muted); margin-top: 0; }
.faq { max-width: 820px; margin-inline: auto; padding-top: 42px; }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq summary { font-weight: 700; cursor: pointer; padding-right: 12px; }
.faq summary::marker { color: var(--coral); font-size: 12px; }
.faq details p { color: var(--muted); font-size: 15px; padding-right: 20px; }
.cta { display: flex; align-items: center; justify-content: space-between; gap: 35px; padding: 48px; border: 1px solid var(--line); border-radius: 27px; background: var(--lilac); margin: 40px 0 85px; }
.cta h2 { font-size: 31px; }
.cta .eyebrow { margin-bottom: 13px; }
.cta p:last-child { font-size: 14px; color: var(--muted); margin-bottom: 0; }
.cta .button { flex-shrink: 0; }
.site-footer { padding: 36px 0 48px; border-top: 1px solid var(--line); display: flex; align-items: start; justify-content: space-between; gap: 30px; }
.site-footer p { font-size: 12px; color: var(--muted); }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 15px 23px; font-size: 12px; max-width: 440px; }
.article { max-width: 780px; margin: 65px auto; }
.article h1 { font-size: clamp(35px, 4.5vw, 51px); }
.article .lead { font-size: 19px; color: var(--muted); margin: 25px 0 45px; }
.article h2 { font-size: 25px; letter-spacing: -.6px; margin-top: 39px; }
.article p { color: var(--muted); }
.article blockquote { margin: 25px 0; padding: 25px 30px; border-left: 3px solid var(--coral); background: var(--sage); border-radius: 0 14px 14px 0; }
.skip-link { position: fixed; top: 0; left: 15px; background: var(--ink); color: var(--cream); padding: 10px 20px; transform: translateY(-110%); z-index: 100; }
.skip-link:focus { transform: translateY(0); }
.app-loading { display: none; }
html[data-view=app] [data-public] { display: none; }
html[data-view=app] .app-loading { display: flex; min-height: 100dvh; align-items: center; justify-content: center; gap: 14px; padding: 24px; font-weight: 650; }
html[data-view=app] .app-loading p { max-width: 320px; }
html[data-view=app] { scroll-behavior: auto; }

@keyframes float-gift {
  0%, 100% { transform: translateY(0) rotate(-7deg); }
  50% { transform: translateY(-9px) rotate(-4deg); }
}

@media (max-width: 850px) {
  .hero { gap: 30px; padding: 62px 0 72px; }
  .hero-art { height: 330px; }
  .hero-art::before { width: 285px; height: 285px; }
  .hero-art::after { width: 235px; height: 235px; }
  .gift-card { width: 205px; height: 270px; }
  .gift-card img { width: 130px; height: 130px; }
  .sticker-one { left: -15px; font-size: 11px; padding: 11px; }
  .sticker-two { right: -8px; font-size: 11px; }
  .card-grid { gap: 12px; }
  .card { padding: 24px 20px; }
  .about { gap: 40px; }
  .site-header nav { gap: 16px; }
  .cta { padding: 32px; }
}

@media (max-width: 640px) {
  main, .site-header, .site-footer { width: calc(100% - 40px); }
  .site-header { padding-block: 20px; gap: 10px; }
  .brand { font-size: 17px; gap: 8px; }
  .brand img { width: 32px; height: 32px; }
  .site-header nav { gap: 9px; }
  .site-header nav > a:not(.button) { display: none; }
  .button-small { padding: 10px 13px; font-size: 12px; }
  .theme-toggle { width: 32px; height: 32px; }
  .hero { grid-template-columns: 1fr; padding: 42px 0 45px; gap: 35px; }
  .hero h1 { font-size: 42px; letter-spacing: -1.9px; }
  .hero-description { font-size: 16px; margin-block: 24px; }
  .hero-benefits { margin-top: 24px; gap: 8px 15px; }
  .actions { gap: 18px; }
  .hero-art { max-width: 340px; width: 100%; height: 310px; margin: 15px auto 0; }
  .hero-art::before { width: 270px; height: 270px; }
  .gift-card { width: 207px; height: 267px; }
  .sticker-one { left: 0; top: 6px; }
  .sticker-two { right: 0; bottom: 5px; }
  .spark-one { right: 10px; }
  .spark-two { left: 12px; bottom: 15px; }
  .section { padding: 42px 0 48px; }
  .card-grid { grid-template-columns: 1fr; gap: 14px; }
  .card { padding: 26px; }
  .card .step { margin-bottom: 20px; }
  .about { grid-template-columns: 1fr; gap: 25px; }
  .cta { align-items: start; flex-direction: column; padding: 28px; gap: 25px; margin-bottom: 52px; }
  .cta h2 { font-size: 28px; }
  .site-footer { flex-direction: column; gap: 17px; }
  .site-footer nav { justify-content: flex-start; gap: 13px 20px; }
  .article { margin-top: 40px; }
  .article h1 { font-size: 38px; }
  .article .lead { font-size: 17px; }
  .article blockquote { padding: 20px; }
  .faq summary { font-size: 15px; }
  .eyebrow { letter-spacing: 1.6px; }
}

@media (max-width: 350px) {
  .brand { font-size: 15px; gap: 6px; }
  .brand img { width: 27px; height: 27px; }
  .button-small { padding: 9px 11px; }
  .theme-toggle { width: 29px; height: 29px; }
  .site-header nav { gap: 6px; }
  .hero h1 { font-size: 36px; }
  .hero-art { height: 295px; }
  .hero-art::before { width: 230px; height: 230px; }
  .hero-art::after { width: 210px; height: 210px; transform: translate(12px, 8px); }
  .button:not(.button-small) { padding: 14px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gift-card { animation: none; }
  .button, .theme-toggle { transition: none; }
}
