*, *::before, *::after { box-sizing: border-box; }
* { font-family: Inter, system-ui, "Segoe UI", sans-serif; }

html, body {
  margin: 0;
  padding: 0;
  background: #E4E4E4;
  color: #111111;
  overflow-x: clip;
  scroll-behavior: smooth;
}

img { max-width: 100%; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { font-weight: 500; letter-spacing: -0.03em; }
::selection { background: #75C5DE; color: #111; }
:focus-visible { outline: 2px solid #111; outline-offset: 3px; }

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 100;
  background: #111;
  color: #F4F1E8;
  padding: 8px 12px;
  border-radius: 10px;
}
.skip:focus { top: 12px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.splash {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  pointer-events: none;
  overflow: hidden;
  animation: splashHide 0.3s ease forwards;
  animation-delay: 1.35s;
}
.splash-row { display: flex; width: 100%; height: 50%; }
.splash-box { width: 20%; height: 100%; background: #75C5DE; }
.splash-row-top .splash-box { animation: splashTop 1s cubic-bezier(0.96, -0.02, 0.38, 1.01) forwards; }
.splash-row-bottom .splash-box { animation: splashBottom 1s cubic-bezier(0.96, -0.02, 0.38, 1.01) forwards; }
.splash-box:nth-child(1) { animation-delay: 0s; }
.splash-box:nth-child(2) { animation-delay: 0.05s; }
.splash-box:nth-child(3) { animation-delay: 0.1s; }
.splash-box:nth-child(4) { animation-delay: 0.15s; }
.splash-box:nth-child(5) { animation-delay: 0.2s; }

@keyframes splashTop { from { transform: translateY(0); } to { transform: translateY(-100%); } }
@keyframes splashBottom { from { transform: translateY(0); } to { transform: translateY(100%); } }
@keyframes splashHide { to { opacity: 0; visibility: hidden; } }

@keyframes wordReveal {
  from { opacity: 0; transform: translateY(10px); filter: blur(10px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
.word-reveal {
  opacity: 0;
  display: inline-block;
  margin-right: 0.28em;
  animation: wordReveal 0.4s ease forwards;
}
.hero-headline .word-reveal:nth-child(1) { animation-delay: 1s; }
.hero-headline .word-reveal:nth-child(2) { animation-delay: 1.05s; }
.hero-headline .word-reveal:nth-child(3) { animation-delay: 1.1s; }
.hero-headline .word-reveal:nth-child(4) { animation-delay: 1.15s; }
.hero-headline .word-reveal:nth-child(5) { animation-delay: 1.2s; }
.hero-headline .word-reveal:nth-child(6) { animation-delay: 1.25s; }
.hero-headline .word-reveal:nth-child(7) { animation-delay: 1.3s; }
.hero-headline .word-reveal:nth-child(8) { animation-delay: 1.35s; }

@keyframes slideUpScale {
  from { opacity: 0; transform: translateY(60px) scale(0.4); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.cta-animate {
  opacity: 0;
  animation: slideUpScale 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  animation-delay: 1.15s;
}

@keyframes creatorSlideUp { from { transform: translateY(330px); } to { transform: translateY(0); } }
.creator-text-animate {
  transform: translateY(330px);
  animation: creatorSlideUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 1.35s;
}

.logo-wrapper {
  position: fixed;
  top: 30px;
  left: 0;
  width: 50%;
  z-index: 40;
  display: flex;
  mix-blend-mode: difference;
  pointer-events: none;
}
.logo-wrapper .inner { padding-left: 20px; pointer-events: auto; }
.logo-mark {
  color: #F4F1E8;
  text-decoration: none;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.04em;
}

.burger-wrapper {
  position: fixed;
  top: 16px;
  right: 0;
  width: 50%;
  z-index: 40;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
}
.burger-wrapper .inner {
  padding-right: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: auto;
}

.cart-fab, .burger-btn {
  width: 59px;
  height: 59px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: #F4F1E8;
  color: #111;
  display: grid;
  place-items: center;
  position: relative;
  transition: background 0.4s ease, color 0.4s ease;
}
.cart-fab:hover, .burger-btn:hover { background: #0B0B0B; color: #F4F1E8; }
.burger-btn { display: flex; flex-direction: column; gap: 4px; }
.burger-btn .bar {
  display: block;
  width: 24px;
  height: 2px;
  background: #111;
  transition: transform 0.3s ease, background 0.3s ease;
}
.burger-btn:hover .bar, .burger-btn.open .bar { background: #F4F1E8; }
.burger-btn.open { background: #0B0B0B; }
.burger-btn.open .bar:first-child { transform: rotate(45deg) translate(2px, 2px); }
.burger-btn.open .bar:last-child { transform: rotate(-45deg) translate(2px, -2px); }

.count {
  display: none;
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 99px;
  background: #75C5DE;
  color: #111;
  font-size: 11px;
  font-weight: 700;
  place-items: center;
}
.count.on { display: grid; }

.menu-panel {
  position: fixed;
  z-index: 30;
  left: 8px;
  right: 8px;
  border-radius: 20px;
  background: rgba(17, 17, 17, 0.95);
  backdrop-filter: blur(26px);
  -webkit-backdrop-filter: blur(26px);
  padding: 96px 28px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  transition: top 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.4s ease;
  top: -120%;
  opacity: 0;
  pointer-events: none;
}
.menu-panel.open { top: 8px; opacity: 1; pointer-events: auto; }
.menu-panel nav { display: flex; flex-direction: column; gap: 8px; }
.menu-panel nav a {
  color: #F4F1E8;
  font-size: 36px;
  font-weight: 500;
  text-decoration: none;
  line-height: 1.2;
  letter-spacing: -0.03em;
  transition: opacity 0.3s ease;
}
.menu-panel nav a:hover { opacity: 0.7; }
.menu-email {
  color: #9A9590;
  font-size: 18px;
  text-decoration: none;
}
.menu-email:hover { color: #F4F1E8; }

.hero {
  position: relative;
  width: 100%;
  background: #E4E4E4;
  padding: 118px 16px 20px;
}
.hero-content {
  width: min(1600px, 100%);
  margin: 0 auto 22px;
}
.hero-headline {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(46px, 9vw, 92px);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.045em;
  color: #111;
}
.hero-photo {
  margin: 0 auto;
  width: min(1600px, 100%);
  height: min(62vh, 640px);
  border-radius: 28px;
  overflow: hidden;
  background: #111;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.word-scroll {
  height: 190vh;
  background: #111;
  margin-top: 18px;
}
.word-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-word {
  margin: 0;
  font-weight: 500;
  color: #F4F1E8;
  line-height: 0.8;
  letter-spacing: -0.06em;
  white-space: nowrap;
  font-size: clamp(92px, 24vw, 280px);
  will-change: transform;
}

.cta-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 8px;
  gap: 12px;
  text-decoration: none;
  color: #111;
}
.cta-btn-bg {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 8px;
  width: calc(100% - 8px - 8px - 48px - 12px);
  border-radius: 999px;
  background: white;
  z-index: 0;
  transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.cta-btn:hover .cta-btn-bg { width: calc(100% - 16px); }
.cta-btn-text {
  position: relative;
  z-index: 1;
  color: #111;
  font-weight: 500;
  font-size: 16px;
  padding: 12px 28px;
  white-space: nowrap;
}
.cta-btn-circle {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #75C5DE;
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.cta-btn:hover .cta-btn-circle { transform: translateX(-7px); }

.demo {
  width: min(1120px, calc(100% - 32px));
  margin: 18px auto 0;
  padding: 12px 16px;
  border-radius: 16px;
  background: #111;
  color: #F4F1E8;
  font-size: 14px;
}

main {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  width: 100%;
}
main > section, main > .duo {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}
main > .hero,
main > .word-scroll {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

.section-head, .pop-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 18px;
}
.center-head h2, .section-head h2, .panel h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 0.95;
}
.muted, .center-head p, .section-head p { color: #6d6862; margin-top: 8px; }

.arrows { display: flex; gap: 8px; }
.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: #F4F1E8;
  display: grid;
  place-items: center;
}
.icon-btn:hover { background: #111; color: #F4F1E8; }

.scroller {
  display: flex;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 8px;
}
.scroller::-webkit-scrollbar { display: none; }
.scroller .card { width: min(78vw, 280px); flex: 0 0 min(78vw, 280px); scroll-snap-align: start; }

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.card {
  background: #F4F1E8;
  border-radius: 24px;
  padding: 18px 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  min-height: 220px;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.card:hover { transform: translateY(-6px); }
.card-open {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  flex: 1;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  border-radius: 16px;
  padding: 0;
  position: relative;
}
.card-index {
  font-size: clamp(56px, 8vw, 72px);
  font-weight: 500;
  line-height: 0.8;
  letter-spacing: -0.06em;
  color: #75C5DE;
}
.card h3 { margin: 0; font-size: 20px; font-weight: 500; letter-spacing: -0.03em; }
.price { margin-top: 4px; font-weight: 500; color: #5c5854; }
.tag {
  position: absolute;
  top: 4px;
  right: 0;
  background: #111;
  color: #F4F1E8;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 600;
}
.add, .btn, .filters button, .presets button, .pack {
  border: 0;
  border-radius: 999px;
  background: #111;
  color: #F4F1E8;
  font-weight: 500;
}
.add {
  height: 42px;
  background: transparent;
  color: #111;
  border: 1px solid rgba(17, 17, 17, 0.16);
}
.add:hover { background: #111; color: #F4F1E8; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 18px;
  text-decoration: none;
  transition: transform 0.25s ease, background 0.25s ease;
}
.btn:hover { transform: translateY(-2px); background: #000; }
.btn.full { width: 100%; }
.btn.ghost { background: transparent; color: #111; border: 1px solid rgba(17, 17, 17, 0.2); }
.btn:disabled { opacity: 0.5; transform: none; }

.filters, .presets { display: flex; flex-wrap: wrap; gap: 8px; }
.filters { margin-bottom: 16px; }
.filters button, .presets button, .pack {
  background: transparent;
  color: #111;
  border: 1px solid rgba(17, 17, 17, 0.16);
  padding: 8px 14px;
  font-size: 14px;
}
.filters button[aria-pressed="true"], .presets button[aria-pressed="true"], .pack[aria-pressed="true"] {
  background: #111;
  color: #F4F1E8;
}

.search input, .field input {
  width: 100%;
  height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  background: #fff;
  padding: 0 14px;
}
.search input { width: min(280px, 100%); }

.panel {
  background: #F4F1E8;
  border-radius: 28px;
  padding: 22px 18px 24px;
}
.duo { display: grid; gap: 16px; }
form { display: grid; gap: 12px; position: relative; }
.field, .checks { display: grid; gap: 6px; font-size: 13.5px; font-weight: 600; }
.hint { color: #6d6862; font-weight: 500; font-size: 12.5px; }
.err { color: #9d2430; font-size: 12.5px; font-weight: 600; }
.err:empty { display: none; }
.field.bad input { box-shadow: 0 0 0 1px #9d2430; }
.checks.bad { border-radius: 12px; box-shadow: 0 0 0 1px #9d2430; padding: 8px; }

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 28px;
  background: transparent;
  border: 0;
  padding: 0;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 99px;
  background: #75C5DE;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  margin-top: -7px;
  border-radius: 50%;
  background: #111;
}
input[type="range"]::-moz-range-track { height: 4px; border: 0; border-radius: 99px; background: #75C5DE; }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border: 0; border-radius: 50%; background: #111; }

.bill {
  display: grid;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #E4E4E4;
}
.bill div { display: flex; justify-content: space-between; gap: 12px; color: #5c5854; font-size: 14px; }
.bill .total { color: #111; font-size: 18px; padding-top: 8px; border-top: 1px solid rgba(17, 17, 17, 0.12); }

.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: #3c3935; }
.check input { margin-top: 3px; accent-color: #75C5DE; }
.text-btn {
  justify-self: start;
  background: none;
  border: 0;
  padding: 0;
  color: #111;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.packs { display: grid; grid-template-columns: 1fr; gap: 8px; }
.pack { text-align: left; border-radius: 16px; padding: 12px 14px; }
.pack b { display: block; font-size: 16px; font-weight: 600; }
.pack span { color: #6d6862; font-size: 13px; }

.marquee-window {
  overflow: hidden;
  min-width: 0;
  max-width: 100%;
  margin-bottom: 12px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; gap: 12px; width: max-content; }
.marquee-track.ready { animation: ticker 48s linear infinite; }
.reverse .marquee-track.ready { animation-duration: 56s; animation-direction: reverse; }
.marquee-window:hover .marquee-track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

.review {
  width: min(86vw, 320px);
  flex: 0 0 min(86vw, 320px);
  background: #F4F1E8;
  border-radius: 18px;
  padding: 14px 16px 16px;
}
.review header { display: flex; gap: 10px; align-items: center; }
.review small, .review b { display: block; }
.review small { color: #6d6862; font-size: 12px; }
.review p { margin-top: 10px; }
.ava {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #75C5DE;
  font-weight: 700;
}

.faq { max-width: 760px; margin: 0 auto; }
.center-head { text-align: left; }
details { border-top: 1px solid rgba(17, 17, 17, 0.12); padding: 14px 0; }
details:last-child { border-bottom: 1px solid rgba(17, 17, 17, 0.12); }
summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 22px; line-height: 1; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: #5c5854; margin-top: 8px; }

footer { margin-top: 20px; }
.foot {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  gap: 22px;
  padding: 28px 0 48px;
  border-top: 1px solid rgba(17, 17, 17, 0.12);
  color: #5c5854;
  font-size: 14px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #111; margin-bottom: 8px; }
.mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #75C5DE;
  display: grid;
  place-items: center;
  font-weight: 700;
}
.word em { font-style: normal; }
.ft { color: #111; font-weight: 600; margin-bottom: 6px; }
.foot a, .foot button {
  display: block;
  background: none;
  border: 0;
  padding: 4px 0;
  color: inherit;
  text-align: left;
  text-decoration: none;
}
.foot a:hover, .foot button:hover { color: #111; }
.legal-note { font-size: 12px; line-height: 1.5; }

.shade {
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 17, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 50;
}
.shade.open { opacity: 1; pointer-events: auto; }
.cart {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(420px, 100%);
  background: #F4F1E8;
  z-index: 60;
  transform: translateX(104%);
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
  padding: 16px;
  gap: 12px;
}
.cart.open { transform: none; }
.cart-head, .line { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.cart-head h2 { margin: 0; font-size: 32px; }
.cart-lines { overflow: auto; display: grid; gap: 10px; align-content: start; flex: 1; }
.line { padding: 10px; border-radius: 16px; background: #E4E4E4; }
.line-info { flex: 1; min-width: 0; }
.line h3 { margin: 0; font-size: 15px; }
.qty { display: flex; align-items: center; gap: 8px; }
.qty button, .ghost-x, .stepper button, .sheet-x {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  color: #111;
}
.cart-form, .cart-done { display: grid; gap: 10px; }
.cart-done h3, #sheet-body h3 { margin: 0; font-size: 32px; }
.big { font-size: 22px; font-weight: 600; }
.sheet-kicker { color: #6d6862; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

#sheet {
  width: min(520px, calc(100% - 24px));
  max-height: min(86vh, 720px);
  overflow: auto;
  border: 0;
  border-radius: 24px;
  background: #F4F1E8;
  color: #111;
  padding: 22px;
}
#sheet::backdrop { background: rgba(17, 17, 17, 0.55); }
#sheet-body { display: grid; gap: 12px; }
#sheet-body p { color: #3c3935; }
.sheet-x { position: absolute; top: 14px; right: 14px; }
.stepper { display: flex; align-items: center; gap: 10px; }

#toast {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 80;
  max-width: min(92vw, 420px);
  transform: translate(-50%, 12px);
  background: #111;
  color: #F4F1E8;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: 0.35s ease;
}
#toast.show { opacity: 1; transform: translate(-50%, 0); }
body.locked { overflow: hidden; }
.empty { color: #6d6862; padding: 8px 0; }

@media (min-width: 640px) {
  .grid { grid-template-columns: 1fr 1fr; }
  .packs { grid-template-columns: 1fr 1fr; }
  .scroller .card { width: 280px; flex-basis: 280px; }
}

@media (min-width: 768px) {
  .logo-wrapper { top: 40px; }
  .logo-wrapper .inner { padding-left: 40px; }
  .burger-wrapper { top: 27px; }
  .burger-wrapper .inner { padding-right: 40px; }
  .menu-panel {
    left: auto;
    right: 7px;
    width: 420px;
    padding: 110px 48px 48px;
  }
  .menu-panel.open { top: 7px; }
  .menu-panel nav a { font-size: 42px; }
  .menu-email { font-size: 20px; }
  .hero { padding: 168px 40px 28px; }
  .hero-headline { font-size: clamp(72px, 7vw, 112px); max-width: 12ch; }
  .hero-photo { height: min(68vh, 760px); border-radius: 32px; }
  .hero-word { font-size: clamp(180px, 20vw, 420px); }
  .cta-btn-bg { width: calc(100% - 8px - 8px - 54px - 12px); }
  .cta-btn-text { font-size: 18px; padding: 16px 36px; }
  .cta-btn-circle { width: 54px; height: 54px; }
  .section-head, .pop-head {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
  .panel { padding: 32px; }
  .foot { grid-template-columns: 1.4fr 0.8fr 1fr; }
}

@media (min-width: 1100px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .duo { grid-template-columns: 1.05fr 0.95fr; align-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .splash { animation: splashHide 0.01s linear forwards; }
  .splash-box, .word-reveal, .cta-animate, .creator-text-animate, .marquee-track, .hero-word {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}
