@font-face {
  font-family: Fredoka;
  src: url("assets/fredoka.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: Nunito;
  src: url("assets/nunito.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}

:root {
  --ink: #281b41;
  --muted: #5e526d;
  --purple: #6d3cc6;
  --purple-deep: #5829ab;
  --lavender: #f1eaff;
  --cream: #fffdf8;
  --white: #fff;
  --yellow: #ffd345;
  --yellow-shadow: #e5a61d;
  --border: #e9e1ef;
  --head: Fredoka, "Trebuchet MS", sans-serif;
  --body: Nunito, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 600 16px/1.55 var(--body); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, summary { font: inherit; }
button { color: inherit; }
button:not(:disabled), summary { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--purple-deep); outline-offset: 4px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--head); font-weight: 600; line-height: 1.06; }
h1 { font-size: clamp(3.25rem, 5.55vw, 5.4rem); letter-spacing: -.043em; }
h2 { font-size: clamp(2.4rem, 4.15vw, 3.7rem); letter-spacing: -.035em; }
h3 { font-size: 1.55rem; letter-spacing: -.012em; }
em { color: var(--purple); font-style: normal; }
.container { width: min(1184px, 100% - 96px); margin-inline: auto; }
.section { padding-block: 84px; }
section[id] { scroll-margin-top: 22px; }
.skip-link { position: fixed; z-index: 5; top: 10px; left: 10px; padding: 10px 15px; border-radius: 8px; background: var(--yellow); transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.icon {
  display: inline-block;
  width: 1.15em;
  height: 1.15em;
  background: currentColor;
  mask: var(--icon) center / contain no-repeat;
  flex: none;
}
.arrow-right { --icon: url("assets/arrow-right.png"); }
.chevron-down { --icon: url("assets/chevron-down.png"); }
.chevron-left { --icon: url("assets/chevron-left.png"); }
.chevron-right { --icon: url("assets/chevron-right.png"); }
.file-text { --icon: url("assets/file-text.png"); }
.heart { --icon: url("assets/heart.png"); }
.lock { --icon: url("assets/lock.png"); }
.paw-print { --icon: url("assets/paw-print.png"); }
.plus { --icon: url("assets/plus.png"); }
.printer { --icon: url("assets/printer.png"); }
.rainbow { --icon: url("assets/rainbow.png"); }
.car-front { --icon: url("assets/car-front.png"); }
.sparkles { --icon: url("assets/sparkles.png"); }
.x { --icon: url("assets/x.png"); }

.site-header { background: var(--cream); }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header-inner { min-height: 79px; }
.brand { display: inline-flex; align-items: center; gap: 9px; flex: none; }
.brand-mark { width: 39px; height: 39px; display: grid; place-items: center; background: var(--lavender); border-radius: 13px; }
.brand-mark i { width: 25px; height: 15px; background: radial-gradient(circle at 50% 100%, transparent 0 3px, #f8be34 3.5px 5.5px, #e85598 6px 8px, #7951d8 8.5px 11.5px, transparent 12px); }
.brand-name { font: 650 1.3rem/.93 var(--head); letter-spacing: -.018em; }
.brand-name span { color: var(--purple); }
.main-nav { display: flex; align-items: center; gap: 34px; color: #4a3b5c; font-size: .93rem; font-weight: 800; }
.main-nav a:hover, .text-link:hover { color: var(--purple-deep); text-decoration: underline; text-underline-offset: 4px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 54px;
  padding: 11px 21px;
  border: 0;
  border-radius: 13px;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.button-yellow { background: var(--yellow); color: #30213d; box-shadow: 0 4px 0 var(--yellow-shadow); }
.button-yellow:not(:disabled):hover { background: #ffdf67; transform: translateY(-2px); box-shadow: 0 6px 0 var(--yellow-shadow); }
.button-yellow:not(:disabled):active { transform: translateY(2px); box-shadow: 0 2px 0 var(--yellow-shadow); }
.button-small { min-height: 41px; padding-inline: 15px; font-size: .9rem; border-radius: 10px; }

.hero { position: relative; background: #f3edff; overflow: hidden; }
.hero::after {
  position: absolute;
  inset: auto auto -222px -178px;
  width: 405px;
  height: 405px;
  border: 45px solid #ede3fd;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}
.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1.16fr;
  align-items: center;
  gap: clamp(24px, 4.3vw, 64px);
  padding-block: clamp(50px, 6.2vw, 90px);
}
.hero-copy, .hero-visual { position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--purple-deep);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .125em;
}
.hero-label { margin-bottom: 15px; padding: 7px 12px; border-radius: 99px; background: #e8dbff; font-size: .78rem; letter-spacing: .015em; }
.hero-label .icon { font-size: 1.04rem; }
.hero h1 em { display: block; }
.hero h1 em span { color: #c82b74; }
.hero-description { max-width: 430px; margin-top: 18px; color: var(--muted); font-size: clamp(1rem, 1.42vw, 1.17rem); line-height: 1.58; }
.hero-actions { margin-top: 25px; display: flex; gap: 21px; align-items: center; flex-wrap: wrap; }
.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--purple-deep); font-size: .92rem; font-weight: 900; }
.hero-detail { display: flex; gap: 6px; align-items: center; margin-top: 18px; color: var(--muted); font-size: .8rem; font-weight: 800; }
.hero-detail .icon { color: var(--purple); }
.hero-visual { isolation: isolate; }
.hero-visual > img {
  width: 100%;
  height: auto;
  border: 6px solid #fdfaff;
  border-radius: 34px;
  box-shadow: 0 16px 33px #62409a27;
}
.hero-visual figcaption {
  position: absolute;
  bottom: -15px;
  left: 7%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 90%;
  padding: 8px 15px;
  background: #fffaf0;
  border: 1px solid #f6e3ad;
  border-radius: 12px;
  color: #533268;
  box-shadow: 0 5px 10px #59347b19;
  font-size: .85rem;
  font-weight: 900;
  transform: rotate(-4deg);
}
.hero-star, .hero-spark { position: absolute; line-height: 1; pointer-events: none; }
.hero-star { top: -19px; right: -12px; color: #ffc439; font-size: 3.4rem; text-shadow: 0 2px #e7aa20; transform: rotate(10deg); }
.hero-spark { top: 30px; right: -19px; color: #b185f1; font-size: 1.55rem; }

.benefits { border-bottom: 1px solid #f0e8df; }
.benefit-list { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; padding: 23px 0; margin-block: 0; }
.benefit-list li { display: flex; justify-content: center; align-items: center; gap: 13px; }
.benefit-list li + li { border-left: 1px solid #eee5e0; }
.benefit-icon, .product-icon { display: grid; place-items: center; border-radius: 13px; flex: none; }
.benefit-icon { width: 44px; height: 44px; font-size: 1.16rem; }
.lavender { background: #eee4ff; color: #6e40c8; }
.yellow { background: #fff1c3; color: #885800; }
.pink { background: #fce4f0; color: #a52a69; }
.benefit-list strong { display: block; font-weight: 900; line-height: 1.2; }
.benefit-list small { display: block; margin-top: 3px; color: var(--muted); font-size: .81rem; }

.section-heading { text-align: center; margin: 0 auto 33px; }
.section-heading .eyebrow, .faq .eyebrow { margin-bottom: 9px; }
.section-heading > p:last-child { margin-top: 11px; color: var(--muted); }
.samples { padding-top: 65px; }
.sample-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 21px; max-width: 1060px; margin-inline: auto; }
.sample-card { padding: 15px 15px 9px; border-radius: 21px; border: 1px solid var(--card-outline); background: var(--card); transition: transform .22s, box-shadow .22s; }
.sample-card:hover { transform: translateY(-3px); box-shadow: 0 9px 18px #41236516; }
.card-lavender { --card: #f0e7ff; --card-outline: #e6d6fc; }
.card-pink { --card: #ffecf4; --card-outline: #f6dbe7; }
.card-yellow { --card: #fff4cf; --card-outline: #f6e9b2; }
.sample-trigger { display: block; width: 100%; background: transparent; padding: 0; border: 0; text-align: left; border-radius: 13px; }
.sample-paper {
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  place-items: center;
  padding: 12px;
  aspect-ratio: 1.09;
  background: #fff;
  border-radius: 13px;
  overflow: hidden;
}
.sample-paper img { width: 100%; height: 100%; object-fit: contain; }
.sample-caption { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 63px; padding: 7px 3px 1px 5px; font-family: var(--head); font-size: clamp(1rem, 1.7vw, 1.25rem); }
.sample-caption strong { display: block; font-weight: 600; line-height: 1.15; }
.sample-caption small { display: block; margin-bottom: 3px; color: var(--purple-deep); font: 800 .77rem/1.25 var(--body); }
.sample-plus { display: grid; place-items: center; flex: none; width: 31px; height: 31px; border-radius: 50%; background: #fff; color: var(--purple-deep); font-size: .9rem; }

dialog { width: min(470px, calc(100% - 24px)); max-height: calc(100dvh - 32px); padding: 16px; border: 1px solid var(--border); border-radius: 21px; color: var(--ink); box-shadow: 0 18px 70px #23103945; background: var(--cream); }
dialog::backdrop { background: #291a44ae; }
.dialog-head, .dialog-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dialog-head h3 { padding-left: 4px; }
.dialog-nav { justify-content: center; margin-top: 9px; color: var(--muted); }
dialog img { width: 100%; height: auto; aspect-ratio: 1042 / 1474; max-height: calc(100dvh - 170px); object-fit: contain; margin-top: 9px; border-radius: 12px; background: var(--white); }
.icon-button { display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--lavender); color: var(--purple-deep); }
.icon-button:hover { background: #e5d5fc; }

.offer { background: #f4eeff; }
.offer-layout { display: grid; grid-template-columns: minmax(0, 1.53fr) minmax(0, 1fr); gap: 24px; align-items: start; max-width: 1010px; margin-inline: auto; }
.products, .summary { border: 1px solid #e6dcf5; border-radius: 24px; background: var(--white); }
.products { padding: 20px; }
.main-product { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 13px; padding: 14px; background: #fff8e6; border: 1px solid #f5e7bf; border-radius: 15px; }
.product-icon { width: 43px; height: 43px; font-size: 1.18rem; }
.main-product h3 { font-size: clamp(1.15rem, 2vw, 1.49rem); }
.product-label { color: #805719; font-size: .68rem; font-weight: 900; letter-spacing: .08em; }
.main-product p, .extra-text small { color: var(--muted); font-size: .83rem; }
.main-product p { margin-top: 3px; }
.product-price, .extra-price { color: var(--purple-deep); white-space: nowrap; font-weight: 900; }
.extras { display: grid; gap: 9px; min-width: 0; margin: 19px 0 0; padding: 0; border: 0; }
.extras legend { margin-bottom: 9px; padding: 0; font-weight: 900; }
.extra { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 67px; padding: 9px 11px; border: 1px solid var(--border); border-radius: 13px; cursor: pointer; }
.extra:hover { border-color: #a882ef; }
.extra:has(:checked) { border-color: #9b72e9; background: #f8f2ff; }
.extra input { accent-color: var(--purple); width: 18px; height: 18px; margin: 0 2px 0 0; }
.extra-text strong, .extra-text small { display: block; line-height: 1.28; }
.extra-text strong { font-weight: 900; }
.extra-text small { margin-top: 3px; }
.extra-price { font-size: .88rem; }
.summary { padding: 23px; box-shadow: 0 9px 27px #5328910f; }
.summary h3 { margin-bottom: 14px; }
.order-lines { display: grid; gap: 7px; min-height: 25px; list-style: none; margin: 0; padding: 0; font-size: .88rem; }
.order-lines li, .total { display: flex; align-items: baseline; justify-content: space-between; gap: 11px; }
.order-lines li strong { white-space: nowrap; }
.order-lines li span { color: var(--muted); }
.total { margin-top: 15px; padding-top: 12px; border-top: 1px dashed #ddd1eb; font-weight: 900; }
.total strong { color: var(--purple-deep); font: 650 2.1rem/1.12 var(--head); white-space: nowrap; }
.checkout { width: 100%; margin-top: 13px; }
.checkout:disabled { background: #f2e9db; color: #645871; box-shadow: none; }
.checkout-note { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 10px; color: var(--muted); font-size: .77rem; text-align: center; }

.faq-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 44px; max-width: 1010px; }
.faq-list { display: grid; gap: 10px; }
details { border: 1px solid var(--border); border-radius: 13px; background: var(--white); }
summary { min-height: 54px; display: flex; justify-content: space-between; align-items: center; gap: 13px; padding: 12px 16px; list-style: none; font-weight: 900; border-radius: inherit; }
summary::-webkit-details-marker { display: none; }
summary .icon { color: var(--purple); transition: transform .2s; }
details[open] summary .icon { transform: rotate(45deg); }
details p { color: var(--muted); padding: 0 16px 14px; font-size: .93rem; }
.site-footer { border-top: 1px solid #eee6ef; background: #f7f1ff; }
.footer-inner { min-height: 83px; }
.footer-inner p { color: var(--muted); font-size: .81rem; }

@media (max-width: 970px) {
  .container { width: min(1184px, 100% - 60px); }
  .hero-layout { gap: 28px; }
  .main-nav { gap: 22px; }
}
@media (max-width: 760px) {
  .container { width: calc(100% - 36px); }
  .section { padding-block: 56px; }
  .header-inner { min-height: 65px; }
  .main-nav { display: none; }
  .hero-layout { grid-template-columns: 1fr; gap: 27px; padding-block: 33px 42px; }
  .hero-copy { max-width: 510px; }
  .hero h1 { font-size: clamp(3.15rem, 9vw, 4.35rem); }
  .hero-description { margin-top: 12px; }
  .hero-actions { margin-top: 18px; }
  .hero-detail { margin-top: 14px; }
  .hero-visual { max-width: 570px; margin-inline: auto; }
  .hero-visual > img { border-radius: 24px; border-width: 4px; }
  .hero-star { right: -5px; font-size: 2.65rem; }
  .hero-spark { right: -8px; top: 18px; font-size: 1.1rem; }
  .benefit-list { padding-block: 15px; }
  .benefit-list li { flex-direction: column; text-align: center; justify-content: start; gap: 6px; padding-inline: 4px; }
  .benefit-list strong { font-size: .78rem; }
  .benefit-list small { font-size: .71rem; line-height: 1.2; }
  .benefit-icon { width: 37px; height: 37px; }
  .sample-grid { grid-template-columns: 1fr; gap: 10px; }
  .sample-card { padding: 8px; border-radius: 14px; }
  .sample-trigger { display: grid; grid-template-columns: minmax(0, 116px) minmax(0, 1fr); align-items: center; gap: 12px; }
  .sample-paper { aspect-ratio: 1; padding: 5px; border-radius: 8px; }
  .sample-caption { padding: 3px 4px 3px 0; min-height: 47px; font-size: 1.08rem; }
  .sample-plus { width: 27px; height: 27px; font-size: .73rem; }
  .offer-layout, .faq-layout { grid-template-columns: 1fr; gap: 15px; }
  .faq-layout > div:first-child { margin-bottom: 6px; }
  .footer-inner { flex-wrap: wrap; padding-block: 17px; gap: 13px 20px; }
}
@media (max-width: 390px) {
  .container { width: calc(100% - 28px); }
  .brand-name { font-size: 1.12rem; }
  .hero-actions { gap: 13px; }
  .hero-actions .button { padding-inline: 13px; }
  .products { padding: 11px; }
  .main-product { gap: 7px; padding: 9px; }
  .main-product .product-icon { display: none; }
  .main-product { grid-template-columns: minmax(0, 1fr) auto; }
  .extra { gap: 7px; padding-inline: 7px; }
  .extra .product-icon { width: 31px; height: 31px; border-radius: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

.contents {
  display: grid;
  gap: 7px;
  margin: 16px 0 2px;
  padding-inline-start: 23px;
  color: var(--muted);
  font-size: .92rem;
}
.contents li::marker { color: var(--purple); }
.offer-samples { margin: 13px 0 3px; }
@media (max-width: 390px) {
  .hero-actions { column-gap: 12px; row-gap: 16px; }
}

@media (min-width: 761px) {
  .hero h1 { font-size: clamp(2.85rem, 5.25vw, 4.7rem); }
}
@media (max-width: 440px) {
  .hero h1 { font-size: clamp(2.55rem, 11.2vw, 3.1rem); }
}
