:root {
  --jabuticaba: #2b0e3f;
  --jabuticaba-900: #18081f;
  --jabuticaba-800: #351044;
  --terracotta: #e07b5f;
  --coral: #ec6551;
  --coral-bright: #ff765f;
  --blush: #f7d1c8;
  --sand: #f5efea;
  --olive: #6a7f5e;
  --graphite: #202833;
  --ink: #1f1425;
  --muted: #6f6671;
  --white: #fffdfb;
  --line: rgba(43, 14, 63, 0.11);
  --shadow: 0 18px 50px rgba(43, 14, 63, 0.09);
  --shadow-hover: 0 28px 70px rgba(43, 14, 63, 0.16);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --container: 1200px;
  --ease: cubic-bezier(.2,.8,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
::selection { background: var(--blush); color: var(--jabuticaba); }

.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 10000;
  transform: translateY(-150%); padding: 10px 14px;
  background: var(--white); color: var(--jabuticaba); border-radius: 10px;
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 104px 0; position: relative; }
.section--soft { background: linear-gradient(180deg, #fffdfb 0%, #fff7f3 100%); }
.section--white { background: #fff; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 14px; color: var(--coral); font-size: .78rem;
  font-weight: 800; letter-spacing: .13em; text-transform: uppercase;
}
.eyebrow::before { display: none; }
.section-title {
  margin: 0; font-family: "Poppins", sans-serif; font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.45rem); line-height: 1.08; letter-spacing: -.04em;
}
.section-copy { color: var(--muted); font-size: 1.05rem; max-width: 620px; margin: 18px 0 0; }
.text-coral { color: var(--coral); }

/* Page transition */
.page-curtain {
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  background: var(--jabuticaba-900); transform: scaleY(0); transform-origin: bottom;
  transition: transform .55s var(--ease);
}
.page-curtain::after {
  content: ""; position: absolute; inset: 0; opacity: .23;
  background: radial-gradient(circle at 70% 25%, var(--terracotta), transparent 36%);
}
body.is-leaving .page-curtain { transform: scaleY(1); transform-origin: top; }
body.page-ready .page-curtain { transform: scaleY(0); }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 1000; height: 84px;
  color: #fff; transition: background .35s ease, box-shadow .35s ease, height .35s ease;
}
.site-header.scrolled {
  height: 72px; background: rgba(23, 7, 29, .88);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 8px 28px rgba(0,0,0,.18);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: "Poppins", sans-serif; font-weight: 700; font-size: 1.55rem; letter-spacing: -.04em; }
.brand img { width: 38px; height: 38px; border-radius: 10px; object-fit: cover; }
.nav { display: flex; align-items: center; gap: 32px; margin-left: auto; }
.nav a { position: relative; font-size: .94rem; font-weight: 600; color: rgba(255,255,255,.9); transition: color .25s ease; }
.nav a:not(.button)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px;
  background: var(--coral-bright); transition: right .28s var(--ease);
}
.nav a:hover, .nav a.active { color: #fff; }
.nav a:hover::after, .nav a.active::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.language-switch { position: relative; display: inline-flex; align-items: center; }
.language-select {
  min-height: 42px; padding: 0 38px 0 14px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.24); background: rgba(255,255,255,.08); color: #fff;
  appearance: none; -webkit-appearance: none;
}
.language-select option { color: var(--ink); }
.language-switch::after {
  content: "▾"; position: absolute; right: 14px; pointer-events: none;
  color: rgba(255,255,255,.76); font-size: .8rem;
}
.language-switch--footer::after { color: rgba(43,14,63,.76); }
.language-select--footer {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

/* Custom language dropdown (replaces native <select> via JS) */
.lang-dd { position: relative; display: inline-flex; min-width: 164px; }
.lang-dd__btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%; min-height: 48px; padding: 0 18px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.24); background: rgba(255,255,255,.08);
  color: #fff; font: 500 1rem "Inter", sans-serif; text-align: left; cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}
.lang-dd__btn:hover { background: rgba(255,255,255,.16); }
.lang-dd__btn:focus-visible { outline: 2px solid var(--coral); outline-offset: 2px; }
.lang-dd__caret { width: 18px; height: 18px; flex: 0 0 18px; transition: transform .2s ease; }
.lang-dd.is-open .lang-dd__caret { transform: rotate(180deg); }
.lang-dd__menu {
  position: absolute; top: calc(100% + 10px); left: 0; right: 0; z-index: 80;
  width: auto; margin: 0; padding: 6px; list-style: none; text-align: left;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 20px 46px rgba(43,14,63,.22);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.lang-dd.is-open .lang-dd__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-dd__option {
  padding: 10px 14px; border-radius: 11px; color: var(--ink); text-align: left;
  font-size: .95rem; cursor: pointer; white-space: nowrap; outline: none;
  transition: background .15s ease, color .15s ease;
}
.lang-dd__option:hover, .lang-dd__option:focus-visible { background: var(--blush); }
.lang-dd__option.is-active { color: var(--coral); font-weight: 600; }
.lang-dd--footer .lang-dd__btn { color: var(--ink); background: #fff; border-color: var(--line); }
.lang-dd--footer .lang-dd__btn:hover { background: var(--blush); }
.lang-dd--footer .lang-dd__menu { top: auto; bottom: calc(100% + 10px); transform: translateY(6px); }
.lang-dd--footer.is-open .lang-dd__menu { transform: translateY(0); }
.blog-page .site-header .lang-dd__btn {
  color: var(--ink);
  background: #fff;
  border-color: rgba(43,14,63,.16);
  box-shadow: 0 8px 22px rgba(43,14,63,.08);
}
.blog-page .site-header .lang-dd__btn:hover {
  background: var(--blush);
  border-color: rgba(43,14,63,.24);
}
.blog-page .site-header .lang-dd__caret {
  color: var(--coral);
}
.menu-toggle {
  display: none; position: relative; width: 44px; height: 44px; flex: 0 0 44px;
  border-radius: 12px; border: 1px solid rgba(255,255,255,.24);
  background: rgba(255,255,255,.07); color: white;
}
.menu-toggle span, .menu-toggle::before, .menu-toggle::after {
  content: ""; position: absolute; left: 50%; top: 50%; display: block;
  width: 20px; height: 2px; margin-left: -10px; background: currentColor;
  border-radius: 99px; transition: transform .25s var(--ease), opacity .2s ease;
}
.menu-toggle span { transform: translateY(-1px); }
.menu-toggle::before { transform: translateY(-7px); }
.menu-toggle::after { transform: translateY(5px); }
.menu-open .menu-toggle span { opacity: 0; }
.menu-open .menu-toggle::before { transform: translateY(-1px) rotate(45deg); }
.menu-open .menu-toggle::after { transform: translateY(-1px) rotate(-45deg); }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border: 0; border-radius: 12px;
  font-weight: 750; transition: transform .25s var(--ease), box-shadow .25s ease, background .25s ease;
  position: relative; overflow: hidden; isolation: isolate;
}
.button::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: linear-gradient(110deg, transparent 15%, rgba(255,255,255,.32) 45%, transparent 75%);
  transform: translateX(-100%); transition: transform .55s ease, opacity .2s;
}
.button:hover::before { transform: translateX(100%); opacity: 1; }
.button:hover { transform: translateY(-3px); }
.button:disabled,
.admin-link-button:disabled,
.icon-button:disabled {
  cursor: wait;
  opacity: .65;
  pointer-events: none;
}
.button.is-loading {
  box-shadow: none;
}
.button--primary {
  color: white; background: linear-gradient(135deg, var(--coral) 0%, var(--coral-bright) 100%);
  box-shadow: 0 12px 30px rgba(236,101,81,.3);
}
.button--primary:hover { box-shadow: 0 18px 42px rgba(236,101,81,.42); }
.button--ghost { color: #fff; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.5); }
.button--ghost:hover { background: rgba(255,255,255,.13); }
.button--header { min-height: 44px; padding-inline: 20px; font-size: .9rem; }
.button__arrow { width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.2); display: grid; place-items: center; }
.app-login-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,.36);
  border-radius: 12px;
  color: rgba(255,255,255,.92);
  font-size: .9rem;
  font-weight: 800;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s var(--ease);
}
.app-login-link:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.62);
  color: #fff;
}
.nav-mobile-login {
  display: none;
}

/* Hero */
.hero {
  min-height: 760px; position: relative; display: flex; align-items: center; color: white;
  overflow: hidden; background: var(--jabuticaba-900);
}
.hero-media {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center;
  filter: grayscale(1) contrast(1.05) brightness(.72);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(7,7,7,.92) 0%, rgba(12,12,12,.76) 38%, rgba(18,18,18,.44) 62%, rgba(12,12,12,.28) 100%),
    linear-gradient(0deg, rgba(0,0,0,.58), rgba(0,0,0,.18) 48%, rgba(0,0,0,.08) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0; height: 160px; z-index: 1;
  background: linear-gradient(transparent, rgba(0,0,0,.56)); pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; padding-top: 110px; padding-bottom: 70px; }
.hero-content { width: min(640px, 58%); }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border: 1px solid rgba(236,101,81,.45);
  color: #ff9b89; border-radius: 999px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .72rem;
  background: rgba(31,9,39,.42); backdrop-filter: blur(8px);
}
.hero h1 {
  margin: 20px 0 18px; font-family: "Poppins", sans-serif; font-size: clamp(3.1rem, 5.4vw, 5.25rem);
  line-height: 1.03; letter-spacing: -.055em; max-width: 800px;
}
.hero p { margin: 0; font-size: clamp(1rem, 1.5vw, 1.18rem); color: rgba(255,255,255,.82); max-width: 580px; }
.hero-actions { display: flex; align-items: center; gap: 18px; margin-top: 34px; flex-wrap: wrap; }
.video-control {
  display: inline-flex; align-items: center; gap: 11px; padding: 0; border: 0; background: transparent; color: white;
  font-weight: 700;
}
.video-control__icon { width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; display: grid; place-items: center; transition: .25s; }
.video-control:hover .video-control__icon { background: white; color: var(--jabuticaba); transform: scale(1.08); }
.hero-secondary-link {
  display: inline-flex; align-items: center; gap: 11px; color: #fff; font-weight: 700;
  transition: color .25s ease, transform .25s var(--ease);
}
.hero-secondary-link__icon {
  width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.7); border-radius: 50%;
  display: grid; place-items: center; padding-left: 2px; font-size: .78rem;
  transition: background .25s ease, color .25s ease, transform .25s var(--ease);
}
.hero-secondary-link:hover { transform: translateY(-2px); }
.hero-secondary-link:hover .hero-secondary-link__icon { background: #fff; color: var(--jabuticaba); transform: scale(1.06); }
.waitlist-count {
  margin-top: 30px; display: inline-flex; align-items: center; gap: 14px; padding: 12px 16px;
  border-radius: 15px; background: rgba(43,14,63,.44); border: 1px solid rgba(247,209,200,.18); backdrop-filter: blur(12px);
}
.waitlist-count svg { width: 30px; color: var(--coral-bright); }
.waitlist-count strong { color: var(--coral-bright); font-size: 1.05rem; display: block; }
.waitlist-count span { color: rgba(255,255,255,.82); display: block; font-size: .92rem; line-height: 1.35; }
.hero-scroll {
  position: absolute; z-index: 2; bottom: 22px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.65);
  display: flex; flex-direction: column; align-items: center; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
}
.hero-scroll::after { content: ""; width: 1px; height: 26px; background: rgba(255,255,255,.4); margin-top: 8px; animation: scrollPulse 1.7s infinite; }
@keyframes scrollPulse { 0%,100%{opacity:.25;transform:scaleY(.55)} 50%{opacity:1;transform:scaleY(1)} }

/* Feature section */
.feature-layout { display: grid; grid-template-columns: 240px 1fr; gap: 46px; align-items: stretch; }
.feature-intro { display: flex; flex-direction: column; justify-content: center; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature-card {
  min-height: 280px; border-radius: var(--radius-md); padding: 28px;
  color: #fff; background:
    radial-gradient(circle at 85% 5%, rgba(224,123,95,.22), transparent 34%),
    linear-gradient(145deg, #481153, #230a30);
  box-shadow: 0 18px 38px rgba(43,14,63,.16); transition: transform .35s var(--ease), box-shadow .35s ease;
  position: relative; overflow: hidden;
}
.feature-card::after { content:""; position:absolute; inset:0; border:1px solid rgba(255,255,255,.08); border-radius:inherit; pointer-events:none; }
.feature-card:hover { transform: translateY(-10px); box-shadow: 0 28px 62px rgba(43,14,63,.28); }
.icon-badge {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  color: var(--coral); background: linear-gradient(145deg, #fff8f4, var(--blush));
  box-shadow: 0 10px 24px rgba(0,0,0,.16); margin-bottom: 24px;
}
.icon-badge svg { width: 27px; height: 27px; stroke-width: 1.8; }
.feature-card h3, .benefit-card h3 { font-family: "Poppins", sans-serif; margin: 0 0 10px; line-height: 1.2; }
.feature-card p { color: rgba(255,255,255,.72); margin: 0; font-size: .93rem; }

/* Benefits */
.split-section { display: grid; grid-template-columns: 240px 1fr; gap: 46px; align-items: start; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.benefit-card {
  background: rgba(255,255,255,.86); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 28px;
  box-shadow: 0 10px 28px rgba(43,14,63,.04); transition: transform .3s var(--ease), box-shadow .3s ease, border-color .3s;
}
.benefit-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); border-color: rgba(236,101,81,.32); }
.benefit-card .line-icon { color: var(--coral); width: 40px; height: 40px; margin-bottom: 20px; }
.benefit-card p { margin: 0; color: var(--muted); font-size: .93rem; }

/* Trancista top features */
.center-heading { text-align: center; max-width: 740px; margin: 0 auto 54px; }
.center-heading .section-copy { margin-inline: auto; }
.icon-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.icon-feature { text-align: center; padding: 18px 12px; }
.icon-feature svg { width: 44px; height: 44px; color: var(--coral); margin: 0 auto 18px; stroke-width: 1.5; }
.icon-feature h3 { font-size: 1rem; font-family: "Poppins", sans-serif; margin: 0 0 9px; }
.icon-feature p { color: var(--muted); font-size: .9rem; margin: 0; }

.focus-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.focus-visual { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 480px; box-shadow: var(--shadow); }
.focus-visual img,
.focus-visual video { width:100%; height:100%; object-fit:cover; position:absolute; inset:0; }
.focus-stat-stack { position:absolute; left:24px; top:50%; transform:translateY(-50%); display:grid; gap:12px; }
.focus-stat { padding: 14px 18px; min-width: 190px; border-radius: 14px; color:white; background: rgba(43,14,63,.86); backdrop-filter: blur(12px); box-shadow: 0 12px 28px rgba(0,0,0,.18); }
.focus-stat strong { display:block; font-size:1.05rem; }
.focus-copy ul { list-style:none; padding:0; margin:26px 0 0; display:grid; gap:12px; }
.focus-copy li { display:flex; gap:11px; align-items:flex-start; font-weight:650; }
.focus-copy li::before { content:"✓"; color:var(--coral); font-weight:900; }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: 260px 1fr; gap: 56px; align-items: start; }
.faq-list { display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: 16px; background: #fff; overflow: hidden; transition: box-shadow .25s, border-color .25s; }
.faq-item[open] { box-shadow: 0 14px 30px rgba(43,14,63,.07); border-color: rgba(236,101,81,.34); }
.faq-question {
  width: 100%; min-height: 62px; padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border: 0; background: transparent; color: var(--ink); text-align: left; font-weight: 750;
}
.faq-plus { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; display:grid; place-items:center; color:#fff; background:var(--coral); transition: transform .25s var(--ease); }
.faq-item[open] .faq-plus { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .38s var(--ease); }
.faq-item[open] .faq-answer { max-height: 500px; }
.faq-answer-inner { padding: 0 64px 20px 18px; color: var(--muted); }

/* Pointer-follow gradient shared by cards across the site */
.mouse-gradient {
  --mouse-x: 50%; --mouse-y: 50%;
  position: relative; overflow: hidden; isolation: isolate;
}
.mouse-gradient:not(.cta-banner)::before {
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: 0; pointer-events: none;
  background: radial-gradient(360px circle at var(--mouse-x) var(--mouse-y), rgba(255,118,95,.2), transparent 60%);
  transition: opacity .3s ease;
}
.mouse-gradient:not(.cta-banner):hover::before { opacity: 1; }
.mouse-gradient > * { position: relative; z-index: 1; }

/* CTA */
.cta-wrap { padding: 0 0 34px; }
.cta-banner {
  --mouse-x: 50%; --mouse-y: 50%;
  display: grid; grid-template-columns: 180px 1fr auto; gap: 36px; align-items: center;
  min-height: 260px; padding: 40px 52px; border-radius: var(--radius-lg); color: #fff; overflow: hidden; position:relative;
  background: var(--jabuticaba) url('../images/cta-bg.jpg') center/cover no-repeat;
  box-shadow: 0 24px 60px rgba(43,14,63,.23);
  transition: transform .3s var(--ease), box-shadow .3s ease;
}
.cta-banner::before {
  content:""; position:absolute; inset:0; opacity:0; pointer-events:none;
  background:radial-gradient(480px circle at var(--mouse-x) var(--mouse-y),rgba(255,118,95,.5),transparent 58%);
  transition:opacity .3s ease;
}
.cta-banner::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,rgba(22,6,28,.16),rgba(43,14,63,.12)); pointer-events:none; }
.cta-banner > * { position:relative; z-index:1; }
.cta-banner:hover { transform:translateY(-5px); box-shadow:0 32px 74px rgba(43,14,63,.32); }
.cta-banner:hover::before { opacity:1; }
.cta-symbol { width: 160px; height: auto; aspect-ratio: 1 / 1; object-fit: contain; filter: drop-shadow(0 18px 28px rgba(0,0,0,.2)); animation: float 5s ease-in-out infinite; }
@keyframes float { 0%,100%{transform:translateY(0) rotate(-1deg)} 50%{transform:translateY(-10px) rotate(1deg)} }
.cta-banner h2 { margin:0; font:700 clamp(2rem,3.2vw,3.2rem)/1.05 "Poppins",sans-serif; letter-spacing:-.04em; }
.cta-banner p { margin:14px 0 0; color:rgba(255,255,255,.72); max-width:520px; }
.cta-side { min-width:270px; }
.cta-note { margin-top:12px; color:rgba(255,255,255,.66); font-size:.82rem; text-align:center; }

/* Footer */
.footer { padding: 56px 0 28px; background: #fff; border-top: 1px solid var(--line); }
.footer-grid { display:grid; grid-template-columns: 1.4fr repeat(3,1fr); gap:50px; }
.footer-brand { color:var(--muted); max-width:230px; }
.footer-brand .brand { color:var(--ink); margin-bottom:14px; }
.footer h4 { font-family:"Poppins",sans-serif; margin:0 0 16px; }
.footer ul { list-style:none; padding:0; margin:0; display:grid; gap:8px; color:var(--muted); font-size:.9rem; }
.footer a:hover { color:var(--coral); }
.socials { display:flex; gap:10px; }
.socials a { width:38px; height:38px; border-radius:50%; border:1px solid var(--line); display:grid; place-items:center; transition:.25s; }
.socials a:hover { background:var(--jabuticaba); color:#fff; transform:translateY(-3px); }
.footer-bottom { border-top:1px solid var(--line); margin-top:42px; padding-top:20px; display:flex; justify-content:space-between; gap:20px; color:var(--muted); font-size:.82rem; }

.legal-hero {
  padding: 150px 0 70px;
  background: linear-gradient(145deg, #18081f, #2b0e3f);
  color: white;
}
.legal {
  padding: 70px 0 110px;
}
.legal article {
  max-width: 820px;
}
.legal h2 {
  font-family: "Poppins", sans-serif;
  margin-top: 38px;
}
.legal p,
.legal li {
  color: var(--muted);
}
.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: #2b0e3f;
  color: white;
}
.error-page main {
  padding: 30px;
  text-align: center;
}
.error-page img {
  width: 150px;
  margin: auto;
}
.error-page h1 {
  font: 700 3rem "Poppins", sans-serif;
}

/* Home page layout refinements */
.home-page .hero h1 {
  font-size: clamp(2.85rem, 4.2vw, 4.3rem);
  max-width: 700px;
}
.home-page .feature-layout {
  grid-template-columns: minmax(280px, 320px) 1fr;
  gap: 54px;
  align-items: center;
}
.home-page .feature-intro { max-width: 320px; }
.home-page .feature-intro .section-title {
  font-size: clamp(2.25rem, 3.1vw, 3rem);
  line-height: 1.08;
}
.home-page .feature-grid { gap: 16px; align-items: stretch; }
.home-page .feature-card {
  min-height: 230px;
  padding: 24px;
}
.home-page .feature-card .icon-badge {
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
}
.home-page .split-section {
  grid-template-columns: minmax(320px, 380px) 1fr;
  gap: 58px;
  align-items: center;
}
.home-page .split-section > :first-child { max-width: 380px; }
.home-page .split-section .section-title {
  font-size: clamp(2.4rem, 3.5vw, 3.25rem);
}
.home-page .benefit-grid { gap: 16px; }
.home-page .benefit-card { min-height: 210px; padding: 26px; }
.audience-video {
  min-height: 620px; display: flex; align-items: center; overflow: hidden; color: #fff;
  background: var(--jabuticaba-900);
}
.audience-video::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(24,8,31,.9), rgba(43,14,63,.68));
}
.audience-video__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.audience-video .container { position: relative; z-index: 2; }
.audience-video .center-heading { margin-bottom: 0; }
.audience-video .section-copy { color: rgba(255,255,255,.84); }
.audience-list {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 0; margin: 30px auto 0; list-style: none;
}
.audience-list li {
  padding: 9px 16px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px;
  background: rgba(255,255,255,.13); backdrop-filter: blur(10px); font-weight: 700;
}
.home-page .faq-layout {
  grid-template-columns: 1fr;
  gap: 38px;
  max-width: 1040px;
  margin-inline: auto;
}
.home-page .faq-layout > :first-child {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}
.home-page .faq-layout .section-title {
  font-size: clamp(2.45rem, 4vw, 3.55rem);
}
.home-page .faq-layout .section-copy { margin-inline: auto; }
.home-page .faq-list { width: 100%; }
.socials svg { width: 19px; height: 19px; stroke-width: 1.8; }

/* Blog */
.blog-page .site-header,
.blog-admin-page .site-header {
  color: #fff;
}
.blog-page .site-header,
.blog-page .site-header.scrolled {
  height: 88px;
  color: var(--ink);
  background: rgba(255,253,251,.94);
  border-bottom: 1px solid rgba(43,14,63,.1);
  box-shadow: 0 10px 34px rgba(43,14,63,.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.blog-page .brand {
  color: var(--ink);
}
.blog-page .menu-toggle {
  color: var(--jabuticaba);
  border-color: rgba(43,14,63,.18);
  background: rgba(43,14,63,.04);
}
.blog-page .app-login-link {
  color: var(--jabuticaba);
  border-color: rgba(43,14,63,.18);
  background: rgba(43,14,63,.035);
}
.blog-page .app-login-link:hover {
  color: var(--jabuticaba);
  background: rgba(43,14,63,.08);
  border-color: rgba(43,14,63,.28);
}
@media (min-width: 781px) {
  .blog-page .nav a {
    color: rgba(31,20,37,.78);
  }
  .blog-page .nav a:hover,
  .blog-page .nav a.active {
    color: var(--jabuticaba);
  }
}
.blog-newsroom {
  padding: 116px 0 92px;
  background: #fff;
}
.blog-edition {
  display: block;
  padding: 30px 0 28px;
  border-bottom: 1px solid #dadce0;
}
.blog-masthead {
  display: grid;
  gap: 10px;
}
.blog-masthead span {
  color: #5f6368;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}
.blog-masthead h1 {
  margin: 0;
  max-width: 920px;
  font: 700 clamp(2.8rem, 5vw, 5.4rem)/1.02 "Poppins", sans-serif;
  letter-spacing: -.035em;
}
.blog-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 28px;
  align-items: center;
  border-bottom: 1px solid #dadce0;
}
.blog-topic-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  padding: 0;
  border-bottom: 0;
  overflow-x: auto;
}
.blog-topic-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  padding: 0 22px 0 0;
  border: 0;
  border-radius: 0;
  color: #5f6368;
  background: #fff;
  font-size: .95rem;
  font-weight: 700;
  white-space: nowrap;
}
.blog-topic-nav a:hover {
  color: var(--jabuticaba);
  background: transparent;
}
.blog-topic-nav a.is-active {
  color: var(--jabuticaba);
  box-shadow: inset 0 -3px 0 var(--coral);
}
.blog-search {
  display: grid;
  gap: 8px;
  max-width: 100%;
  padding: 12px 0;
}
.blog-search label {
  color: #5f6368;
  font-size: .82rem;
  font-weight: 700;
}
.blog-search input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid #dadce0;
  border-radius: 24px;
  color: var(--ink);
  background: #f8fafd;
  font: 600 .95rem "Inter", sans-serif;
  outline: none;
}
.blog-search input:focus {
  border-color: var(--coral);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(236,101,81,.12);
}
.blog-news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(320px, .72fr);
  gap: 56px;
  align-items: stretch;
  padding-top: 34px;
}
.blog-bento {
  display: grid;
  grid-template-columns: minmax(300px, .85fr) minmax(460px, 1.35fr) minmax(250px, .62fr);
  gap: 16px;
  padding-top: 28px;
  overflow: hidden;
}
.blog-bento__copy,
.blog-bento__image,
.blog-bento__rail {
  border-radius: 24px;
}
.blog-bento__copy {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
  color: var(--jabuticaba);
  background: linear-gradient(145deg, #fff0e8, #f7d1c8);
}
.blog-bento__copy .blog-meta {
  margin-bottom: 16px;
  color: rgba(43,14,63,.68);
}
.blog-bento__copy h2 {
  margin: 0;
  font: 700 clamp(1.75rem, 2.55vw, 3rem)/1.08 "Poppins", sans-serif;
  letter-spacing: -.025em;
}
.blog-bento__copy p {
  margin: 16px 0 34px;
  color: rgba(43,14,63,.78);
  font-size: .98rem;
  line-height: 1.55;
}
.blog-bento__read {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 44px;
  margin-top: auto;
  padding: 0 22px;
  border: 2px solid rgba(43,14,63,.72);
  border-radius: 999px;
  color: var(--jabuticaba);
  font-weight: 900;
}
.blog-bento__read:hover {
  color: #fff;
  background: var(--jabuticaba);
}
.blog-bento__image {
  display: block;
  min-height: 430px;
  overflow: hidden;
  background: #f4f5f7;
}
.blog-bento__image img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}
.blog-bento__rail {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.blog-bento-mini {
  display: grid;
  align-content: start;
  grid-template-rows: auto 1fr;
  gap: 0;
  min-height: 300px;
  padding: 0;
  overflow: hidden;
  border-radius: 24px;
  color: var(--jabuticaba);
  background: #e9f6ee;
}
.blog-bento-mini:nth-child(2n) {
  background: #eef3ff;
}
.blog-bento-mini:nth-child(n+3) {
  display: none;
}
.blog-bento-mini img {
  width: 100%;
  height: 150px;
  aspect-ratio: auto;
  min-height: 150px;
  border-radius: 0;
  object-fit: cover;
  display: block;
}
.blog-bento-mini > div {
  padding: 18px 20px 22px;
}
.blog-bento-mini .blog-meta {
  color: rgba(43,14,63,.62);
}
.blog-bento-mini h3 {
  margin: 10px 0 0;
  font: 700 1.02rem/1.22 "Poppins", sans-serif;
}
.blog-bento-mini:hover h3 {
  color: var(--coral);
}
.blog-featured {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .88fr);
  grid-template-areas: "copy image";
  gap: 44px;
  align-items: center;
  overflow: hidden;
  min-height: 0;
  border-radius: 0;
  background: #fff;
  position: relative;
  box-shadow: none;
}
.blog-featured img {
  grid-area: image;
  position: static;
  width: 100%;
  height: auto;
  max-height: 430px;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  min-height: 0;
  filter: none;
}
.blog-featured .blog-card__body {
  grid-area: copy;
  position: relative;
  z-index: 1;
  align-self: center;
  display: grid;
  gap: 16px;
  padding: 0;
  color: var(--ink);
}
.blog-featured .blog-meta {
  color: #5f6368;
}
.blog-featured h3 {
  max-width: 720px;
  margin: 0;
  font: 700 clamp(2.05rem, 3.15vw, 3.55rem)/1.08 "Poppins", sans-serif;
  letter-spacing: -.025em;
}
.blog-featured p {
  max-width: 620px;
  min-height: 0;
  margin: 0;
  color: #5f6368;
  font-size: 1.04rem;
}
.blog-featured .blog-read {
  color: var(--coral);
}
.blog-latest {
  display: grid;
  align-content: start;
  border-top: 1px solid #dadce0;
  padding-top: 0;
}
.blog-latest__head {
  padding: 18px 0 10px;
}
.blog-latest__head .eyebrow {
  margin-bottom: 0;
}
.blog-latest-item {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid #dadce0;
}
.blog-latest-item img {
  width: 100%;
  aspect-ratio: 1 / .78;
  object-fit: cover;
  border-radius: 8px;
}
.blog-latest-item h3 {
  margin: 9px 0 0;
  font: 700 1.05rem/1.28 "Poppins", sans-serif;
}
.blog-latest-item .blog-meta {
  font-size: .72rem;
}
.blog-latest-item .blog-read {
  margin-top: 10px;
}
.blog-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 58px;
  border-top: 0;
}
.blog-section-head h2 {
  margin: 0;
  font: 600 clamp(2rem, 3vw, 3.1rem)/1.08 "Poppins", sans-serif;
  letter-spacing: -.025em;
}
.blog-hero {
  position: relative;
  min-height: 710px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--jabuticaba-900);
}
.blog-hero__media {
  position: absolute;
  inset: 0;
}
.blog-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(.9) contrast(1.05) brightness(.72);
}
.blog-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(10,6,13,.92), rgba(43,14,63,.76) 46%, rgba(43,14,63,.34)),
    linear-gradient(0deg, rgba(0,0,0,.54), rgba(0,0,0,.1));
}
.blog-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 60px;
  align-items: center;
  padding-top: 110px;
}
.blog-hero__copy h1 {
  max-width: 760px;
  margin: 20px 0 18px;
  font: 700 clamp(3rem, 5vw, 5rem)/1.02 "Poppins", sans-serif;
  letter-spacing: -.055em;
}
.blog-hero__copy p {
  max-width: 610px;
  margin: 0;
  color: rgba(255,255,255,.82);
  font-size: 1.12rem;
}
.blog-hero__panel {
  min-height: 500px;
  display: flex;
  align-items: center;
}
.blog-browser {
  width: 100%;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 28px;
  background: rgba(255,255,255,.12);
  box-shadow: 0 30px 80px rgba(0,0,0,.26);
  backdrop-filter: blur(18px);
}
.blog-browser__bar {
  display: flex;
  gap: 7px;
  padding: 5px 4px 14px;
}
.blog-browser__bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.52);
}
.blog-browser__image {
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  background:
    linear-gradient(0deg, rgba(43,14,63,.2), rgba(43,14,63,.2)),
    url("../images/trancista-focus.jpg") center/cover no-repeat;
}
.blog-browser__lines {
  display: grid;
  gap: 12px;
  padding: 20px 8px 8px;
}
.blog-browser__lines span {
  height: 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.45);
}
.blog-browser__lines span:nth-child(2) { width: 78%; }
.blog-browser__lines span:nth-child(3) { width: 52%; }
.blog-shell {
  display: grid;
  gap: 30px;
}
.blog-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.blog-card {
  min-height: 460px;
  overflow: hidden;
  border: 0;
  border-radius: 24px;
  background: #f8f9fa;
  box-shadow: none;
  cursor: pointer;
  transition: transform .28s var(--ease), box-shadow .28s ease;
}
.blog-card:hover,
.blog-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(43,14,63,.08);
}
.blog-card:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 4px;
}
.blog-card img {
  width: 100%;
  aspect-ratio: 16 / 9.7;
  object-fit: cover;
}
.blog-card__body {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 26px;
}
.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: .76rem;
  font-weight: 500;
  line-height: 1.3;
}
.blog-meta span:not(:last-child)::after {
  content: "·";
  margin-left: 8px;
  color: var(--muted);
}
.blog-card h3 {
  margin: 0;
  font: 600 clamp(1.45rem, 2vw, 2rem)/1.16 "Poppins", sans-serif;
  letter-spacing: -.02em;
}
.blog-card p {
  margin: 0;
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.55;
}
.blog-read,
.admin-link-button {
  margin-top: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 800;
  justify-self: start;
}
.blog-read {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(31,20,37,.72);
  border-radius: 999px;
}
.blog-read:hover {
  color: #fff;
  background: var(--jabuticaba);
  border-color: var(--jabuticaba);
}
.blog-empty {
  padding: 54px;
  border: 1px dashed rgba(43,14,63,.22);
  border-radius: var(--radius-md);
  text-align: center;
  background: #fff8f4;
}
.blog-empty h3 {
  margin: 0 0 8px;
  font: 700 1.7rem/1.2 "Poppins", sans-serif;
}
.blog-empty p {
  margin: 0 auto 24px;
  max-width: 440px;
  color: var(--muted);
}
.blog-content p {
  color: var(--muted);
}
.blog-content {
  margin-top: 28px;
  font-size: 1.04rem;
}
.blog-article {
  background: #fff;
}
.blog-article__hero {
  padding: 150px 0 44px;
  background: #fff;
}
.blog-article__hero .container {
  width: min(calc(100% - 40px), 1040px);
  max-width: 1040px;
}
.blog-article__hero h1 {
  margin: 16px 0;
  max-width: 940px;
  font: 700 clamp(2.45rem, 4.4vw, 4.1rem)/1.06 "Poppins", sans-serif;
  letter-spacing: -.045em;
}
.blog-article__hero p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 1.18rem;
}
.blog-article__image {
  width: min(100%, 1040px);
  max-height: 560px;
  margin: 0 auto;
  object-fit: cover;
  border-radius: 8px;
}
.blog-article__byline {
  width: min(100%, 1040px);
  margin: 34px auto 0;
  padding: 26px 0;
  border-top: 1px solid #dadce0;
  border-bottom: 1px solid #dadce0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.blog-article__byline strong,
.blog-article__byline span {
  display: block;
}
.blog-article__byline strong {
  color: var(--ink);
  font: 800 1rem/1.3 "Inter", sans-serif;
}
.blog-article__byline span {
  margin-top: 4px;
  color: var(--muted);
  font: 600 .94rem/1.3 "Inter", sans-serif;
}
.blog-share {
  position: relative;
  flex: 0 0 auto;
}
.blog-share__button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 22px;
  border: 2px solid var(--coral);
  border-radius: 18px;
  color: var(--ink);
  background: #fff;
  font: 800 1rem/1 "Inter", sans-serif;
}
.blog-share__button:hover,
.blog-share__button[aria-expanded="true"] {
  color: var(--jabuticaba);
  border-color: var(--jabuticaba);
  background: #fff8f4;
}
.blog-share__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 20;
  width: 280px;
  padding: 16px;
  border: 1px solid #dadce0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(43,14,63,.14);
}
.blog-share__menu a,
.blog-share__menu button {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  color: var(--ink);
  background: #f8fafd;
  font: 800 .95rem "Inter", sans-serif;
  text-align: left;
}
.blog-share__menu a + a,
.blog-share__menu a + button {
  margin-top: 10px;
}
.blog-share__menu a:hover,
.blog-share__menu button:hover {
  color: var(--jabuticaba);
  background: #fff0e8;
}
.blog-article__content {
  width: min(100%, 760px);
  margin: 44px auto 0;
  color: var(--ink);
  font-size: 1.1rem;
  line-height: 1.82;
}
.blog-article__content p {
  margin: 0 0 24px;
  color: var(--graphite);
}
.blog-article__content h2 {
  margin: 48px 0 18px;
  color: var(--ink);
  font: 700 clamp(1.75rem, 3vw, 2.35rem)/1.16 "Poppins", sans-serif;
  letter-spacing: -.025em;
}
.blog-article__content h3 {
  margin: 30px 0 12px;
  color: var(--ink);
  font: 700 1.2rem/1.25 "Poppins", sans-serif;
}
.blog-article__content ul {
  display: grid;
  gap: 10px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}
.blog-article__content li {
  position: relative;
  padding-left: 24px;
  color: var(--graphite);
}
.blog-article__content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
}
.blog-table-wrap {
  width: 100%;
  margin: 28px 0 34px;
  overflow-x: auto;
  border: 1px solid rgba(43,14,63,.12);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(43,14,63,.08);
}
.blog-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: .98rem;
  line-height: 1.45;
}
.blog-table th,
.blog-table td {
  padding: 16px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(43,14,63,.1);
}
.blog-table th {
  color: var(--ink);
  background: var(--blush);
  font-weight: 800;
}
.blog-table td:first-child {
  width: 94px;
  color: var(--coral);
  font-weight: 800;
}
.blog-table tr:last-child td { border-bottom: 0; }
.blog-inline-image {
  margin: 34px 0;
}
.blog-inline-image img {
  display: block;
  width: 100%;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 18px 44px rgba(43,14,63,.08);
}
.blog-inline-image figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: .88rem;
}
.blog-inline-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  margin: 34px 0;
  padding: 24px;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--jabuticaba), #4b155d);
}
.blog-inline-banner span {
  display: block;
  margin-bottom: 8px;
  color: var(--coral);
  font-weight: 900;
}
.blog-inline-banner strong {
  display: block;
  font: 800 1.35rem/1.16 "Poppins", sans-serif;
}
.blog-inline-banner p {
  margin: 10px 0 0;
  color: rgba(255,255,255,.82);
}
.blog-inline-banner a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--jabuticaba);
  background: #fff;
  font-weight: 900;
  text-decoration: none;
}
.blog-article__content a {
  color: var(--coral);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.blog-article__cta,
.blog-related {
  width: min(100%, 760px);
  margin: 44px auto 0;
}
.blog-article__cta {
  display: grid;
  gap: 12px;
  padding: 28px;
  border-radius: 8px;
  color: #fff;
  background:
    radial-gradient(circle at 85% 5%, rgba(236,101,81,.24), transparent 32%),
    linear-gradient(145deg, #351044, #18081f);
}
.blog-article__cta span {
  color: var(--coral-bright);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.blog-article__cta h2 {
  margin: 0;
  font: 700 clamp(1.7rem, 3vw, 2.35rem)/1.12 "Poppins", sans-serif;
}
.blog-article__cta p {
  max-width: 610px;
  margin: 0;
  color: rgba(255,255,255,.78);
}
.blog-article__cta .button {
  justify-self: start;
  margin-top: 8px;
}
.blog-related {
  padding-top: 34px;
  border-top: 1px solid var(--line);
}
.blog-related h2 {
  margin: 0 0 16px;
  font: 700 1.55rem/1.2 "Poppins", sans-serif;
}
.blog-related__grid {
  display: grid;
  gap: 12px;
}
.blog-related__item {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid rgba(43,14,63,.12);
  border-radius: 8px;
  background: #fff;
  transition: border-color .2s ease, transform .2s var(--ease), box-shadow .2s ease;
}
.blog-related__item:hover {
  transform: translateY(-2px);
  border-color: rgba(236,101,81,.34);
  box-shadow: 0 12px 28px rgba(43,14,63,.08);
}
.blog-related__item span {
  color: var(--muted);
  font-size: .74rem;
  font-weight: 700;
}
.blog-related__item strong {
  color: var(--ink);
  font: 700 1rem/1.25 "Poppins", sans-serif;
}
.blog-article__back {
  display: inline-flex;
  margin: 24px 0 86px;
  color: var(--coral);
  font-weight: 800;
}
.blog-article__missing {
  min-height: 70vh;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 16px;
  padding-top: 80px;
}
.blog-article__missing h1 {
  margin: 0;
  font: 700 clamp(2.4rem, 5vw, 4rem)/1.05 "Poppins", sans-serif;
}
.blog-article__missing p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
}

/* Blog admin */
.blog-admin-page {
  min-height: 100vh;
  background: linear-gradient(145deg, #fffdfb 0%, #fff0e8 100%);
}
.admin-shell {
  min-height: 100vh;
}
.admin-login,
.admin-dashboard {
  width: min(calc(100% - 40px), 1180px);
  margin: 0 auto;
  padding: 34px 0;
}
.admin-login > .brand,
.admin-topbar .brand {
  color: var(--ink);
}
.admin-login__layout {
  display: grid;
  grid-template-columns: minmax(0, 470px) 1fr;
  gap: 54px;
  align-items: center;
  min-height: calc(100vh - 110px);
}
.admin-login__form,
.post-editor,
.admin-posts,
.admin-popup {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.9);
  box-shadow: var(--shadow);
}
.admin-login__form {
  padding: 38px;
}
.admin-login__form h1,
.post-editor h1 {
  margin: 0 0 12px;
  font: 700 clamp(2.2rem, 4vw, 3.4rem)/1.02 "Poppins", sans-serif;
  letter-spacing: -.045em;
}
.admin-login__form p {
  margin: 0 0 24px;
  color: var(--muted);
}
.admin-login__form label,
.post-editor label,
.admin-popup label {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  color: var(--ink);
  font-weight: 800;
  font-size: .9rem;
}
.admin-login__form input,
.post-editor input,
.post-editor textarea,
.admin-popup input,
.admin-popup textarea {
  width: 100%;
  border: 1px solid rgba(43,14,63,.16);
  border-radius: 12px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fff;
  font-weight: 500;
}
.post-editor textarea,
.admin-popup textarea {
  resize: vertical;
  min-height: 260px;
  line-height: 1.6;
}
.admin-popup textarea {
  min-height: 120px;
}
.form-message {
  min-height: 22px;
  color: var(--coral);
  font-weight: 800;
  font-size: .9rem;
}
.admin-login__form .button {
  width: 100%;
}
.admin-back-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--muted);
  font-weight: 700;
}
.admin-login__visual {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hover);
}
.admin-login__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.admin-login__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(24,8,31,.82), rgba(24,8,31,.18));
}
.admin-login__note {
  position: absolute;
  z-index: 1;
  left: 28px;
  right: 28px;
  bottom: 28px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 18px;
  color: #fff;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(14px);
}
.admin-login__note span,
.admin-login__note strong {
  display: block;
}
.admin-login__note strong {
  font: 700 2rem/1.1 "Poppins", sans-serif;
}
.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
}
.admin-topbar__actions {
  display: flex;
  gap: 12px;
}
.admin-public-link {
  color: var(--jabuticaba);
  border-color: rgba(43,14,63,.18);
}
.cms-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  padding: 10px;
  border: 1px solid rgba(43,14,63,.1);
  border-radius: 18px;
  background: rgba(255,255,255,.72);
}
.cms-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 900;
}
.cms-tabs a:hover {
  color: var(--jabuticaba);
  background: var(--blush);
}
.cms-content-panel {
  margin-bottom: 24px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 18px 50px rgba(43,14,63,.08);
}
.cms-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
.cms-section-head h2 {
  margin: 0;
  font: 800 clamp(1.8rem, 3vw, 2.6rem)/1.08 "Poppins", sans-serif;
  letter-spacing: -.035em;
}
.cms-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.cms-stats div {
  padding: 16px;
  border: 1px solid rgba(43,14,63,.08);
  border-radius: 16px;
  background: #fff8f4;
}
.cms-stats strong,
.cms-stats span {
  display: block;
}
.cms-stats strong {
  color: var(--jabuticaba);
  font: 800 1.8rem/1 "Poppins", sans-serif;
}
.cms-stats span {
  margin-top: 6px;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 800;
}
.cms-content-search {
  margin-bottom: 10px;
}
.cms-content-search input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(43,14,63,.14);
  border-radius: 14px;
  color: var(--ink);
  background: #fff;
  font-weight: 700;
}
.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 24px;
  align-items: start;
}
.post-editor {
  padding: 30px;
}
.post-editor__head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 18px;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.post-editor__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.editor-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.editor-section {
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid rgba(43,14,63,.1);
  border-radius: 20px;
  background: #fff;
}
.editor-section + .editor-section {
  margin-top: 18px;
}
.editor-section__head {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}
.editor-section__head > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: #fff;
  background: var(--jabuticaba);
  font-weight: 900;
}
.editor-section__head h2 {
  margin: 0;
  font: 800 1.2rem/1.15 "Poppins", sans-serif;
}
.editor-section__head p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: .92rem;
}
.editor-section.cms-tools {
  background: #fff8f4;
}
.cms-panel__label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: .76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.cms-help {
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
}
.admin-toggle {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 10px !important;
  margin-top: 0 !important;
}
.admin-toggle input {
  width: 18px !important;
  height: 18px;
  flex: 0 0 18px;
}
.cms-tool-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cms-tool-row button,
.cms-media-builder button,
.cms-banner-builder button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(43,14,63,.16);
  border-radius: 999px;
  color: var(--jabuticaba);
  background: #fff;
  font-weight: 800;
}
.cms-media-builder,
.cms-banner-builder {
  display: grid;
  gap: 10px;
}
.admin-posts {
  padding: 24px;
  position: sticky;
  top: 24px;
}
.admin-popup {
  grid-column: 2;
  padding: 24px;
}
.admin-posts__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.admin-posts__head .eyebrow {
  margin-bottom: 0;
}
.admin-post-item {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.admin-post-item img {
  width: 82px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 12px;
}
.admin-post-item strong,
.admin-post-item span {
  display: block;
}
.admin-post-item strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-post-item span,
.admin-empty {
  color: var(--muted);
  font-size: .88rem;
}
.admin-post-item__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}
.admin-post-item__actions button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--coral);
  font-weight: 800;
}
.site-popup {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 24px;
  background: rgba(24,8,31,.24);
}
.site-popup__card {
  position: relative;
  width: min(100%, 430px);
  padding: 28px;
  border-radius: 24px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 24px 70px rgba(43,14,63,.28);
}
.site-popup__card--dark {
  color: #fff;
  background: #2B0E3F;
}
.site-popup__card--coral {
  color: #fff;
  background: #FB6557;
}
.site-popup__card--gradient {
  color: #fff;
  background: linear-gradient(135deg, #2B0E3F, #FB6557);
}
.site-popup__card--light {
  color: var(--ink);
  background: #fffdfb;
}
.site-popup__card > span {
  color: var(--coral);
  font-weight: 900;
}
.site-popup__card--dark > span,
.site-popup__card--coral > span,
.site-popup__card--gradient > span {
  color: #fff;
}
.site-popup__card h2 {
  margin: 8px 0 10px;
  font: 800 1.85rem/1.08 "Poppins", sans-serif;
}
.site-popup__card p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.55;
}
.site-popup__card--dark p,
.site-popup__card--coral p,
.site-popup__card--gradient p {
  color: rgba(255,255,255,.82);
}
.site-popup__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  color: var(--ink);
  background: #f6f3f7;
  font-size: 1.4rem;
}

/* Ghost-inspired blog CMS */
.blog-admin-page {
  background: #f6f7f8;
}
.blog-admin-page .admin-dashboard.cms-app {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}
.cms-app {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 292px minmax(0, 1fr);
  background: #f6f7f8;
  color: #15171a;
}
.cms-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 26px 18px;
  border-right: 1px solid #e5e7eb;
  background: #0f1115;
  color: #fff;
}
.cms-sidebar .brand {
  min-width: 0;
  color: #fff;
  font-size: 1.05rem;
}
.cms-sidebar .brand span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cms-sidebar__brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cms-sidebar__brand > button,
.cms-view-site {
  border: 0;
  color: #aeb4bd;
  background: transparent;
  font-weight: 700;
}
.cms-sidebar__nav {
  display: grid;
  gap: 6px;
}
.cms-sidebar__nav button,
.cms-view-site {
  width: 100%;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  color: #aeb4bd;
  background: transparent;
  text-align: left;
  font-weight: 800;
}
.cms-sidebar__nav button:hover,
.cms-sidebar__nav button.is-active,
.cms-view-site:hover {
  color: #fff;
  background: rgba(255,255,255,.08);
}
.cms-sidebar__nav span {
  min-width: 28px;
  padding: 3px 8px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,.12);
  text-align: center;
  font-size: .78rem;
}
.cms-view-site {
  margin-top: auto;
  text-decoration: none;
}
.cms-main {
  min-width: 0;
  padding: 34px 42px 56px;
}
.cms-view {
  display: none;
}
.cms-view.is-active {
  display: block;
}
.cms-page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
}
.cms-page-head h1 {
  margin: 0;
  font: 800 clamp(2rem, 3vw, 2.65rem)/1.05 "Poppins", sans-serif;
  letter-spacing: 0;
}
.cms-page-head h1 span {
  color: #8b929c;
  font-size: .65em;
}
.cms-metrics {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  margin-bottom: 26px;
  overflow: hidden;
  border: 1px solid #23262d;
  border-radius: 10px;
  background: #171a20;
}
.cms-metrics div {
  min-height: 100px;
  padding: 22px;
  border-right: 1px solid #2a2e36;
  background: transparent;
}
.cms-metrics div:last-child {
  border-right: 0;
}
.cms-metrics strong,
.cms-metrics span {
  display: block;
}
.cms-metrics strong {
  color: #fff;
  font: 800 2rem/1 "Inter", sans-serif;
}
.cms-metrics span {
  margin-top: 8px;
  color: #aeb4bd;
  font-weight: 800;
  font-size: .82rem;
}
.cms-dashboard-grid,
.cms-settings-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, .8fr);
  gap: 22px;
  margin-bottom: 22px;
}
.cms-panel,
.cms-chart-card,
.post-editor {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  box-shadow: none;
}
.cms-panel,
.cms-chart-card {
  padding: 22px;
}
.cms-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.cms-card-head h2,
.cms-panel h2,
.post-settings h2 {
  margin: 0;
  font: 800 1.05rem/1.2 "Inter", sans-serif;
  letter-spacing: 0;
}
.cms-card-head span,
.cms-card-head button,
.cms-help {
  border: 0;
  color: #727986;
  background: transparent;
  font-weight: 700;
}
.cms-chart-bars {
  min-height: 250px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  gap: 18px;
  padding-top: 20px;
}
.cms-chart-bars div {
  display: grid;
  gap: 8px;
  justify-items: center;
}
.cms-chart-bars i {
  width: 100%;
  max-width: 92px;
  border-radius: 12px 12px 0 0;
  background: linear-gradient(180deg, #fb6557, #6d357f);
}
.cms-chart-bar--1 { height: 12px; }
.cms-chart-bar--2 { height: 24px; }
.cms-chart-bar--3 { height: 36px; }
.cms-chart-bar--4 { height: 48px; }
.cms-chart-bar--5 { height: 60px; }
.cms-chart-bar--6 { height: 72px; }
.cms-chart-bar--7 { height: 84px; }
.cms-chart-bar--8 { height: 96px; }
.cms-chart-bar--9 { height: 108px; }
.cms-chart-bar--10 { height: 120px; }
.cms-chart-bars span {
  color: #727986;
  font-size: .8rem;
  font-weight: 800;
}
.cms-chart-bars strong {
  color: #15171a;
  font-size: .95rem;
}
.cms-mini-row {
  width: 100%;
  display: grid;
  gap: 4px;
  padding: 14px 0;
  border: 0;
  border-top: 1px solid #edf0f2;
  color: #15171a;
  background: transparent;
  text-align: left;
}
.cms-mini-row span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 800;
}
.cms-mini-row small {
  color: #727986;
  font-weight: 700;
}
.cms-list-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 170px 170px 160px;
  gap: 10px;
  margin-bottom: 16px;
}
.cms-list-toolbar input,
.cms-list-toolbar select,
.cms-form input,
.cms-form textarea,
.cms-form select,
.post-settings input,
.post-settings textarea,
.post-settings select,
.feature-image-field input {
  width: 100%;
  min-height: 42px;
  border: 1px solid #dfe3e7;
  border-radius: 8px;
  padding: 0 12px;
  color: #15171a;
  background: #fff;
  font-weight: 650;
}
.cms-form textarea,
.post-settings textarea {
  min-height: 112px;
  padding-top: 12px;
  resize: vertical;
}
.cms-post-table {
  border-top: 1px solid #dfe3e7;
}
.cms-post-table__head,
.cms-post-row {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) 76px 128px 150px 280px;
  gap: 18px;
  align-items: center;
}
.cms-post-table__head {
  min-height: 42px;
  color: #727986;
  font-size: .75rem;
  font-weight: 900;
  text-transform: uppercase;
}
.cms-post-row {
  min-height: 86px;
  border-top: 1px solid #edf0f2;
  cursor: pointer;
}
.cms-post-row:hover {
  background: #f4f5f7;
}
.cms-post-row__title {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-width: 0;
}
.cms-post-row__title img {
  width: 72px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  background: #f0f2f4;
}
.cms-post-row strong,
.cms-post-row span {
  display: block;
}
.cms-post-row strong {
  overflow: hidden;
  color: #15171a;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .98rem;
}
.cms-post-row span {
  color: #727986;
  font-size: .86rem;
  font-weight: 700;
}
.cms-status {
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: .72rem !important;
  font-weight: 900 !important;
  text-transform: uppercase;
}
.cms-status--published {
  color: #16833a !important;
  background: #e8f8ed;
}
.cms-status--draft {
  color: #b62b66 !important;
  background: #ffe8f1;
}
.cms-status--scheduled {
  color: #9b6500 !important;
  background: #fff3d8;
}
.cms-status--inactive {
  color: #68707d !important;
  background: #edf0f2;
}
.admin-post-item__actions {
  justify-content: flex-start;
  gap: 12px;
}
.admin-post-item__actions button {
  color: #15171a;
  font-size: .84rem;
}
.admin-post-item__actions button:hover {
  color: var(--coral);
}
.admin-post-item__actions button.is-danger {
  color: #b62b2b;
}
.admin-post-item__actions button.is-featured {
  color: #9b6500;
}
.post-editor {
  padding: 0;
  overflow: hidden;
}
.post-editor__bar {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 22px;
  border-bottom: 1px solid #edf0f2;
  background: #fff;
}
.post-editor__bar > span {
  color: #727986;
  font-weight: 800;
}
.post-editor__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.post-editor__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  min-height: calc(100vh - 66px);
}
.post-composer {
  position: relative;
  width: min(100%, 940px);
  margin: 0 auto;
  padding: 54px 44px 80px;
}
.feature-image-field {
  display: grid;
  gap: 10px;
  margin-bottom: 32px;
  color: #9aa1ab;
  font-weight: 800;
}
.post-title-input,
.post-excerpt-input,
.post-body-input {
  width: 100%;
  border: 0;
  outline: 0;
  color: #15171a;
  background: transparent;
  resize: vertical;
}
.post-title-input {
  min-height: 126px;
  font: 800 clamp(2.6rem, 6vw, 5rem)/1.02 "Poppins", sans-serif;
  letter-spacing: 0;
}
.post-excerpt-input {
  min-height: 82px;
  margin-top: 18px;
  color: #5f6672;
  font-size: 1.2rem;
  line-height: 1.55;
}
.post-body-input {
  min-height: 560px;
  margin-top: 30px;
  font-size: 1.05rem;
  line-height: 1.75;
}
.block-insert {
  position: relative;
  margin-top: 20px;
}
.block-insert > button {
  width: 36px;
  height: 36px;
  border: 1px solid #dfe3e7;
  border-radius: 999px;
  color: #727986;
  background: #fff;
  font-size: 1.4rem;
}
.block-menu {
  position: absolute;
  z-index: 10;
  top: 44px;
  left: 0;
  width: 260px;
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid #dfe3e7;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(15,17,21,.14);
}
.block-menu strong {
  padding: 8px;
  color: #727986;
  font-size: .72rem;
  text-transform: uppercase;
}
.block-menu button {
  min-height: 38px;
  border: 0;
  border-radius: 8px;
  padding: 0 10px;
  color: #15171a;
  background: transparent;
  text-align: left;
  font-weight: 800;
}
.block-menu button:hover {
  background: #f4f5f7;
}
.post-settings {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 28px;
  border-left: 1px solid #edf0f2;
  background: #fff;
}
.post-settings label,
.cms-form label {
  display: grid;
  gap: 7px;
  color: #383d45;
  font-size: .84rem;
  font-weight: 850;
}
.post-settings details {
  border-top: 1px solid #edf0f2;
  padding-top: 14px;
}
.post-settings summary {
  cursor: pointer;
  color: #15171a;
  font-weight: 900;
}
.post-settings details label,
.post-settings details input {
  margin-top: 12px;
}
.cms-form {
  display: grid;
  gap: 16px;
}
.cms-language-list,
.cms-tag-list {
  display: grid;
  gap: 10px;
}
.cms-language-list span,
.cms-tag-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 14px;
  border: 1px solid #edf0f2;
  border-radius: 8px;
  color: #15171a;
  background: #fafafa;
  font-weight: 800;
}
.cms-tag-item span {
  color: #727986;
  font-size: .86rem;
}
.icon-button {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid #dfe3e7;
  border-radius: 999px;
  color: #15171a;
  background: #fff;
  font-weight: 900;
}
.icon-button:hover {
  background: #f4f5f7;
}
.post-editor__layout {
  display: block;
  min-height: calc(100vh - 66px);
}
.post-composer {
  width: min(100%, 900px);
  padding-top: 34px;
}
.cover-picker {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin-bottom: 22px;
  padding: 14px;
  border: 1px solid #edf0f2;
  border-radius: 12px;
  background: #fafafa;
}
.cover-preview {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  background: #edf0f2;
}
.cover-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cover-preview span {
  display: grid;
  height: 100%;
  place-items: center;
  color: #727986;
  font-weight: 800;
}
.cover-controls,
.cover-actions {
  display: grid;
  gap: 10px;
}
.cover-actions {
  grid-template-columns: repeat(2, max-content);
}
.cover-upload,
.cover-actions button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid #dfe3e7;
  border-radius: 8px;
  color: #15171a;
  background: #fff;
  font-weight: 800;
}
.cover-upload input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.composer-field {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  color: #383d45;
  font-size: .84rem;
  font-weight: 850;
}
.post-title-input,
.post-excerpt-input {
  min-height: 44px;
  border: 1px solid #dfe3e7;
  border-radius: 10px;
  padding: 0 14px;
  background: #fff;
  font: 700 1rem/1.4 "Inter", sans-serif;
}
.post-title-input {
  height: 48px;
}
.post-excerpt-input {
  min-height: 78px;
  margin-top: 0;
  padding-top: 12px;
  font-size: .98rem;
}
.block-toolbar {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 12px;
  padding: 10px;
  border: 1px solid #edf0f2;
  border-radius: 10px;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
}
.block-toolbar button {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid #dfe3e7;
  border-radius: 8px;
  color: #15171a;
  background: #fff;
  font-size: .82rem;
  font-weight: 850;
}
.block-toolbar button:hover {
  background: #f4f5f7;
}
.post-body-input {
  min-height: 520px;
  margin-top: 0;
  padding: 16px;
  border: 1px solid #dfe3e7;
  border-radius: 12px;
  background: #fff;
}
.post-settings {
  position: fixed;
  z-index: 2000;
  top: 0;
  right: 0;
  width: min(100%, 420px);
  height: 100vh;
  overflow-y: auto;
  border-left: 1px solid #dfe3e7;
  box-shadow: -24px 0 60px rgba(15,17,21,.14);
}
.post-settings[hidden] {
  display: none;
}
.post-settings__head,
.cms-head-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.post-settings select[multiple] {
  min-height: 132px;
  padding: 8px;
}
.popup-manager,
.taxonomy-manager {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .75fr);
  gap: 22px;
  align-items: start;
}
.taxonomy-manager {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.taxonomy-manager .cms-form,
.popup-form {
  grid-column: 1 / -1;
}
.popup-list {
  display: grid;
  gap: 10px;
}
.popup-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 13px 0;
  border-top: 1px solid #edf0f2;
}
.popup-row__swatch {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid #dfe3e7;
}
.popup-row__swatch--dark {
  background: #2B0E3F;
}
.popup-row__swatch--coral {
  background: #FB6557;
}
.popup-row__swatch--gradient {
  background: linear-gradient(135deg, #2B0E3F, #FB6557);
}
.popup-row__swatch--light {
  background: #fffdfb;
}
.popup-row strong,
.popup-row span,
.cms-tag-item strong,
.cms-tag-item span {
  display: block;
}
.popup-row strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.popup-row span {
  color: #727986;
  font-size: .86rem;
  font-weight: 700;
}
.cms-tag-item > div:first-child {
  min-width: 0;
}
.cms-tag-item strong {
  color: #15171a;
}
.cms-tag-item span {
  margin-top: 3px;
}

/* Motion */
.reveal { opacity:0; transform:translateY(30px) scale(.985); filter:blur(7px); transition:opacity .72s var(--ease), transform .72s var(--ease), filter .72s var(--ease); will-change:opacity, transform, filter; }
.reveal.reveal-from-top { transform:translateY(-30px) scale(.985); }
.reveal.is-visible { opacity:1; transform:translateY(0) scale(1); filter:none; }
.reveal[data-delay="1"]{transition-delay:.08s}.reveal[data-delay="2"]{transition-delay:.16s}.reveal[data-delay="3"]{transition-delay:.24s}.reveal[data-delay="4"]{transition-delay:.32s}
.hero .hero-kicker, .hero h1, .hero p, .hero-actions, .waitlist-count { opacity:0; transform:translateY(24px); animation: heroIn .75s var(--ease) forwards; }
.hero h1{animation-delay:.12s}.hero p{animation-delay:.22s}.hero-actions{animation-delay:.32s}.waitlist-count{animation-delay:.44s}
@keyframes heroIn { to { opacity:1; transform:none; } }

/* Responsive */
@media (max-width: 1050px) {
  .nav { gap:18px; }
  .feature-layout, .split-section, .faq-layout { grid-template-columns:1fr; }
  .feature-intro, .split-section > :first-child, .faq-layout > :first-child { max-width:660px; }
  .feature-grid { grid-template-columns:repeat(2,1fr); }
  .benefit-grid { grid-template-columns:repeat(2,1fr); }
  .icon-feature-grid { grid-template-columns:repeat(3,1fr); }
  .cta-banner { grid-template-columns:130px 1fr; }
  .cta-symbol { width:120px; }
  .cta-side { grid-column:2; min-width:0; }
  .blog-hero__inner,
  .blog-news-layout,
  .admin-login__layout,
  .admin-grid {
    grid-template-columns: 1fr;
  }
  .blog-edition {
    padding-bottom: 22px;
  }
  .blog-tools {
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: stretch;
  }
  .blog-bento {
    grid-template-columns: 1fr 1fr;
  }
  .blog-bento__copy {
    min-height: 360px;
  }
  .blog-bento__image {
    min-height: 360px;
  }
  .blog-bento__image img {
    min-height: 360px;
  }
  .blog-bento__rail {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
  }
  .blog-bento-mini:nth-child(n+3) {
    display: grid;
  }
  .blog-featured {
    grid-template-columns: minmax(0, 1fr) minmax(300px, .8fr);
    gap: 32px;
  }
  .blog-featured .blog-card__body {
    padding: 0;
  }
  .blog-featured img {
    max-height: 360px;
  }
  .blog-hero__panel {
    min-height: auto;
  }
  .blog-browser {
    max-width: 520px;
  }
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .blog-featured {
    min-height: 500px;
  }
  .admin-posts {
    position: static;
  }
  .admin-popup {
    grid-column: auto;
  }
  .admin-post-item {
    grid-template-columns: 72px minmax(0, 1fr);
  }
  .admin-post-item__actions {
    grid-column: 2;
    justify-content: flex-start;
  }
}

@media (max-width: 780px) {
  .container { width:min(calc(100% - 28px), var(--container)); }
  .section { padding:72px 0; }
  .site-header { height:72px; }
  .nav {
    position:fixed; inset:72px 14px auto; z-index:1001; display:grid; gap:4px; padding:14px;
    background:rgba(28,8,35,.98); border:1px solid rgba(255,255,255,.12); border-radius:18px;
    box-shadow:0 24px 60px rgba(0,0,0,.4); transform:translateY(-18px) scale(.98); opacity:0;
    visibility:hidden; pointer-events:none; transition:transform .28s var(--ease), opacity .22s ease, visibility .22s;
  }
  .menu-open .nav { transform:none; opacity:1; visibility:visible; pointer-events:auto; }
  .nav a { padding:14px 16px; border-radius:12px; }
  .nav-mobile-login { display: block; }
  .blog-page .nav a { color: rgba(255,255,255,.9); }
  .blog-page .nav a:hover,
  .blog-page .nav a.active { color: #fff; }
  .nav a:hover, .nav a.active { background:rgba(255,255,255,.08); }
  .nav a::after { display:none; }
  .header-actions .button { display:none; }
  .header-actions .app-login-link { display:none; }
  .header-actions .language-switch { margin-left: auto; }
  .menu-toggle { display:block; }
  .hero { min-height:720px; align-items:flex-end; }
  .hero::before { background:linear-gradient(0deg,rgba(0,0,0,.92) 0%,rgba(0,0,0,.74) 52%,rgba(0,0,0,.24) 100%); }
  .hero-media { object-position:65% center; }
  .hero-inner { padding-top:120px; padding-bottom:70px; }
  .hero-content { width:100%; }
  .hero h1 { font-size:clamp(2.55rem,12vw,4rem); }
  .home-page .hero h1 { font-size:clamp(2.35rem,10.5vw,3.35rem); max-width:100%; }
  .home-page .feature-layout, .home-page .split-section, .home-page .faq-layout { gap:32px; }
  .home-page .feature-intro, .home-page .split-section > :first-child { max-width:100%; }
  .home-page .feature-intro .section-title, .home-page .split-section .section-title { font-size:clamp(2rem,9vw,2.75rem); }
  .home-page .feature-card, .home-page .benefit-card { min-height:auto; }
  .hero-secondary-link { justify-content:center; width:100%; }
  .hero-actions { align-items:stretch; }
  .hero-actions .button { width:100%; }
  .video-control { justify-content:center; }
  .feature-grid, .benefit-grid { grid-template-columns:1fr; }
  .feature-card { min-height:auto; }
  .icon-feature-grid { grid-template-columns:repeat(2,1fr); gap:14px; }
  .focus-grid { grid-template-columns:1fr; gap:36px; }
  .focus-visual { min-height:390px; }
  .cta-banner { grid-template-columns:1fr; text-align:center; padding:38px 24px; }
  .cta-symbol { margin:auto; width:130px; }
  .cta-side { grid-column:auto; width:100%; }
  .cta-side .button { width:100%; }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .blog-newsroom {
    padding: 96px 0 64px;
  }
  .blog-edition {
    gap: 20px;
    padding-top: 22px;
  }
  .blog-tools {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .blog-masthead {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .blog-masthead h1 {
    font-size: clamp(2.25rem, 10vw, 3.3rem);
  }
  .blog-masthead p {
    max-width: 100%;
  }
  .blog-topic-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }
  .blog-topic-nav a {
    flex: 0 0 auto;
  }
  .blog-news-layout {
    gap: 22px;
    padding-top: 24px;
  }
  .blog-bento {
    grid-template-columns: 1fr;
  }
  .blog-bento__copy {
    min-height: auto;
    padding: 24px;
  }
  .blog-bento__image,
  .blog-bento__image img {
    min-height: 260px;
  }
  .blog-bento__rail {
    grid-template-columns: 1fr;
  }
  .blog-featured {
    grid-template-columns: 1fr;
    grid-template-areas:
      "image"
      "copy";
    gap: 20px;
  }
  .blog-featured {
    min-height: 0;
  }
  .blog-featured .blog-card__body {
    padding: 0;
  }
  .blog-featured h3 {
    font-size: clamp(2rem, 8.8vw, 3rem);
  }
  .blog-featured img {
    max-height: none;
    min-height: 0;
  }
  .blog-latest-item {
    grid-template-columns: 104px 1fr;
    gap: 14px;
    padding: 18px 0;
  }
  .blog-section-head {
    padding-top: 2px;
  }
  .blog-hero {
    min-height: 760px;
    align-items: flex-end;
  }
  .blog-hero::before {
    background: linear-gradient(0deg, rgba(12,6,15,.94), rgba(43,14,63,.72) 58%, rgba(43,14,63,.26));
  }
  .blog-hero__inner {
    gap: 30px;
    padding-top: 120px;
    padding-bottom: 54px;
  }
  .blog-hero__copy h1 {
    font-size: clamp(2.45rem, 11vw, 3.6rem);
  }
  .blog-hero__panel {
    display: none;
  }
  .blog-toolbar,
  .post-editor__head,
  .admin-topbar {
    align-items: stretch;
    flex-direction: column;
  }
  .blog-toolbar .button,
  .post-editor__head .button,
  .post-editor__actions,
  .admin-topbar__actions,
  .admin-topbar__actions .button {
    width: 100%;
  }
  .post-editor__actions,
  .admin-topbar__actions {
    flex-direction: column;
  }
  .blog-grid,
  .editor-row {
    grid-template-columns: 1fr;
  }
  .blog-card__body {
    padding: 18px;
  }
  .blog-article__hero .container {
    width: min(calc(100% - 32px), 1040px);
  }
  .blog-article__hero h1 {
    font-size: clamp(2.25rem, 9.5vw, 3.2rem);
  }
  .blog-article__byline {
    align-items: stretch;
    flex-direction: column;
  }
  .blog-share,
  .blog-share__button {
    width: 100%;
  }
  .blog-share__button {
    justify-content: center;
  }
  .blog-share__menu {
    left: 0;
    right: auto;
    width: 100%;
  }
  .blog-empty {
    padding: 34px 20px;
  }
  .admin-login,
  .admin-dashboard {
    width: min(calc(100% - 28px), 1180px);
    padding: 22px 0;
  }
  .admin-login__layout {
    min-height: auto;
    gap: 24px;
    padding-top: 28px;
  }
  .admin-login__form,
  .post-editor,
  .admin-posts,
  .admin-popup {
    padding: 22px;
  }
  .admin-login__visual {
    min-height: 360px;
  }
  .cms-section-head {
    align-items: stretch;
    flex-direction: column;
  }
  .cms-section-head .button {
    width: 100%;
  }
  .cms-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 500px) {
  .brand { font-size:1.35rem; }
  .brand img { width:34px; height:34px; }
  .hero { min-height:760px; }
  .hero-kicker { font-size:.64rem; }
  .feature-grid { gap:14px; }
  .icon-feature-grid { grid-template-columns:1fr; }
  .split-section { gap:28px; }
  .faq-layout { gap:28px; }
  .footer-grid { grid-template-columns:1fr; }
  .footer-bottom { flex-direction:column; }
  .focus-stat-stack { left:14px; right:14px; bottom:14px; top:auto; transform:none; }
  .focus-stat { min-width:0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; scroll-behavior:auto !important; }
  .hero-media { display:none; }
}


.mobile-only { display: none; }

/* Mobile polish — compact hierarchy, reliable icons and spacing */
.eyebrow::before { content: none !important; display: none !important; }

.menu-toggle::before,
.menu-toggle::after,
.menu-toggle > span { content: none !important; display: none !important; }
.menu-toggle {
  padding: 0;
  place-items: center;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}
.menu-icon {
  width: 23px;
  height: 23px;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .25s var(--ease), opacity .2s ease;
}
.menu-icon--close { display: none; }
.menu-open .menu-icon--open { display: none; }
.menu-open .menu-icon--close { display: block; }

.socials a svg {
  width: 19px !important;
  height: 19px !important;
  min-width: 19px;
  min-height: 19px;
  max-width: 19px;
  max-height: 19px;
  stroke-width: 1.8;
  overflow: visible;
}

@media (max-width: 780px) {
  .mobile-only { display: initial; }
  .container { width: min(calc(100% - 32px), var(--container)); }
  .section { padding: 64px 0; }

  .site-header,
  .site-header.scrolled { height: 72px; }
  .header-inner { gap: 14px; }
  .brand { gap: 9px; font-size: 1.4rem; }
  .brand img { width: 36px; height: 36px; border-radius: 10px; }
  .menu-toggle {
    display: grid;
    width: 46px;
    height: 46px;
    flex-basis: 46px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.28);
    background: rgba(255,255,255,.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
  }
  .nav {
    inset: 82px 16px auto;
    gap: 6px;
    padding: 12px;
    border-radius: 18px;
    max-height: calc(100dvh - 102px);
    overflow-y: auto;
  }
  .nav a { padding: 14px 15px; font-size: .96rem; }

  .hero {
    min-height: auto;
    align-items: flex-end;
  }
  .hero-inner {
    padding-top: 132px;
    padding-bottom: 54px;
  }
  .hero-content { width: 100%; }
  .hero-kicker {
    padding: 7px 12px;
    font-size: .66rem;
    letter-spacing: .11em;
  }
  .home-page .hero h1 {
    margin: 18px 0 16px;
    font-size: clamp(2.35rem, 10.1vw, 2.8rem);
    line-height: 1.04;
    letter-spacing: -.052em;
    max-width: 11.2em;
  }
  .home-page .hero p {
    font-size: 1rem;
    line-height: 1.58;
    max-width: 34rem;
  }
  .hero-actions {
    margin-top: 26px;
    gap: 14px;
  }
  .hero-actions .button {
    min-height: 54px;
    border-radius: 13px;
    font-size: .98rem;
  }
  .hero-secondary-link {
    width: 100%;
    min-height: 54px;
    justify-content: center;
    gap: 11px;
    padding: 0 18px;
    border: 1px solid rgba(255,255,255,.48);
    border-radius: 13px;
    background: rgba(255,255,255,.055);
    font-size: 1rem;
    text-align: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  .hero-secondary-link__icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    font-size: .66rem;
  }
  .waitlist-count {
    width: 100%;
    margin-top: 24px;
    padding: 14px 16px;
    border-radius: 16px;
    align-items: flex-start;
  }
  .waitlist-count svg { width: 27px; flex: 0 0 27px; margin-top: 2px; }
  .waitlist-count strong { font-size: 1rem; }
  .waitlist-count span { font-size: .9rem; }

  .home-page .feature-layout,
  .home-page .split-section,
  .home-page .faq-layout {
    gap: 26px;
  }
  .home-page .feature-intro,
  .home-page .split-section > :first-child,
  .home-page .faq-layout > :first-child {
    max-width: 100%;
    text-align: left;
    margin: 0;
  }
  .home-page .feature-intro .section-title,
  .home-page .split-section .section-title,
  .home-page .faq-layout .section-title {
    font-size: clamp(2rem, 8.3vw, 2.5rem);
    line-height: 1.08;
    max-width: 13em;
  }
  .home-page .section-copy {
    font-size: 1rem;
    line-height: 1.55;
    margin-top: 13px;
    max-width: 34rem;
  }

  .home-page .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .home-page .feature-card {
    min-height: 208px;
    padding: 19px 17px;
    border-radius: 18px;
  }
  .home-page .feature-card .icon-badge {
    width: 44px;
    height: 44px;
    margin-bottom: 16px;
  }
  .home-page .feature-card .icon-badge svg { width: 22px; height: 22px; }
  .home-page .feature-card h3 { font-size: 1rem; margin-bottom: 8px; }
  .home-page .feature-card p { font-size: .82rem; line-height: 1.48; }

  .home-page .benefit-grid {
    grid-template-columns: 1fr;
    gap: 11px;
  }
  .home-page .benefit-card {
    min-height: 0;
    padding: 18px;
    border-radius: 17px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    column-gap: 14px;
    align-items: start;
  }
  .home-page .benefit-card .line-icon {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 34px;
    height: 34px;
    margin: 1px 0 0;
  }
  .home-page .benefit-card h3 {
    grid-column: 2;
    margin: 0 0 5px;
    font-size: .98rem;
  }
  .home-page .benefit-card p {
    grid-column: 2;
    font-size: .86rem;
    line-height: 1.45;
  }

  .home-page .faq-layout > :first-child {
    text-align: center;
    margin-inline: auto;
  }
  .home-page .faq-layout .section-title,
  .home-page .faq-layout .section-copy {
    margin-inline: auto;
  }
  .faq-list { gap: 8px; }
  .faq-item { border-radius: 14px; }
  .faq-question {
    min-height: 56px;
    padding: 14px 15px;
    gap: 12px;
    font-size: .9rem;
    line-height: 1.3;
  }
  .faq-plus { width: 28px; height: 28px; }
  .faq-answer-inner { padding: 0 15px 17px; font-size: .88rem; }

  .cta-wrap { padding-bottom: 28px; }
  .cta-banner {
    gap: 19px;
    min-height: 0;
    padding: 28px 20px;
    border-radius: 24px;
  }
  .cta-symbol { width: 92px; height: 92px; aspect-ratio: 1 / 1; object-fit: contain; }
  .cta-banner .eyebrow { margin-bottom: 8px; }
  .cta-banner h2 {
    font-size: clamp(1.9rem, 8.2vw, 2.35rem);
    line-height: 1.08;
  }
  .cta-banner p {
    margin-top: 12px;
    font-size: .94rem;
    line-height: 1.52;
  }
  .cta-side { margin-top: 2px; }
  .cta-side .button { min-height: 54px; }
  .cta-note { font-size: .78rem; }

  .footer { padding: 44px 0 24px; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px 22px;
  }
  .footer-brand { grid-column: 1 / -1; max-width: 260px; }
  .footer h4 { margin-bottom: 12px; font-size: .98rem; }
  .socials { gap: 9px; align-items: center; }
  .socials a {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 50%;
  }
  .footer-bottom {
    margin-top: 30px;
    padding-top: 18px;
    flex-direction: column;
    gap: 8px;
    font-size: .78rem;
  }

  /* Keep reveal motion active in both scroll directions on touch devices. */
  .reveal {
    transform: translateY(24px) scale(.99);
    filter: blur(4px);
    transition-duration: .62s;
  }
  .reveal.reveal-from-top { transform: translateY(-24px) scale(.99); }
}

@media (max-width: 420px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .home-page .hero h1 { font-size: clamp(2.18rem, 10vw, 2.55rem); }
  .home-page .feature-grid { gap: 10px; }
  .home-page .feature-card { min-height: 196px; padding: 17px 15px; }
  .home-page .feature-card p { font-size: .79rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}

@media (max-width: 350px) {
  .home-page .feature-grid { grid-template-columns: 1fr; }
  .home-page .feature-card { min-height: 0; }
}

/* Mobile navigation drawer */
.nav-mobile-cta { display: none; }
@media (max-width: 780px) {
  .nav {
    inset: 72px 0 0;
    min-height: calc(100dvh - 72px);
    max-height: calc(100dvh - 72px);
    padding: 24px 16px max(28px, env(safe-area-inset-bottom));
    border: 0;
    border-radius: 0;
    background:
      radial-gradient(circle at 82% 8%, rgba(236,101,81,.16), transparent 28%),
      linear-gradient(180deg, rgba(31,8,39,.995), rgba(20,5,27,.995));
    box-shadow: none;
    transform: translateY(-12px);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }
  .menu-open .nav { transform: translateY(0); }
  .nav a {
    padding: 16px 14px;
    border-radius: 13px;
    font-family: "Poppins", sans-serif;
    font-size: 1.08rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .nav a:hover,
  .nav a.active { background: rgba(255,255,255,.07); }
  .nav .language-switch { width: 100%; margin-top: 8px; }
  .nav .language-select {
    width: 100%; min-height: 52px; background: rgba(255,255,255,.06);
    border-color: rgba(255,255,255,.12); font-family: "Poppins", sans-serif; font-size: 1rem;
  }
  .nav .lang-dd { width: 100%; margin-top: 8px; }
  .nav .lang-dd__btn {
    width: 100%; justify-content: space-between; min-height: 52px;
    color: #fff;
    background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.24); font-size: 1rem;
    box-shadow: none;
  }
  .blog-page .nav .lang-dd__btn {
    color: #fff;
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.24);
  }
  .blog-page .nav .lang-dd__caret { color: var(--coral); }
  .nav .lang-dd__menu { left: 0; right: 0; width: auto; }
  .nav-mobile-cta {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    min-height: 54px;
    border: 0 !important;
    color: #fff !important;
    background: linear-gradient(135deg, var(--coral), var(--coral-bright));
    box-shadow: 0 14px 34px rgba(236,101,81,.3);
  }
}

@media (max-width: 780px) {
  .home-page .feature-layout,
  .home-page .split-section,
  .home-page .faq-layout {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .home-page .feature-grid,
  .home-page .benefit-grid,
  .home-page .faq-list {
    min-width: 0;
    width: 100%;
  }
}

/* Trancista page refinements — approved desktop direction */
.trancista-page .icon-feature {
  min-height: 248px;
  padding: 28px 20px;
  border: 1px solid rgba(43, 14, 63, .10);
  border-radius: 22px;
  background:
    radial-gradient(circle at 90% 0%, rgba(247, 209, 200, .34), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,249,246,.94));
  box-shadow: 0 14px 34px rgba(43, 14, 63, .055);
  transition:
    transform .35s var(--ease),
    box-shadow .35s ease,
    border-color .35s ease,
    background .35s ease;
}
.trancista-page .icon-feature:hover {
  transform: translateY(-8px);
  border-color: rgba(236, 101, 81, .38);
  background:
    radial-gradient(circle at 90% 0%, rgba(247, 209, 200, .58), transparent 38%),
    linear-gradient(180deg, #fff, #fff7f3);
  box-shadow: 0 24px 54px rgba(43, 14, 63, .13);
}
.trancista-page .icon-feature svg {
  transition: transform .35s var(--ease), color .35s ease;
}
.trancista-page .icon-feature:hover svg {
  transform: translateY(-3px) scale(1.06);
  color: var(--coral-bright);
}
.trancista-page .focus-visual img,
.trancista-page .focus-visual video {
  object-position: center center;
}
.trancista-page .faq-layout {
  grid-template-columns: 1fr;
  gap: 38px;
  max-width: 1040px;
  margin-inline: auto;
}
.trancista-page .faq-layout > :first-child {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}
.trancista-page .faq-layout .section-title {
  font-size: clamp(2.45rem, 4vw, 3.55rem);
}
.trancista-page .faq-layout .section-copy {
  margin-inline: auto;
}
.trancista-page .faq-list {
  width: 100%;
}

@media (max-width: 780px) {
  .trancista-page .icon-feature {
    min-height: 0;
    padding: 20px 16px;
  }
  .trancista-page .center-heading {
    margin-bottom: 34px;
  }
  .trancista-page .center-heading .section-title,
  .trancista-page .faq-layout .section-title {
    font-size: clamp(2rem, 8vw, 2.55rem);
  }
  .trancista-page .center-heading .section-copy,
  .trancista-page .faq-layout .section-copy,
  .trancista-page .focus-copy .section-copy {
    font-size: 1rem;
    line-height: 1.55;
  }
  .trancista-page .icon-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .trancista-page .icon-feature h3 {
    font-size: .98rem;
    line-height: 1.25;
  }
  .trancista-page .icon-feature p {
    font-size: .86rem;
    line-height: 1.5;
  }
  .trancista-page .focus-copy ul {
    gap: 10px;
    margin-top: 20px;
  }
  .trancista-page .cta-banner h2 {
    font-size: clamp(1.85rem, 8vw, 2.3rem);
  }
  .trancista-page .faq-layout {
    gap: 28px;
  }
}

@media (max-width: 500px) {
  .trancista-page .hero {
    min-height: 700px;
  }
  .trancista-page .hero-inner {
    padding-top: 108px;
    padding-bottom: 56px;
  }
  .trancista-page .hero h1 {
    font-size: clamp(2.18rem, 11vw, 3rem);
  }
  .trancista-page .hero p {
    font-size: .98rem;
    line-height: 1.55;
  }
  .trancista-page .waitlist-count {
    padding: 13px 14px;
  }
  .trancista-page .icon-feature-grid {
    grid-template-columns: 1fr;
  }
  .trancista-page .icon-feature {
    padding: 18px 15px;
  }
  .trancista-page .focus-visual {
    min-height: 320px;
  }
  .trancista-page .faq-question {
    font-size: .92rem;
  }
}

@media (max-width: 1180px) {
  .cms-app {
    grid-template-columns: 230px minmax(0, 1fr);
  }
  .cms-main {
    padding: 28px 24px 44px;
  }
  .cms-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .cms-metrics div:nth-child(3) {
    border-right: 0;
  }
  .cms-dashboard-grid,
  .cms-settings-grid,
  .post-editor__layout {
    grid-template-columns: 1fr;
  }
  .post-settings {
    border-left: 0;
    border-top: 1px solid #edf0f2;
  }
  .cms-list-toolbar {
    grid-template-columns: 1fr 1fr;
  }
  .cms-post-table__head {
    display: none;
  }
  .cms-post-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px 0;
  }
  .admin-post-item__actions {
    flex-wrap: wrap;
  }
}

@media (max-width: 760px) {
  .cms-app {
    display: block;
  }
  .cms-sidebar {
    position: static;
    height: auto;
    gap: 14px;
    padding: 16px;
  }
  .cms-sidebar__nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .cms-sidebar__nav button,
  .cms-view-site {
    width: auto;
    flex: 0 0 auto;
  }
  .cms-view-site {
    margin-top: 0;
  }
  .cms-main {
    padding: 22px 14px 34px;
  }
  .cms-page-head,
  .post-editor__bar {
    align-items: stretch;
    flex-direction: column;
  }
  .cms-page-head .button,
  .post-editor__actions,
  .post-editor__actions .button {
    width: 100%;
  }
  .post-editor__actions {
    flex-direction: column;
  }
  .cms-metrics,
  .cms-list-toolbar,
  .editor-row {
    grid-template-columns: 1fr;
  }
  .cms-metrics div {
    border-right: 0;
    border-bottom: 1px solid #2a2e36;
  }
  .cms-metrics div:last-child {
    border-bottom: 0;
  }
  .post-composer {
    padding: 30px 18px 44px;
  }
  .post-title-input {
    font-size: 1rem;
  }
  .post-settings {
    padding: 22px 18px;
  }
  .cms-post-row__title {
    grid-template-columns: 64px minmax(0, 1fr);
  }
  .cover-picker,
  .popup-manager,
  .taxonomy-manager {
    grid-template-columns: 1fr;
  }
  .cover-actions,
  .cms-head-actions {
    grid-template-columns: 1fr;
    align-items: stretch;
    flex-direction: column;
  }
  .popup-row {
    grid-template-columns: 36px minmax(0, 1fr);
  }
  .popup-row .admin-post-item__actions {
    grid-column: 2;
  }
}
