:root {
  --ink: #201a2b;
  --muted: #655f70;
  --paper: #fbfaff;
  --surface: #ffffff;
  --purple: #6d38d3;
  --purple-dark: #4e20a8;
  --line: #e8e2f0;
  --ice: #169ee6;
  --green: #16864b;
  --radius: 1.5rem;
  --shadow: 0 24px 70px rgba(44, 26, 72, 0.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.55; }
a { color: inherit; }
.site-header { min-height: 4.75rem; max-width: 75rem; margin: auto; padding: 1rem 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-weight: 900; text-decoration: none; letter-spacing: -.02em; }
.brand-mark { width: 2.15rem; height: 2.15rem; display: grid; place-items: center; color: #fff; border-radius: .75rem; background: var(--purple); box-shadow: 0 8px 22px rgba(109,56,211,.25); }
.header-contact, .back-link { color: var(--purple-dark); font-size: .9rem; font-weight: 800; text-decoration: none; }
.theme-switcher { position: sticky; z-index: 15; top: .75rem; width: max-content; margin: .35rem auto 0; padding: .3rem; display: flex; gap: .25rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.9); box-shadow: 0 10px 30px rgba(34,25,51,.12); backdrop-filter: blur(12px); }
.theme-switcher a { min-width: 7rem; padding: .55rem 1rem; border-radius: 999px; color: var(--muted); font-size: .9rem; font-weight: 850; text-align: center; text-decoration: none; }
.theme-switcher a.active { color: #fff; background: var(--purple); }
.theme-switcher a.theme-tab-ice { background: var(--ice); }
.theme-switcher a.theme-tab-blocks { background: var(--green); }
.home-theme-switcher .theme-home-ice { color: #087fc8; background: #e5f7ff; }
.home-theme-switcher .theme-home-blocks { color: #116f3d; background: #e8f7ed; }
.hero { max-width: 75rem; margin: 0 auto; padding: 3.5rem 1.25rem 5rem; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 4rem; min-height: 39rem; }
.hero-copy { max-width: 42rem; }
.eyebrow { display: inline-block; color: var(--purple); font-size: .78rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin: .75rem 0 1.1rem; max-width: 13ch; font-size: clamp(2.75rem, 6vw, 5rem); line-height: .96; letter-spacing: -.065em; }
h2 { margin: .55rem 0 .75rem; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.02; letter-spacing: -.05em; }
h3 { margin: 0; font-size: 1.45rem; line-height: 1.1; letter-spacing: -.03em; }
.hero-copy > p, .lead { color: var(--muted); font-size: 1.1rem; max-width: 38rem; }
.hero-offer { margin: 2rem 0; display: flex; gap: 2.5rem; }
.hero-offer div { display: flex; flex-direction: column; }
.hero-offer strong { font-size: 1.55rem; line-height: 1; }
.hero-offer span { margin-top: .4rem; color: var(--muted); font-size: .82rem; }
.button { min-height: 3.35rem; padding: .85rem 1.25rem; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; font-weight: 900; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, summary:focus-visible, a:focus-visible { outline: 3px solid #ffbf47; outline-offset: 3px; }
.button-primary { color: #fff; background: var(--purple); box-shadow: 0 12px 28px rgba(109,56,211,.24); }
.button-dark { width: 100%; color: #fff; background: var(--ink); }
.button-light { color: var(--purple-dark); background: #fff; }
.hero-card { position: relative; min-height: 27rem; display: grid; place-items: center; overflow: hidden; border-radius: 3rem 3rem 3rem .75rem; color: #fff; background: radial-gradient(circle at 25% 20%, #b4f3ff 0 7%, transparent 8%), radial-gradient(circle at 72% 35%, #ffb8dc 0 6%, transparent 7%), linear-gradient(145deg, #7956ee, #3c1c91); box-shadow: var(--shadow); }
.hero-card::before { content: ""; position: absolute; inset: 1.1rem; border: 1px solid rgba(255,255,255,.35); border-radius: 2.2rem 2.2rem 2.2rem .4rem; }
.hero-card span { position: relative; padding: 2rem; font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 900; line-height: 1.05; text-align: center; }
.mini-envelope { position: absolute; top: 2rem; right: 2rem; width: 3.2rem; height: 3.2rem; display: grid; place-items: center; border-radius: 1rem; color: var(--purple); background: #fff; }
.home-preview-grid { width: 100%; max-width: 31rem; justify-self: center; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 1rem; }
.home-preview { position: relative; padding: .55rem; border-radius: 1.4rem; background: #fff; box-shadow: var(--shadow); text-decoration: none; transition: transform .2s ease; }
.home-preview:hover { transform: translateY(-4px); }
.home-preview-ice { background: linear-gradient(145deg, #dff8ff, #f8d8f0); }
.home-preview-blocks { border-radius: .55rem; background: linear-gradient(145deg, #71d557, #20b8db); }
.home-preview img { width: 100%; height: auto; aspect-ratio: 9 / 16; display: block; border-radius: 1rem; object-fit: contain; }
.home-preview-blocks img { border-radius: .2rem; }
.home-preview span { position: absolute; left: 50%; bottom: 1rem; min-width: 7rem; padding: .42rem .75rem; transform: translateX(-50%); border-radius: 999px; color: #fff; background: rgba(20,15,35,.72); backdrop-filter: blur(8px); font-size: .78rem; font-weight: 900; text-align: center; }
.section { max-width: 75rem; margin: auto; padding: 5.5rem 1.25rem; }
.section-heading { max-width: 42rem; margin-bottom: 2rem; }
.section-heading > p { color: var(--muted); }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.product-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 16px 45px rgba(34,25,51,.07); }
.product-visual { position: relative; min-height: 24rem; padding: 1.5rem; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; color: #fff; }
.product-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.product-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,15,35,.38), transparent 40%, rgba(20,15,35,.08)); }
.product-visual-ice { background: radial-gradient(circle at 75% 25%, rgba(255,255,255,.95) 0 2%, transparent 3%), radial-gradient(circle at 20% 70%, #ffb7e5 0 7%, transparent 8%), linear-gradient(150deg, #087ec5, #40d8ee 55%, #aa77ea); }
.product-visual-blocks { background: linear-gradient(90deg, transparent 0 68%, rgba(255,255,255,.14) 68% 84%, transparent 84%), linear-gradient(0deg, #735128 0 20%, #4fae36 20% 37%, transparent 37%), linear-gradient(145deg, #13a8d9, #8ce6ee 50%, #ffc454); }
.visual-label { position: relative; z-index: 1; align-self: flex-start; padding: .5rem .8rem; border-radius: 999px; background: rgba(13,20,39,.48); backdrop-filter: blur(8px); font-size: .78rem; font-weight: 800; }
.visual-symbol { align-self: center; font-size: 8rem; line-height: 1; filter: drop-shadow(0 15px 22px rgba(0,0,0,.2)); }
.product-content { padding: 1.5rem; }
.product-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.product-title-row strong { flex: none; color: var(--purple); font-size: 1.25rem; }
.product-content p { min-height: 3.2rem; margin: .85rem 0 1.35rem; color: var(--muted); }
.how { padding-top: 3rem; }
.steps { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; list-style: none; }
.steps li { min-height: 12rem; padding: 1.5rem; display: flex; gap: 1rem; border: 1px solid var(--line); border-radius: 1.25rem; background: #fff; }
.steps li > span { flex: none; width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border-radius: .8rem; color: #fff; background: var(--purple); font-weight: 900; }
.steps strong { font-size: 1.08rem; }
.steps p { margin-top: .45rem; color: var(--muted); }
.info-banner { max-width: 72.5rem; margin: 2rem auto; padding: 3.5rem; display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; border-radius: 2.2rem; color: #fff; background: var(--ink); }
.eyebrow-light { color: #d9c9ff; }
.info-banner h2 { max-width: 13ch; }
.info-banner ul { margin: 0; padding: 0; display: grid; align-content: center; gap: .75rem; list-style: none; }
.info-banner li { padding: .9rem 1rem; border: 1px solid rgba(255,255,255,.16); border-radius: .8rem; background: rgba(255,255,255,.06); font-weight: 700; }
.faq-section { display: grid; grid-template-columns: .7fr 1.3fr; gap: 4rem; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { padding: 1.25rem 2.2rem 1.25rem 0; cursor: pointer; font-weight: 850; }
details p { padding: 0 1rem 1.25rem 0; color: var(--muted); }
.final-cta { max-width: 75rem; margin: 2rem auto 0; padding: 4.5rem 2rem; border-radius: 2.5rem 2.5rem 0 0; color: #fff; text-align: center; background: linear-gradient(145deg, var(--purple), #3e167e); }
.final-cta h2 { max-width: 18ch; margin-left: auto; margin-right: auto; }
.final-cta p { color: rgba(255,255,255,.76); }
footer { padding: 3rem 1.25rem 7rem; text-align: center; color: var(--muted); background: #f1edf8; }
.brand-footer { color: var(--ink); }
.legal { max-width: 45rem; margin: .75rem auto 0; font-size: .8rem; }
.footer-links { margin: 1rem 0; display: flex; justify-content: center; flex-wrap: wrap; gap: .7rem 1.25rem; }
.footer-links a { color: var(--purple-dark); font-size: .9rem; font-weight: 800; }
.mobile-sticky { display: none; }

.legal-shell { max-width: 54rem; margin: 0 auto; padding: 4rem 1.25rem 6rem; }
.legal-shell > h1 { max-width: none; margin-bottom: .65rem; font-size: clamp(2.6rem, 7vw, 4.7rem); }
.legal-shell > p { color: var(--muted); font-size: 1.05rem; }
.legal-updated { margin-bottom: 2.5rem; font-size: .9rem !important; }
.legal-shell section { padding: 1.8rem 0; border-top: 1px solid var(--line); }
.legal-shell section h2 { margin: 0 0 .8rem; font-size: 1.5rem; letter-spacing: -.025em; }
.legal-shell section p, .legal-shell section li { color: var(--muted); }
.legal-shell section p:last-child, .legal-shell section ul:last-child { margin-bottom: 0; }
.legal-shell section a { color: var(--purple-dark); font-weight: 750; }

.cookie-banner { position: fixed; z-index: 50; left: 1rem; right: 1rem; bottom: 1rem; max-width: 58rem; margin: auto; padding: 1rem 1.1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border: 1px solid var(--line); border-radius: 1.25rem; background: #fff; box-shadow: 0 22px 70px rgba(24,15,42,.25); }
.cookie-banner strong { display: block; margin-bottom: .2rem; }
.cookie-banner p { margin: 0; color: var(--muted); font-size: .88rem; }
.cookie-banner a { color: var(--purple-dark); font-weight: 800; }
.cookie-actions { flex: none; display: flex; gap: .5rem; }
.cookie-actions button { min-height: 2.8rem; padding: .6rem 1rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: #fff; cursor: pointer; font: inherit; font-weight: 850; }
.cookie-actions .cookie-accept { color: #fff; border-color: var(--purple); background: var(--purple); }

.product-hero { max-width: 72rem; min-height: 42rem; margin: 0 auto; padding: 3rem 1.25rem 5rem; display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: 5rem; }
.product-preview { width: 100%; max-width: 22rem; padding: 1rem; justify-self: center; border-radius: 2rem; box-shadow: var(--shadow); }
.product-preview-ice { background: linear-gradient(145deg, #dff8ff, #f8d8f0); }
.product-preview-blocks { border-radius: .5rem; background: linear-gradient(145deg, #71d557, #20b8db); }
.preview-art { position: relative; aspect-ratio: 9 / 16; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; color: #fff; }
.preview-art img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.preview-art small { position: absolute; left: 1rem; bottom: 1rem; padding: .45rem .75rem; border-radius: 99px; background: rgba(0,0,0,.48); backdrop-filter: blur(8px); font-weight: 800; }
.preview-art-ice { border-radius: 1.3rem; background: radial-gradient(circle at 30% 20%, #fff 0 2%, transparent 3%), linear-gradient(150deg, #0791e1, #55e0e4 55%, #c377d7); }
.preview-art-blocks { border-radius: .15rem; background: linear-gradient(0deg, #654321 0 24%, #55b638 24% 40%, transparent 40%), linear-gradient(140deg, #12a8d8, #7ee6ee 58%, #ffc85d); }
.product-details h1 { max-width: 11ch; }
.price-line { margin: 1.8rem 0; display: flex; align-items: center; gap: 1rem; }
.price-line strong { font-size: 2.3rem; letter-spacing: -.05em; }
.price-line span { max-width: 13rem; color: var(--muted); font-size: .82rem; line-height: 1.25; }
.check-list { margin: 0 0 2rem; padding: 0; display: grid; gap: .75rem; list-style: none; }
.check-list li::before { content: "✓"; margin-right: .7rem; color: var(--green); font-weight: 950; }
.compact-section { padding-top: 2rem; }
.data-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.data-grid span { padding: 1.25rem; border: 1px solid var(--line); border-radius: 1rem; background: #fff; font-weight: 850; text-align: center; }
.ice-cta { background: linear-gradient(145deg, #087fc8, #6442ca); }
.blocks-cta { border-radius: .5rem .5rem 0 0; background: linear-gradient(145deg, #167b42, #10462a); }
.gallery-section { max-width: 82rem; padding-top: 2rem; }
.invite-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.invite-gallery figure { margin: 0; padding: .7rem; overflow: hidden; border: 1px solid var(--line); border-radius: 1.25rem; background: #fff; box-shadow: 0 12px 34px rgba(34,25,51,.08); }
.invite-gallery img { width: 100%; height: auto; display: block; border-radius: .85rem; background: #eee; }
.invite-gallery figcaption { padding: .85rem .2rem .15rem; display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.invite-gallery figcaption a { padding: .45rem .8rem; border-radius: 999px; color: #fff; background: var(--purple); font-size: .82rem; font-weight: 850; text-decoration: none; }
.theme-ice .invite-gallery figcaption a { background: var(--ice); }
.theme-blocks .invite-gallery figcaption a { background: var(--green); }
.theme-ice .button-primary { background: var(--ice); box-shadow: 0 12px 28px rgba(22,158,230,.25); }
.theme-blocks .button-primary { background: var(--green); box-shadow: 0 12px 28px rgba(22,134,75,.25); }

@media (max-width: 760px) {
  body { padding-bottom: 4.5rem; }
  .site-header { min-height: 4.25rem; padding: .85rem 1rem; }
  .header-contact { display: none; }
  .back-link { font-size: .78rem; }
  .theme-switcher { top: .55rem; width: calc(100% - 2rem); margin-top: .2rem; }
  .theme-switcher a { flex: 1; min-width: 0; }
  .hero { min-height: auto; padding: 2.5rem 1rem 3.5rem; grid-template-columns: 1fr; gap: 2.5rem; }
  .home-page .hero { padding-top: 1.4rem; gap: 1.75rem; }
  .home-page .hero-copy h1 { font-size: clamp(2.35rem, 11.5vw, 3.2rem); }
  .home-preview-grid { order: -1; max-width: min(86vw, 22rem); gap: .65rem; }
  .home-preview { padding: .4rem; border-radius: 1rem; }
  .home-preview img { border-radius: .7rem; }
  .home-preview span { bottom: .7rem; min-width: 5.9rem; padding: .34rem .55rem; font-size: .7rem; }
  h1 { font-size: clamp(2.65rem, 14vw, 4rem); }
  h2 { font-size: clamp(2rem, 10vw, 2.8rem); }
  .hero-offer { gap: 1.25rem; justify-content: space-between; }
  .hero-card { min-height: 20rem; border-radius: 2rem 2rem 2rem .6rem; }
  .section { padding: 4rem 1rem; }
  .product-grid, .steps, .info-banner, .faq-section, .product-hero { grid-template-columns: 1fr; }
  .product-grid { gap: 1rem; }
  .product-visual { min-height: 20rem; }
  .product-content p { min-height: auto; }
  .steps li { min-height: auto; }
  .info-banner { margin: 1rem; padding: 2.25rem 1.25rem; gap: 1rem; border-radius: 1.5rem; }
  .faq-section { gap: 1rem; }
  .final-cta { margin: 1rem 1rem 0; padding: 3.5rem 1.25rem; border-radius: 1.6rem; }
  footer { padding-bottom: 2rem; }
  .mobile-sticky { position: fixed; z-index: 20; left: .75rem; right: .75rem; bottom: .75rem; min-height: 3.5rem; display: flex; align-items: center; justify-content: center; border-radius: 999px; color: #fff; background: #148746; box-shadow: 0 12px 35px rgba(11,63,32,.35); font-weight: 900; text-decoration: none; }
  .legal-page { padding-bottom: 0; }
  .legal-shell { padding: 2.5rem 1rem 4rem; }
  .legal-shell > h1 { font-size: clamp(2.4rem, 12vw, 3.4rem); }
  .cookie-banner { bottom: .75rem; flex-direction: column; align-items: stretch; }
  .cookie-actions button { flex: 1; }
  .product-hero { min-height: auto; padding: 2rem 1rem 4rem; gap: 2.5rem; }
  .product-preview { max-width: min(58vw, 15rem); width: 100%; margin: auto; padding: .6rem; border-radius: 1.4rem; }
  .preview-art-ice { border-radius: .95rem; }
  .preview-art small { left: .65rem; bottom: .65rem; padding: .35rem .6rem; font-size: .72rem; }
  .price-line { align-items: flex-start; flex-direction: column; gap: .25rem; }
  .full-mobile { width: 100%; }
  .data-grid { grid-template-columns: repeat(2, 1fr); }
  .compact-section { padding-top: 1rem; }
  .gallery-section { padding-left: 0; padding-right: 0; }
  .gallery-section .section-heading { padding: 0 1rem; }
  .invite-gallery { display: flex; gap: .85rem; padding: 0 1rem 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
  .invite-gallery figure { flex: 0 0 min(78vw, 19rem); scroll-snap-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
