/* Donuts Slot — Strawberry Glaze theme */
@font-face {
  font-family: 'Fraunces';
  src: url('/assets/fonts/fraunces.woff2') format('woff2');
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --cream: #FFF6EE;
  --cream-2: #FDEBDD;
  --surface: #FFFFFF;
  --ink: #3D2417;
  --ink-soft: #6E5546;
  --pink: #FF5C8A;
  --pink-deep: #E84372;
  --pink-tint: #FFE4EC;
  --mint: #1FA88B;
  --mint-soft: #E2F6F0;
  --amber: #F2B441;
  --choco: #2A170D;
  --line: rgba(61, 36, 23, .12);
  --line-2: rgba(61, 36, 23, .07);
  --grad: linear-gradient(135deg, #FF7AA2 0%, #FF5C8A 45%, #E84372 100%);
  --grad-warm: linear-gradient(135deg, #F2B441 0%, #FF7AA2 100%);
  --shadow-s: 0 4px 14px rgba(61, 36, 23, .08);
  --shadow-m: 0 16px 40px rgba(61, 36, 23, .14);
  --shadow-pink: 0 14px 34px rgba(232, 67, 114, .32);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-soft: cubic-bezier(.34, 1.56, .64, 1);
  --header-offset: 70px;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
main { flex: 1; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 .5em;
  overflow-wrap: break-word;
  word-break: break-word;
  letter-spacing: -.01em;
}
p { margin: 0 0 1em; }
a {
  color: var(--pink-deep);
  text-decoration: none;
  overflow-wrap: break-word;
  word-break: break-word;
}
img, svg { max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding-inline: 28px; }
@media (max-width: 820px) { .container { padding-inline: 20px; } }
@media (max-width: 520px) { .container { padding-inline: 16px; } }

.section { padding-block: 96px; position: relative; }
@media (max-width: 820px) { .section { padding-block: 64px; } }

.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head.is-center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4.4vw, 50px); margin-bottom: .35em; }
.section-head p { color: var(--ink-soft); font-size: 18px; margin: 0; }
.kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: 'Inter', sans-serif; font-weight: 700; font-size: 13px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--pink-deep);
  margin-bottom: 16px;
}
.kicker svg { width: 16px; height: 16px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: 'Inter', sans-serif; font-weight: 700; font-size: 16px;
  padding: 15px 30px; border-radius: 999px; border: 0; cursor: pointer;
  text-align: center; white-space: normal;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
  -webkit-tap-highlight-color: transparent; user-select: none;
}
.btn--primary { background: var(--grad); color: #fff; box-shadow: var(--shadow-pink); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 20px 44px rgba(232, 67, 114, .42); }
.btn--ghost { background: var(--surface); color: var(--ink); border: 1.5px solid var(--line); }
.btn--ghost:hover { transform: translateY(-3px); box-shadow: var(--shadow-s); border-color: var(--pink); color: var(--pink-deep); }
.btn svg { width: 19px; height: 19px; }
.btn--lg { padding: 18px 40px; font-size: 18px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 60;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: rgba(255, 246, 238, .82);
  border-bottom: 1px solid var(--line);
  overflow: visible;
}
.site-header__row {
  display: flex; align-items: center; justify-content: space-between; gap: 22px;
  padding-block: 13px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: 'Fraunces', serif; font-weight: 700; font-size: 21px; color: var(--ink); letter-spacing: -.01em; }
.brand__icon { width: 40px; height: 40px; color: var(--pink); flex-shrink: 0; filter: drop-shadow(0 4px 8px rgba(232, 67, 114, .28)); }
.brand b { color: var(--pink-deep); font-weight: 800; }
.brand:hover .brand__icon { animation: spin-slow 1.4s var(--ease); }

.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav a:not(.nav-cta) {
  position: relative; color: var(--ink); font-weight: 600; font-size: 15px;
  padding: 9px 16px; border-radius: 999px;
  transition: color .28s var(--ease), background .28s var(--ease);
}
.main-nav a:not(.nav-cta)::before {
  content: ''; position: absolute; inset: 0; border-radius: 999px;
  background: var(--pink-tint); opacity: 0; transform: scale(.82);
  transition: opacity .3s var(--ease), transform .35s var(--ease-soft); z-index: -1;
}
.main-nav a:not(.nav-cta):hover, .main-nav a.is-active:not(.nav-cta) { color: var(--pink-deep); }
.main-nav a:not(.nav-cta):hover::before, .main-nav a.is-active:not(.nav-cta)::before { opacity: 1; transform: scale(1); }
.nav-cta { padding: 11px 22px; font-size: 15px; margin-left: 6px; }

/* Burger */
.burger {
  display: none; width: 46px; height: 46px; position: relative; z-index: 110; flex-shrink: 0;
  border-radius: 13px; background: rgba(61, 36, 23, .05); border: 1px solid var(--line); cursor: pointer;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent; user-select: none;
}
.burger span { position: absolute; left: 13px; right: 13px; height: 2.4px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s var(--ease), top .3s var(--ease); }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

@media (max-width: 1220px) {
  .burger { display: block; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; width: 100%; max-width: 100vw;
    max-height: calc(100dvh - var(--header-offset, 70px)); z-index: 100; box-sizing: border-box;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 18px 24px 30px;
    background: linear-gradient(170deg, #FFF6EE 0%, #FDEBDD 100%);
    border-top: 1px solid var(--line); box-shadow: var(--shadow-m);
    overflow-y: auto; overscroll-behavior: contain;
    transform: translateY(-12px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: transform .3s var(--ease), opacity .25s var(--ease), visibility 0s linear .3s;
  }
  .main-nav[data-open="true"] { transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto; transition: transform .3s var(--ease), opacity .25s var(--ease), visibility 0s linear 0s; }
  .main-nav a:not(.nav-cta) { width: 100%; padding: 15px 14px; font-size: 20px; border-radius: 12px; }
  .main-nav a:not(.nav-cta)::before { border-radius: 12px; }
  .nav-cta { margin: 10px 0 0; width: 100%; }
}

/* Hero */
.glaze-hero {
  position: relative; min-height: 92vh; display: flex; align-items: center;
  text-align: center; color: #fff; overflow: hidden;
  background-image: linear-gradient(160deg, rgba(42, 23, 13, .78), rgba(42, 23, 13, .52)), url('/assets/img/hero/hero-bg.avif');
  background-size: cover; background-position: center;
}
.glaze-hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 80% at 50% 0%, transparent 40%, rgba(42, 23, 13, .42) 100%);
}
.glaze-hero__inner { position: relative; z-index: 2; max-width: 880px; margin: 0 auto; padding-block: 120px; }
.glaze-hero h1 {
  color: #fff; font-size: clamp(42px, 8vw, 92px); line-height: 1; margin-bottom: .28em;
  text-shadow: 0 8px 36px rgba(0, 0, 0, .4);
}
.glaze-hero h1 em { font-style: italic; color: var(--amber); }
.glaze-hero__sub { font-size: clamp(17px, 2.4vw, 22px); color: rgba(255, 246, 238, .92); max-width: 640px; margin: 0 auto 38px; }
.glaze-hero__cta { display: flex; justify-content: center; }
.glaze-hero__ring {
  position: absolute; border-radius: 50%; border: 2px dashed rgba(255, 124, 162, .42); z-index: 1; pointer-events: none;
}
.glaze-hero__ring--1 { width: 320px; height: 320px; top: 12%; left: -90px; animation: float-spin 26s linear infinite; }
.glaze-hero__ring--2 { width: 200px; height: 200px; bottom: 8%; right: -50px; border-color: rgba(242, 180, 65, .4); animation: float-spin 20s linear infinite reverse; }
.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2;
  color: rgba(255, 246, 238, .8); font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scroll-hint svg { width: 22px; height: 22px; animation: nudge 1.8s var(--ease) infinite; }
@media (max-width: 820px) { .scroll-hint { display: none; } }

/* Perks */
.glaze-perks { background: var(--surface); }
.perk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.perk-card {
  position: relative; background: var(--cream); border: 1px solid var(--line-2); border-radius: 22px;
  padding: 34px 30px; overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.perk-card::before {
  content: ''; position: absolute; inset: 0 0 auto; height: 5px; background: var(--grad);
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.perk-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-m); border-color: transparent; }
.perk-card:hover::before { transform: scaleX(1); }
.perk-card__ic {
  width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center;
  background: var(--pink-tint); color: var(--pink-deep); margin-bottom: 20px;
  transition: transform .4s var(--ease-soft);
}
.perk-card:nth-child(3n+2) .perk-card__ic { background: var(--mint-soft); color: var(--mint); }
.perk-card:nth-child(3n) .perk-card__ic { background: #FDEBC9; color: #C98A18; }
.perk-card:hover .perk-card__ic { transform: rotate(-8deg) scale(1.06); }
.perk-card__ic svg { width: 30px; height: 30px; }
.perk-card h3 { font-size: 22px; margin-bottom: .4em; }
.perk-card p { color: var(--ink-soft); font-size: 15.5px; margin: 0; }

/* Reviews */
.baker-reviews { background: var(--cream); overflow: hidden; }
.reviews-stage { position: relative; }
.reviews-track { display: flex; transition: transform .55s var(--ease); }
.review-slide { flex: 0 0 100%; padding: 4px; }
.review-card {
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 26px; padding: 44px;
  box-shadow: var(--shadow-s); display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start;
}
.review-card__avatar { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; border: 4px solid var(--pink-tint); }
.review-stars { display: inline-flex; gap: 3px; color: var(--amber); margin-bottom: 14px; }
.review-stars svg { width: 20px; height: 20px; }
.review-card blockquote { margin: 0 0 18px; font-size: 19px; line-height: 1.6; font-family: 'Fraunces', serif; font-weight: 500; }
.review-card cite { font-style: normal; font-weight: 700; color: var(--ink); }
.review-card cite span { display: block; font-family: 'Inter', sans-serif; font-weight: 500; font-size: 14px; color: var(--ink-soft); }
.reviews-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 34px; }
.reviews-nav button {
  width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface);
  color: var(--ink); cursor: pointer; display: grid; place-items: center;
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease), border-color .3s;
}
.reviews-nav button:hover { background: var(--pink); border-color: var(--pink); color: #fff; transform: scale(1.08); }
.reviews-nav svg { width: 22px; height: 22px; }
.reviews-nav .prev svg { transform: rotate(180deg); }
.reviews-dots { display: flex; gap: 9px; }
.reviews-dots button { width: 11px; height: 11px; padding: 0; border-radius: 50%; border: 0; background: var(--line); cursor: pointer; transition: background .3s, transform .3s; }
.reviews-dots button[aria-current="true"] { background: var(--pink); transform: scale(1.3); }

/* Demo */
.demo-counter { background: var(--surface); }
.demo-wrap {
  background: linear-gradient(160deg, #2A170D 0%, #4A2615 100%); border-radius: 30px; padding: 18px;
  box-shadow: var(--shadow-m); position: relative; overflow: hidden;
}
.demo-frame {
  position: relative; width: 100%; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden;
  background: #1a0d06;
}
.demo-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.demo-loader { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255, 246, 238, .8); gap: 16px; }
.demo-loader .spinner {
  width: 52px; height: 52px; border-radius: 50%; border: 4px solid rgba(255, 124, 162, .3);
  border-top-color: var(--pink); animation: spin-slow .9s linear infinite;
}
.demo-loader span { font-size: 14px; letter-spacing: .12em; text-transform: uppercase; }
.demo-info { margin-top: 34px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.demo-info h3 { font-size: 26px; }
.demo-info p { color: var(--ink-soft); margin: 0; }
.demo-specs { display: grid; gap: 14px; }
.demo-spec { display: flex; gap: 14px; align-items: center; padding: 14px 18px; background: var(--cream); border-radius: 14px; border: 1px solid var(--line-2); }
.demo-spec b { display: block; font-family: 'Fraunces', serif; font-size: 17px; }
.demo-spec span { font-size: 14px; color: var(--ink-soft); }
.demo-spec svg { width: 24px; height: 24px; color: var(--pink-deep); flex-shrink: 0; }

/* Business model */
.dough-model { background: var(--cream); }
.model-flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.model-step {
  position: relative; background: var(--surface); border: 1px solid var(--line-2); border-radius: 22px;
  padding: 38px 30px 32px; transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.model-step:hover { transform: translateY(-6px); box-shadow: var(--shadow-m); }
.model-step__n {
  counter-increment: step; font-family: 'Fraunces', serif; font-size: 54px; font-weight: 600;
  line-height: 1; color: transparent; background: var(--grad); -webkit-background-clip: text; background-clip: text; margin-bottom: 14px;
}
.model-step__n::before { content: counter(step, decimal-leading-zero); }
.model-step h3 { font-size: 21px; }
.model-step p { color: var(--ink-soft); font-size: 15.5px; margin: 0; }
.model-note {
  margin-top: 34px; display: flex; gap: 16px; align-items: flex-start;
  background: var(--mint-soft); border: 1px solid rgba(31, 168, 139, .22); border-radius: 18px; padding: 22px 26px;
}
.model-note svg { width: 28px; height: 28px; color: var(--mint); flex-shrink: 0; }
.model-note p { margin: 0; color: #14705c; font-size: 15.5px; }

/* Community band */
.community-band {
  position: relative; color: #fff; text-align: center; overflow: hidden;
  background-image: linear-gradient(rgba(42, 23, 13, .8), rgba(42, 23, 13, .8)), url('/assets/img/sections/community-bg.avif');
  background-size: cover; background-position: center; background-attachment: fixed;
}
.community-band__inner { max-width: 760px; margin: 0 auto; }
.community-band h2 { color: #fff; font-size: clamp(30px, 5vw, 52px); }
.community-band p { color: rgba(255, 246, 238, .9); font-size: 18px; }
.community-band .btn { margin-top: 12px; }
.rp-card {
  margin-top: 40px; display: inline-flex; flex-wrap: wrap; gap: 14px 26px; justify-content: center;
  background: rgba(255, 246, 238, .1); border: 1px solid rgba(255, 246, 238, .22); border-radius: 18px;
  padding: 20px 30px; backdrop-filter: blur(6px);
}
.rp-card span { display: inline-flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 600; }
.rp-card svg { width: 20px; height: 20px; color: var(--amber); }
.age-badge { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px; border-radius: 12px; background: var(--pink); color: #fff; font-family: 'Fraunces', serif; font-weight: 700; }

/* Footer — sticky split-screen */
.split-footer { background: var(--choco); color: rgba(255, 246, 238, .76); margin-top: auto; }
.split-footer a { color: rgba(255, 246, 238, .76); transition: color .25s var(--ease); }
.split-footer a:hover { color: var(--amber); }
.split-footer__grid { display: grid; grid-template-columns: 4fr 6fr; align-items: stretch; }

/* Left fixed panel */
.sf-brand {
  position: sticky; top: var(--header-offset, 70px); align-self: start;
  padding: 60px 48px 60px 0; border-right: 1px solid rgba(255, 246, 238, .12);
}
.sf-brand .brand { color: #fff; font-size: 26px; margin-bottom: 16px; }
.sf-brand .brand b { color: var(--amber); }
.sf-brand .brand__icon { width: 48px; height: 48px; }
.sf-tagline { font-size: 15px; line-height: 1.7; margin-bottom: 26px; max-width: 38ch; }
.sf-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.sf-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 14px;
  background: rgba(232, 67, 114, .16); border: 1px solid rgba(255, 92, 138, .3);
  font-size: 14px; font-weight: 600; color: rgba(255, 246, 238, .92);
}
.sf-badge .age-badge { width: 38px; min-width: 38px; height: 38px; }
.sf-badge svg { width: 22px; height: 22px; color: var(--amber); flex-shrink: 0; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center;
  background: rgba(255, 246, 238, .08); border: 1px solid rgba(255, 246, 238, .12);
  transition: background .3s var(--ease), transform .3s var(--ease), color .3s;
}
.footer-social a:hover { background: var(--pink); color: #fff; transform: translateY(-3px); }
.footer-social svg { width: 20px; height: 20px; }

/* Right ribbon rows */
.sf-ribbons { display: flex; flex-direction: column; padding-left: 48px; }
.sf-row { padding-block: 30px; border-bottom: 1px dashed rgba(255, 246, 238, .16); }
.sf-row:last-child { border-bottom: 0; }
.sf-row__label { display: block; font-family: 'Inter', sans-serif; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 246, 238, .45); margin-bottom: 16px; }
.sf-nav { display: flex; flex-wrap: wrap; gap: 12px 30px; align-items: center; }
.sf-nav a { font-family: 'Fraunces', serif; font-size: 19px; }
.sf-legal { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.sf-legal a { font-size: 15px; }
.rg-logos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rg-logos a {
  display: inline-flex; align-items: center; gap: 12px; padding: 13px 18px; border-radius: 14px;
  background: rgba(255, 246, 238, .06); border: 1px solid rgba(255, 246, 238, .12);
  transition: background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.rg-logos a:hover { background: rgba(255, 246, 238, .12); border-color: rgba(255, 246, 238, .28); transform: translateY(-3px); }
.rg-logos svg { width: 32px; height: 32px; flex-shrink: 0; color: var(--amber); }
.rg-logos .rg-txt { line-height: 1.15; }
.rg-logos .rg-txt b { display: block; font-family: 'Fraunces', serif; font-weight: 600; font-size: 14px; color: #fff; }
.rg-logos .rg-txt small { font-family: 'Inter', sans-serif; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 246, 238, .55); }

/* Disclaimer + base bar */
.sf-disclaimer { display: flex; gap: 14px; align-items: center; font-size: 14px; color: rgba(255, 246, 238, .82); }
.sf-disclaimer .age-badge { flex-shrink: 0; }
.split-footer__base {
  border-top: 1px solid rgba(255, 246, 238, .12);
}
.split-footer__base .container {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding-block: 24px; font-size: 13.5px; color: rgba(255, 246, 238, .55);
}
.split-footer__base nav { display: flex; gap: 20px; flex-wrap: wrap; }

/* Chat widget */
.chat-toggle {
  position: fixed; bottom: 26px; right: 26px; z-index: 90;
  width: 64px; height: 64px; border-radius: 22px; border: 0; cursor: pointer;
  background: var(--grad); color: #fff; box-shadow: var(--shadow-pink);
  display: grid; place-items: center; transition: transform .35s var(--ease-soft), box-shadow .3s;
  -webkit-tap-highlight-color: transparent;
}
.chat-toggle:hover { transform: scale(1.08) rotate(-4deg); }
.chat-toggle svg { width: 30px; height: 30px; }
.chat-toggle__pic { width: 100%; height: 100%; object-fit: cover; border-radius: 22px; }
.chat-toggle[aria-expanded="true"] { transform: scale(.9); }

.chat-panel {
  position: fixed; bottom: 100px; right: 26px; z-index: 91;
  width: 360px; height: 460px; max-width: calc(100vw - 32px); max-height: calc(100dvh - 130px);
  background: var(--surface); border-radius: 24px; box-shadow: var(--shadow-m);
  display: flex; flex-direction: column; overflow: hidden;
  opacity: 0; visibility: hidden; transform: translateY(20px) scale(.96); transform-origin: bottom right;
  transition: opacity .3s var(--ease), transform .35s var(--ease-soft), visibility 0s linear .35s;
}
.chat-panel[data-open="true"] { opacity: 1; visibility: visible; transform: translateY(0) scale(1); transition: opacity .3s var(--ease), transform .35s var(--ease-soft), visibility 0s linear 0s; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--grad); color: #fff; }
.chat-head img { width: 44px; height: 44px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .6); object-fit: cover; }
.chat-head b { font-family: 'Fraunces', serif; font-size: 17px; display: block; }
.chat-head small { font-size: 12.5px; opacity: .9; display: flex; align-items: center; gap: 6px; }
.chat-head small::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #6BE3A4; box-shadow: 0 0 0 3px rgba(107, 227, 164, .3); }
.chat-head button { margin-left: auto; background: rgba(255, 255, 255, .18); border: 0; color: #fff; width: 34px; height: 34px; border-radius: 10px; cursor: pointer; display: grid; place-items: center; }
.chat-head button svg { width: 18px; height: 18px; }
.chat-body { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 12px; background: var(--cream); }
.msg { max-width: 80%; padding: 11px 15px; border-radius: 16px; font-size: 14.5px; line-height: 1.5; }
.msg.bot { background: var(--surface); border: 1px solid var(--line-2); align-self: flex-start; border-bottom-left-radius: 5px; }
.msg.me { background: var(--grad); color: #fff; align-self: flex-end; border-bottom-right-radius: 5px; font-weight: 500; }
.msg.typing { display: inline-flex; gap: 4px; align-self: flex-start; background: var(--surface); border: 1px solid var(--line-2); }
.msg.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--pink); animation: blink 1.2s infinite; }
.msg.typing i:nth-child(2) { animation-delay: .2s; }
.msg.typing i:nth-child(3) { animation-delay: .4s; }
.chat-foot { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line-2); background: var(--surface); }
.chat-foot input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 999px; padding: 11px 16px; font: inherit; font-size: 14.5px; outline: none; transition: border-color .25s; }
.chat-foot input:focus { border-color: var(--pink); }
.chat-foot button { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; border: 0; background: var(--grad); color: #fff; cursor: pointer; display: grid; place-items: center; }
.chat-foot button svg { width: 20px; height: 20px; }

/* Cookie banner */
.cookie {
  position: fixed; bottom: 18px; left: 18px; z-index: 80; max-width: 380px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-m);
  padding: 22px; transform: translateY(140%); transition: transform .5s var(--ease);
}
.cookie.show { transform: translateY(0); }
.cookie h3 { font-size: 17px; margin-bottom: .4em; }
.cookie p { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 14px; }
.cookie__row { display: flex; gap: 10px; }
.cookie__row .btn { padding: 10px 18px; font-size: 14px; flex: 1; }
@media (max-width: 520px) { .cookie { left: 12px; right: 12px; max-width: none; } }

/* Toast */
.toast-backdrop {
  position: fixed; inset: 0; z-index: 120; background: rgba(42, 23, 13, .5); backdrop-filter: blur(3px);
  display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility 0s linear .3s;
}
.toast-backdrop.show { opacity: 1; visibility: visible; transition: opacity .3s var(--ease); }
.toast {
  background: var(--surface); border-radius: 22px; padding: 34px 38px; text-align: center; max-width: 380px; margin: 20px;
  box-shadow: var(--shadow-m); transform: scale(.9); transition: transform .4s var(--ease-soft);
}
.toast-backdrop.show .toast { transform: scale(1); }
.toast__ic { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 18px; }
.toast__ic.ok { background: var(--mint-soft); color: var(--mint); }
.toast__ic.err { background: var(--pink-tint); color: var(--pink-deep); }
.toast__ic svg { width: 32px; height: 32px; }
.toast h3 { font-size: 22px; margin-bottom: .3em; }
.toast p { color: var(--ink-soft); font-size: 15px; margin: 0; }

/* Legal + generic prose pages */
.page-hero { background: linear-gradient(160deg, var(--cream-2), var(--cream)); padding-block: 70px 56px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(34px, 6vw, 58px); margin-bottom: .25em; }
.page-hero p { color: var(--ink-soft); font-size: 18px; margin: 0; max-width: 720px; }
.legal-content { padding-block: 64px; }
.legal-content h2 { font-size: 26px; margin-top: 1.4em; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--ink-soft); }
.legal-content ul { display: grid; gap: 8px; margin: 0 0 1em; padding-left: 0; }
.legal-content li { position: relative; padding-left: 26px; }
.legal-content li::before { content: ''; position: absolute; left: 4px; top: 11px; width: 9px; height: 9px; border-radius: 50%; background: var(--pink); }
.legal-meta { font-size: 14px; color: var(--ink-soft); padding: 14px 18px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 12px; display: inline-block; margin-bottom: 34px; }
.cookie-table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: 15px; }
.cookie-table th, .cookie-table td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.cookie-table th { font-family: 'Fraunces', serif; font-weight: 600; color: var(--ink); background: var(--surface); }
.cookie-table td { color: var(--ink-soft); }
.cookie-table tr:last-child td { border-bottom: 0; }
.cookie-table-wrap { overflow-x: auto; border: 1px solid var(--line-2); border-radius: 14px; margin-bottom: 1.4em; -webkit-overflow-scrolling: touch; }
.cookie-table-wrap .cookie-table { margin: 0; min-width: 480px; }

/* About */
.about-story { background: var(--surface); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value-card { background: var(--surface); border: 1px solid var(--line-2); border-radius: 20px; padding: 30px; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-m); }
.value-card__ic { width: 54px; height: 54px; border-radius: 16px; background: var(--pink-tint); color: var(--pink-deep); display: grid; place-items: center; margin-bottom: 18px; }
.value-card__ic svg { width: 28px; height: 28px; }
.value-card h3 { font-size: 20px; }
.value-card p { color: var(--ink-soft); font-size: 15px; margin: 0; }

/* Contact */
.contact-layout { display: grid; grid-template-columns: 1.2fr .9fr; gap: 44px; align-items: start; }
.contact-form { background: var(--surface); border: 1px solid var(--line-2); border-radius: 24px; padding: 38px; box-shadow: var(--shadow-s); }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.field input, .field textarea, .csel-trigger {
  width: 100%; border: 1.5px solid var(--line); border-radius: 13px; padding: 13px 16px; font: inherit; font-size: 15.5px;
  background: var(--cream); color: var(--ink); outline: none; transition: border-color .25s var(--ease), background .25s;
}
.field input:focus, .field textarea:focus { border-color: var(--pink); background: var(--surface); }
.field textarea { resize: none; min-height: 130px; line-height: 1.6; }
.field .err-text { display: none; color: var(--pink-deep); font-size: 13px; margin-top: 6px; }
.field.invalid input, .field.invalid textarea, .field.invalid .csel-trigger { border-color: var(--pink-deep); }
.field.invalid .err-text { display: block; }

/* Custom select */
.csel { position: relative; }
.csel-trigger { display: flex; align-items: center; justify-content: space-between; gap: 10px; cursor: pointer; text-align: left; }
.csel-trigger[aria-expanded="true"] { border-color: var(--pink); background: var(--surface); }
.csel-trigger svg { width: 18px; height: 18px; color: var(--ink-soft); transition: transform .3s var(--ease); flex-shrink: 0; }
.csel-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.csel-trigger.placeholder { color: var(--ink-soft); }
.csel-panel {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 20;
  background: var(--surface); border: 1px solid var(--line); border-radius: 13px; box-shadow: var(--shadow-m);
  padding: 6px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
}
.csel-panel[data-open="true"] { opacity: 1; visibility: visible; transform: translateY(0); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear 0s; }
.csel-opt { padding: 11px 14px; border-radius: 9px; cursor: pointer; font-size: 15px; transition: background .2s; }
.csel-opt:hover, .csel-opt[aria-selected="true"] { background: var(--pink-tint); color: var(--pink-deep); }

.contact-aside { display: grid; gap: 16px; }
.contact-tile { display: flex; gap: 16px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line-2); border-radius: 18px; padding: 22px 24px; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.contact-tile:hover { transform: translateX(5px); box-shadow: var(--shadow-s); }
.contact-tile__ic { width: 48px; height: 48px; border-radius: 14px; background: var(--pink-tint); color: var(--pink-deep); display: grid; place-items: center; flex-shrink: 0; }
.contact-tile:nth-child(2) .contact-tile__ic { background: var(--mint-soft); color: var(--mint); }
.contact-tile:nth-child(3) .contact-tile__ic { background: #FDEBC9; color: #C98A18; }
.contact-tile__ic svg { width: 24px; height: 24px; }
.contact-tile b { display: block; font-family: 'Fraunces', serif; font-size: 17px; margin-bottom: 3px; }
.contact-tile span, .contact-tile a { font-size: 15px; color: var(--ink-soft); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.first-reveal { opacity: 0; animation: firstReveal .9s var(--ease) forwards; }
.first-reveal.d1 { animation-delay: .12s; }
.first-reveal.d2 { animation-delay: .26s; }
.first-reveal.d3 { animation-delay: .42s; }

@keyframes firstReveal { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes spin-slow { to { transform: rotate(360deg); } }
@keyframes float-spin { from { transform: rotate(0); } to { transform: rotate(360deg); } }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(7px); } }
@keyframes blink { 0%, 60%, 100% { opacity: .3; } 30% { opacity: 1; } }

/* Responsive */
@media (max-width: 1100px) {
  .perk-grid, .values-grid, .model-flow { grid-template-columns: repeat(2, 1fr); }
  .perk-card:nth-child(2n) .perk-card__ic { background: var(--mint-soft); color: var(--mint); }
}
@media (max-width: 920px) {
  .split-footer__grid { grid-template-columns: 1fr; }
  .sf-brand { position: static; padding: 52px 0 36px; border-right: 0; border-bottom: 1px solid rgba(255, 246, 238, .12); }
  .sf-tagline { max-width: none; }
  .sf-ribbons { padding-left: 0; }
}
@media (max-width: 820px) {
  body { font-size: 16px; }
  .review-card { grid-template-columns: 1fr; text-align: center; gap: 18px; justify-items: center; padding: 34px 26px; }
  .demo-info, .about-grid, .contact-layout { grid-template-columns: 1fr; gap: 30px; }
  .community-band { background-attachment: scroll; }
  .split-footer__base .container { justify-content: center; text-align: center; }
  .glaze-hero { min-height: auto; }
  .glaze-hero__inner { padding-block: 72px; }
}
@media (max-width: 640px) {
  .perk-grid, .values-grid, .model-flow { grid-template-columns: 1fr; }
  .perk-card:nth-child(n) .perk-card__ic { background: var(--pink-tint); color: var(--pink-deep); }
}
@media (max-width: 520px) {
  .rg-logos { grid-template-columns: 1fr; }
  .review-card blockquote { font-size: 17px; }
  .chat-panel { right: 12px; bottom: 90px; }
  .chat-toggle { right: 16px; bottom: 16px; }
}
@media (max-width: 380px) {
  .glaze-hero__inner { padding-block: 56px; }
  .btn { padding: 14px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .first-reveal { opacity: 1; animation: none; }
}
