/* DreamSpace AI Solutions: site styles. Tokens follow brand-assets/brand.json */
@font-face { font-family: "Manrope"; src: url("assets/fonts/Manrope-Variable.ttf") format("truetype"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("assets/fonts/IBMPlexMono-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }

:root {
  --cobalt: #173BFF;
  --cobalt-hover: #0F2FD9;
  --blue: #3478F6;
  --ice: #A9E7FF;
  --ink: #10172A;
  --slate: #536078;
  --mist: #EAF2FF;
  --line: #D8E2F0;
  --white: #FFFFFF;
  --hot: #FF6B4A;
  --warm: #FFB938;
  --ok: #19B36B;
  --r-sm: 8px; --r-md: 16px; --r-lg: 24px; --r-xl: 32px; --pill: 999px;
  --shadow: 0 16px 48px rgba(16, 23, 42, 0.10);
  --shadow-lg: 0 30px 80px rgba(23, 59, 255, 0.18);
  --bounce: cubic-bezier(.34, 1.56, .64, 1);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; font-family: "Manrope", system-ui, sans-serif; color: var(--ink); background: var(--white);
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -0.025em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.6rem, 5.6vw, 4.4rem); font-weight: 800; letter-spacing: -0.04em; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }
.wrap--narrow { width: min(820px, 100% - 48px); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: var(--r-sm); z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--ice); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em; font: inherit; font-weight: 700; text-decoration: none;
  padding: 16px 28px; border-radius: var(--pill); border: 1.5px solid transparent; cursor: pointer;
  transition: transform .35s var(--bounce), box-shadow .3s var(--ease), background .2s;
}
.btn .arrow { transition: transform .35s var(--bounce); }
.btn:hover { transform: translateY(-3px); }
.btn:hover .arrow { transform: translateX(4px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--primary { background: var(--cobalt); color: #fff; box-shadow: 0 10px 28px rgba(23, 59, 255, .32); }
.btn--primary:hover { background: var(--cobalt-hover); box-shadow: 0 16px 36px rgba(23, 59, 255, .4); }
.btn--ghost { background: #fff; color: var(--cobalt); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--cobalt); }
.btn--white { background: #fff; color: var(--cobalt); box-shadow: 0 14px 34px rgba(16, 23, 42, .25); }
.btn--sm { padding: 10px 20px; font-size: .95rem; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.82); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.nav.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(16,23,42,.05); }
.nav__inner { display: flex; align-items: center; gap: 32px; height: 76px; }
.nav__logo img { height: 36px; width: auto; }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--slate); position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--cobalt); border-radius: 2px; transform: scaleX(0); transition: transform .3s var(--ease); }
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.nav__burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; margin: 6px 0; transition: transform .3s; }

/* ---------- Shared ---------- */
.eyebrow, .kicker {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: .8rem; letter-spacing: .06em;
  text-transform: uppercase; color: var(--cobalt); background: var(--mist); padding: 7px 14px; border-radius: var(--pill); margin-bottom: 22px;
}
.kicker--light { background: rgba(255,255,255,.12); color: var(--ice); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cobalt); box-shadow: 0 0 0 0 rgba(23,59,255,.5); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(23,59,255,.5); } 80%,100% { box-shadow: 0 0 0 10px rgba(23,59,255,0); } }
.lead { font-size: 1.2rem; color: var(--slate); max-width: 34em; }
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section__head { max-width: 780px; margin-bottom: 56px; }
.section__head .sub { font-size: 1.15rem; color: var(--slate); margin-top: 8px; }
.hl { position: relative; white-space: nowrap; color: var(--cobalt); }
.hl::after { content: ""; position: absolute; left: -4px; right: -4px; bottom: .06em; height: .32em; background: var(--ice); border-radius: 6px; z-index: -1; }
.tag { display: inline-block; font-family: var(--mono); font-size: .78rem; letter-spacing: .04em; color: var(--cobalt); background: var(--mist); border: 1px solid var(--line); border-radius: var(--pill); padding: 5px 12px; margin-bottom: 16px; }
.tag--sm { font-size: .72rem; padding: 3px 10px; margin-bottom: 10px; }
.sticker {
  position: absolute; z-index: 5; font-weight: 800; font-size: .85rem; line-height: 1.15; text-align: center;
  background: var(--ice); color: var(--ink); padding: 14px 16px; border-radius: 50%; width: 104px; height: 104px;
  display: grid; place-items: center; box-shadow: var(--shadow); animation: wobble 6s ease-in-out infinite;
}
@keyframes wobble { 0%,100% { transform: rotate(-10deg) translateY(0); } 50% { transform: rotate(6deg) translateY(-8px); } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* Blobs */
.blob { position: absolute; border-radius: 50%; filter: blur(2px); animation: float 14s ease-in-out infinite; }
.blob--1 { width: 520px; height: 520px; background: radial-gradient(circle at 30% 30%, #DDF5FF, #EAF2FF 60%, transparent 70%); right: -120px; top: -60px; }
.blob--2 { width: 260px; height: 260px; background: radial-gradient(circle, rgba(169,231,255,.7), transparent 70%); left: -80px; top: 360px; animation-delay: -4s; }
.blob--3 { width: 140px; height: 140px; background: radial-gradient(circle, rgba(52,120,246,.18), transparent 70%); left: 44%; top: 70px; animation-delay: -8s; }
@keyframes float { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(20px,-24px) scale(1.04); } 66% { transform: translate(-16px,14px) scale(.97); } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 40px; overflow: hidden; }
.hero__field { position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.hero__field::after { /* modular field: brand mark at low opacity */
  content: ""; position: absolute; inset: 0; background: url("assets/logos/dreamspace-mark-color.svg") 0 0 / 72px repeat; opacity: .028;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 10%, transparent 60%); -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 10%, transparent 60%);
}
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; min-height: min(78vh, 720px); }
.hero h1 { margin-bottom: 24px; }
.scribble { position: relative; display: inline-block; color: var(--cobalt); }
.scribble::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -.12em; height: .3em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 20' preserveAspectRatio='none'%3E%3Cpath d='M3 14 C 60 4, 120 4, 170 10 S 260 16, 297 6' fill='none' stroke='%23A9E7FF' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  transform-origin: left; animation: draw 1.2s .9s var(--ease) both;
}
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
/* Same squiggle, drawn when its .reveal parent scrolls into view */
.scribble--view::after { animation: none; transform: scaleX(0); transition: transform 1.2s .5s var(--ease); }
.reveal.in .scribble--view::after { transform: scaleX(1); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 30px; }
.hero__proof { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; color: var(--slate); font-weight: 600; font-size: .95rem; }
.hero__proof li { display: flex; align-items: center; gap: 8px; }
.hero__proof em { font-style: normal; color: var(--cobalt); }
.hero__proof svg, .ticks li::before { width: 20px; height: 20px; flex: none; }
.hero__proof svg { fill: none; stroke: var(--cobalt); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; background: var(--mist); border-radius: 50%; padding: 3px; }

.hero__stage { position: relative; display: grid; place-items: center; padding: 30px 0 40px; }
.sticker--a { top: 6px; left: 0; }
.phone {
  width: min(360px, 100%); background: #fff; border-radius: 36px; border: 1px solid var(--line);
  box-shadow: var(--shadow-lg), 0 0 0 10px rgba(234,242,255,.8); overflow: hidden; transform: rotate(2deg);
  animation: bob 7s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: rotate(2deg) translateY(0); } 50% { transform: rotate(1deg) translateY(-10px); } }
.phone__bar { display: flex; align-items: center; gap: 12px; padding: 18px 20px; background: linear-gradient(135deg, var(--cobalt), var(--blue)); color: #fff; }
.phone__bar strong { display: block; font-size: 1rem; }
.phone__bar small { display: flex; align-items: center; gap: 6px; opacity: .85; font-size: .78rem; }
.phone__avatar { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.18); display: grid; place-items: center; }
.phone__avatar img { width: 24px; }
.phone__time { margin-left: auto; font-family: var(--mono); font-size: .75rem; opacity: .85; }
.live { width: 7px; height: 7px; border-radius: 50%; background: #7CFFB2; }
.chat { height: 380px; padding: 20px 16px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; background: linear-gradient(#F7FAFF, #fff); overflow: hidden; }
.msg { max-width: 82%; padding: 11px 15px; border-radius: 20px; font-size: .92rem; line-height: 1.45; animation: pop .5s var(--bounce) both; }
.msg--in { align-self: flex-start; background: var(--mist); border-bottom-left-radius: 6px; }
.msg--out { align-self: flex-end; background: var(--cobalt); color: #fff; border-bottom-right-radius: 6px; }
.msg--typing { display: flex; gap: 5px; padding: 14px 16px; }
.msg--typing i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.85); animation: typing 1s infinite; }
.msg--typing i:nth-child(2) { animation-delay: .15s; } .msg--typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%,60%,100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.9); } to { opacity: 1; transform: none; } }
.toast {
  position: absolute; display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 12px 16px; box-shadow: var(--shadow); z-index: 6;
  opacity: 0; transform: translateY(14px) scale(.92); transition: opacity .5s var(--ease), transform .6s var(--bounce);
}
.toast.show { opacity: 1; transform: none; }
.toast strong { display: block; font-size: .9rem; }
.toast small { color: var(--slate); font-size: .78rem; }
.toast__icon { width: 36px; height: 36px; display: grid; place-items: center; background: var(--mist); border-radius: 12px; font-size: 1.1rem; }
.toast--1 { right: -12px; top: 120px; }
.toast--2 { left: -20px; bottom: 30px; }

/* Tools marquee */
.tools { display: flex; align-items: center; gap: 28px; width: min(1180px, 100% - 48px); margin: 40px auto 0; padding-top: 28px; border-top: 1px solid var(--line); }
.tools__label { flex: none; font-family: var(--mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--slate); }
.marquee { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 48px; width: max-content; animation: marquee 28s linear infinite; }
.marquee__track span { font-weight: 800; font-size: 1.15rem; color: #9AA6BC; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Problem ---------- */
.problem { background: var(--mist); border-radius: var(--r-xl) var(--r-xl) 0 0; margin-top: 60px; }
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pain { background: #fff; border-radius: var(--r-lg); padding: 32px; border: 1px solid var(--line); transition: transform .45s var(--bounce), box-shadow .3s; }
.pain:nth-child(1) { transform: rotate(-1.2deg); } .pain:nth-child(3) { transform: rotate(1.2deg); }
.pain.in:nth-child(1) { transform: rotate(-1.2deg); } .pain.in:nth-child(3) { transform: rotate(1.2deg); }
.pain:hover { transform: rotate(0) translateY(-8px) !important; box-shadow: var(--shadow); }
.pain__time { display: inline-block; font-family: var(--mono); font-size: .82rem; color: var(--hot); background: #FFF1EC; padding: 4px 12px; border-radius: var(--pill); margin-bottom: 18px; }
.pain p { color: var(--slate); margin: 0; }
.problem__punch { font-size: clamp(1.3rem, 2.4vw, 1.75rem); font-weight: 700; text-align: center; max-width: 760px; margin: 64px auto 0; letter-spacing: -.01em; }
.problem__punch strong { color: var(--cobalt); }

/* ---------- Products ---------- */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 56px 0; border-top: 1px solid var(--line); }
.product:first-of-type { border-top: 0; padding-top: 0; }
.product--flip .product__copy { order: 2; }
.product h3 { font-size: clamp(1.9rem, 3vw, 2.5rem); font-weight: 800; letter-spacing: -.03em; }
.product__pitch { font-size: 1.15rem; color: var(--slate); }
.ticks { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 3px; border-radius: 50%; background: var(--cobalt)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.product__outcome { background: var(--mist); border-left: 4px solid var(--cobalt); border-radius: 0 var(--r-md) var(--r-md) 0; padding: 16px 20px; font-weight: 600; margin: 0; }
.product__outcome span { color: var(--cobalt); font-weight: 800; }
.product__visual { position: relative; display: grid; place-items: center; padding: 40px; border-radius: var(--r-xl); background: radial-gradient(circle at 70% 20%, #DDF5FF, var(--mist) 60%); min-height: 420px; overflow: hidden; }
.product__visual::before { content: ""; position: absolute; inset: 0; background: url("assets/logos/dreamspace-mark-color.svg") 0 0 / 60px repeat; opacity: .03; }
.mini { position: relative; width: 100%; max-width: 420px; background: #fff; border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform .5s var(--bounce); }
.product:hover .mini { transform: translateY(-6px) rotate(-.6deg); }
.mini__head { display: flex; gap: 8px; margin-bottom: 16px; }
.pill { font-size: .75rem; font-weight: 700; padding: 4px 12px; border-radius: var(--pill); background: var(--mist); color: var(--slate); }
.pill--ice { background: var(--cobalt); color: #fff; }
.bubble { padding: 12px 15px; border-radius: 18px; font-size: .92rem; margin-bottom: 10px; max-width: 88%; }
.bubble--in { background: var(--mist); border-bottom-left-radius: 6px; }
.bubble--out { background: var(--cobalt); color: #fff; margin-left: auto; border-bottom-right-radius: 6px; }
.source { display: block; font-family: var(--mono); font-size: .68rem; opacity: .75; margin-top: 6px; }
.approval { margin-top: 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; border: 1.5px dashed var(--warm); background: #FFF9EC; border-radius: var(--r-md); padding: 12px 14px; }
.approval strong { display: block; font-size: .85rem; }
.approval small { color: var(--slate); font-size: .78rem; }
.approval__btns { display: flex; gap: 6px; }
.approval__btns span { font-size: .75rem; font-weight: 800; padding: 6px 12px; border-radius: var(--pill); }
.ok { background: var(--ok); color: #fff; } .no { background: #fff; border: 1px solid var(--line); }

.lead-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px; border-radius: var(--r-md); border: 1px solid var(--line); margin-bottom: 10px; }
.lead-row--dim { opacity: .55; }
.lead-row__who { display: flex; gap: 12px; align-items: center; min-width: 0; }
.lead-row__who strong { display: block; font-size: .9rem; }
.lead-row__who small { display: block; color: var(--slate); font-size: .78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 220px; }
.av { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .8rem; background: var(--cobalt); color: #fff; }
.av--b { background: var(--blue); } .av--c { background: var(--line); color: var(--slate); }
.score { font-size: .75rem; font-weight: 800; padding: 5px 12px; border-radius: var(--pill); flex: none; }
.score--hot { background: #FFE7E0; color: #D9431F; } .score--warm { background: #FFF2D6; color: #A86A00; } .score--junk { background: var(--mist); color: var(--slate); }
.timer { margin-top: 16px; background: var(--mist); border-radius: var(--pill); height: 38px; position: relative; overflow: hidden; }
.timer__bar { position: absolute; inset: 0; width: 0; background: linear-gradient(90deg, var(--ice), var(--blue)); border-radius: var(--pill); }
.product.in .timer__bar { animation: fill 2.4s .4s var(--ease) forwards; }
@keyframes fill { to { width: 100%; } }
.timer__label { position: relative; z-index: 1; display: grid; place-items: center; height: 100%; font-size: .85rem; font-weight: 600; color: var(--ink); }

.brief__head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px; }
.brief__logo { width: 26px; height: 26px; border-radius: 8px; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .85rem; }
.brief__head small { color: var(--slate); margin-left: auto; font-size: .78rem; }
.brief__title { font-weight: 800; margin-bottom: 12px; }
.brief__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.brief__stats div { background: var(--mist); border-radius: var(--r-sm); padding: 10px; text-align: center; }
.brief__stats b { display: block; font-size: 1.4rem; }
.brief__stats b.warn { color: #D9431F; }
.brief__stats small { color: var(--slate); font-size: .72rem; }
.brief__item { display: flex; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.brief__item strong { display: block; font-size: .88rem; }
.brief__item small { color: var(--slate); font-size: .8rem; }
.flag { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--hot); margin-top: 6px; box-shadow: 0 0 0 4px #FFE7E0; }

/* ---------- How ---------- */
.how { background: var(--mist); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.steps::before { content: ""; position: absolute; top: 34px; left: 12%; right: 12%; border-top: 2px dashed #B8C8E6; z-index: 0; }
.step { position: relative; z-index: 1; background: #fff; border-radius: var(--r-lg); padding: 32px; border: 1px solid var(--line); transition: transform .45s var(--bounce), box-shadow .3s; }
.step:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.step__num { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--cobalt); color: #fff; font-weight: 800; font-size: 1.3rem; margin-bottom: 20px; box-shadow: 0 8px 20px rgba(23,59,255,.3); transform: rotate(-6deg); transition: transform .45s var(--bounce); }
.step:hover .step__num { transform: rotate(6deg) scale(1.08); }
.step p { color: var(--slate); margin: 0; }

/* ---------- Trust ---------- */
.trust { background: var(--ink); color: #fff; overflow: hidden; }
.trust::before { content: ""; position: absolute; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(23,59,255,.55), transparent 65%); left: -200px; top: -200px; }
.trust__grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.trust__copy p { color: #B5C0D6; font-size: 1.15rem; }
.trust__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.tcard { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-lg); padding: 26px; transition: transform .45s var(--bounce), background .3s; }
.tcard:hover { transform: translateY(-6px); background: rgba(255,255,255,.09); }
.tcard__icon { display: grid; place-items: center; width: 46px; height: 46px; background: rgba(169,231,255,.14); border-radius: 14px; font-size: 1.3rem; margin-bottom: 16px; }
.tcard h3 { font-size: 1.08rem; }
.tcard p { color: #B5C0D6; font-size: .95rem; margin: 0; }

/* ---------- Catalogue ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cat {
  font: inherit; color: inherit; text-align: left; text-decoration: none; cursor: pointer; padding: 0; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column;
  transition: transform .45s var(--bounce), box-shadow .3s, border-color .3s;
}
.cat:hover { transform: translateY(-8px) rotate(-.5deg); box-shadow: var(--shadow); border-color: #BFD0F0; }
.cat__media { position: relative; aspect-ratio: 16 / 10; background: var(--mist); overflow: hidden; }
.cat__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s var(--ease); }
.cat:hover .cat__media img { transform: scale(1.05); }
.cat__media--voice { display: grid; place-items: center; background: linear-gradient(135deg, var(--cobalt), var(--blue)); }
.wave { display: flex; gap: 6px; align-items: center; height: 70px; }
.wave i { width: 7px; border-radius: 6px; background: rgba(255,255,255,.85); animation: wave 1.2s ease-in-out infinite; }
.wave i:nth-child(odd) { animation-delay: -.4s; } .wave i:nth-child(3n) { animation-delay: -.8s; }
@keyframes wave { 0%,100% { height: 14px; } 50% { height: 64px; } }
.play { position: absolute; right: 16px; bottom: 16px; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--cobalt); font-size: .95rem; box-shadow: var(--shadow); transition: transform .4s var(--bounce); padding-left: 3px; }
.cat:hover .play { transform: scale(1.15); }
.cat__body { padding: 24px; }
.cat__body p { color: var(--slate); font-size: .95rem; margin: 0; }
.cat--cta { background: var(--mist); border: 2px dashed #B8C8E6; justify-content: center; }
.cat--cta .cat__body { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 32px; }
.cat--cta p { margin-bottom: 18px; }
.cat__plus { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--cobalt); color: #fff; font-size: 1.8rem; font-weight: 700; margin-bottom: 14px; transition: transform .5s var(--bounce); }
.cat--cta:hover .cat__plus { transform: rotate(90deg); }

/* ---------- About ---------- */
.about { background: linear-gradient(var(--white), var(--mist)); }
.about__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: center; }
.about__photo { position: relative; }
.about__photo img { border-radius: var(--r-xl); aspect-ratio: 4 / 5; object-fit: cover; box-shadow: var(--shadow-lg); transform: rotate(-2deg); }
.about__photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: var(--r-xl); background: var(--ice); z-index: -1; transform: rotate(3deg); }
.sticker--b { right: -24px; top: 30px; width: 88px; height: 88px; font-size: 1.05rem; background: var(--cobalt); color: #fff; }
.about__copy p { color: var(--slate); font-size: 1.1rem; }
.about__copy strong { color: var(--ink); }
.creds { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.about__copy .creds-label { display: flex; align-items: center; gap: 8px; margin: 28px 0 0; font: 600 .74rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--slate); }
.creds-label + .creds { margin-top: 12px; }
.creds a { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600; color: var(--ink); text-decoration: none; background: #fff; border: 1px solid var(--line); padding: 5px 6px 5px 5px; border-radius: var(--pill); transition: border-color .2s, transform .2s var(--ease); }
.creds a:hover { border-color: var(--cobalt); transform: translateY(-1px); }
.creds img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex: none; }
.creds .ver { display: inline-flex; align-items: center; gap: 5px; margin-left: 2px; font-size: .74rem; font-weight: 700; color: var(--cobalt); background: var(--mist); padding: 5px 9px 5px 5px; border-radius: var(--pill); }
.tick { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--cobalt); flex: none; }
.tick svg { width: 10px; height: 10px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- FAQ ---------- */
.faq__list { display: grid; gap: 12px; }
details { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 0 24px; transition: border-color .3s, box-shadow .3s; }
details[open] { border-color: #BFD0F0; box-shadow: var(--shadow); }
summary { list-style: none; cursor: pointer; padding: 22px 0; font-weight: 700; font-size: 1.1rem; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); color: var(--cobalt); font-size: 1.3rem; transition: transform .4s var(--bounce), background .3s; }
details[open] summary::after { transform: rotate(45deg); background: var(--cobalt); color: #fff; }
details p { color: var(--slate); padding-bottom: 22px; margin: 0; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--cobalt) 0%, var(--blue) 100%); color: #fff; padding: clamp(90px, 12vw, 150px) 0; text-align: center; border-radius: var(--r-xl) var(--r-xl) 0 0; }
.cta__field { position: absolute; inset: 0; pointer-events: none; }
.blob--4 { width: 460px; height: 460px; background: radial-gradient(circle, rgba(169,231,255,.35), transparent 65%); left: -120px; bottom: -160px; }
.blob--5 { width: 380px; height: 380px; background: radial-gradient(circle, rgba(255,255,255,.18), transparent 65%); right: -80px; top: -120px; animation-delay: -6s; }
.cta__inner { position: relative; max-width: 760px; }
.cta__mark { margin: 0 auto 26px; animation: spin-bob 8s ease-in-out infinite; }
@keyframes spin-bob { 0%,100% { transform: rotate(0) translateY(0); } 50% { transform: rotate(8deg) translateY(-8px); } }
.cta h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
.cta p { font-size: 1.2rem; color: #DCE7FF; margin-bottom: 36px; }
.cta small { display: block; margin-top: 20px; color: #C5D6FF; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #B5C0D6; padding: 56px 0 28px; }
.footer__inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; }
.footer img { filter: brightness(0) invert(1); height: 32px; width: auto; margin-bottom: 12px; }
.footer nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer nav a { text-decoration: none; font-weight: 600; }
.footer nav a:hover { color: #fff; }
.footer__base { border-top: 1px solid rgba(255,255,255,.1); margin-top: 36px; padding-top: 22px; }

/* ---------- Modal ---------- */
.modal { border: 0; padding: 0; background: transparent; width: min(960px, 100% - 32px); max-height: 92vh; }
.modal::backdrop { background: rgba(16,23,42,.72); backdrop-filter: blur(6px); }
.modal[open] .modal__box { animation: pop .45s var(--bounce); }
.modal__box { background: #fff; border-radius: var(--r-lg); overflow: hidden; }
.modal__head, .modal__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 22px; }
.modal__foot { border-top: 1px solid var(--line); color: var(--slate); font-weight: 600; flex-wrap: wrap; }
.modal__close { border: 0; background: var(--mist); width: 38px; height: 38px; border-radius: 50%; cursor: pointer; font-size: 1rem; color: var(--ink); }
.modal__media { background: #000; aspect-ratio: 16 / 9; }
.modal__media video, .modal__media iframe { width: 100%; height: 100%; display: block; border: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__grid, .product, .trust__grid, .about__grid { grid-template-columns: 1fr; }
  .hero__grid { min-height: 0; gap: 40px; }
  .product--flip .product__copy { order: 0; }
  .product { gap: 36px; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .about__photo { max-width: 380px; }
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .nav__cta { margin-left: auto; }
  .nav.open .nav__links { display: flex; flex-direction: column; position: absolute; top: 76px; left: 0; right: 0; background: #fff; padding: 20px 24px 28px; gap: 18px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open .nav__links a { font-size: 1.1rem; color: var(--ink); }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .pains, .steps, .trust__cards, .cat-grid { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .pain:nth-child(n) { transform: none; }
  .tools { flex-direction: column; align-items: flex-start; gap: 14px; }
  .toast--1 { right: 0; top: 190px; } .toast--2 { left: 0; bottom: 10px; }
  .sticker--a { width: 84px; height: 84px; font-size: .72rem; left: -6px; }
  .product__visual { padding: 22px; min-height: 0; }
  .nav__cta { display: none; }
  .nav__burger { margin-left: auto; }
}
@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; }
  .scribble--view::after { transform: none; }
}

/* fixes after preview */
.problem .kicker, .how .kicker, .about .kicker { background: #fff; border: 1px solid var(--line); }
.timer__label { display: flex; align-items: center; justify-content: center; gap: 4px; white-space: nowrap; }
@media (max-width: 720px) {
  .hero__field::after { display: none; }
  .blob--1 { width: 320px; height: 320px; right: -140px; top: -40px; }
  .blob--3 { display: none; }
}

/* ---------- Film section ---------- */
.film { padding-top: clamp(70px, 9vw, 120px); }
.section__head--center { text-align: center; margin-inline: auto; }
.film__frame { position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--mist); border: 1px solid var(--line); box-shadow: var(--shadow-lg), 0 0 0 10px rgba(234,242,255,.8); aspect-ratio: 16 / 9; }
.film__frame video { width: 100%; height: 100%; display: block; object-fit: cover; }
.film__toggle { position: absolute; right: 18px; bottom: 18px; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(255,255,255,.92); color: var(--cobalt); font-size: .9rem; font-weight: 800; box-shadow: var(--shadow); transition: transform .35s var(--bounce); }
.film__toggle:hover { transform: scale(1.1); }
.film__note { text-align: center; color: var(--slate); margin: 28px 0 0; font-size: 1.05rem; }
.film__note a { color: var(--cobalt); font-weight: 700; text-decoration: none; margin-left: 6px; }
.watch { display: inline-flex; align-items: center; gap: 10px; margin: -6px 0 26px; padding: 0; border: 0; background: none; font: inherit; font-weight: 700; color: var(--cobalt); cursor: pointer; }
.watch__icon { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); font-size: .7rem; padding-left: 2px; transition: transform .35s var(--bounce), background .3s; }
.watch:hover .watch__icon { transform: scale(1.15); background: var(--ice); }

/* Film: fit the viewport and tighten spacing to the products section */
.film { padding-bottom: 24px; }
.film .section__head { margin-bottom: 28px; max-width: none; }
.film__frame { width: min(100%, 860px, max(560px, calc((100vh - 340px) * 16 / 9))); margin-inline: auto; }
.film__note { margin-top: 22px; }
.film + .products { padding-top: clamp(64px, 8vw, 100px); }
/* Film heading: two balanced lines, height offset by tighter spacing */
.film .kicker { margin-bottom: 14px; }
.film .section__head { margin-bottom: 20px; }
.film .section__head h2 { font-size: clamp(1.9rem, 2.8vw, 2.45rem); max-width: 640px; margin-inline: auto; text-wrap: balance; }
.film__note { margin-top: 16px; }
