:root {
  --bg: #080a12;
  --surface: #111521;
  --surface-2: #171c2a;
  --line: #30384d;
  --cyan: #24def2;
  --pink: #ef2aa8;
  --green: #83e66c;
  --yellow: #f3d35b;
  --text: #f6f8ff;
  --muted: #a5aec4;
  --black: #030409;
  --radius: 6px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: dark; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, textarea:focus-visible, [contenteditable="true"]:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.site-header, .area-header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 12px clamp(20px, 5vw, 78px);
  border-bottom: 1px solid var(--line);
  background: var(--black);
}

.brand, .area-brand { display: block; width: 174px; }
.brand img, .area-brand img { width: 100%; height: auto; }
.site-header nav, .area-header nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font: 700 12px/1.2 "Courier New", monospace;
  text-transform: uppercase;
}
.site-header nav a:hover, .area-header nav a:hover, nav a[aria-current="page"] { color: var(--cyan); }
.nav-cta {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid var(--pink);
  border-radius: var(--radius);
  color: var(--text);
}
.menu-toggle { display: none; }

.singularity-console {
  position: relative;
  width: 100%;
  margin: 0;
  overflow: hidden;
  border-top: 1px solid #173d49;
  background: #05070d;
  box-shadow: inset 0 -30px 80px rgba(239, 42, 168, .025);
}
.singularity-console::before,
.singularity-console::after {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  content: "";
  pointer-events: none;
}
.singularity-console::before { top: 34%; background: rgba(36, 222, 242, .07); }
.singularity-console::after { top: 68%; background: rgba(239, 42, 168, .06); }
.singularity-console-inner {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0 16px;
}
.singularity-console-head,
.singularity-console-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.singularity-console-head { padding-bottom: 12px; }
.singularity-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--cyan);
  font: 700 10px/1.3 "Courier New", monospace;
  text-transform: uppercase;
}
.singularity-kicker span {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(131, 230, 108, .8);
  animation: singularity-pulse 2.4s steps(2, end) infinite;
}
.singularity-eta {
  flex: 0 0 auto;
  margin: 0;
  color: #6e788d;
  font: 700 9px/1.3 "Courier New", monospace;
  text-transform: uppercase;
}
.singularity-eta time { color: var(--pink); }
.singularity-display {
  position: relative;
  padding: 18px 0 16px;
  border-top: 1px solid #202736;
  border-bottom: 1px solid #202736;
}
.singularity-title-line {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
  margin-bottom: 6px;
}
.singularity-title-line > span {
  color: var(--text);
  font: 700 13px/1.2 "Courier New", monospace;
}
.singularity-console h2 {
  color: var(--text);
  font: 700 13px/1.2 "Courier New", monospace;
  text-transform: uppercase;
}
.singularity-countdown {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 76px;
  padding: 4px 0 0;
}
.singularity-unit { display: inline-flex; align-items: baseline; }
.singularity-countdown strong {
  display: inline-block;
  min-width: 1.9ch;
  color: var(--cyan);
  font: 500 62px/.95 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-variant-numeric: tabular-nums;
  text-align: right;
  text-shadow: 0 0 9px rgba(36, 222, 242, .38), 0 0 32px rgba(36, 222, 242, .12);
}
.singularity-countdown .singularity-unit:nth-of-type(2) strong { min-width: 2.9ch; }
.singularity-countdown small {
  margin-left: 5px;
  color: #818ba0;
  font: 700 11px/1 "Courier New", monospace;
  text-transform: uppercase;
}
.singularity-countdown i {
  color: #8f9bb2;
  font: 500 36px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-style: normal;
}
.singularity-countdown .singularity-seconds strong {
  color: var(--pink);
  text-shadow: 0 0 9px rgba(239, 42, 168, .48), 0 0 32px rgba(239, 42, 168, .14);
}
.singularity-countdown .singularity-seconds.is-ticking strong {
  animation: singularity-tick 180ms ease-out;
}
.singularity-trajectory {
  position: relative;
  width: min(920px, 88%);
  height: 27px;
  margin: 2px auto 0;
}
.singularity-rail {
  position: absolute;
  top: 5px;
  left: 0;
  right: 0;
  height: 1px;
  overflow: hidden;
  background: #2a3343;
}
.singularity-rail::after {
  position: absolute;
  top: -3px;
  right: 0;
  width: 7px;
  height: 7px;
  border: 1px solid var(--pink);
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(239, 42, 168, .72);
  content: "";
}
.singularity-rail span {
  position: absolute;
  top: -2px;
  left: -9%;
  width: 9%;
  height: 5px;
  background: var(--cyan);
  box-shadow: 0 0 14px rgba(36, 222, 242, .8);
  animation: singularity-approach 2.8s linear infinite;
}
.singularity-trajectory small {
  position: absolute;
  bottom: 0;
  color: #596276;
  font: 700 8px/1 "Courier New", monospace;
  text-transform: uppercase;
}
.singularity-trajectory > small:nth-of-type(1) { left: 0; }
.singularity-trajectory > small:nth-of-type(2) { right: 0; color: #9e476f; }
.singularity-console-foot {
  padding-top: 12px;
  color: #697388;
  font: 700 8px/1.4 "Courier New", monospace;
  text-transform: uppercase;
}
.singularity-console-foot p { margin: 0; }
.singularity-console-foot p:last-child { text-align: right; }
.singularity-console.has-data-error .singularity-countdown strong { color: #697389; text-shadow: none; }

@keyframes singularity-pulse {
  50% { opacity: .42; }
}
@keyframes singularity-tick {
  0% { opacity: .25; transform: translateY(-2px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes singularity-approach {
  from { left: -9%; }
  to { left: 100%; }
}

.hero {
  width: min(1320px, calc(100% - 40px));
  min-height: 520px;
  margin: 0 auto;
  padding: clamp(58px, 8vw, 112px) 0 70px;
  display: flex;
  align-items: center;
}
.hero-copy { max-width: 680px; }
.eyebrow {
  margin: 0 0 16px;
  color: var(--cyan);
  font: 700 12px/1.3 "Courier New", monospace;
  text-transform: uppercase;
}
h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2, h3 { margin: 0; letter-spacing: 0; }
.hero h1, .project-placeholder h1, .status-box h1, .formatter-title h1, .legal-hero h1 {
  font-size: clamp(48px, 7vw, 92px);
  line-height: .98;
}
.intro {
  max-width: 650px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 10px 16px;
  cursor: pointer;
  font-weight: 800;
}
.button.primary { background: var(--cyan); color: #051014; }
.button.primary:hover { background: var(--green); }
.button.ghost { border-color: var(--line); background: var(--surface); color: var(--text); }
.button.ghost:hover { border-color: var(--pink); }
.session-note { margin: 14px 0 0; color: #747e96; font: 11px/1.4 "Courier New", monospace; }

.project-section { padding: 92px max(20px, calc((100vw - 1320px) / 2)); background: #0d1019; }
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 440px);
  gap: 48px;
  align-items: end;
  margin-bottom: 42px;
}
.section-heading .eyebrow { grid-column: 1 / -1; margin-bottom: -28px; }
.section-heading h2 { font-size: clamp(38px, 5vw, 66px); line-height: 1.03; }
.section-heading > p:last-child { margin: 0; color: var(--muted); }
.project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: var(--line);
  gap: 1px;
}
.project-card {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  background: var(--surface);
}
.project-card.public-project { background: #131927; }
.project-meta { display: flex; justify-content: space-between; color: var(--cyan); font: 700 11px/1 "Courier New", monospace; }
.project-meta strong { color: var(--pink); text-transform: uppercase; }
.public-project .project-meta strong { color: var(--green); }
.project-card h3 { margin-top: 54px; font-size: clamp(25px, 3vw, 34px); line-height: 1.08; }
.project-card p { margin: 16px 0 28px; color: var(--muted); }
.project-card > a {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--cyan);
  font-weight: 800;
}
.project-card > a:hover { color: var(--pink); }
.site-footer {
  padding: 50px max(20px, calc((100vw - 1320px) / 2));
  display: grid;
  grid-template-columns: 2fr 1fr 1fr auto;
  gap: 44px;
  background: #080a12;
  color: var(--muted);
  font-size: 12px;
}
.footer-brand img { width: 150px; background: var(--black); }
.footer-brand p { margin: 12px 0 0; }
.site-footer > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 8px; }
.site-footer strong { margin-bottom: 4px; color: var(--text); text-transform: uppercase; }
.site-footer a:hover, .compact-footer a:hover { color: var(--cyan); }
.copyright { margin: 0; }

.area-header { min-height: 76px; padding-block: 8px; }
.area-brand { width: 145px; }
.project-placeholder, .status-box {
  width: min(900px, calc(100% - 40px));
  min-height: calc(100vh - 76px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 70px 0;
}
.project-placeholder p:not(.eyebrow), .status-box p:not(.eyebrow) { max-width: 660px; margin: 28px 0; color: var(--muted); font-size: 18px; }
.build-status { width: fit-content; padding: 9px 12px; border: 1px solid var(--green); color: var(--green); font: 700 11px/1 "Courier New", monospace; }
.status-page { display: grid; place-items: center; }
.status-box { min-height: 100vh; }

.formatter-shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 58px 0 80px; }
.formatter-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 410px);
  gap: 50px;
  align-items: end;
  margin-bottom: 36px;
}
.formatter-title h1 { font-size: clamp(42px, 6vw, 72px); }
.tool-subtitle { margin: 8px 0 0; color: var(--cyan); font-size: 17px; font-weight: 750; }
.formatter-title > p { margin: 0; color: var(--muted); }
.formatter-input { border: 1px solid var(--line); background: var(--surface); }
.formatter-panel-head, .format-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--cyan);
  font: 700 11px/1.2 "Courier New", monospace;
  text-transform: uppercase;
}
#formatter-status { color: var(--green); }
#formatter-input {
  width: 100%;
  min-height: 132px;
  display: block;
  resize: vertical;
  border: 0;
  padding: 18px;
  background: #0b0e17;
  color: var(--text);
  font-size: 17px;
  line-height: 1.55;
}
.formatter-actions { display: flex; justify-content: flex-end; gap: 8px; padding: 10px; border-top: 1px solid var(--line); }
.formatter-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.format-card { min-width: 0; border: 1px solid var(--line); background: var(--surface); }
.format-card-head button {
  border: 1px solid #4a536b;
  border-radius: 4px;
  padding: 6px 9px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font: 700 10px/1 "Courier New", monospace;
  text-transform: uppercase;
}
.format-card-head button:hover { border-color: var(--pink); color: var(--pink); }
.format-card-head button:disabled { cursor: default; opacity: .35; }
.format-card pre {
  min-height: 108px;
  margin: 0;
  padding: 16px;
  overflow: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #dfe4f2;
  font: 15px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.compact-footer { display: flex; justify-content: center; flex-wrap: wrap; gap: 22px; padding: 26px 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.trademark-note { flex-basis: 100%; max-width: 820px; margin: 0 auto; text-align: center; line-height: 1.6; }

.post-editor-shell {
  width: min(1320px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0 72px;
}
.post-editor-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 430px);
  gap: 48px;
  align-items: end;
  margin-bottom: 30px;
}
.post-editor-title h1 {
  max-width: 820px;
  font-size: 58px;
  line-height: 1;
}
.post-editor-title > p { margin: 0; color: var(--muted); }
.editor-mobile-switch { display: none; }
.post-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, .75fr);
  gap: 14px;
  align-items: start;
}
.editor-pane, .preview-pane {
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--surface);
}
.editor-toolbar {
  min-height: 54px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px 12px;
  padding: 8px;
  border-bottom: 1px solid var(--line);
  background: #0d111b;
}
.tool-group { display: flex; align-items: center; gap: 4px; padding-right: 12px; border-right: 1px solid var(--line); }
.tool-group:last-child { padding-right: 0; border-right: 0; }
.editor-toolbar button {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-weight: 800;
}
.editor-toolbar button:hover { border-color: var(--line); background: var(--surface-2); color: var(--cyan); }
.editor-toolbar code { color: inherit; font-size: 12px; }
.tool-group-wide button { width: auto; padding-inline: 9px; color: var(--muted); font: 700 10px/1 "Courier New", monospace; text-transform: uppercase; }
.post-editor {
  min-height: 390px;
  max-height: 62vh;
  padding: 26px;
  overflow: auto;
  background: #090c14;
  color: #edf0f9;
  font-size: 17px;
  line-height: 1.65;
  caret-color: var(--cyan);
}
.post-editor:empty::before { color: #667087; content: attr(data-placeholder); pointer-events: none; }
.post-editor p { margin: 0 0 1em; }
.post-editor p:last-child { margin-bottom: 0; }
.post-editor strong, .post-editor [data-style="bold"] { font-weight: 850; }
.post-editor em, .post-editor [data-style="italic"] { font-style: italic; }
.post-editor [data-style="bold-italic"] { font-style: italic; font-weight: 850; }
.post-editor code, .post-editor [data-style="monospace"] { color: var(--yellow); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.post-editor ul, .post-editor ol { margin: .75em 0 1em; padding-left: 1.5em; }
.post-editor blockquote { margin: 1em 0; padding-left: 16px; border-left: 3px solid var(--pink); color: #cbd2e3; }
.editor-progress { height: 3px; background: #202638; }
.editor-progress span { width: 0; height: 100%; display: block; background: var(--green); transition: width 160ms ease; }
.editor-progress span.warning { background: var(--yellow); }
.editor-progress span.overflow { background: var(--pink); }
.editor-metrics {
  min-height: 42px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px 16px;
  padding: 9px 13px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font: 700 10px/1.3 "Courier New", monospace;
  text-transform: uppercase;
}
.editor-metrics strong { color: var(--cyan); }
.editor-metrics.overflow strong, .editor-metrics.overflow #remaining-count { color: var(--pink); }
.editor-actions { min-height: 62px; display: flex; justify-content: flex-end; align-items: center; gap: 8px; padding: 9px; }
.editor-actions button:disabled { cursor: default; opacity: .4; }
.preview-pane { padding-bottom: 16px; }
.preview-pane-head {
  min-height: 55px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
}
.panel-kicker { display: block; margin-bottom: 3px; color: var(--pink); font: 700 9px/1 "Courier New", monospace; text-transform: uppercase; }
.preview-pane h2 { font-size: 17px; line-height: 1.2; }
.preview-size-switch, .editor-mobile-switch {
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #090c14;
}
.preview-size-switch button, .editor-mobile-switch button {
  min-height: 28px;
  border: 0;
  border-radius: 3px;
  padding: 5px 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: 700 9px/1 "Courier New", monospace;
  text-transform: uppercase;
}
.preview-size-switch button.active, .editor-mobile-switch button.active { background: var(--cyan); color: #051014; }
.linkedin-preview {
  width: calc(100% - 24px);
  min-height: 360px;
  margin: 12px auto;
  display: flex;
  flex-direction: column;
  border: 1px solid #343b4d;
  border-radius: 6px;
  background: #f4f2ee;
  color: #191919;
  transition: width 180ms ease;
}
.linkedin-preview.mobile-preview { width: min(340px, calc(100% - 24px)); }
.linkedin-author { display: flex; align-items: center; gap: 9px; padding: 13px 14px 5px; }
.linkedin-avatar { width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: #17202f; color: #24def2; font: 850 17px/1 "Courier New", monospace; }
.linkedin-author > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.linkedin-author strong { font-size: 13px; }
.linkedin-author small { color: #666; font-size: 10px; }
.post-preview-output {
  min-height: 240px;
  padding: 9px 14px 18px;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 1.45;
}
.preview-empty { color: #777; }
.post-overflow { border-radius: 2px; background: #ffd7e9; color: #9f064f; }
.linkedin-reactions { margin-top: auto; display: flex; justify-content: space-around; gap: 8px; padding: 11px 8px; border-top: 1px solid #d7d7d7; color: #555; font-size: 10px; font-weight: 700; }
.preview-analysis { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 12px; border: 1px solid var(--line); background: #0b0e17; }
.preview-analysis > div { min-width: 0; padding: 9px; border-right: 1px solid var(--line); }
.preview-analysis > div:last-child { border-right: 0; }
.preview-analysis span, .preview-analysis strong { display: block; }
.preview-analysis span { color: var(--muted); font: 700 8px/1.2 "Courier New", monospace; text-transform: uppercase; }
.preview-analysis strong { margin-top: 5px; color: var(--green); font: 800 15px/1 "Courier New", monospace; }
.editor-note { margin: 14px 14px 0; color: #7f899f; font-size: 11px; line-height: 1.45; }
.editor-status { min-height: 20px; margin: 10px 0 0; color: var(--green); font: 700 10px/1.4 "Courier New", monospace; text-align: right; text-transform: uppercase; }

.legal-shell { width: min(1000px, calc(100% - 40px)); margin: 0 auto; padding: 60px 0 90px; }
.legal-hero { padding-bottom: 38px; border-bottom: 1px solid var(--line); }
.legal-hero h1 { font-size: clamp(48px, 7vw, 82px); }
.legal-hero .version { margin: 18px 0 0; color: var(--muted); font: 11px/1.3 "Courier New", monospace; }
.legal-document { max-width: 820px; }
.legal-document section { padding: 34px 0; border-bottom: 1px solid var(--line); }
.legal-document h2 { margin-bottom: 14px; font-size: 24px; }
.legal-document p, .legal-document li, .legal-document address { color: var(--muted); }
.legal-document a { color: var(--cyan); }
.legal-document address { font-style: normal; }
.legal-document code { color: var(--yellow); }
.legal-document li + li { margin-top: 8px; }

@media (max-width: 900px) {
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-card { min-height: 260px; }
  .section-heading, .formatter-title, .post-editor-title { grid-template-columns: 1fr; gap: 18px; }
  .section-heading .eyebrow { margin-bottom: 0; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .copyright { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .post-editor-title h1 { font-size: 46px; }
  .editor-mobile-switch { width: fit-content; display: flex; margin: 0 0 10px auto; }
  .post-workspace { display: block; }
  .post-workspace.show-editor [data-workspace-panel="preview"],
  .post-workspace.show-preview [data-workspace-panel="editor"] { display: none; }
  .post-editor { max-height: none; }
}

@media (max-width: 640px) {
  .site-header { min-height: 76px; padding-inline: 16px; }
  .brand { width: 145px; }
  .menu-toggle { display: flex; flex-direction: column; gap: 6px; border: 0; padding: 10px; background: transparent; }
  .menu-toggle span { width: 24px; height: 2px; background: var(--cyan); }
  .site-header nav {
    display: none;
    position: absolute;
    z-index: 5;
    top: 75px;
    left: 12px;
    right: 12px;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    background: var(--surface);
    flex-direction: column;
  }
  .site-header nav.open { display: flex; }
  .singularity-console-inner { width: calc(100% - 24px); padding-block: 14px; }
  .singularity-console-head { align-items: flex-start; flex-direction: column; gap: 6px; padding-bottom: 10px; }
  .singularity-display { padding-block: 14px 12px; }
  .singularity-title-line { justify-content: flex-start; margin-bottom: 9px; }
  .singularity-console h2 { font-size: 11px; }
  .singularity-countdown {
    justify-content: flex-start;
    gap: 4px;
    min-height: 47px;
    padding: 0;
  }
  .singularity-countdown strong { font-size: 30px; }
  .singularity-countdown small { margin-left: 2px; font-size: 8px; }
  .singularity-countdown i { font-size: 18px; }
  .singularity-trajectory { width: 100%; margin-top: 7px; }
  .singularity-console-foot { align-items: flex-start; flex-direction: column; gap: 4px; padding-top: 10px; }
  .singularity-console-foot p:last-child { text-align: left; }
  .hero { width: min(100% - 32px, 1320px); min-height: auto; padding: 58px 0 70px; }
  .hero h1 { font-size: 48px; }
  .project-section { padding-block: 70px; }
  .area-header { align-items: flex-start; flex-direction: column; }
  .area-header nav { width: 100%; gap: 14px; overflow-x: auto; padding-bottom: 6px; }
  .formatter-results { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: 1fr; }
  .formatter-actions { align-items: stretch; flex-direction: column-reverse; }
  .formatter-actions .button { width: 100%; }
  .post-editor-shell { width: min(100% - 24px, 1320px); padding-top: 34px; }
  .post-editor-title h1 { font-size: 39px; }
  .editor-toolbar { gap: 6px; }
  .tool-group { padding-right: 6px; }
  .tool-group-wide { width: 100%; padding-top: 6px; border-top: 1px solid var(--line); border-right: 0; }
  .post-editor { min-height: 340px; padding: 18px; font-size: 16px; }
  .editor-actions { align-items: stretch; flex-direction: column-reverse; }
  .editor-actions .button { width: 100%; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-brand, .copyright { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .singularity-kicker span { animation: none; }
  .singularity-rail span { display: none; }
  .singularity-seconds.is-ticking strong { animation: none; }
}
