:root {
  color-scheme: light;
  --bg: #f4f3ef;
  --bg-soft: #ece9e2;
  --surface: rgba(252, 251, 248, 0.84);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --ink: #0f1a2c;
  --ink-soft: #49576d;
  --line: rgba(15, 26, 44, 0.14);
  --accent: #0e9f85;
  --accent-strong: #007a66;
  --accent-warm: #e39c45;
  --navy: #0f2238;
  --shadow-lg: 0 36px 80px rgba(15, 28, 49, 0.16);
  --shadow-md: 0 18px 36px rgba(15, 26, 44, 0.12);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --body-grad-a: rgba(14, 159, 133, 0.15);
  --body-grad-b: rgba(227, 156, 69, 0.2);
  --body-base-1: #f7f5f1;
  --body-base-2: #f0ede5;
  --body-base-3: #f8f6f3;
  --topbar-bg: rgba(252, 251, 248, 0.76);
  --section-bg: rgba(252, 251, 248, 0.84);
  --ticker-bg: rgba(255, 255, 255, 0.58);
  --card-bg: rgba(255, 255, 255, 0.94);
  --card-soft-bg: rgba(255, 255, 255, 0.84);
  --panel-bg: rgba(255, 255, 255, 0.96);
  --bot-assistant-bg: #ebf7f4;
  --bot-assistant-ink: #134a44;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0c111b;
  --bg-soft: #121c2b;
  --surface: rgba(16, 23, 35, 0.86);
  --surface-strong: rgba(20, 30, 46, 0.9);
  --ink: #ecf4ff;
  --ink-soft: #9fb2cd;
  --line: rgba(138, 163, 195, 0.24);
  --accent: #1dc4a4;
  --accent-strong: #14a58a;
  --accent-warm: #e1a662;
  --navy: #203956;
  --shadow-lg: 0 40px 90px rgba(2, 8, 20, 0.58);
  --shadow-md: 0 20px 48px rgba(3, 10, 24, 0.46);
  --body-grad-a: rgba(29, 196, 164, 0.2);
  --body-grad-b: rgba(225, 166, 98, 0.14);
  --body-base-1: #0b1119;
  --body-base-2: #0f1724;
  --body-base-3: #0a111d;
  --topbar-bg: rgba(13, 21, 34, 0.82);
  --section-bg: rgba(15, 24, 37, 0.86);
  --ticker-bg: rgba(14, 23, 36, 0.92);
  --card-bg: rgba(20, 30, 46, 0.96);
  --card-soft-bg: rgba(20, 30, 46, 0.88);
  --panel-bg: rgba(18, 28, 44, 0.96);
  --bot-assistant-bg: #17343a;
  --bot-assistant-ink: #bcf4e7;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 6%, var(--body-grad-a), transparent 36%),
    radial-gradient(circle at 92% 88%, var(--body-grad-b), transparent 33%),
    linear-gradient(180deg, var(--body-base-1) 0%, var(--body-base-2) 44%, var(--body-base-3) 100%);
  font-family: "Manrope", "Segoe UI", sans-serif;
}

.page-aura {
  position: fixed;
  inset: -20vh -20vw;
  pointer-events: none;
  z-index: -3;
  background:
    radial-gradient(circle at 80% 20%, rgba(14, 159, 133, 0.12), transparent 40%),
    radial-gradient(circle at 20% 90%, rgba(24, 57, 95, 0.1), transparent 42%);
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  opacity: 0.15;
  background-image: radial-gradient(rgba(18, 31, 52, 0.2) 0.45px, transparent 0.45px);
  background-size: 3px 3px;
}

.topbar {
  width: min(1180px, calc(100% - 36px));
  margin: 18px auto;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--topbar-bg);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: sticky;
  top: 12px;
  z-index: 40;
  box-shadow: 0 8px 26px rgba(15, 26, 44, 0.08);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.brand-mark {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(145deg, var(--accent), var(--navy));
  box-shadow: 0 0 0 5px rgba(14, 159, 133, 0.18);
}

.main-nav {
  display: flex;
  gap: 14px;
}

.main-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.93rem;
  padding: 8px 10px;
  border-radius: 10px;
}

.main-nav a:hover {
  color: var(--ink);
  background: rgba(15, 34, 56, 0.06);
}

.mini-cta {
  text-decoration: none;
  color: #f4fbf9;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  padding: 10px 14px;
  border-radius: 11px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(14, 159, 133, 0.3);
}

.theme-toggle {
  border: 1px solid var(--line);
  background: var(--card-soft-bg);
  color: var(--ink);
  border-radius: 10px;
  padding: 10px 12px;
  font-weight: 700;
  font-size: 0.86rem;
  cursor: pointer;
}

.theme-toggle:hover {
  border-color: rgba(15, 34, 56, 0.35);
}

main {
  width: min(1180px, calc(100% - 36px));
  margin: 10px auto 28px;
}

.hero {
  min-height: clamp(520px, 75vh, 760px);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(18px, 3vw, 34px);
  align-items: center;
  padding: clamp(22px, 5vw, 48px);
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, var(--card-soft-bg), var(--surface)),
    linear-gradient(125deg, rgba(14, 159, 133, 0.1), rgba(227, 156, 69, 0.1));
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  right: -110px;
  top: -80px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 159, 133, 0.28), transparent 62%);
  pointer-events: none;
}

.eyebrow {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-strong);
  font-weight: 800;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-family: "Syne", "Manrope", sans-serif;
  letter-spacing: -0.01em;
}

h1 {
  margin-top: 12px;
  font-size: clamp(2.05rem, 5.2vw, 4.25rem);
  line-height: 1.03;
  max-width: 12.5ch;
}

.hero-lead {
  max-width: 58ch;
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.8vw, 1.17rem);
}

.hero-cta {
  margin-top: 26px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  border: 1px solid transparent;
  border-radius: 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 17px;
  font-weight: 700;
  font-size: 0.95rem;
}

.btn-primary {
  color: #f6fefc;
  background: linear-gradient(132deg, #0aa789, #00735f);
  box-shadow: 0 16px 30px rgba(10, 139, 113, 0.32);
}

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

.btn-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.84);
  border-color: var(--line);
}

.hero-metrics {
  margin: 26px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.hero-metrics div {
  border: 1px solid rgba(15, 34, 56, 0.14);
  border-radius: 12px;
  padding: 11px;
  background: rgba(255, 255, 255, 0.58);
}

.hero-metrics dt {
  margin: 0;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #59708f;
}

.hero-metrics dd {
  margin: 6px 0 0;
  font-weight: 800;
  font-size: 1rem;
}

.hero-stage {
  position: relative;
  min-height: 440px;
}

.stage-shell {
  border-radius: 24px;
  border: 1px solid rgba(15, 34, 56, 0.18);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #0f2238;
}

.stage-shell img {
  display: block;
  width: 100%;
  height: auto;
}

.stage-card {
  position: absolute;
  right: -8%;
  top: 12%;
  width: min(260px, 48vw);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(248, 255, 253, 0.82);
  backdrop-filter: blur(8px);
  padding: 13px;
  box-shadow: 0 14px 34px rgba(10, 43, 41, 0.24);
}

.stage-card p {
  margin: 0;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #4c6b69;
}

.stage-card h2 {
  margin-top: 6px;
  font-size: 1.08rem;
}

.stage-card ul {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  gap: 7px;
}

.stage-card li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.86rem;
}

.stage-card strong {
  color: var(--accent-strong);
}

.stage-card.compact {
  left: -6%;
  top: auto;
  bottom: 8%;
  width: min(220px, 42vw);
}

.stage-card.compact span {
  display: block;
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.ticker {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--ticker-bg);
  overflow: hidden;
}

.ticker-track {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  width: max-content;
  animation: ticker 22s linear infinite;
}

.ticker-track span {
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15, 34, 56, 0.15);
  color: #23425f;
  background: rgba(252, 252, 252, 0.86);
  font-size: 0.85rem;
  font-weight: 700;
}

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

.section {
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(20px, 4vw, 36px);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.section-head h2 {
  margin-top: 10px;
  font-size: clamp(1.7rem, 3.8vw, 2.75rem);
  max-width: 20ch;
}

.workflow-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.workflow-card {
  border: 1px solid rgba(15, 34, 56, 0.15);
  background: var(--surface-strong);
  border-radius: 16px;
  padding: 18px;
}

.workflow-card span {
  font-family: "IBM Plex Mono", monospace;
  color: var(--accent-strong);
  font-size: 0.8rem;
}

.workflow-card h3 {
  margin-top: 8px;
  font-size: 1.2rem;
}

.workflow-card p {
  margin: 8px 0 0;
  color: var(--ink-soft);
}

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

.proof-card {
  border-radius: 16px;
  border: 1px solid rgba(15, 34, 56, 0.15);
  padding: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(248, 245, 239, 0.88));
}

.proof-card h3 {
  font-size: 1.2rem;
}

.proof-card p {
  margin: 10px 0 0;
  color: var(--ink-soft);
}

.pricing-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.plan {
  position: relative;
  border-radius: 18px;
  border: 1px solid rgba(15, 34, 56, 0.16);
  padding: 20px;
  background: var(--card-bg);
  display: flex;
  flex-direction: column;
}

.plan.featured {
  border-color: rgba(14, 159, 133, 0.45);
  box-shadow: 0 20px 34px rgba(14, 159, 133, 0.18);
  transform: translateY(-4px);
}

.plan-badge {
  margin: 0;
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #f4fffc;
  background: linear-gradient(120deg, var(--accent), var(--accent-strong));
  border-radius: 999px;
  padding: 5px 9px;
}

.plan-name {
  margin: 0;
  font-size: 1.18rem;
  font-weight: 800;
}

.plan-price {
  margin: 10px 0 0;
  display: flex;
  gap: 8px;
  align-items: baseline;
}

.price {
  font-family: "Syne", sans-serif;
  font-size: 2.3rem;
  line-height: 1;
}

.plan-price span:last-child {
  color: #586f8c;
  font-weight: 600;
  font-size: 0.9rem;
}

.plan ul {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--ink-soft);
  display: grid;
  gap: 8px;
  flex: 1;
}

.plan .btn {
  margin-top: 16px;
}

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

.journal-card {
  text-decoration: none;
  color: inherit;
  border-radius: 16px;
  border: 1px solid rgba(15, 34, 56, 0.17);
  padding: 20px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.96), rgba(245, 241, 233, 0.84));
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 190px;
}

.journal-card p {
  margin: 0;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #5f738f;
  font-weight: 700;
}

.journal-card h3 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.2;
  max-width: 22ch;
}

.journal-card span {
  margin-top: auto;
  font-weight: 700;
  color: var(--accent-strong);
}

.faq-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.faq-card {
  border-radius: 16px;
  border: 1px solid rgba(15, 34, 56, 0.17);
  background: var(--card-bg);
  padding: 18px;
}

.faq-card h3 {
  font-size: 1.05rem;
  line-height: 1.28;
}

.faq-card p {
  margin: 8px 0 0;
  color: var(--ink-soft);
}

.final-cta {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  background:
    linear-gradient(130deg, rgba(14, 159, 133, 0.92), rgba(12, 96, 128, 0.9));
  color: #f2fffb;
}

.final-cta h2,
.final-cta p,
.final-cta .eyebrow {
  color: #f2fffb;
}

.final-cta .eyebrow::before {
  background: linear-gradient(90deg, #effefb, transparent);
}

.final-cta p {
  margin: 10px 0 0;
  max-width: 58ch;
}

.final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.final-cta .btn-primary {
  background: #f4fffc;
  color: #0a6656;
  box-shadow: none;
}

.final-cta .btn-secondary {
  color: #f4fffc;
  border-color: rgba(244, 255, 252, 0.4);
  background: rgba(244, 255, 252, 0.12);
}

.footer {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  background: var(--section-bg);
  display: grid;
  gap: 12px;
}

.footer p {
  margin: 7px 0 0;
  color: var(--ink-soft);
}

.footer-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-links a,
.footer a {
  color: var(--accent-strong);
  text-decoration: none;
  font-weight: 700;
}

.copyright {
  margin: 0;
  color: #5e728b;
  font-size: 0.84rem;
}

.bot-toggle {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  border: none;
  border-radius: 999px;
  padding: 13px 17px;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  color: #ecfff9;
  background: linear-gradient(135deg, #0aa88a, #1a4e75);
  box-shadow: 0 18px 38px rgba(8, 72, 75, 0.32);
}

.bot-panel {
  position: fixed;
  right: 24px;
  bottom: 82px;
  width: min(370px, calc(100% - 26px));
  max-height: min(620px, calc(100vh - 120px));
  border-radius: 16px;
  border: 1px solid rgba(15, 34, 56, 0.2);
  background: var(--panel-bg);
  box-shadow: var(--shadow-lg);
  z-index: 70;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  overflow: hidden;
}

.bot-panel header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(15, 34, 56, 0.13);
  padding: 10px 12px;
}

.bot-panel header button {
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: rgba(15, 34, 56, 0.08);
  cursor: pointer;
  color: var(--ink);
  font-weight: 700;
}

.bot-messages {
  overflow: auto;
  padding: 12px;
  display: grid;
  gap: 10px;
}

.bot-message {
  max-width: 90%;
  border-radius: 12px;
  padding: 10px;
}

.bot-message p {
  margin: 0;
  line-height: 1.35;
}

.bot-message-assistant {
  background: var(--bot-assistant-bg);
  color: var(--bot-assistant-ink);
  justify-self: start;
}

.bot-message-user {
  background: #173454;
  color: #f2f7ff;
  justify-self: end;
}

.bot-message a {
  color: inherit;
  font-weight: 800;
}

.bot-quick {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 0 12px 10px;
}

.bot-quick button {
  border: 1px solid rgba(15, 34, 56, 0.2);
  border-radius: 999px;
  padding: 8px 10px;
  font-size: 0.8rem;
  background: white;
  cursor: pointer;
  color: #27435d;
}

#botForm {
  padding: 0 12px 12px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

#botForm input {
  border-radius: 10px;
  border: 1px solid rgba(15, 34, 56, 0.22);
  padding: 10px;
  font: inherit;
}

#botForm button {
  border: none;
  border-radius: 10px;
  padding: 10px 13px;
  font-weight: 700;
  color: #f1fdfa;
  background: linear-gradient(140deg, #0d9d83, #0b4f77);
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.reveal[data-visible="1"] {
  opacity: 1;
  transform: translateY(0);
}

html[data-theme="dark"] .page-aura {
  background:
    radial-gradient(circle at 80% 20%, rgba(29, 196, 164, 0.2), transparent 42%),
    radial-gradient(circle at 20% 90%, rgba(55, 95, 148, 0.16), transparent 42%);
}

html[data-theme="dark"] .grain {
  opacity: 0.12;
}

html[data-theme="dark"] .main-nav a:hover {
  background: rgba(144, 173, 206, 0.12);
}

html[data-theme="dark"] .theme-toggle:hover {
  border-color: rgba(184, 212, 244, 0.4);
}

html[data-theme="dark"] .hero::before {
  background: radial-gradient(circle, rgba(29, 196, 164, 0.38), transparent 62%);
}

html[data-theme="dark"] .hero-metrics div {
  border-color: rgba(138, 163, 195, 0.24);
  background: rgba(17, 26, 40, 0.72);
}

html[data-theme="dark"] .hero-metrics dt {
  color: #8ea7c6;
}

html[data-theme="dark"] .stage-shell {
  border-color: rgba(126, 156, 192, 0.28);
}

html[data-theme="dark"] .stage-card {
  border-color: rgba(121, 165, 170, 0.36);
  background: rgba(12, 34, 42, 0.84);
  box-shadow: 0 14px 34px rgba(2, 10, 16, 0.5);
}

html[data-theme="dark"] .stage-card p {
  color: #8fc3c0;
}

html[data-theme="dark"] .stage-card h2 {
  color: #e5f8ff;
}

html[data-theme="dark"] .stage-card li {
  color: #d7e9ff;
}

html[data-theme="dark"] .ticker-track span {
  border-color: rgba(138, 163, 195, 0.26);
  color: #cfe2fb;
  background: rgba(18, 27, 41, 0.94);
}

html[data-theme="dark"] .workflow-card,
html[data-theme="dark"] .proof-card,
html[data-theme="dark"] .journal-card,
html[data-theme="dark"] .faq-card {
  border-color: rgba(138, 163, 195, 0.24);
}

html[data-theme="dark"] .proof-card {
  background: linear-gradient(180deg, rgba(20, 30, 46, 0.98), rgba(13, 21, 34, 0.9));
}

html[data-theme="dark"] .plan-price span:last-child,
html[data-theme="dark"] .journal-card p,
html[data-theme="dark"] .copyright {
  color: #95abc8;
}

html[data-theme="dark"] .journal-card {
  background: linear-gradient(155deg, rgba(20, 30, 46, 0.98), rgba(15, 24, 37, 0.9));
}

html[data-theme="dark"] .bot-panel header {
  border-bottom-color: rgba(138, 163, 195, 0.24);
}

html[data-theme="dark"] .bot-panel header button {
  background: rgba(138, 163, 195, 0.16);
}

html[data-theme="dark"] .bot-quick button {
  border-color: rgba(138, 163, 195, 0.28);
  background: rgba(18, 28, 44, 0.92);
  color: #d2e7ff;
}

html[data-theme="dark"] #botForm input {
  border-color: rgba(138, 163, 195, 0.32);
  color: #e6f2ff;
  background: rgba(11, 19, 31, 0.94);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .ticker-track,
  .btn-primary:hover,
  .stage-float {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    order: -1;
    min-height: 330px;
  }

  .stage-card {
    right: 0;
  }

  .stage-card.compact {
    left: 0;
  }

  .proof-grid,
  .pricing-grid,
  .journal-grid,
  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .main-nav {
    display: none;
  }

  .mini-cta {
    display: none;
  }

  .topbar-actions {
    margin-left: auto;
  }

  .theme-toggle {
    padding: 9px 11px;
    font-size: 0.8rem;
  }

  main,
  .footer,
  .topbar {
    width: calc(100% - 20px);
  }

  .hero {
    padding: 18px;
    border-radius: 22px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .workflow-grid,
  .proof-grid,
  .pricing-grid,
  .journal-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .plan.featured {
    transform: none;
  }

  .final-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .bot-toggle {
    right: 12px;
    bottom: 12px;
  }

  .bot-panel {
    right: 12px;
    bottom: 66px;
    width: calc(100% - 24px);
  }
}
