:root {
  color-scheme: light;
  --bg: #fbfcf7;
  --surface: #ffffff;
  --surface-soft: #f6faf6;
  --surface-muted: #eef5ef;
  --surface-warm: #f7f0e6;
  --text: #172126;
  --text-muted: #5d6c71;
  --text-subtle: #334147;
  --border: #dbe4de;
  --inverse-bg: #172126;
  --inverse-text: #ffffff;
  --inverse-muted: #c8dad6;
  --topbar-bg: rgba(251, 252, 247, 0.92);
  --hero-overlay: linear-gradient(90deg, rgba(251, 252, 247, 0.95) 0%, rgba(251, 252, 247, 0.82) 42%, rgba(251, 252, 247, 0.08) 100%),
    linear-gradient(0deg, rgba(23, 33, 38, 0.22), rgba(23, 33, 38, 0));
  --public-hero-overlay: linear-gradient(90deg, rgba(251, 252, 247, 0.98) 0%, rgba(251, 252, 247, 0.86) 45%, rgba(251, 252, 247, 0.12) 100%),
    linear-gradient(0deg, rgba(23, 33, 38, 0.24), rgba(23, 33, 38, 0));
  --compact-hero-overlay: linear-gradient(90deg, rgba(251, 252, 247, 0.97), rgba(251, 252, 247, 0.72));
  --login-overlay: linear-gradient(90deg, rgba(251, 252, 247, 0.97), rgba(251, 252, 247, 0.7));
  --translucent-surface: rgba(255, 255, 255, 0.72);
  --panel-overlay: rgba(255, 255, 255, 0.94);
  --code-bg: #172126;
  --code-text: #f7fbf8;
  --ink: var(--text);
  --muted: var(--text-muted);
  --paper: var(--bg);
  --white: var(--surface);
  --line: var(--border);
  --teal: #1f8a84;
  --teal-dark: #16615d;
  --coral: #e3664f;
  --gold: #d4a82f;
  --moss: #61734a;
  --shadow: 0 18px 50px rgba(23, 33, 38, 0.12);
  --radius: 8px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --bg: #0d1416;
    --surface: #142022;
    --surface-soft: #18282a;
    --surface-muted: #102224;
    --surface-warm: #241f19;
    --text: #eef6f4;
    --text-muted: #a8bbb7;
    --text-subtle: #d4e3df;
    --border: #2b3d40;
    --inverse-bg: #071013;
    --inverse-text: #f7fbf8;
    --inverse-muted: #9bb5af;
    --topbar-bg: rgba(13, 20, 22, 0.9);
    --hero-overlay: linear-gradient(90deg, rgba(13, 20, 22, 0.96) 0%, rgba(13, 20, 22, 0.82) 44%, rgba(13, 20, 22, 0.26) 100%),
      linear-gradient(0deg, rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0));
    --public-hero-overlay: linear-gradient(90deg, rgba(13, 20, 22, 0.98) 0%, rgba(13, 20, 22, 0.86) 45%, rgba(13, 20, 22, 0.22) 100%),
      linear-gradient(0deg, rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0));
    --compact-hero-overlay: linear-gradient(90deg, rgba(13, 20, 22, 0.97), rgba(13, 20, 22, 0.72));
    --login-overlay: linear-gradient(90deg, rgba(13, 20, 22, 0.97), rgba(13, 20, 22, 0.72));
    --translucent-surface: rgba(20, 32, 34, 0.78);
    --panel-overlay: rgba(20, 32, 34, 0.94);
    --code-bg: #071013;
    --code-text: #f7fbf8;
    --teal: #36c4ba;
    --teal-dark: #76d8d1;
    --coral: #ff8b75;
    --gold: #e7c85b;
    --moss: #9bb879;
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.3);
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0d1416;
  --surface: #142022;
  --surface-soft: #18282a;
  --surface-muted: #102224;
  --surface-warm: #241f19;
  --text: #eef6f4;
  --text-muted: #a8bbb7;
  --text-subtle: #d4e3df;
  --border: #2b3d40;
  --inverse-bg: #071013;
  --inverse-text: #f7fbf8;
  --inverse-muted: #9bb5af;
  --topbar-bg: rgba(13, 20, 22, 0.9);
  --hero-overlay: linear-gradient(90deg, rgba(13, 20, 22, 0.96) 0%, rgba(13, 20, 22, 0.82) 44%, rgba(13, 20, 22, 0.26) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0));
  --public-hero-overlay: linear-gradient(90deg, rgba(13, 20, 22, 0.98) 0%, rgba(13, 20, 22, 0.86) 45%, rgba(13, 20, 22, 0.22) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0));
  --compact-hero-overlay: linear-gradient(90deg, rgba(13, 20, 22, 0.97), rgba(13, 20, 22, 0.72));
  --login-overlay: linear-gradient(90deg, rgba(13, 20, 22, 0.97), rgba(13, 20, 22, 0.72));
  --translucent-surface: rgba(20, 32, 34, 0.78);
  --panel-overlay: rgba(20, 32, 34, 0.94);
  --code-bg: #071013;
  --code-text: #f7fbf8;
  --teal: #36c4ba;
  --teal-dark: #76d8d1;
  --coral: #ff8b75;
  --gold: #e7c85b;
  --moss: #9bb879;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.3);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

button,
select,
textarea {
  font: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 52px);
  background: var(--topbar-bg);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--white);
  background: var(--teal);
  border-radius: 6px;
  font-size: 0.76rem;
}

.topnav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 30px);
  color: var(--muted);
  font-size: 0.94rem;
}

.topnav a {
  text-decoration: none;
}

.topnav a:hover {
  color: var(--ink);
}

.theme-toggle {
  min-width: 58px;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--ink);
  background: var(--white);
  font-size: 0.8rem;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(23, 33, 38, 0.08);
}

.theme-toggle:hover {
  border-color: var(--teal);
  color: var(--teal-dark);
}

.hero {
  position: relative;
  min-height: 84vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
}

.hero-shade {
  background: var(--hero-overlay);
}

.hero-content {
  position: relative;
  width: min(720px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 92px);
  padding: 76px 0 112px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(3rem, 8vw, 6.9rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.25;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--text-subtle);
  font-size: clamp(1rem, 2vw, 1.22rem);
}

.compact-bio {
  max-width: 680px;
  margin: 18px 0 0;
  padding-left: 14px;
  border-left: 4px solid var(--teal);
  color: var(--muted);
  font-size: 0.98rem;
}

.hero-actions,
.with-actions,
.panel-header,
.template-tabs,
.segmented {
  display: flex;
  align-items: center;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 7px;
  padding: 11px 16px;
  color: var(--ink);
  background: var(--white);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--ink);
}

.button.secondary {
  background: var(--translucent-surface);
}

.button.compact {
  min-height: 38px;
  padding: 8px 12px;
  font-size: 0.88rem;
}

.band {
  padding: clamp(54px, 8vw, 98px) clamp(18px, 4vw, 52px);
}

.intro-band {
  background: var(--inverse-bg);
  color: var(--inverse-text);
}

.intro-band .eyebrow {
  color: var(--inverse-muted);
}

.section-wrap {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.split {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(280px, 1.2fr);
  gap: 42px;
}

.statement {
  display: grid;
  gap: 20px;
  font-size: clamp(1.22rem, 3vw, 2.1rem);
  line-height: 1.18;
}

.statement p {
  margin: 0;
}

.section-heading {
  margin-bottom: 26px;
}

.section-heading.with-actions {
  justify-content: space-between;
  gap: 20px;
}

.section-copy {
  color: var(--muted);
  max-width: 620px;
}

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

.card,
.panel,
.template-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.card {
  padding: 22px;
}

.card-kicker,
.tag,
.source-link {
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.card p,
.oss-card p {
  color: var(--muted);
}

.card ul,
.oss-card ul {
  margin: 18px 0 0;
  padding-left: 18px;
}

.system-band {
  background: var(--surface-muted);
}

.dashboard {
  display: grid;
  grid-template-columns: 0.8fr 1.1fr 1.3fr;
  gap: 16px;
  align-items: start;
}

.panel {
  min-width: 0;
  padding: 18px;
}

.focus-panel label {
  display: block;
  margin-bottom: 8px;
  font-weight: 800;
}

textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
  color: var(--ink);
}

textarea {
  resize: vertical;
  padding: 12px;
}

select {
  max-width: 220px;
  padding: 10px 12px;
}

.metric-stack {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
}

.metric-stack div {
  padding: 12px;
  border-radius: 7px;
  background: var(--surface-soft);
}

.metric-stack strong {
  display: block;
  font-size: 1.45rem;
}

.metric-stack span {
  color: var(--muted);
  font-size: 0.82rem;
}

.panel-header {
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.panel-header span {
  color: var(--muted);
  font-size: 0.85rem;
}

.task-list {
  display: grid;
  gap: 10px;
}

.task-item {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
}

.task-item input {
  width: 18px;
  height: 18px;
  accent-color: var(--teal);
}

.task-title {
  display: block;
  font-weight: 800;
}

.task-note {
  color: var(--muted);
  font-size: 0.9rem;
}

.segmented,
.template-tabs {
  flex-wrap: wrap;
  gap: 6px;
}

.segment,
.template-tab {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--muted);
  background: var(--white);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 800;
}

.segment.active,
.template-tab.active {
  color: var(--white);
  border-color: var(--teal);
  background: var(--teal);
}

.pipeline-list {
  display: grid;
  gap: 10px;
}

.pipeline-item {
  display: grid;
  gap: 5px;
  padding: 12px;
  border-left: 4px solid var(--coral);
  background: var(--bg);
  border-radius: 6px;
}

.pipeline-item:nth-child(2n) {
  border-left-color: var(--gold);
}

.pipeline-item:nth-child(3n) {
  border-left-color: var(--teal);
}

.pipeline-item strong {
  font-size: 0.96rem;
}

.pipeline-item span {
  color: var(--muted);
  font-size: 0.88rem;
}

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

.oss-card {
  display: grid;
  gap: 12px;
  padding: 22px;
  border-top: 5px solid var(--teal);
}

.oss-card[data-lane="data"] {
  border-top-color: var(--moss);
}

.oss-card[data-lane="eval"] {
  border-top-color: var(--coral);
}

.oss-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--surface-muted);
  text-transform: none;
}

.source-link {
  text-decoration: none;
}

.source-link:hover {
  text-decoration: underline;
}

.outreach-band {
  background: var(--surface-warm);
}

.outreach-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
  gap: 28px;
  align-items: start;
}

.template-box {
  padding: 18px;
}

pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  min-height: 260px;
  margin: 16px 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--code-bg);
  color: var(--code-text);
  font-size: 0.9rem;
}

.footer {
  padding: 24px clamp(18px, 4vw, 52px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.footer p {
  margin: 0;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.footer-nav a {
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
}

.footer-nav a:hover {
  text-decoration: underline;
}

.public-hero {
  min-height: 88vh;
}

.public-hero .hero-shade {
  background: var(--public-hero-overlay);
}

.public-hero-content h1 {
  max-width: 11ch;
  font-size: clamp(3rem, 7.2vw, 6.4rem);
}

.public-proof-band {
  padding-block: clamp(28px, 5vw, 46px);
}

.credibility-strip {
  padding: 18px clamp(18px, 4vw, 52px);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.credibility-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.credibility-strip p {
  margin: 0;
  color: var(--muted);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.proof-strip div {
  display: grid;
  gap: 5px;
}

.proof-strip strong {
  color: var(--inverse-text);
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1;
}

.proof-strip span {
  color: var(--inverse-muted);
  font-size: 0.94rem;
}

.public-statement {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.45;
}

.public-work-band {
  background: var(--surface-muted);
}

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

.case-card {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.case-card h3 {
  font-size: clamp(1.45rem, 3vw, 2.1rem);
}

.case-card p {
  margin: 0;
  color: var(--muted);
}

.impact-list {
  display: grid;
  gap: 8px;
}

.impact-list span {
  padding: 10px 12px;
  border-left: 4px solid var(--teal);
  border-radius: 5px;
  background: var(--surface-soft);
  font-weight: 750;
}

.impact-list span:nth-child(2n) {
  border-left-color: var(--coral);
}

.impact-list span:nth-child(3n) {
  border-left-color: var(--gold);
}

.public-project-grid .card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
}

.public-project-grid .source-link {
  margin-top: auto;
}

.writing-band {
  background: var(--surface-warm);
}

.topic-grid,
.talk-list {
  display: grid;
  gap: 12px;
}

.topic-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.topic-grid article,
.talk-list article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.topic-grid p,
.talk-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.speaking-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(320px, 1.15fr);
  gap: 30px;
  align-items: start;
}

.talk-list article {
  border-left: 5px solid var(--teal);
}

.talk-list article:nth-child(2) {
  border-left-color: var(--coral);
}

.talk-list article:nth-child(3) {
  border-left-color: var(--gold);
}

.contact-band {
  background: var(--inverse-bg);
  color: var(--inverse-text);
}

.contact-band .eyebrow {
  color: var(--inverse-muted);
}

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

.contact-actions .button.secondary {
  border-color: var(--inverse-muted);
}

.page-hero {
  padding: clamp(72px, 10vw, 128px) clamp(18px, 4vw, 52px) clamp(48px, 7vw, 76px);
  background: var(--surface-muted);
}

.compact-page-hero {
  background:
    var(--compact-hero-overlay),
    url("assets/hero-command-center.png") center / cover;
}

.page-hero h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 8vw, 6rem);
}

.page-intro {
  max-width: 760px;
  color: var(--text-subtle);
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
}

.public-writing-summary {
  padding-block: clamp(30px, 5vw, 52px);
  background: var(--inverse-bg);
}

.writing-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.writing-stats div {
  display: grid;
  gap: 4px;
  padding: 18px;
  border: 1px solid rgba(200, 218, 214, 0.22);
  border-radius: var(--radius);
}

.stat-label,
.cell-label {
  color: var(--teal-dark);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.writing-stats .stat-label {
  color: var(--inverse-muted);
}

.writing-stats strong {
  color: var(--inverse-text);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
}

.writing-stats span {
  color: var(--inverse-muted);
}

.article-table {
  display: grid;
  gap: 8px;
}

.article-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.6fr) minmax(120px, 0.65fr) minmax(180px, 1.05fr) minmax(72px, 0.4fr) minmax(160px, 0.9fr);
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
}

.article-row-head {
  color: var(--teal-dark);
  background: var(--surface-muted);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.article-row a {
  color: var(--teal-dark);
  font-weight: 850;
  text-decoration: none;
}

.article-row a:hover {
  text-decoration: underline;
}

.article-cell {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.article-link {
  align-self: center;
}

.footnote,
.form-note {
  color: var(--muted);
  font-size: 0.9rem;
}

.footnote {
  margin: 18px 0 0;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 1fr);
  gap: 16px;
}

.about-page-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.1fr) minmax(280px, 0.9fr);
  gap: 18px;
}

.clean-list {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.clean-list li {
  padding: 10px 12px;
  border-left: 4px solid var(--teal);
  border-radius: 5px;
  background: var(--surface-soft);
  font-weight: 750;
}

.contact-option-list {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.contact-option-list p {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--bg);
}

.contact-form-band {
  background: var(--surface-muted);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 11px 12px;
  background: var(--white);
  color: var(--ink);
}

.contact-form select {
  max-width: none;
}

.message-field,
.contact-form .form-note,
.contact-form button {
  grid-column: 1 / -1;
}

.talks-topic-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.placeholder-panel {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.login-page {
  min-height: 100vh;
  background:
    var(--login-overlay),
    url("assets/hero-command-center.png") center / cover;
}

.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.login-theme-toggle {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 10;
}

.login-panel {
  width: min(520px, 100%);
  padding: clamp(24px, 5vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-overlay);
  box-shadow: var(--shadow);
}

.login-panel h1 {
  max-width: none;
  margin-top: 14px;
  font-size: clamp(2.2rem, 7vw, 4rem);
}

.login-panel p {
  color: var(--muted);
}

.login-actions {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.login-note {
  margin-bottom: 0;
  font-size: 0.88rem;
}

@media (max-width: 980px) {
  .proof-grid,
  .dashboard,
  .oss-grid,
  .split,
  .outreach-layout,
  .proof-strip,
  .case-grid,
  .topic-grid,
  .speaking-layout,
  .contact-layout,
  .writing-stats,
  .contact-page-grid,
  .about-page-grid,
  .talks-topic-grid {
    grid-template-columns: 1fr;
  }

  .credibility-strip-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .article-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px;
  }

  .article-row-head {
    display: none;
  }

  .article-link {
    width: fit-content;
    padding-top: 4px;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .hero-shade {
    background: var(--hero-overlay);
  }

  .public-hero .hero-shade {
    background: var(--public-hero-overlay);
  }
}

@media (max-width: 720px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .topnav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: 78vh;
  }

  .section-heading.with-actions,
  .panel-header {
    align-items: flex-start;
    flex-direction: column;
  }

  select {
    max-width: none;
  }

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