:root {
  color-scheme: light;
  --bg: #f4f4f5;
  --surface: #ffffff;
  --surface-soft: #e4e4e7;
  --surface-hover: #d4d4d8;
  --border: #e4e4e7;
  --border-hover: #a1a1aa;
  --ink: #18181b;
  --muted: #52525b;
  --text-soft: #a1a1aa;
  --cobalt: #27272a;
  --cobalt-dark: #18181b;
  --cobalt-glow: rgba(39, 39, 42, 0.12);
  --mint: #71717a;
  --button-ink: #ffffff;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --font-display: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-code: "Source Code Pro", "SFMono-Regular", Consolas, monospace;
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #09090b;
  --surface: #18181b;
  --surface-soft: #27272a;
  --surface-hover: #3f3f46;
  --border: #27272a;
  --border-hover: #52525b;
  --ink: #f4f4f5;
  --muted: #a1a1aa;
  --text-soft: #71717a;
  --cobalt: #d4d4d8;
  --cobalt-dark: #e4e4e7;
  --cobalt-glow: rgba(212, 212, 216, 0.14);
  --mint: #a1a1aa;
  --button-ink: #18181b;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.4);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  transition: background .25s ease, color .25s ease;
}
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
.site-header, main, .site-footer { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }

.site-header {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}
.brand, .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.8px;
}
.brand-mark {
  position: relative;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 9px;
  background: var(--cobalt);
  color: white;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -2px;
}
.brand-mark i { position: absolute; right: 4px; bottom: 4px; width: 6px; height: 6px; border-radius: 2px; background: #a1a1aa; }
.brand-badge, .footer-badge {
  padding: 3px 8px;
  border: 1px solid var(--cobalt);
  border-radius: 999px;
  background: var(--cobalt-glow);
  color: var(--cobalt);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .6px;
}
.main-nav { display: flex; height: 100%; align-items: center; gap: 32px; }
.nav-link { position: relative; display: grid; height: 100%; align-items: center; color: var(--muted); font-size: 13px; font-weight: 600; }
.nav-link:hover, .nav-link.active { color: var(--ink); }
.nav-link.active::after { position: absolute; right: 0; bottom: 0; left: 0; height: 2px; border-radius: 2px 2px 0 0; background: var(--cobalt); content: ""; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.theme-toggle {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
}
.theme-toggle:hover, .secondary-button:hover { border-color: var(--border-hover); background: var(--surface-soft); color: var(--ink); }
.theme-icon { font-size: 20px; }
.header-cta, .secondary-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--surface);
  font-size: 12px;
  font-weight: 700;
  transition: background .2s, border-color .2s, transform .2s;
}
.header-cta span { color: var(--cobalt); font-weight: 800; }

.hero { display: grid; min-height: 460px; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 48px; padding-block: 54px 52px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 3px rgba(113, 113, 122, .18); }
h1, h2, p { margin-top: 0; }
h1 { margin: 18px 0 16px; font-family: var(--font-display); font-size: clamp(40px, 5vw, 58px); font-weight: 800; letter-spacing: -2.7px; line-height: 1.1; }
.accent-text { position: relative; z-index: 0; color: var(--cobalt); white-space: nowrap; }
.accent-text::after { position: absolute; z-index: -1; right: -4px; bottom: 3px; left: -2px; height: 12px; transform: rotate(-1.5deg); border-radius: 4px; background: var(--cobalt-glow); content: ""; }
.hero-description { max-width: 500px; margin-bottom: 24px; color: var(--muted); font-size: 15px; line-height: 1.75; }
.hero-actions, .editor-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; }
.primary-button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 11px; padding: 11px 17px; border: 0; border-radius: 10px; background: var(--cobalt); color: var(--button-ink); font-size: 12px; font-weight: 700; cursor: pointer; box-shadow: 0 4px 14px rgba(39, 39, 42, .18); transition: background .2s, transform .2s, box-shadow .2s; }
.primary-button:hover { transform: translateY(-1px); background: var(--cobalt-dark); box-shadow: 0 7px 18px rgba(39, 39, 42, .24); }
.button-arrow { display: grid; width: 20px; height: 20px; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .24); }
.shortcut-hint { color: var(--muted); font-size: 11px; }
.privacy-note { display: flex; align-items: center; gap: 8px; margin-top: 19px; color: var(--muted); font-size: 11px; }
.privacy-note span { color: var(--mint); font-size: 16px; }

.hero-art { position: relative; display: grid; min-height: 320px; place-items: center; }
.art-glow { position: absolute; width: 270px; height: 270px; border-radius: 50%; background: radial-gradient(circle, var(--cobalt-glow), transparent 70%); }
.art-card { position: relative; width: min(100%, 390px); overflow: hidden; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); box-shadow: 0 22px 54px rgba(15, 23, 42, .12), var(--shadow-md); transform: rotate(-2deg); }
.art-card-top { display: flex; height: 42px; align-items: center; justify-content: space-between; padding-inline: 16px; border-bottom: 1px solid var(--border); color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .8px; }
.art-card-top span:first-child { display: flex; align-items: center; gap: 7px; color: var(--ink); font-size: 11px; letter-spacing: 0; }
.art-card-top i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); }
.art-card-content { min-height: 180px; padding: 25px 26px; }
.art-markdown { margin-bottom: 12px; font-family: var(--font-code); font-size: 20px; font-weight: 600; letter-spacing: -.7px; }
.art-markdown span { color: var(--cobalt); }
.art-rule { width: 100%; height: 1px; margin-bottom: 17px; background: var(--border); }
.art-card-content strong { font-family: var(--font-display); font-size: 14px; }
.art-card-content p { margin: 5px 0 15px; color: var(--muted); font-size: 11px; }
.art-tags { display: flex; gap: 7px; }
.art-tags span { padding: 4px 8px; border-radius: 5px; background: var(--surface-soft); color: var(--muted); font-family: var(--font-code); font-size: 9px; }
.art-note { position: absolute; right: 0; bottom: 20px; display: flex; align-items: center; gap: 8px; padding: 10px 13px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); box-shadow: var(--shadow-md); font-size: 10px; font-weight: 700; }
.art-note span { display: grid; width: 18px; height: 18px; place-items: center; border-radius: 50%; background: rgba(113, 113, 122, .13); color: var(--muted); }
.art-spark { position: absolute; top: 26px; right: 25px; color: var(--cobalt); font-size: 26px; }

.editor-section { padding-block: 28px 70px; }
.editor-page main { width: min(1440px, calc(100% - 48px)); }
.editor-page-shell { display: flex; min-height: calc(100vh - 80px); flex-direction: column; padding-block: 22px 28px; }
.editor-page .section-top { align-items: center; justify-content: flex-end; margin-bottom: 14px; }
.editor-page .editor-grid { min-height: max(410px, calc(100vh - 285px)); }
.editor-page .editor-pane textarea { resize: none; }
.editor-page .markdown-preview { overflow-y: auto; }
.editor-page .editor-footnote { margin-top: 12px; }
.section-top { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.section-eyebrow { margin-bottom: 7px; font-size: 9px; }
.section-top h2, .promise-heading h2 { margin-bottom: 6px; font-family: var(--font-display); font-size: clamp(23px, 3vw, 30px); font-weight: 800; letter-spacing: -1.1px; }
.section-description { margin-bottom: 0; color: var(--muted); font-size: 12px; }
.editor-actions { justify-content: flex-end; }
.download-button { min-height: 40px; padding: 8px 13px; border-radius: 9px; font-size: 11px; }
.workspace { overflow: hidden; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-md); }
.workspace-topbar { display: flex; min-height: 51px; align-items: center; justify-content: space-between; gap: 15px; padding: 8px 16px; border-bottom: 1px solid var(--border); }
.document-name-wrap { display: inline-flex; min-width: 0; align-items: center; gap: 3px; font-size: 12px; font-weight: 700; }
.document-name-wrap input { width: min(240px, 50vw); padding: 5px 4px; border: 1px solid transparent; border-radius: 5px; outline: none; background: transparent; color: var(--ink); font-size: 12px; font-weight: 700; }
.document-name-wrap input:focus { border-color: var(--border); background: var(--surface-soft); }
.file-extension { color: var(--muted); }
.save-state { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 7px; color: var(--muted); font-size: 10px; }
.save-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); }
.save-dot.is-saving { background: #a1a1aa; }
.save-dot.is-error { background: #52525b; }
.toolbar { display: flex; min-height: 45px; align-items: center; gap: 4px; padding: 5px 12px; border-bottom: 1px solid var(--border); background: var(--surface); }
.toolbar button { display: grid; width: 32px; height: 31px; place-items: center; border: 1px solid transparent; border-radius: 6px; background: transparent; color: var(--muted); font-size: 12px; cursor: pointer; }
.toolbar button:hover, .toolbar button:focus-visible { border-color: var(--border); background: var(--surface-soft); color: var(--ink); }
.toolbar-divider { width: 1px; height: 19px; margin-inline: 5px; background: var(--border); }
.editor-grid { display: grid; min-height: 410px; grid-template-columns: 1fr 1fr; }
.editor-pane, .preview-pane { display: flex; min-width: 0; flex-direction: column; }
.editor-pane { border-right: 1px solid var(--border); }
.pane-heading { display: flex; height: 40px; flex: 0 0 auto; align-items: center; justify-content: space-between; padding-inline: 18px; border-bottom: 1px solid var(--border); color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: 1.2px; }
.pane-heading span:last-child { font-size: 10px; font-weight: 500; letter-spacing: 0; }
#markdown-input { width: 100%; min-height: 369px; flex: 1; resize: vertical; padding: 20px; border: 0; outline: 0; background: var(--surface); color: var(--ink); font-family: var(--font-code); font-size: 12px; line-height: 1.8; tab-size: 2; }
#markdown-input::placeholder { color: var(--text-soft); }
.markdown-preview { min-height: 369px; padding: 20px 24px; overflow-wrap: anywhere; color: var(--ink); font-size: 13px; line-height: 1.75; }
.markdown-preview:empty::before { color: var(--text-soft); content: "Your live preview will appear here…"; }
.markdown-preview h1, .markdown-preview h2, .markdown-preview h3, .markdown-preview h4 { margin: 0 0 12px; font-family: var(--font-display); font-weight: 800; letter-spacing: -.7px; line-height: 1.3; }
.markdown-preview h1 { font-size: 26px; }
.markdown-preview h2 { margin-top: 21px; font-size: 20px; }
.markdown-preview h3 { margin-top: 17px; font-size: 16px; }
.markdown-preview h4 { margin-top: 15px; font-size: 14px; }
.markdown-preview p { margin: 0 0 13px; }
.markdown-preview a { color: var(--cobalt); text-decoration: underline; text-underline-offset: 2px; }
.markdown-preview blockquote { margin: 14px 0; padding: 2px 0 2px 13px; border-left: 3px solid var(--cobalt); color: var(--muted); }
.markdown-preview ul, .markdown-preview ol { margin: 7px 0 14px; padding-left: 24px; }
.markdown-preview li { padding-left: 3px; }
.markdown-preview li + li { margin-top: 3px; }
.markdown-preview li.task-item { list-style: none; margin-left: -21px; }
.markdown-preview input[type="checkbox"] { margin-right: 7px; accent-color: var(--cobalt); }
.markdown-preview code { padding: 2px 5px; border-radius: 4px; background: var(--surface-soft); font-family: var(--font-code); font-size: .9em; }
.markdown-preview pre { overflow: auto; margin: 12px 0 16px; padding: 14px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface-soft); }
.markdown-preview pre code { padding: 0; background: transparent; }
.markdown-preview hr { margin: 20px 0; border: 0; border-top: 1px solid var(--border); }
.markdown-preview img { max-width: 100%; }
.workspace-footer { display: flex; min-height: 36px; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 15px; border-top: 1px solid var(--border); color: var(--muted); font-size: 9px; }
kbd { padding: 2px 5px; border: 1px solid var(--border); border-radius: 4px; background: var(--surface-soft); color: var(--muted); font-family: var(--font-body); font-size: 9px; }
.editor-footnote { margin: 11px 2px 0; color: var(--muted); font-size: 10px; }

.promise-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 55px; padding-block: 48px 58px; border-top: 1px solid var(--border); }
.promise-heading { display: flex; align-items: flex-start; gap: 13px; }
.promise-spark { color: var(--cobalt); font-size: 22px; }
.promise-heading h2 { font-size: 23px; }
.promise-details > p { max-width: 600px; margin-bottom: 22px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.promise-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.promise-point { display: flex; flex-direction: column; gap: 5px; }
.point-num { color: var(--cobalt); font-family: var(--font-code); font-size: 10px; font-weight: 600; }
.point-title { font-size: 11px; font-weight: 800; }
.point-desc { color: var(--muted); font-size: 10px; line-height: 1.6; }
.how-link { width: fit-content; margin-top: 22px; color: var(--ink); }
.how-link span { color: var(--cobalt); }
.creator-section {
  padding: 44px 0 64px;
  border-top: 1px solid var(--border);
  scroll-margin-top: 24px;
}

.bedanta-window {
  position: relative;
  border-radius: 22px;
  background-color: #121210;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: clamp(36px, 5.5vw, 68px);
  overflow: hidden;
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.55);
}

.bedanta-window-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 0.65fr);
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.bedanta-text-col {
  min-width: 0;
}

.bedanta-kicker {
  font-family: "NDot", "DM Sans", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #89b4fa;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
}

.bedanta-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1e66f5;
  box-shadow: 0 0 0 3px rgba(30, 102, 245, 0.28);
}

.bedanta-title {
  margin: 0;
  font-family: "NDot", sans-serif;
  font-size: clamp(3.2rem, 7vw, 5.6rem);
  line-height: 0.82;
  letter-spacing: -0.06em;
  font-weight: 400;
  color: #f4f4f0;
}

.bedanta-accent-dot {
  color: #89b4fa;
}

.bedanta-sub {
  margin: 28px 0 0;
  font-family: var(--font-body);
  font-size: clamp(15px, 1.8vw, 18px);
  color: #a2a29b;
  min-height: 26px;
  transition: opacity 0.35s ease;
}

.bedanta-sub.text-change {
  animation: bedanta-sub-fade 0.4s ease;
}

@keyframes bedanta-sub-fade {
  0% { opacity: 0; transform: translateY(4px); }
  100% { opacity: 1; transform: translateY(0); }
}

.bedanta-link {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  margin-top: 36px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(244, 244, 240, 0.6);
  font-family: "NDot", monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: #f4f4f0;
  text-decoration: none;
  transition: color 0.3s, border-color 0.3s, gap 0.3s;
}

.bedanta-link span {
  color: #89b4fa;
  font-size: 14px;
  transition: transform 0.3s;
}

.bedanta-link:hover {
  border-color: #89b4fa;
  color: #89b4fa;
  gap: 32px;
}

.bedanta-link:hover span {
  transform: translate(3px, 3px);
}

.bedanta-graphic {
  position: relative;
  display: grid;
  place-items: center;
  justify-self: center;
}

.bedanta-halo {
  width: clamp(200px, 26vw, 300px);
  aspect-ratio: 1;
  border: 1px solid rgba(137, 180, 250, 0.24);
  border-radius: 50%;
  background: repeating-conic-gradient(from 8deg, transparent 0deg 29.7deg, rgba(137, 180, 250, 0.24) 30deg 30.1deg);
  display: grid;
  place-items: center;
  animation: halo-spin 120s linear infinite;
  pointer-events: none;
}

@keyframes halo-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.bedanta-avatar-box {
  width: clamp(120px, 16vw, 175px);
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle, #191917 0 48%, transparent 48.4%),
    radial-gradient(circle, #353530 0 60%, transparent 60.4%);
  position: absolute;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.bedanta-avatar-box img {
  width: 68%;
  height: 68%;
  object-fit: cover;
  border-radius: 50%;
  image-rendering: pixelated;
  filter: contrast(1.05);
}

@font-face {
  font-family: "NDot";
  src: url("../../pixelplane/fonts/ndot.otf") format("opentype");
  font-display: swap;
}

.content-page { max-width: 920px; padding-block: 55px 75px; }
.page-header { margin-bottom: 34px; }
.page-title { max-width: 800px; margin: 16px 0; font-family: var(--font-display); font-size: clamp(34px, 4.5vw, 48px); font-weight: 800; letter-spacing: -2px; line-height: 1.15; }
.page-subtitle { max-width: 720px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.content-card { margin-bottom: 22px; padding: clamp(22px, 4vw, 34px); border: 1px solid var(--border); border-radius: 15px; background: var(--surface); box-shadow: var(--shadow-sm); }
.content-card h2 { margin-bottom: 12px; font-family: var(--font-display); font-size: 21px; letter-spacing: -.6px; }
.content-card h3 { font-family: var(--font-display); }
.content-card p, .content-card li { color: var(--muted); font-size: 13px; line-height: 1.75; }
.content-card p:last-child { margin-bottom: 0; }
.content-card ul { padding-left: 22px; }
.content-card code { padding: 2px 5px; border-radius: 4px; background: var(--surface-soft); font-family: var(--font-code); font-size: .92em; }
.feature-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
.feature-box { padding: 18px; border: 1px solid var(--border); border-radius: 11px; background: var(--surface-soft); }
.feature-box-icon { display: inline-block; margin-bottom: 7px; font-size: 21px; }
.feature-box h3 { margin: 0 0 6px; font-size: 14px; }
.feature-box p { margin: 0; font-size: 12px; }
.pipeline-list { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.pipeline-step { display: flex; align-items: flex-start; gap: 16px; padding: 17px; border: 1px solid var(--border); border-radius: 11px; background: var(--surface-soft); }
.step-badge { display: grid; width: 38px; height: 38px; flex: 0 0 38px; place-items: center; border-radius: 10px; background: var(--cobalt); color: white; font-family: var(--font-display); font-size: 13px; font-weight: 800; }
.step-body { min-width: 0; }
.step-body h3 { margin: 0 0 5px; font-size: 14px; }
.step-body p { margin: 0; font-size: 12px; }
.step-code { display: inline-block; max-width: 100%; margin-top: 7px; padding: 3px 7px; overflow-wrap: anywhere; border: 1px solid var(--border); border-radius: 5px; background: var(--surface); color: var(--cobalt); font-family: var(--font-code); font-size: 10px; }
.faq-grid { display: grid; gap: 10px; margin-top: 16px; }
.faq-item { padding: 15px 17px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface-soft); }
.faq-q { display: flex; align-items: center; gap: 9px; margin-bottom: 6px; font-family: var(--font-display); font-size: 13px; font-weight: 800; }
.faq-q-icon { color: var(--cobalt); }
.faq-a { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.cta-banner { margin-top: 32px; padding: clamp(24px, 5vw, 40px); border: 1px solid var(--border); border-radius: 16px; background: linear-gradient(135deg, rgba(37,99,235,.08), rgba(16,185,129,.08)); text-align: center; }
.cta-banner h2 { margin-bottom: 8px; font-family: var(--font-display); font-size: clamp(21px, 4vw, 27px); letter-spacing: -.8px; }
.cta-banner p { max-width: 520px; margin: 0 auto 18px; color: var(--muted); font-size: 13px; }
.site-footer { display: flex; min-height: 82px; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 15px; border-top: 1px solid var(--border); color: var(--muted); font-size: 10px; }
.footer-brand { color: var(--ink); font-size: 15px; }
.footer-brand .brand-mark { width: 26px; height: 26px; border-radius: 7px; font-size: 17px; }
.footer-brand .brand-mark i { width: 5px; height: 5px; }
.footer-links { display: flex; gap: 18px; }
.footer-links a:hover { color: var(--cobalt); }
.footer-badge { padding: 2px 6px; font-size: 8px; letter-spacing: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 900px) {
  .site-header, main, .site-footer { width: min(100% - 36px, 760px); }
  .main-nav { gap: 18px; }
  .hero { grid-template-columns: 1fr .8fr; gap: 25px; }
  .section-top { align-items: flex-start; flex-direction: column; }
  .editor-actions { justify-content: flex-start; }
  .promise-section { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 680px) {
  .site-header, main, .site-footer { width: calc(100% - 32px); }
  .site-header { height: 68px; }
  .brand { gap: 7px; font-size: 18px; }
  .brand-mark { width: 29px; height: 29px; }
  .brand-badge { display: none; }
  .main-nav { display: none; }
  .header-actions { gap: 8px; }
  .theme-toggle { width: 37px; height: 37px; }
  .header-cta { min-height: 37px; padding-inline: 10px; font-size: 11px; }
  .hero { min-height: 0; grid-template-columns: 1fr; gap: 4px; padding-block: 45px 28px; }
  h1 { font-size: clamp(38px, 11vw, 52px); letter-spacing: -2.2px; }
  .hero-description { font-size: 14px; }
  .hero-art { min-height: 270px; }
  .art-card { width: min(92%, 390px); }
  .art-note { right: 1%; bottom: 3px; }
  .art-spark { top: 6px; right: 3%; }
  .editor-section { padding-block: 18px 47px; }
  .editor-page main { width: calc(100% - 32px); }
  .editor-page-shell { min-height: calc(100vh - 68px); padding-block: 18px 32px; }
  .editor-page .section-top { gap: 16px; }
  .editor-page .editor-grid { min-height: auto; }
  .section-top h2 { font-size: 25px; }
  .editor-actions { width: 100%; gap: 7px; }
  .editor-actions .secondary-button, .editor-actions .primary-button { flex: 1; padding-inline: 8px; font-size: 10px; white-space: nowrap; }
  .workspace-topbar { min-height: 46px; padding-inline: 10px; }
  .save-state { font-size: 9px; }
  .toolbar { gap: 1px; padding-inline: 7px; }
  .toolbar button { width: 30px; }
  .toolbar-divider { margin-inline: 3px; }
  .editor-grid { min-height: auto; grid-template-columns: 1fr; }
  .editor-pane { border-right: 0; border-bottom: 1px solid var(--border); }
  #markdown-input { min-height: 280px; padding: 16px; font-size: 11px; }
  .markdown-preview { min-height: 230px; padding: 16px; font-size: 12px; }
  .workspace-footer { align-items: flex-start; flex-direction: column; gap: 5px; padding: 8px 11px; }
  .promise-section { padding-block: 34px 38px; }
  .promise-points { grid-template-columns: 1fr; gap: 15px; }
  .creator-section { padding-block: 0 38px; }
  .bedanta-window { padding: 36px 24px 32px; }
  .bedanta-window-content { grid-template-columns: 1fr; gap: 32px; }
  .bedanta-graphic { justify-self: center; order: -1; }
  .bedanta-halo { width: 170px; }
  .bedanta-avatar-box { width: 105px; }
  .content-page { padding-block: 38px 48px; }
  .page-header { margin-bottom: 24px; }
  .page-title { font-size: clamp(32px, 9vw, 42px); letter-spacing: -1.5px; }
  .feature-grid-2 { grid-template-columns: 1fr; }
  .pipeline-step { flex-direction: column; gap: 11px; }
  .content-card { padding: 21px; }
  .footer-links { flex-wrap: wrap; gap: 10px 15px; }
  .site-footer { justify-content: flex-start; padding-block: 18px; }
  .site-footer > span:last-child { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
