:root {
  --ink: #2b2240;
  --ink-soft: #6d6480;
  --paper: #ffffff;
  --snow: #ffffff;
  --studio: #f3f0f7;
  --line: #efe8f4;
  --accent: #ff4fa3;
  --accent-dark: #e6348c;
  --accent-soft: #ffe3f2;
  --lemon: #ffe56a;
  --mint: #7ef0c7;
  --sky: #8fd7ff;
  --grape: #7b5cff;
  --radius: 28px;
  --font-display: "Fredoka", "Trebuchet MS", sans-serif;
  --font: "Nunito", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
}
body.is-locked { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select { font: inherit; }
h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0;
  font-weight: 650;
}
p { margin: 0; }

.wrap {
  width: min(1160px, calc(100% - 32px));
  margin-inline: auto;
}

.ticker {
  background: var(--lemon);
  color: var(--ink);
  overflow: hidden;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.ticker-track {
  display: flex;
  gap: 36px;
  width: max-content;
  padding: 11px 0;
  animation: ticker 28s linear infinite;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 3px solid var(--line);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
}
.brand b { font-size: 22px; }
.mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  box-shadow: 3px 3px 0 #2b2240;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
  font-weight: 800;
}
.nav-links a { text-decoration: none; color: var(--ink-soft); }
.nav-links a:hover { color: var(--accent); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 3px solid #2b2240;
  cursor: pointer;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 20px;
  font-family: var(--font-display);
  font-weight: 600;
  box-shadow: 4px 4px 0 #2b2240;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 #2b2240;
}
.btn-solid { background: var(--accent); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); }
.btn:disabled { opacity: 0.65; cursor: wait; transform: none; }

.hero {
  position: relative;
  padding: 40px 0 12px;
  overflow: hidden;
}
.blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.blob-a { width: 220px; height: 220px; background: #ffe3f2; top: -40px; right: 18%; }
.blob-b { width: 140px; height: 140px; background: #e8fff6; bottom: 10px; left: 6%; }
.blob-c { width: 90px; height: 90px; background: #fff4b8; top: 70px; left: 42%; }
.hero .wrap { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: stretch;
}
.hero-copy { padding: 8px 8px 8px 0; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--mint);
  color: var(--ink);
  border: 2px solid #2b2240;
  border-radius: 999px;
  padding: 6px 12px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
}
.hero h1 {
  font-size: clamp(42px, 6vw, 76px);
  margin: 16px 0 14px;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.lede {
  color: var(--ink-soft);
  font-size: 18px;
  max-width: 38ch;
  font-weight: 600;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 18px;
}
.fine { font-size: 14px; color: var(--ink-soft); font-weight: 700; }

.hero-photo,
.frame-well,
.mini {
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  color: inherit;
  text-align: left;
}
.hero-photo {
  background: var(--studio);
  border-radius: 40px 40px 28px 40px;
  overflow: hidden;
  min-height: 420px;
  position: relative;
  border: 3px solid #2b2240;
  box-shadow: 8px 8px 0 #ffd3ec;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
}
.photo-tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: var(--lemon);
  color: var(--ink);
  border: 2px solid #2b2240;
  border-radius: 999px;
  padding: 7px 12px;
  font-family: var(--font-display);
  font-size: 13px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 18px 0 36px;
}
.stat {
  background: #fff;
  border: 3px solid #2b2240;
  border-radius: 24px;
  padding: 16px 18px;
  box-shadow: 4px 4px 0 var(--sky);
}
.stat:nth-child(2) { box-shadow: 4px 4px 0 var(--mint); }
.stat:nth-child(3) { box-shadow: 4px 4px 0 var(--lemon); }
.stat:nth-child(4) { box-shadow: 4px 4px 0 #ffd3ec; }
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
}
.stat span { color: var(--ink-soft); font-size: 14px; font-weight: 700; }

.section { padding: 28px 0 56px; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 22px;
}
.section-head h2 { font-size: clamp(32px, 4.4vw, 50px); max-width: 16ch; }
.section-head p { max-width: 38ch; color: var(--ink-soft); font-weight: 700; }

.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.tab, .chip {
  border: 2px solid #2b2240;
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 550;
}
.tab.is-on, .chip.is-on {
  background: var(--accent);
  color: #fff;
}

.pair {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
}
.frame-card, .card {
  background: #fff;
  border: 3px solid #2b2240;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 6px 6px 0 #efe4ff;
}
.frame-well {
  background: var(--studio);
  min-height: 360px;
  cursor: zoom-in;
  border: 0;
  width: 100%;
  padding: 0;
}
.frame-well img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}
.frame-bar, .card-body {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
}
.meta { color: var(--ink-soft); font-size: 13px; font-weight: 800; }
.note { padding: 0 16px 16px; color: var(--ink-soft); font-size: 15px; font-weight: 700; }

.mini-grid { display: grid; gap: 12px; }
.mini {
  background: var(--studio);
  border: 3px solid #2b2240;
  border-radius: 24px;
  overflow: hidden;
  cursor: zoom-in;
  padding: 0;
  box-shadow: 4px 4px 0 var(--lemon);
}
.mini:nth-child(2) { box-shadow: 4px 4px 0 var(--mint); }
.mini:nth-child(3) { box-shadow: 4px 4px 0 #ffd3ec; }
.mini img {
  width: 100%;
  height: 168px;
  object-fit: cover;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.benefit {
  background: #fff;
  border: 3px solid #2b2240;
  border-radius: 28px;
  padding: 22px;
}
.benefit:nth-child(1) { background: #fff7fb; }
.benefit:nth-child(2) { background: #f3fffb; }
.benefit:nth-child(3) { background: #fffbeb; }
.benefit .num {
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 30px;
}
.benefit h3 { margin: 10px 0 8px; font-size: 26px; }

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
  align-items: start;
}
.offer {
  background: var(--grape);
  color: #fff;
  border: 3px solid #2b2240;
  border-radius: 36px;
  padding: 28px;
  box-shadow: 8px 8px 0 #2b2240;
}
.offer .kicker {
  background: var(--lemon);
  color: var(--ink);
}
.offer h2 { font-size: 42px; }
.offer p { color: rgba(255, 255, 255, 0.88); margin-top: 10px; font-weight: 700; }
.price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 22px 0 8px;
}
.price b {
  font-family: var(--font-display);
  font-size: 68px;
  letter-spacing: -0.04em;
}
.price s { color: rgba(255, 255, 255, 0.5); }
.offer .fine { color: rgba(255, 255, 255, 0.8); }
.offer ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  font-weight: 800;
}
.offer li {
  padding-left: 22px;
  position: relative;
}
.offer li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lemon);
  border: 2px solid #2b2240;
  position: absolute;
  left: 0;
  top: 0.45em;
}

.form {
  background: #fff;
  border: 3px solid #2b2240;
  border-radius: 36px;
  padding: 24px;
  box-shadow: 8px 8px 0 #ffd3ec;
}
.form h3 { font-size: 30px; margin-bottom: 6px; }
label, .field-label {
  display: block;
  font-size: 14px;
  font-weight: 800;
  margin: 14px 0 6px;
}
input, select {
  width: 100%;
  border: 2px solid #2b2240;
  background: #fff;
  border-radius: 16px;
  padding: 12px 12px;
  font-weight: 700;
}
.seg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.seg-2 { grid-template-columns: 1fr 1fr; }
.seg label {
  margin: 0;
  font-weight: 800;
  font-size: 14px;
  border: 2px solid #2b2240;
  border-radius: 16px;
  padding: 10px 8px;
  text-align: center;
  cursor: pointer;
  background: #fff;
}
.seg input { display: none; }
.seg label:has(input:checked) {
  background: var(--lemon);
  color: var(--ink);
}
.form .btn { width: 100%; margin-top: 16px; }
.status {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 16px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 800;
}
.success {
  background: #fff;
  border: 3px solid #2b2240;
  border-radius: 36px;
  padding: 36px 24px;
  text-align: center;
  box-shadow: 8px 8px 0 var(--mint);
}
.success h3 { font-size: 32px; margin: 8px 0; }

.faq-item { border-top: 3px solid var(--line); }
.faq-item:last-child { border-bottom: 3px solid var(--line); }
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 16px 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.faq-a {
  display: none;
  color: var(--ink-soft);
  padding: 0 0 16px;
  max-width: 62ch;
  font-weight: 700;
}
.faq-item.is-open .faq-a { display: block; }

.footer {
  padding: 28px 0 40px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 800;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 3px solid var(--line);
}
.footer a { color: var(--accent); }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(43, 34, 64, 0.86);
  display: grid;
  place-items: center;
  padding: 24px;
  z-index: 40;
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-height: min(82vh, 860px);
  max-width: min(92vw, 980px);
  border-radius: 28px;
  border: 3px solid #fff;
}
.lightbox p {
  color: #fff;
  text-align: center;
  margin-top: 10px;
  font-family: var(--font-display);
}
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--lemon);
  border: 3px solid #2b2240;
  border-radius: 999px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 22px;
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero-grid, .pair, .split, .stats, .benefits { grid-template-columns: 1fr; }
  .hero-photo, .hero-photo img, .frame-well img { min-height: 280px; height: 300px; }
  .section-head { display: block; }
  .section-head p { margin-top: 10px; }
  .offer h2 { font-size: 34px; }
  .price b { font-size: 52px; }
  .blob-c { display: none; }
}
