/* ==========================================================================
   Sumi — landing page
   Palette: warm paper, sumi ink, vermilion red
   ========================================================================== */

:root {
  --paper: #fbf8f4;
  --paper-2: #f4eee7;
  --card: #ffffff;
  --ink: #16110f;
  --ink-2: #4b4440;
  --ink-3: #8a817b;
  --line: #e9e1d8;

  --red: #e2372a;
  --red-deep: #b5231a;
  --red-soft: #fde9e4;
  --red-tint: #fff3f0;

  --night: #0a0807;
  --night-2: #16110f;
  --night-line: rgba(255, 255, 255, 0.1);
  --night-text: #f5efe9;
  --night-muted: #a9a09a;
  --spot: radial-gradient(ellipse 78% 78% at 50% 42%, #3d1b15 0%, #1e1412 55%, #0e0a09 100%);

  --radius: 22px;
  --radius-lg: 30px;
  --shadow-sm: 0 1px 2px rgba(22, 17, 15, 0.06), 0 2px 8px rgba(22, 17, 15, 0.04);
  --shadow: 0 2px 6px rgba(22, 17, 15, 0.05), 0 18px 40px -12px rgba(22, 17, 15, 0.16);
  --shadow-red: 0 10px 30px -10px rgba(226, 55, 42, 0.55);

  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", ui-serif, Georgia, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; letter-spacing: -0.035em; font-weight: 650; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 24px; }
/* let grid children shrink below their content width (marquees, long words) */
.hero-grid > *, .split > *, .story-grid > *, .bento > *, .suite-grid > *, .plans > *, .faq-grid > *, .footer-grid > * { min-width: 0; }
@media (max-width: 600px) { .container { padding-inline: 16px; } }

.serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--red);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 560; font-size: 15.5px; line-height: 1;
  border: 1.5px solid transparent;
  transition: transform .25s var(--ease), background-color .2s, box-shadow .25s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn svg { font-size: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 10px 18px; font-size: 14.5px; }
.btn-lg { padding: 17px 28px; font-size: 16.5px; }
.btn-primary { background: var(--red); color: #fff; box-shadow: var(--shadow-red); }
.btn-primary:hover { background: var(--red-deep); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-white { background: #fff; color: var(--red-deep); box-shadow: 0 12px 30px -12px rgba(0,0,0,.35); }
.btn-white:hover { background: var(--ink); color: #fff; }
.btn-outline-white { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-outline-white:hover { background: rgba(255,255,255,.12); border-color: #fff; }

/* ---------- Small bits ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 12px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  font-size: 14px; font-weight: 500; color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.pulse::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid var(--red); opacity: 0; animation: ping 2s var(--ease) infinite;
}
@keyframes ping { 0% { transform: scale(.5); opacity: .8; } 100% { transform: scale(1.8); opacity: 0; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 9px; height: 11px;
  background: var(--red);
  clip-path: path("M4.5 0C4.5 0 0 4.9 0 7.4a4.5 4.5 0 0 0 9 0C9 4.9 4.5 0 4.5 0Z");
}
.eyebrow-dark { color: #ff7a6b; }
.eyebrow-dark::before { background: #ff7a6b; }

.tag {
  display: inline-flex; align-items: center;
  padding: 3px 9px; border-radius: 999px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .01em;
  background: var(--paper-2); color: var(--ink-2);
  white-space: nowrap;
}
.tag-red { background: var(--red-soft); color: var(--red-deep); }
.tag-ink { background: var(--ink); color: #fff; }

.avatar {
  display: inline-grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: #f1d9c9; color: #7a4a2b; font-weight: 650; font-size: 13px;
  flex-shrink: 0;
}
.avatar.sm { width: 26px; height: 26px; }
.avatar-red { background: var(--red); }
.avatar-red svg { width: 15px; height: 15px; fill: #fff; stroke: none; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 244, 0.72);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background-color .3s;
}
.nav.scrolled { border-bottom-color: var(--line); background: rgba(251, 248, 244, 0.88); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 25px; letter-spacing: -0.05em; }
.logo-mark { width: 26px; height: 26px; stroke: none; }
.logo-mark path { fill: var(--red); }
.logo-mark circle { fill: #fff; opacity: .85; }
.logo:hover .logo-mark { animation: drip .8s var(--ease); }
@keyframes drip { 0%,100% { transform: translateY(0); } 40% { transform: translateY(3px) scaleY(1.08); } 70% { transform: translateY(-2px); } }

.nav-links { display: flex; gap: 30px; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.nav-links a { position: relative; padding: 4px 0; transition: color .2s; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: var(--card); cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease); }
.nav-toggle span:first-child { top: 16px; }
.nav-toggle span:last-child { top: 23px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-menu { display: grid; gap: 4px; padding: 8px 16px 20px; border-top: 1px solid var(--line); background: var(--paper); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { padding: 12px 4px; font-size: 18px; font-weight: 550; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 14px; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-block; }
  .nav-cta .btn { display: none; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; padding: 56px 0 72px; overflow: hidden; }
.hero-ink {
  position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background:
    radial-gradient(520px 380px at 82% 30%, rgba(226, 55, 42, 0.10), transparent 70%),
    radial-gradient(420px 320px at 8% 90%, rgba(226, 55, 42, 0.06), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1fr 1.12fr; gap: 48px; align-items: center; }
.hero-copy h1 { font-size: clamp(2.7rem, 6.2vw, 5.1rem); margin: 22px 0 22px; }
.hero-copy h1 .serif { font-size: 1.08em; white-space: nowrap; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink-2); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; font-size: 14px; color: var(--ink-2); }
.hero-trust li { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust svg { color: var(--red); font-size: 16px; stroke-width: 2.6; }

.hero-visual { position: relative; }
.hero-img { width: 100%; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* floating chat chips */
.chip {
  position: absolute; z-index: 2;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 12px 14px;
  font-size: 13.5px; line-height: 1.45;
  max-width: 255px;
}
.chip p { color: var(--ink); }
.chip-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-size: 13px; }
.chip-head .avatar { width: 24px; height: 24px; font-size: 11px; }
.chip-head .avatar-red svg { width: 12px; height: 12px; }
.chip-head time { margin-left: auto; color: var(--ink-3); font-size: 12px; }
.chip-head .tag { margin-left: auto; }

.chip-msg { top: 4%; left: -4%; border-bottom-left-radius: 6px; }
.chip-typing { top: 2%; right: 4%; display: flex; gap: 5px; padding: 14px 16px; border-bottom-right-radius: 6px; }
.chip-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); animation: typing 1.2s infinite; }
.chip-typing i:nth-child(2) { animation-delay: .15s; }
.chip-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-4px); opacity: 1; } }
.chip-reply { top: -4%; right: -6%; border-bottom-right-radius: 6px; background: var(--red-tint); border-color: #f6d4cc; }
.chip-lead { bottom: -15%; right: -4%; min-width: 220px; }
.chip-lead dl { margin: 4px 0 8px; display: grid; gap: 4px; }
.chip-lead dl div { display: flex; justify-content: space-between; gap: 16px; padding: 4px 0; border-bottom: 1px dashed var(--line); }
.chip-lead dt { color: var(--ink-3); }
.chip-lead dd { margin: 0; font-weight: 600; }
.lead-foot { font-size: 12.5px; color: var(--red-deep); font-weight: 550; }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.18); }

/* chip sequencing (JS toggles .show) */
.js .chip[data-seq] { opacity: 0; transform: translateY(14px) scale(.96); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.js .chip[data-seq].show { opacity: 1; transform: none; }

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { max-width: 720px; margin-inline: auto; width: 100%; }
}
@media (max-width: 600px) {
  .hero { padding-top: 32px; }
  .chip { max-width: 178px; font-size: 11.5px; padding: 8px 10px; border-radius: 14px; }
  .chip-head { font-size: 11.5px; margin-bottom: 3px; gap: 6px; }
  .chip-head .avatar { width: 20px; height: 20px; font-size: 10px; }
  .chip-head .tag { font-size: 10px; padding: 2px 6px; }
  .chip-msg { left: -1%; top: -8%; }
  .chip-msg { left: -1%; top: -8%; }
  .chip-reply, .chip-typing { right: -1%; top: auto; bottom: -18%; }
  .chip-lead { display: none; }
  .hero-visual { margin-top: 12px; }
}

/* ==========================================================================
   MARQUEE
   ========================================================================== */
.marquee { padding: 34px 0 30px; border-block: 1px solid var(--line); background: var(--paper-2); overflow: hidden; }
.marquee-label { text-align: center; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 18px; padding-inline: 16px; }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-row { display: flex; flex-shrink: 0; }
.marquee-row span {
  display: inline-flex; align-items: center; gap: 28px;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem); font-weight: 600; letter-spacing: -0.03em;
  padding-right: 28px; white-space: nowrap;
}
.marquee-row span::after {
  content: ""; width: 10px; height: 13px; background: var(--red);
  clip-path: path("M5 0C5 0 0 5.6 0 8.4a5 5 0 0 0 10 0C10 5.6 5 0 5 0Z");
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.section { padding: 120px 0; position: relative; }
@media (max-width: 760px) { .section { padding: 84px 0; } }
.section h2 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-sub { margin-top: 18px; font-size: 1.12rem; color: var(--ink-2); }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.split-rev { grid-template-columns: 1fr 1.05fr; }
.split-copy > p { margin-top: 22px; font-size: 1.1rem; color: var(--ink-2); max-width: 34em; }
.ink-img { mix-blend-mode: multiply; }
@media (max-width: 900px) {
  .split, .split-rev { grid-template-columns: 1fr; gap: 40px; }
  .split-rev .split-media { order: -1; }
}

/* problem */
.pain-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 34px; }
.pain-list li { display: flex; gap: 14px; padding: 18px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.pain-list li:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.pain-list b { display: block; font-size: 15.5px; letter-spacing: -0.01em; }
.pain-list p { font-size: 14px; color: var(--ink-2); line-height: 1.5; margin-top: 2px; }
.pain-ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--red-soft); color: var(--red); font-size: 18px; flex-shrink: 0; }
@media (max-width: 520px) { .pain-list { grid-template-columns: 1fr; } }

/* ==========================================================================
   STORY (dark)
   ========================================================================== */
.story { background: var(--night); color: var(--night-text); overflow: clip; }
.story::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(700px 500px at 30% 45%, rgba(226, 55, 42, 0.16), transparent 70%);
}
.story .section-head { margin-bottom: 40px; }
.story-grid { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; gap: 64px; }
.story-visual { position: sticky; top: calc(50vh - 230px); align-self: start; }
.story-frame {
  position: relative; aspect-ratio: 3 / 2; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--spot);
  box-shadow: 0 0 0 1px var(--night-line), 0 40px 100px -30px rgba(226, 55, 42, 0.45);
}
.story-frame img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  opacity: 0; transform: scale(1.05);
  transition: opacity .7s var(--ease), transform 1.2s var(--ease);
}
.story-frame img.is-active { opacity: 1; transform: scale(1); }
.story-counter {
  position: absolute; left: 18px; top: 16px; z-index: 2;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(10, 8, 7, 0.65); backdrop-filter: blur(8px);
  font-size: 13px; color: var(--night-muted); font-variant-numeric: tabular-nums;
}
.story-counter b { color: #fff; }
.story-progress { display: flex; gap: 8px; margin-top: 18px; justify-content: center; }
.story-progress i { width: 28px; height: 4px; border-radius: 4px; background: var(--night-line); transition: background .4s, width .4s var(--ease); }
.story-progress i.is-active { background: var(--red); width: 48px; }

.story-steps { counter-reset: none; }
.story-step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; opacity: .32; transition: opacity .5s; }
.story-step.is-active { opacity: 1; }
.step-num { font-family: var(--serif); font-style: italic; font-size: 54px; line-height: 1; color: var(--red); margin-bottom: 14px; }
.story-step h3 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); margin-bottom: 14px; }
.story-step p { color: var(--night-muted); font-size: 1.08rem; max-width: 30em; }
.step-img { display: none; }

@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; gap: 0; }
  .story-visual { display: none; }
  .story-step { min-height: 0; opacity: 1; padding: 0 0 56px; }
  .step-img { display: block; border-radius: var(--radius); margin-bottom: 22px; box-shadow: 0 0 0 1px var(--night-line); background: var(--spot); }
  .step-num { font-size: 42px; }
}

/* ==========================================================================
   FEATURES (bento)
   ========================================================================== */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #e2d6ca; }
.card h3 { font-size: 1.32rem; letter-spacing: -0.025em; margin-bottom: 8px; }
.card > p { color: var(--ink-2); font-size: 15.5px; }
.b-2 { grid-column: span 2; }
.b-3 { grid-column: span 3; }
.b-6 { grid-column: span 6; }

.card-ui {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 24px;
  min-height: 190px;
  display: flex; flex-direction: column; justify-content: center;
}

/* chat bubbles */
.ui-chat { gap: 10px; }
.bubble { max-width: 82%; padding: 10px 13px; border-radius: 16px; font-size: 14px; line-height: 1.45; box-shadow: var(--shadow-sm); }
.bubble time { display: block; text-align: right; font-size: 11px; color: var(--ink-3); margin-top: 3px; }
.bubble.in { background: #fff; border-bottom-left-radius: 5px; align-self: flex-start; }
.bubble.out { background: var(--red-soft); border-bottom-right-radius: 5px; align-self: flex-end; }
.ui-chat.compact { min-height: 190px; }
.tag-float { position: absolute; top: 12px; right: 12px; background: var(--red); color: #fff; }
.tag-float.tag-ink { background: var(--ink); }
.js .ui-chat .bubble { opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js .ui-chat .bubble.out { transition-delay: .7s; }
.js .card.in .ui-chat .bubble { opacity: 1; transform: none; }

/* lead card */
.ui-lead { gap: 2px; background: #fff; }
.lead-top { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.lead-top b { display: block; font-size: 14.5px; }
.lead-top small { display: block; font-size: 12px; color: var(--ink-3); }
.lead-top .tag { margin-left: auto; }
.lead-row { display: grid; grid-template-columns: 1fr auto 18px; gap: 10px; align-items: center; padding: 7px 2px; font-size: 14px; }
.lead-row span { color: var(--ink-3); }
.lead-row svg { color: var(--red); stroke-width: 3; font-size: 15px; }
.js .lead-row { opacity: 0; transform: translateX(-10px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(.25s + var(--i) * .22s); }
.js .card.in .lead-row { opacity: 1; transform: none; }

/* takeover toggle */
.ui-takeover { gap: 14px; }
.to-row { display: flex; align-items: center; gap: 10px; padding: 12px; background: #fff; border-radius: 14px; border: 1px solid var(--line); }
.to-label { position: relative; flex: 1; font-size: 14px; height: 20px; overflow: hidden; }
.to-label b { position: absolute; inset: 0; }
.switch { width: 44px; height: 26px; border-radius: 999px; background: var(--red); position: relative; animation: switch-bg 6s infinite; }
.switch i { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); animation: switch-knob 6s infinite var(--ease); }
.to-note { position: relative; height: 20px; font-size: 13px; color: var(--ink-3); text-align: center; }
.to-note span { position: absolute; inset: 0; }
.on-txt { animation: on-txt 6s infinite; }
.off-txt { animation: off-txt 6s infinite; }
@keyframes switch-bg { 0%, 42% { background: var(--red); } 50%, 92% { background: #cfc6be; } 100% { background: var(--red); } }
@keyframes switch-knob { 0%, 42% { transform: translateX(18px); } 50%, 92% { transform: translateX(0); } 100% { transform: translateX(18px); } }
@keyframes on-txt { 0%, 42% { opacity: 1; transform: none; } 48%, 94% { opacity: 0; transform: translateY(-8px); } 100% { opacity: 1; transform: none; } }
@keyframes off-txt { 0%, 44% { opacity: 0; transform: translateY(8px); } 50%, 92% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; transform: translateY(8px); } }

/* languages */
.ui-lang { gap: 12px; overflow: hidden; padding-inline: 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.lang-row { display: flex; gap: 10px; width: max-content; animation: marquee 22s linear infinite; }
.lang-row.rev { animation-direction: reverse; animation-duration: 26s; }
.lang-row span { padding: 8px 14px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 550; white-space: nowrap; }
.lang-row span:nth-child(3n+1) { background: var(--red-soft); border-color: #f6d4cc; color: var(--red-deep); }

/* wide follow-up card */
.card-wide { flex-direction: row; align-items: center; gap: 40px; background: linear-gradient(120deg, #fff 0%, var(--red-tint) 100%); }
.wide-copy { flex: 0 0 34%; }
.wide-copy p { color: var(--ink-2); font-size: 15.5px; }
.timeline { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; padding-top: 6px; }
.timeline::before, .timeline::after {
  content: ""; position: absolute; top: 19px; left: 12.5%; right: 12.5%; height: 2px; border-radius: 2px;
}
.timeline::before { background: var(--line); }
.timeline::after { background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease) .3s; }
.js .card.in .timeline::after, html:not(.js) .timeline::after { transform: scaleX(1); }
.timeline li { position: relative; z-index: 1; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 2px; padding-inline: 6px; }
.t-dot { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 2px solid var(--red); margin-bottom: 10px; }
.t-dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--red); }
.t-end .t-dot { background: var(--ink); border-color: var(--ink); color: #fff; }
.t-end .t-dot::after { display: none; }
.t-end .t-dot svg { font-size: 15px; stroke-width: 3; }
.timeline b { font-size: 14.5px; letter-spacing: -0.01em; }
.timeline small { font-size: 12.5px; color: var(--ink-3); line-height: 1.35; }

@media (max-width: 960px) {
  .b-2, .b-3 { grid-column: span 3; }
  .b-2:last-of-type { grid-column: span 6; }
  .card-wide { flex-direction: column; align-items: stretch; gap: 28px; }
  .wide-copy { flex: none; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .b-2, .b-3, .b-6, .b-2:last-of-type { grid-column: auto; }
  .timeline { grid-template-columns: 1fr; gap: 18px; padding-left: 4px; }
  .timeline::before, .timeline::after { top: 20px; bottom: 44px; left: 17px; right: auto; width: 2px; height: auto; transform-origin: top; }
  .timeline::after { transform: scaleY(0); }
  .js .card.in .timeline::after { transform: scaleY(1); }
  .timeline li { flex-direction: row; text-align: left; gap: 12px; flex-wrap: wrap; }
  .t-dot { margin-bottom: 0; }
  .timeline small { flex-basis: 100%; padding-left: 40px; margin-top: -4px; }
}

/* ==========================================================================
   SUITE
   ========================================================================== */
.suite { background: var(--paper-2); border-block: 1px solid var(--line); }
.suite-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.product {
  position: relative; overflow: hidden;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 30px 0;
  display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.product:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.product h3 { font-size: 1.85rem; margin: 22px 0 10px; }
.product > p { color: var(--ink-2); max-width: 30em; }
.product-top { display: flex; align-items: center; justify-content: space-between; }
.product-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--red-soft); color: var(--red); font-size: 22px; }
.status { font-size: 12.5px; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: #e7f6ec; color: #17803d; }
.status::before { content: "● "; }
.status-soon { background: rgba(255,255,255,.12); color: #ffb3a8; }
.product-media { margin: 22px -30px 0; background: var(--red-tint); border-top: 1px solid var(--line); overflow: hidden; }
.product-media img { transition: transform .8s var(--ease); }
.product:hover .product-media img { transform: scale(1.04); }

.product-chat { background: var(--red); border-color: var(--red); color: #fff; padding-bottom: 30px; }
.product-chat > p { color: rgba(255,255,255,.86); }
.product-chat .product-ico { background: rgba(255,255,255,.16); color: #fff; }
.product-chat .status { background: rgba(255,255,255,.18); color: #fff; }
.chat-stack { margin-top: auto; padding-top: 34px; display: grid; gap: 10px; }
.cs { width: fit-content; max-width: 80%; padding: 11px 15px; border-radius: 18px; font-size: 15px; font-weight: 500; box-shadow: 0 10px 24px -12px rgba(0,0,0,.35); }
.cs1, .cs3 { background: #fff; color: var(--ink); border-bottom-left-radius: 6px; }
.cs2, .cs4 { justify-self: end; background: var(--ink); color: #fff; border-bottom-right-radius: 6px; }
.cs-saved {
  justify-self: center; margin-top: 6px;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(255,255,255,.16); border: 1px dashed rgba(255,255,255,.45);
  font-size: 13px; font-weight: 600;
}
.cs-saved svg { stroke-width: 3; }
.js .cs, .js .cs-saved { opacity: 0; transform: translateY(14px) scale(.97); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .product.in .cs, .js .product.in .cs-saved { opacity: 1; transform: none; }
.js .product.in .cs2 { transition-delay: .5s; }
.js .product.in .cs3 { transition-delay: 1s; }
.js .product.in .cs4 { transition-delay: 1.5s; }
.js .product.in .cs-saved { transition-delay: 2s; }

.product-voice { background: var(--night); border-color: var(--night); color: var(--night-text); }
.product-voice > p { color: var(--night-muted); }
.product-voice .product-ico { background: rgba(226,55,42,.18); color: #ff7a6b; }
.dark-media { background: var(--spot); border-top-color: var(--night-line); }
.link-arrow {
  position: absolute; right: 22px; bottom: 22px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px;
  background: #fff; color: var(--ink); font-size: 14.5px; font-weight: 600;
  transition: gap .3s var(--ease), background-color .2s;
}
.link-arrow:hover { gap: 14px; background: var(--red-soft); }

@media (max-width: 860px) {
  .suite-grid { grid-template-columns: 1fr; }
  .product { padding: 24px 22px 0; }
  .product-media { margin-inline: -22px; }
  .product-chat { padding-bottom: 24px; }
}

/* ==========================================================================
   TRUST
   ========================================================================== */
.check-list { display: grid; gap: 14px; margin-top: 30px; }
.check-list li { position: relative; padding-left: 38px; color: var(--ink-2); font-size: 16px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--red) 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='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.check-list b { color: var(--ink); }
.trust-media { border-radius: var(--radius-lg); overflow: hidden; background: var(--spot); box-shadow: 0 30px 80px -30px rgba(226,55,42,.45); }

/* ==========================================================================
   PRICING
   ========================================================================== */
.pricing { padding-top: 40px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px 28px 28px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan h3 { font-size: 1.6rem; }
.plan-for { color: var(--ink-2); margin-top: 8px; font-size: 15.5px; }
.plan-price { margin: 24px 0 22px; padding-bottom: 22px; border-bottom: 1px solid var(--line); font-size: 1.35rem; font-weight: 650; letter-spacing: -0.02em; }
.plan-price small { font-size: 15px; font-weight: 500; color: var(--ink-3); letter-spacing: 0; }
.plan ul { display: grid; gap: 11px; margin-bottom: 30px; flex: 1; }
.plan li { position: relative; padding-left: 26px; font-size: 15.5px; color: var(--ink-2); }
.plan li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10' fill='none' stroke='%23E2372A' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1.5 5.2 5 8.5l7.5-7'/%3E%3C/svg%3E") no-repeat;
}
.plan .btn { width: 100%; }
.plan-featured { background: var(--night); border-color: var(--night); color: var(--night-text); box-shadow: 0 30px 70px -30px rgba(226,55,42,.6); }
.plan-featured .plan-for, .plan-featured li { color: var(--night-muted); }
.plan-featured .plan-price { border-color: var(--night-line); }
.plan-featured .plan-price small { color: var(--night-muted); }
.plan-badge { position: absolute; top: -13px; left: 28px; padding: 6px 13px; border-radius: 999px; background: var(--red); color: #fff; font-size: 12.5px; font-weight: 600; }
.fineprint { text-align: center; margin-top: 28px; font-size: 14px; color: var(--ink-3); }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; gap: 26px; } }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { padding-top: 40px; }
.faq-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: start; }
.faq-head { position: sticky; top: 110px; }
.faq-head p { margin: 18px 0 26px; color: var(--ink-2); font-size: 1.08rem; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0; font-size: 1.15rem; font-weight: 600; letter-spacing: -0.02em;
  transition: color .2s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px solid var(--line);
  background:
    linear-gradient(var(--ink), var(--ink)) center / 12px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 12px no-repeat;
  transition: transform .35s var(--ease), background-color .2s, border-color .2s;
}
.faq-list summary:hover { color: var(--red); }
.faq-list details[open] summary::after {
  transform: rotate(45deg); border-color: var(--red);
  background:
    linear-gradient(#fff, #fff) center / 12px 2px no-repeat,
    linear-gradient(#fff, #fff) center / 2px 12px no-repeat,
    var(--red);
}
.faq-list details p { padding: 0 56px 26px 0; color: var(--ink-2); }
@media (max-width: 900px) {
  .faq-grid { grid-template-columns: 1fr; gap: 36px; }
  .faq-head { position: static; }
  .faq-list details p { padding-right: 0; }
}

/* ==========================================================================
   CTA
   ========================================================================== */
.cta { position: relative; overflow: hidden; background: var(--red); color: #fff; padding: 120px 0; text-align: center; isolation: isolate; }
.cta-ink {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(500px 360px at 12% 20%, rgba(255,255,255,.16), transparent 70%),
    radial-gradient(600px 420px at 90% 100%, rgba(120, 12, 6, .45), transparent 70%);
}
.cta-ink::before, .cta-ink::after {
  content: ""; position: absolute; background: rgba(255,255,255,.08);
  clip-path: path("M60 0C60 0 0 68 0 102a60 60 0 0 0 120 0C120 68 60 0 60 0Z");
  width: 120px; height: 162px;
  animation: floaty 8s ease-in-out infinite;
}
.cta-ink::before { left: 7%; bottom: 14%; transform: rotate(-12deg); }
.cta-ink::after { right: 9%; top: 16%; animation-delay: -4s; }
.cta-inner { max-width: 860px; }
.cta h2 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); }
.cta h2 .serif { color: #fff; }
.cta-inner > p { margin: 22px auto 0; max-width: 34em; font-size: 1.15rem; color: rgba(255,255,255,.88); }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.cta-note { margin-top: 26px !important; font-size: 14px !important; color: rgba(255,255,255,.7) !important; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--night); color: var(--night-muted); padding: 72px 0 32px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer .logo { color: #fff; }
.footer-brand p { margin-top: 12px; max-width: 22em; }
.footer h4 { color: #fff; font-size: 14px; letter-spacing: .02em; margin-bottom: 14px; font-weight: 600; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 9px; }
.footer a:not(.logo):hover { color: #fff; }
.footer em { font-style: normal; font-size: 11px; padding: 2px 7px; border-radius: 999px; background: rgba(226,55,42,.2); color: #ff9c90; margin-left: 4px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--night-line); font-size: 13px; }
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .marquee-track, .lang-row { animation: none; }
}
