:root {
  --bg: #09070f;
  --bg-soft: #130d20;
  --surface: #ffffff;
  --surface-soft: #f7f4ee;
  --surface-strong: #ebe4d8;
  --text: #0a0910;
  --text-invert: #ffffff;
  --muted: #6f6878;
  --muted-invert: rgba(255, 255, 255, 0.72);
  --purple: #7b2cff;
  --purple-dark: #541bc4;
  --pink: #ff2bc2;
  --green: #19d08f;
  --green-dark: #06a86c;
  --lime: #d9ff55;
  --orange: #ffb23f;
  --blue: #4b7dff;
  --border: rgba(9, 7, 15, 0.12);
  --border-light: rgba(255, 255, 255, 0.14);
  --shadow: 0 30px 90px rgba(9, 7, 15, 0.22);
  --shadow-soft: 0 18px 50px rgba(9, 7, 15, 0.1);
  --radius: 30px;
  --x: clamp(12px, 2.2vw, 36px);
  --content: min(calc(100% - var(--x) * 2), 1720px);
  --header-height: 82px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  padding-top: var(--header-height);
  background:
    radial-gradient(circle at 80% 0%, rgba(123, 44, 255, 0.34), transparent 32rem),
    radial-gradient(circle at 5% 16%, rgba(255, 43, 194, 0.2), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }
::selection { background: var(--purple); color: var(--text-invert); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, p { margin: 0; }
img, svg { display: block; max-width: 100%; }

.cursor-light {
  position: fixed;
  z-index: 0;
  top: 0;
  left: 0;
  width: 420px;
  height: 420px;
  pointer-events: none;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 43, 194, 0.16), transparent 62%);
  transform: translate3d(-50%, -50%, 0);
}

.page-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 120;
  width: 0%;
  height: 4px;
  background: linear-gradient(90deg, var(--pink), var(--purple), var(--green));
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(9, 7, 15, 0.88);
  color: var(--text-invert);
  backdrop-filter: blur(22px);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(9, 7, 15, 0.96);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.24);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--content);
  min-height: var(--header-height);
  margin: 0 auto;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
}

.brand-icon {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: var(--text-invert);
  font-family: Archivo, Inter, sans-serif;
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: -0.08em;
}

.brand-text strong {
  display: block;
  color: currentColor;
  font-family: Archivo, Inter, sans-serif;
  font-size: 1rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.brand-text small {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.76rem;
  font-weight: 700;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  font-weight: 800;
  transition: 0.2s ease;
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-invert);
  transform: translateY(-1px);
}

.nav .nav-cta {
  background: var(--text-invert);
  color: var(--text);
}

.nav .nav-cta:hover {
  background: var(--lime);
  color: var(--text);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-invert);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 99px;
  background: currentColor;
  transition: transform 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }

h1, h2, h3 {
  font-family: Archivo, Inter, sans-serif;
  font-weight: 900;
  letter-spacing: -0.065em;
}

h1 {
  max-width: 980px;
  color: var(--text-invert);
  font-size: clamp(4.2rem, 8vw, 9.8rem);
  line-height: 0.83;
}

h2 {
  font-size: clamp(2.7rem, 5.1vw, 6.2rem);
  line-height: 0.88;
}

h3 {
  font-size: clamp(1.45rem, 2vw, 2.35rem);
  line-height: 0.96;
}

.hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.78fr);
  gap: clamp(24px, 4vw, 72px);
  align-items: center;
  width: var(--content);
  min-height: calc(100svh - var(--header-height));
  margin: 0 auto;
  padding: clamp(42px, 6vw, 88px) 0 clamp(40px, 6vw, 80px);
}

.eyebrow, .section-kicker {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 { margin-top: 22px; }

.hero-description {
  max-width: 760px;
  margin-top: 24px;
  color: var(--muted-invert);
  font-size: clamp(1.06rem, 1.35vw, 1.36rem);
  line-height: 1.62;
}

.hero-actions, .section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 16px;
  font-size: 0.96rem;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: var(--text-invert);
  box-shadow: 0 18px 46px rgba(123, 44, 255, 0.34);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-invert);
}

.btn-secondary:hover { background: rgba(255, 255, 255, 0.14); }

.btn-muted {
  border-color: var(--border);
  background: var(--surface-soft);
  color: var(--text);
}

.btn-contact {
  background: var(--text-invert);
  color: var(--text);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.btn-contact:hover {
  background: var(--lime);
  color: var(--text);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.trust-strip span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  font-weight: 800;
}

.hero-stage {
  position: relative;
  min-width: 0;
  perspective: 1200px;
}

.phone-card {
  position: relative;
  z-index: 2;
  overflow: hidden;
  max-width: 560px;
  margin-left: auto;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  transform: rotate(-2deg);
  transform-style: preserve-3d;
  transition: transform 0.18s ease;
}

.phone-top {
  display: flex;
  gap: 7px;
  padding: 8px 10px 14px;
}

.phone-top span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.contract-screen {
  overflow: hidden;
  padding: clamp(24px, 3.4vw, 48px);
  border-radius: 26px;
  background: radial-gradient(circle at 95% 5%, rgba(217, 255, 85, 0.28), transparent 10rem), #050506;
  color: var(--text-invert);
}

.screen-label {
  display: inline-flex;
  padding: 8px 10px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--text);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contract-screen h2 {
  margin-top: 18px;
  color: var(--text-invert);
  font-size: clamp(2.2rem, 4vw, 4.7rem);
}

.screen-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.screen-grid article {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
}

.screen-grid small {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.screen-grid strong {
  display: block;
  margin-top: 8px;
  font-size: 1rem;
}

.screen-lines {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.screen-lines span {
  display: block;
  height: 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.screen-lines span:nth-child(1) { width: 92%; }
.screen-lines span:nth-child(2) { width: 78%; }
.screen-lines span:nth-child(3) { width: 86%; }
.screen-lines span:nth-child(4) { width: 56%; }

.screen-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.92rem;
  font-weight: 800;
}

.screen-status strong { color: var(--text-invert); }

.floating-note {
  position: absolute;
  z-index: 3;
  width: min(230px, 48vw);
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-invert);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.floating-note strong {
  display: block;
  font-family: Archivo, Inter, sans-serif;
  letter-spacing: -0.04em;
}

.floating-note span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.88rem;
  line-height: 1.4;
}

.note-one { top: 18%; left: -4%; }
.note-two { right: -2%; bottom: 12%; }

.ticker {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  background: linear-gradient(90deg, var(--purple), var(--pink));
  color: var(--text-invert);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 30s linear infinite;
}

.ticker-track span {
  display: inline-flex;
  align-items: center;
  min-height: 62px;
  padding: 0 28px;
  font-family: Archivo, Inter, sans-serif;
  font-size: clamp(1rem, 1.4vw, 1.45rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.section {
  position: relative;
  z-index: 1;
  width: var(--content);
  margin: 0 auto;
  padding: clamp(58px, 8vw, 128px) 0;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 68px);
  align-items: start;
  color: var(--text-invert);
}

.section-copy { position: sticky; top: calc(var(--header-height) + 36px); }

.section-copy h2, .center-title h2, .pricing-head h2, .faq-box h2, .contact-panel h2, .proof-card h2, .demo-content h2 {
  margin-top: 18px;
  color: currentColor;
}

.section-copy p:not(.section-kicker), .demo-content p, .pricing-head p, .faq-box p, .contact-panel p, .proof-card p {
  max-width: 760px;
  margin-top: 20px;
  color: currentColor;
  opacity: 0.72;
  font-size: 1.05rem;
  line-height: 1.65;
}

.pain-grid { display: grid; gap: 16px; }

.pain-card, .flow-card, .price-card, .faq-box, .contact-panel, .proof-card, .demo-shell {
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.pain-card {
  min-height: 210px;
  padding: clamp(24px, 2.6vw, 40px);
  border-color: var(--border-light);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-invert);
  backdrop-filter: blur(16px);
}

.pain-card span, .flow-card span, .plan-label {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: currentColor;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pain-card strong {
  display: block;
  margin-top: 42px;
  font-family: Archivo, Inter, sans-serif;
  font-size: clamp(1.7rem, 2.6vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.96;
}

.pain-card p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.experience-section {
  width: 100%;
  max-width: none;
  padding-right: var(--x);
  padding-left: var(--x);
  background: var(--surface-soft);
}

.demo-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 24px;
  width: min(100%, 1720px);
  margin: 0 auto;
  padding: clamp(18px, 2vw, 26px);
  border-radius: 36px;
  background: var(--surface);
}

.demo-content {
  display: grid;
  align-content: center;
  padding: clamp(26px, 4vw, 64px);
  color: var(--text);
}

.demo-content .section-kicker, .pricing-head .section-kicker, .faq-box .section-kicker, .proof-card .section-kicker, .center-title .section-kicker {
  border-color: var(--border);
  background: var(--surface-soft);
  color: var(--muted);
}

.demo-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.demo-tabs button, .period-toggle button, .payment-toggle button {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-soft);
  color: var(--muted);
  cursor: pointer;
  font-weight: 900;
  transition: 0.2s ease;
}

.demo-tabs button.active, .period-toggle button.active, .payment-toggle button.active {
  border-color: var(--purple);
  background: var(--purple);
  color: var(--text-invert);
}

.demo-window {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border-radius: 28px;
  background: radial-gradient(circle at 82% 18%, rgba(255, 43, 194, 0.28), transparent 18rem), linear-gradient(135deg, #150b25, #050506);
  color: var(--text-invert);
}

.window-bar { display: flex; gap: 8px; padding: 18px; }
.window-bar span { width: 11px; height: 11px; border-radius: 999px; background: rgba(255, 255, 255, 0.26); }

.demo-panel {
  position: absolute;
  inset: 68px 24px 24px;
  display: grid;
  align-content: end;
  padding: clamp(24px, 4vw, 54px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.08);
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  transition: 0.28s ease;
}

.demo-panel.active { opacity: 1; transform: translateY(0) scale(1); }
.demo-panel small { color: var(--lime); font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }

.demo-panel strong {
  display: block;
  max-width: 760px;
  margin-top: 16px;
  font-family: Archivo, Inter, sans-serif;
  font-size: clamp(2.3rem, 4.8vw, 5.6rem);
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: 0.88;
}

.demo-panel p {
  max-width: 620px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
}

.flow-section { color: var(--text-invert); }
.center-title { max-width: 920px; margin: 0 auto; text-align: center; }

.flow-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.flow-card {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(24px, 2.5vw, 36px);
  border-color: var(--border-light);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-invert);
  backdrop-filter: blur(16px);
}

.flow-card:nth-child(2) { background: var(--lime); color: var(--text); }
.flow-card:nth-child(3) { background: linear-gradient(135deg, var(--purple), var(--pink)); }
.flow-card h3 { margin-top: auto; }
.flow-card p { margin-top: 14px; color: currentColor; opacity: 0.72; line-height: 1.55; }

.proof-section { padding-top: 0; }

.proof-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.7fr);
  gap: 28px;
  align-items: end;
  padding: clamp(28px, 5vw, 74px);
  border-color: transparent;
  border-radius: 38px;
  background: radial-gradient(circle at 90% 10%, rgba(217, 255, 85, 0.48), transparent 18rem), var(--surface);
  color: var(--text);
}

.pricing-section {
  width: 100%;
  max-width: none;
  padding: clamp(72px, 8vw, 128px) var(--x);
  background:
    radial-gradient(circle at 12% 18%, rgba(144, 45, 255, 0.28), transparent 24rem),
    radial-gradient(circle at 88% 4%, rgba(255, 36, 194, 0.22), transparent 22rem),
    linear-gradient(180deg, #09050f 0%, #12081c 56%, var(--surface-soft) 56%, var(--surface-soft) 100%);
  color: var(--text-invert);
}

.pricing-hero,
.plans-studio,
.pricing-footnote {
  width: min(100%, 1720px);
  margin-right: auto;
  margin-left: auto;
}

.pricing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.64fr);
  gap: 28px;
  align-items: end;
}

.pricing-hero .section-kicker {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.72);
}

.pricing-hero h2 {
  max-width: 980px;
  margin-top: 18px;
}

.pricing-hero > p {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.08rem;
  line-height: 1.7;
}

.plans-studio {
  display: grid;
  grid-template-columns: minmax(210px, 0.82fr) minmax(280px, 1.18fr) minmax(230px, 0.95fr) minmax(230px, 0.95fr);
  gap: 16px;
  align-items: stretch;
  margin-top: 38px;
}

.studio-plan {
  position: relative;
  display: flex;
  overflow: hidden;
  min-height: 545px;
  flex-direction: column;
  padding: clamp(24px, 2.4vw, 36px);
  border: 1px solid rgba(13, 13, 18, 0.12);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  box-shadow: 0 26px 80px rgba(7, 7, 8, 0.11);
}

.studio-plan::after {
  position: absolute;
  right: -4rem;
  bottom: -5rem;
  width: 12rem;
  height: 12rem;
  border-radius: 999px;
  background: rgba(138, 45, 255, 0.08);
  content: "";
}

.studio-plan-top,
.studio-price,
.studio-quota,
.studio-plan ul,
.studio-plan .plan-action,
.studio-plan h3,
.studio-plan-text {
  position: relative;
  z-index: 1;
}

.studio-plan-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.studio-plan-top span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.studio-plan-top small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.studio-plan h3 {
  margin-top: 42px;
  font-size: clamp(2rem, 2.5vw, 3rem);
  letter-spacing: -0.06em;
}

.studio-plan-text {
  max-width: 330px;
  min-height: 74px;
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.58;
}

.studio-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 24px;
}

.studio-price strong {
  display: block;
  font-family: Archivo, Inter, sans-serif;
  font-size: clamp(2.6rem, 3.9vw, 4.7rem);
  letter-spacing: -0.09em;
  line-height: 0.9;
}

.studio-price span {
  color: var(--muted);
  font-weight: 900;
}

.studio-quota {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  margin-top: 26px;
  padding: 16px;
  border: 1px solid rgba(13, 13, 18, 0.12);
  border-radius: 22px;
  background: var(--surface-soft);
}

.studio-quota strong {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 18px;
  background: var(--text);
  color: var(--text-invert);
  font-family: Archivo, Inter, sans-serif;
  font-size: 1.7rem;
  letter-spacing: -0.08em;
}

.studio-quota span {
  color: var(--muted);
  font-weight: 900;
  line-height: 1.35;
}

.studio-plan ul {
  display: grid;
  gap: 12px;
  margin: 26px 0 28px;
  padding: 0;
  list-style: none;
}

.studio-plan li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  font-weight: 780;
  line-height: 1.45;
}

.studio-plan li::before {
  position: absolute;
  top: 0.38em;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  content: "";
}

.plan-action {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: auto;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 950;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.plan-action:hover {
  transform: translateY(-2px);
}

.plan-action-light {
  border-color: rgba(13, 13, 18, 0.14);
  background: var(--surface-soft);
  color: var(--text);
}

.plan-action-light:hover {
  background: var(--surface);
  border-color: rgba(13, 13, 18, 0.24);
}

.plan-action-dark {
  background: var(--text);
  color: var(--text-invert);
}

.plan-action-gradient {
  background: linear-gradient(90deg, var(--purple), var(--pink));
  color: var(--text-invert);
  box-shadow: 0 22px 54px rgba(219, 39, 211, 0.3);
}

.studio-plan-featured {
  min-height: 590px;
  margin-top: -18px;
  border-color: rgba(255, 255, 255, 0.16);
  background:
    radial-gradient(circle at 80% 0%, rgba(255, 36, 194, 0.38), transparent 18rem),
    radial-gradient(circle at 0% 100%, rgba(138, 45, 255, 0.42), transparent 20rem),
    #050507;
  color: var(--text-invert);
}

.studio-plan-featured::after {
  background: rgba(255, 255, 255, 0.08);
}

.studio-plan-featured .studio-plan-top span {
  background: var(--lime);
  color: var(--text);
}

.studio-plan-featured .studio-plan-top small,
.studio-plan-featured .studio-plan-text,
.studio-plan-featured .studio-price span,
.studio-plan-featured li {
  color: rgba(255, 255, 255, 0.72);
}

.studio-plan-featured .studio-quota {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.1);
}

.studio-plan-featured .studio-quota strong {
  background: var(--lime);
  color: var(--text);
}

.studio-plan-featured .studio-quota span {
  color: rgba(255, 255, 255, 0.78);
}

.studio-plan-free {
  min-height: 505px;
  align-self: end;
}

.studio-plan-pro {
  background:
    radial-gradient(circle at 100% 0%, rgba(25, 208, 143, 0.13), transparent 14rem),
    rgba(255, 255, 255, 0.94);
}

.studio-plan-scale {
  background:
    radial-gradient(circle at 0% 0%, rgba(214, 255, 85, 0.18), transparent 14rem),
    rgba(255, 255, 255, 0.94);
}

.pricing-footnote {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.pricing-footnote span {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(13, 13, 18, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-weight: 850;
}

.faq-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  gap: 16px;
  color: var(--text);
}

.faq-box, .contact-panel {
  padding: clamp(26px, 4vw, 58px);
  border-radius: 34px;
  background: var(--surface);
}

.faq-list { display: grid; gap: 10px; margin-top: 28px; }

.faq-list details {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface-soft);
}

.faq-list summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px;
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}

.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { padding: 0 20px 20px; color: var(--muted); line-height: 1.65; }

.contact-panel {
  display: grid;
  align-content: center;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: var(--text-invert);
}

.contact-panel span {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
}

.footer {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0;
  padding: clamp(44px, 6vw, 84px) var(--x) 30px;
  border: 0;
  border-radius: 0;
  background: #030304;
  color: var(--text-invert);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 90px);
  width: min(100%, 1720px);
  margin: 0 auto;
}

.footer p {
  max-width: 480px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.62;
}

.social-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.social-buttons a {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-invert);
  font-weight: 900;
}

.social-buttons a:hover { background: linear-gradient(135deg, var(--purple), var(--pink)); border-color: transparent; }

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.footer-links strong {
  display: block;
  margin-bottom: 14px;
  color: var(--text-invert);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-links a {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.62);
  font-weight: 750;
}

.footer-links a:hover { color: var(--text-invert); }

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.9rem;
}

.floating-whatsapp, .back-to-top {
  position: fixed;
  right: clamp(14px, 2vw, 30px);
  z-index: 80;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  font-weight: 950;
}

.floating-whatsapp {
  bottom: clamp(14px, 2vw, 30px);
  min-height: 56px;
  gap: 10px;
  padding: 0 22px;
  border-radius: 16px;
  background: var(--green);
  color: #03140d;
  box-shadow: 0 18px 56px rgba(25, 208, 143, 0.34);
}

.back-to-top {
  width: 48px;
  height: 48px;
  bottom: calc(clamp(14px, 2vw, 30px) + 72px);
  border-radius: 16px;
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.24);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.floating-whatsapp svg { width: 20px; height: 20px; fill: none; }
.floating-whatsapp svg path:first-child { stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.floating-whatsapp svg path:last-child { fill: currentColor; }

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .ticker-track { animation: none; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1320px) {
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-card.featured { transform: none; }
}

@media (max-width: 1180px) {
  .hero, .split-section, .demo-shell, .proof-card, .faq-contact, .footer-inner, .plan-toolbar { grid-template-columns: 1fr; }
  .section-copy { position: static; }
  .phone-card { margin-right: auto; margin-left: 0; }
  .flow-cards, .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing-head { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 820px) {
  :root { --x: 12px; --radius: 24px; --header-height: 74px; }
  .cursor-light { display: none; }
  .brand-text small { display: none; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .nav {
    position: fixed;
    top: var(--header-height);
    right: var(--x);
    left: var(--x);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    background: rgba(9, 7, 15, 0.98);
    box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav a { min-height: 52px; }
  .hero { display: block; min-height: auto; padding-top: 42px; }
  h1 { font-size: clamp(3.4rem, 15vw, 5.5rem); }
  h2 { font-size: clamp(2.45rem, 10.8vw, 4.1rem); }
  .hero-stage { margin-top: 38px; }
  .floating-note { position: static; width: 100%; margin-top: 12px; }
  .phone-card { transform: none; }
  .screen-grid, .flow-cards, .pricing-grid, .footer-links { grid-template-columns: 1fr; }
  .demo-window { min-height: 470px; }
  .demo-panel { inset: 64px 16px 16px; }
  .hero-actions, .section-actions, .demo-tabs, .period-toggle, .payment-toggle { grid-template-columns: 1fr; flex-direction: column; }
  .btn, .demo-tabs button, .period-toggle button, .payment-toggle button { width: 100%; }
  .trust-strip { display: grid; grid-template-columns: 1fr 1fr; }
  .trust-strip span { justify-content: center; text-align: center; }
  .footer-bottom, .screen-status, .extra-package, .extra-package > div { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 520px) {
  .brand-icon { width: 42px; height: 42px; border-radius: 14px; }
  .eyebrow, .section-kicker { min-height: auto; padding: 8px 12px; font-size: 0.64rem; line-height: 1.25; }
  h1 { font-size: clamp(3rem, 15.8vw, 4.5rem); }
  h2 { font-size: clamp(2.15rem, 11vw, 3.25rem); }
  .contract-screen, .demo-content, .faq-box, .contact-panel, .proof-card, .price-card, .flow-card, .pain-card { padding: 22px; border-radius: 22px; }
  .trust-strip { grid-template-columns: 1fr; }
  .floating-whatsapp { width: 54px; padding: 0; }
  .floating-whatsapp span { display: none; }
  .back-to-top { right: 14px; bottom: 84px; }
}


@media (max-width: 1320px) {
  .plans-studio {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .studio-plan-featured,
  .studio-plan-free {
    min-height: 545px;
    margin-top: 0;
    align-self: stretch;
  }
}

@media (max-width: 1180px) {
  .pricing-hero {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .pricing-hero > p {
    max-width: 760px;
  }
}

@media (max-width: 820px) {
  .pricing-section {
    padding-top: 56px;
    padding-bottom: 56px;
    background:
      radial-gradient(circle at 10% 0%, rgba(144, 45, 255, 0.32), transparent 18rem),
      linear-gradient(180deg, #09050f 0%, #12081c 38%, var(--surface-soft) 38%, var(--surface-soft) 100%);
  }

  .plans-studio {
    grid-template-columns: 1fr;
  }

  .studio-plan,
  .studio-plan-featured,
  .studio-plan-free {
    min-height: auto;
  }

  .pricing-footnote {
    display: grid;
    grid-template-columns: 1fr;
  }

  .pricing-footnote span {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .studio-plan {
    padding: 22px;
    border-radius: 24px;
  }

  .studio-price strong {
    font-size: clamp(2.5rem, 15vw, 4rem);
  }

  .studio-quota {
    grid-template-columns: 1fr;
  }

  .studio-quota strong {
    width: 54px;
    height: 54px;
  }
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 999;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--text);
  font-weight: 900;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid rgba(217, 255, 85, 0.92);
  outline-offset: 3px;
}

main {
  overflow: clip;
}

.section,
.hero,
.experience-section,
.pricing-section,
.footer {
  scroll-margin-top: calc(var(--header-height) + 18px);
}

.site-header {
  transform: translateZ(0);
}

.hero-description,
.section-copy p:not(.section-kicker),
.demo-content p,
.pricing-hero > p,
.faq-box p,
.contact-panel p,
.proof-card p,
.studio-plan-text,
.pain-card p,
.flow-card p,
.footer p,
.footer-links a,
.footer-bottom {
  text-rendering: optimizeLegibility;
}

.btn,
.plan-action,
.nav a,
.demo-tabs button,
.faq-list summary,
.social-buttons a,
.back-to-top,
.floating-whatsapp {
  -webkit-tap-highlight-color: transparent;
}

.site-header.is-scrolled .brand-text small {
  color: rgba(255, 255, 255, 0.68);
}

.hero {
  min-height: min(860px, calc(100svh - var(--header-height)));
}

.hero-stage {
  transform: translateZ(0);
}

.phone-card {
  will-change: transform;
}

.demo-shell,
.proof-card,
.faq-box,
.contact-panel,
.studio-plan,
.flow-card,
.pain-card {
  transform: translateZ(0);
}

.experience-section {
  overflow: hidden;
}

.demo-content h2 {
  max-width: 780px;
}

.demo-tabs button {
  min-width: 128px;
}

.flow-card {
  min-height: 300px;
}

.proof-card h2 {
  max-width: 1080px;
}

.pricing-section {
  overflow: hidden;
}

.pricing-hero h2 {
  max-width: 1050px;
}

.studio-plan {
  isolation: isolate;
}

.studio-plan h3,
.studio-price strong,
.studio-quota strong {
  text-wrap: balance;
}

.studio-plan-text,
.pricing-hero > p,
.hero-description,
.section-copy p:not(.section-kicker),
.demo-content p,
.proof-card p,
.contact-panel p {
  text-wrap: pretty;
}

.studio-plan-featured {
  box-shadow: 0 34px 110px rgba(123, 44, 255, 0.28);
}

.faq-contact {
  align-items: stretch;
}

.contact-panel .btn-contact {
  color: var(--text);
}

.footer-brand p {
  max-width: 520px;
}

.footer-links a,
.social-buttons a {
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.social-buttons a:hover {
  transform: translateY(-2px);
}

.footer-bottom span:last-child {
  text-align: right;
}

@media (max-width: 1180px) {
  .hero {
    min-height: auto;
  }

  .demo-shell {
    gap: 16px;
  }

  .flow-card {
    min-height: 280px;
  }

  .proof-card {
    align-items: start;
  }
}

@media (max-width: 820px) {
  body {
    padding-top: var(--header-height);
  }

  .header-inner {
    width: calc(100% - 24px);
  }

  .nav {
    max-height: calc(100svh - var(--header-height) - 20px);
    overflow-y: auto;
  }

  h1 {
    font-size: clamp(3.05rem, 14.2vw, 4.85rem);
    line-height: 0.86;
  }

  h2 {
    font-size: clamp(2.25rem, 10vw, 3.65rem);
    line-height: 0.9;
  }

  h3 {
    font-size: clamp(1.55rem, 7.2vw, 2.35rem);
  }

  .hero {
    padding-top: 38px;
    padding-bottom: 48px;
  }

  .hero-description {
    font-size: 1.02rem;
    line-height: 1.62;
  }

  .trust-strip {
    gap: 8px;
  }

  .trust-strip span {
    min-height: 42px;
    padding: 0 12px;
    font-size: 0.86rem;
  }

  .phone-card {
    max-width: none;
  }

  .contract-screen h2 {
    font-size: clamp(2.1rem, 11vw, 3.75rem);
  }

  .ticker-track span {
    min-height: 54px;
    padding: 0 22px;
  }

  .section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .split-section {
    gap: 22px;
  }

  .pain-card strong {
    margin-top: 36px;
  }

  .experience-section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .demo-shell {
    padding: 12px;
    border-radius: 28px;
  }

  .demo-content {
    padding: 28px 24px 20px;
  }

  .demo-tabs {
    gap: 8px;
  }

  .demo-tabs button {
    min-height: 48px;
  }

  .demo-window {
    min-height: 430px;
    border-radius: 24px;
  }

  .demo-panel {
    inset: 58px 14px 14px;
    padding: 24px;
  }

  .demo-panel strong {
    font-size: clamp(2.15rem, 10vw, 3.9rem);
  }

  .flow-cards {
    gap: 14px;
  }

  .flow-card {
    min-height: 260px;
  }

  .proof-card {
    border-radius: 28px;
  }

  .pricing-section {
    padding-top: 64px;
    padding-bottom: 60px;
    background:
      radial-gradient(circle at 10% 0%, rgba(144, 45, 255, 0.32), transparent 18rem),
      linear-gradient(180deg, #09050f 0%, #12081c 30%, var(--surface-soft) 30%, var(--surface-soft) 100%);
  }

  .pricing-hero {
    gap: 18px;
  }

  .pricing-hero > p {
    font-size: 1rem;
    line-height: 1.62;
  }

  .plans-studio {
    gap: 14px;
    margin-top: 28px;
  }

  .studio-plan h3 {
    margin-top: 34px;
  }

  .studio-plan-text {
    min-height: auto;
  }

  .studio-price {
    margin-top: 22px;
  }

  .studio-quota {
    margin-top: 22px;
  }

  .pricing-footnote span {
    min-height: auto;
    padding: 12px 14px;
    line-height: 1.35;
  }

  .faq-contact {
    gap: 14px;
  }

  .faq-box,
  .contact-panel {
    border-radius: 28px;
  }

  .contact-panel .btn-contact {
    width: 100%;
  }

  .footer {
    padding-top: 48px;
  }

  .footer-inner {
    width: calc(100% - 24px);
  }

  .footer-links {
    gap: 24px;
  }

  .footer-bottom span:last-child {
    text-align: left;
  }
}

@media (max-width: 520px) {
  :root {
    --x: 10px;
    --header-height: 70px;
  }

  .header-inner {
    width: calc(100% - 20px);
    min-height: var(--header-height);
  }

  .brand {
    gap: 10px;
  }

  .brand-text strong {
    font-size: 0.94rem;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .hero {
    padding-top: 32px;
  }

  .eyebrow,
  .section-kicker {
    max-width: 100%;
  }

  .btn {
    min-height: 52px;
    border-radius: 14px;
  }

  .contract-screen,
  .demo-content,
  .faq-box,
  .contact-panel,
  .proof-card,
  .flow-card,
  .pain-card,
  .studio-plan {
    padding: 22px;
    border-radius: 22px;
  }

  .screen-grid {
    gap: 10px;
  }

  .screen-grid article {
    padding: 14px;
  }

  .screen-status {
    gap: 8px;
  }

  .demo-shell {
    border-radius: 26px;
  }

  .demo-window {
    min-height: 400px;
  }

  .demo-panel {
    padding: 22px;
  }

  .studio-price strong {
    font-size: clamp(2.8rem, 14vw, 3.8rem);
  }

  .studio-quota {
    grid-template-columns: auto 1fr;
  }

  .studio-quota span {
    font-size: 0.95rem;
  }

  .floating-whatsapp {
    width: 54px;
    height: 54px;
    min-height: 54px;
    border-radius: 16px;
  }

  .back-to-top {
    width: 48px;
    height: 48px;
    bottom: 82px;
  }
}


.page-main {
  position: relative;
  z-index: 1;
}

.blog-hero,
.article-hero {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: clamp(72px, 8vw, 128px) var(--x) clamp(48px, 6vw, 92px);
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 43, 194, 0.22), transparent 26rem),
    radial-gradient(circle at 86% 0%, rgba(123, 44, 255, 0.36), transparent 34rem),
    linear-gradient(180deg, #09070f 0%, #12071d 100%);
  color: var(--text-invert);
}

.blog-hero-inner,
.article-hero-inner,
.blog-featured,
.blog-grid-wrap,
.article-wrap,
.article-related {
  width: min(100%, 1720px);
  margin-right: auto;
  margin-left: auto;
}

.blog-hero h1,
.article-hero h1 {
  max-width: 1180px;
  margin-top: 18px;
  color: var(--text-invert);
}

.blog-hero p:not(.section-kicker),
.article-lead {
  max-width: 860px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1.08rem, 1.35vw, 1.35rem);
  line-height: 1.65;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.74);
  font-weight: 900;
}

.back-link:hover {
  color: var(--text-invert);
}

.article-meta,
.blog-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.article-meta span,
.blog-meta-row span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
  font-weight: 850;
}

.blog-featured-section {
  width: 100%;
  padding: clamp(44px, 6vw, 88px) var(--x) clamp(36px, 5vw, 70px);
  background: var(--surface-soft);
}

.blog-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 18px;
}

.blog-featured-card,
.blog-side-card,
.blog-post-card,
.article-content,
.article-aside-card,
.related-card {
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.blog-featured-card {
  display: grid;
  align-content: end;
  min-height: 480px;
  padding: clamp(28px, 4vw, 64px);
  border-radius: 36px;
  background:
    radial-gradient(circle at 84% 10%, rgba(217, 255, 85, 0.25), transparent 18rem),
    radial-gradient(circle at 10% 90%, rgba(255, 43, 194, 0.28), transparent 18rem),
    #050507;
  color: var(--text-invert);
}

.blog-featured-card .section-kicker {
  width: max-content;
}

.blog-featured-card h2 {
  max-width: 980px;
  margin-top: 18px;
  color: var(--text-invert);
}

.blog-featured-card p {
  max-width: 780px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.08rem;
  line-height: 1.65;
}

.blog-featured-card a,
.blog-post-card a,
.related-card a {
  display: inline-flex;
  width: max-content;
  margin-top: 26px;
  color: currentColor;
  font-weight: 950;
}

.blog-side-card {
  display: grid;
  gap: 14px;
  align-content: stretch;
  padding: 18px;
  border-radius: 34px;
  background: var(--surface);
}

.blog-side-mini {
  display: grid;
  min-height: 142px;
  align-content: center;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface-soft);
}

.blog-side-mini:nth-child(2) {
  background: var(--lime);
}

.blog-side-mini strong {
  display: block;
  font-family: Archivo, Inter, sans-serif;
  font-size: clamp(1.4rem, 2vw, 2.2rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.96;
}

.blog-side-mini span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.5;
}

.blog-grid-section {
  width: 100%;
  padding: clamp(46px, 6vw, 92px) var(--x);
  background: var(--surface-soft);
}

.blog-grid-wrap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.blog-post-card {
  position: relative;
  display: flex;
  overflow: hidden;
  min-height: 430px;
  flex-direction: column;
  padding: clamp(24px, 2.5vw, 36px);
  border-radius: 30px;
  background: var(--surface);
}

.blog-post-card::after {
  position: absolute;
  right: -4rem;
  bottom: -4rem;
  width: 12rem;
  height: 12rem;
  border-radius: 999px;
  background: rgba(123, 44, 255, 0.08);
  content: '';
}

.blog-post-card.featured-light {
  background:
    radial-gradient(circle at 100% 0%, rgba(25, 208, 143, 0.12), transparent 16rem),
    var(--surface);
}

.blog-post-card.featured-dark {
  background:
    radial-gradient(circle at 90% 0%, rgba(255, 43, 194, 0.28), transparent 18rem),
    #050507;
  color: var(--text-invert);
}

.blog-post-card.featured-dark p,
.blog-post-card.featured-dark .card-category,
.blog-post-card.featured-dark .card-date {
  color: rgba(255, 255, 255, 0.7);
}

.card-category,
.card-date {
  position: relative;
  z-index: 1;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.card-date {
  margin-top: 8px;
  letter-spacing: 0;
  text-transform: none;
}

.blog-post-card h2 {
  position: relative;
  z-index: 1;
  margin-top: 34px;
  font-size: clamp(2rem, 2.7vw, 3.5rem);
  line-height: 0.92;
}

.blog-post-card p {
  position: relative;
  z-index: 1;
  margin-top: 16px;
  color: var(--muted);
  line-height: 1.62;
}

.blog-post-card a {
  position: relative;
  z-index: 1;
  margin-top: auto;
}

.article-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 22px;
  align-items: start;
  padding: clamp(46px, 6vw, 96px) 0;
}

.article-reading {
  width: 100%;
  padding: 0 var(--x);
  background: var(--surface-soft);
}

.article-content {
  padding: clamp(28px, 5vw, 74px);
  border-radius: 36px;
  background: var(--surface);
}

.article-content > p:first-child {
  margin-top: 0;
}

.article-content p {
  margin-top: 20px;
  color: #403b48;
  font-size: clamp(1.02rem, 1.04vw, 1.12rem);
  line-height: 1.86;
}

.article-content h2 {
  margin-top: 54px;
  color: var(--text);
  font-size: clamp(2.1rem, 3.2vw, 4.1rem);
  line-height: 0.94;
}

.article-content h3 {
  margin-top: 34px;
  color: var(--text);
  font-size: clamp(1.45rem, 1.8vw, 2.1rem);
}

.article-content ul,
.article-content ol {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding-left: 22px;
  color: #403b48;
  font-size: clamp(1.02rem, 1.04vw, 1.12rem);
  line-height: 1.75;
}

.article-content li::marker {
  color: var(--purple);
  font-weight: 900;
}

.article-highlight {
  margin: 34px 0 0;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(123, 44, 255, 0.18);
  border-radius: 26px;
  background:
    radial-gradient(circle at 92% 0%, rgba(255, 43, 194, 0.12), transparent 16rem),
    var(--surface-soft);
}

.article-highlight strong {
  display: block;
  color: var(--text);
  font-family: Archivo, Inter, sans-serif;
  font-size: clamp(1.35rem, 1.8vw, 2.1rem);
  font-weight: 900;
  letter-spacing: -0.05em;
}

.article-highlight p {
  margin-top: 10px;
}

.article-note {
  margin-top: 32px;
  padding: 18px 20px;
  border-left: 4px solid var(--purple);
  border-radius: 18px;
  background: #f1ecff;
  color: #403b48;
  line-height: 1.7;
}

.article-aside {
  position: sticky;
  top: calc(var(--header-height) + 22px);
  display: grid;
  gap: 14px;
}

.article-aside-card {
  padding: 24px;
  border-radius: 28px;
  background: #050507;
  color: var(--text-invert);
}

.article-aside-card.light {
  background: var(--surface);
  color: var(--text);
}

.article-aside-card strong {
  display: block;
  font-family: Archivo, Inter, sans-serif;
  font-size: 1.25rem;
  letter-spacing: -0.04em;
}

.article-aside-card p,
.article-aside-card li {
  color: currentColor;
  opacity: 0.72;
  line-height: 1.6;
}

.article-aside-card p {
  margin-top: 12px;
}

.article-aside-card ul {
  display: grid;
  gap: 9px;
  margin: 14px 0 0;
  padding-left: 18px;
}

.article-aside-card .btn {
  width: 100%;
  margin-top: 18px;
}

.article-related-section {
  width: 100%;
  padding: 0 var(--x) clamp(54px, 7vw, 100px);
  background: var(--surface-soft);
}

.article-related h2 {
  margin-bottom: 18px;
  color: var(--text);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.related-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  padding: 24px;
  border-radius: 26px;
  background: var(--surface);
}

.related-card span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.related-card strong {
  display: block;
  margin-top: 22px;
  font-family: Archivo, Inter, sans-serif;
  font-size: clamp(1.35rem, 1.8vw, 2rem);
  letter-spacing: -0.05em;
  line-height: 1;
}

.related-card a {
  margin-top: auto;
}

@media (max-width: 1180px) {
  .blog-featured,
  .article-wrap {
    grid-template-columns: 1fr;
  }

  .blog-grid-wrap,
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-aside {
    position: static;
  }
}

@media (max-width: 820px) {
  .blog-hero,
  .article-hero {
    padding-top: 52px;
  }

  .blog-featured-card {
    min-height: 390px;
  }

  .blog-grid-wrap,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .blog-post-card {
    min-height: auto;
  }

  .article-content,
  .article-aside-card {
    border-radius: 24px;
  }

  .article-content h2 {
    margin-top: 42px;
  }
}

@media (max-width: 520px) {
  .blog-hero h1,
  .article-hero h1 {
    font-size: clamp(2.8rem, 13vw, 4.2rem);
  }

  .article-content {
    padding: 24px;
  }

  .article-content p,
  .article-content ul,
  .article-content ol {
    font-size: 1rem;
    line-height: 1.75;
  }
}
