:root {
  color-scheme: light dark;
  --bg: #050505;
  --ink: #f7f7f4;
  --muted: #a4a4a0;
  --soft: #111111;
  --line: rgba(247, 247, 244, 0.16);
  --header: rgba(5, 5, 5, 0.78);
  --max: 1280px;
  --gutter: clamp(24px, 5vw, 72px);
  --sans: "SF Pro Text", "SF Pro Display", -apple-system, BlinkMacSystemFont,
    "Apple SD Gothic Neo", "Noto Sans KR", "Segoe UI", Inter, ui-sans-serif,
    system-ui, sans-serif;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #050505;
  --ink: #f7f7f4;
  --muted: #a4a4a0;
  --soft: #111111;
  --line: rgba(247, 247, 244, 0.16);
  --header: rgba(5, 5, 5, 0.78);
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #ffffff;
  --ink: #111111;
  --muted: #5f5f5f;
  --soft: #f5f5f3;
  --line: rgba(17, 17, 17, 0.14);
  --header: rgba(255, 255, 255, 0.78);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  word-break: keep-all;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at var(--pulse-x, 50%) var(--pulse-y, 50%),
      rgba(255, 255, 255, var(--pulse-alpha, 0)) 0,
      rgba(255, 255, 255, calc(var(--pulse-alpha, 0) * 0.72)) 12%,
      rgba(255, 255, 255, 0) 40%);
  transition: opacity 360ms ease;
}

.cursor-field {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.cursor-trail {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  color: rgba(255, 255, 255, 1);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
  transform: translate3d(var(--trail-x), var(--trail-y), 0) scale(1);
  opacity: 1;
  transition: transform 90ms linear, opacity 90ms linear;
  letter-spacing: 0;
}

.cursor-trail span {
  display: inline-block;
}

:root[data-theme="light"] .cursor-trail {
  color: rgba(0, 0, 0, 1);
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.18);
}

:root[data-theme="light"] body::before {
  background:
    radial-gradient(circle at var(--pulse-x, 50%) var(--pulse-y, 50%),
      rgba(0, 0, 0, calc(var(--pulse-alpha, 0) * 0.18)) 0,
      rgba(0, 0, 0, calc(var(--pulse-alpha, 0) * 0.08)) 14%,
      rgba(0, 0, 0, 0) 40%);
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.skip-link:focus {
  position: fixed;
  width: auto;
  height: auto;
  clip: auto;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 12px;
  background: var(--ink);
  color: var(--bg);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 18px var(--gutter);
  background: var(--header);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 300ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.brand,
.header-actions,
.nav,
.quick-links,
.footer-bottom {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  width: max-content;
}

.brand-logo {
  width: 180px;
  height: auto;
  object-fit: contain;
  object-position: left center;
}

:root[data-theme="dark"] .brand-logo {
  filter: invert(1) brightness(1.2);
}

:root[data-theme="light"] .brand-logo {
  filter: none;
}

.nav {
  gap: clamp(16px, 2.5vw, 34px);
  color: var(--muted);
  font-size: 14px;
}

.nav-group {
  position: relative;
}

.nav-button,
.footer-link-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.nav-button {
  position: relative;
  padding: 6px 0;
}

:root[data-theme="light"] .nav-button:hover,
:root[data-theme="light"] .nav-group:hover .nav-button,
:root[data-theme="light"] .nav-group:focus-within .nav-button {
  background: #ffffff;
  color: #111111;
  box-shadow: 0 0 0 1px rgba(17, 17, 17, 0.12) inset;
}

.nav-popover {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translate(-50%, -12px);
  min-width: 180px;
  padding: 12px;
  display: grid;
  gap: 8px;
  background: rgba(10, 10, 10, 0.96);
  border: 1px solid var(--line);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

:root[data-theme="light"] .nav-popover {
  background: rgba(255, 255, 255, 0.98);
  color: #111111;
}

.nav-group:hover .nav-popover,
.nav-group:focus-within .nav-popover,
.nav-popover.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.subnav-button {
  text-align: left;
  padding: 10px 12px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}

.subnav-button:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.08);
}

.nav a:hover,
.header-actions a:hover,
.footer a:hover,
.nav-button:hover,
.footer-link-button:hover {
  color: var(--ink);
}

.header-actions {
  justify-content: flex-end;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.auth-toggle {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.user-menu {
  position: relative;
}

.user-menu-trigger {
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-menu-popover {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  gap: 6px;
  min-width: 180px;
  padding: 10px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 96%, var(--soft));
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.user-menu:hover .user-menu-popover,
.user-menu-popover.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.user-menu-item {
  width: 100%;
  padding: 10px 12px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.user-menu-item:hover {
  background: var(--ink);
  color: var(--bg);
}

.theme-toggle {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.theme-icon {
  width: 13px;
  height: 13px;
  border: 1px solid currentColor;
  border-radius: 50%;
  box-shadow: inset -5px 0 0 currentColor;
}

.hero {
  min-height: 76svh;
  display: grid;
  place-items: center;
  padding: 112px var(--gutter) 72px;
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  width: min(700px, 100%);
  text-align: center;
}

.brand-name {
  margin: 0 0 22px;
  font-size: 20px;
  font-weight: 600;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 28px;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.18;
  font-weight: 600;
}

.prompt-box {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-height: 58px;
  margin: 0 auto 18px;
  padding: 6px 6px 6px 18px;
  border: 1px solid var(--line);
  background: var(--soft);
}

.prompt-box input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}

.prompt-box button {
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--ink);
  color: var(--bg);
  font-size: 18px;
  cursor: pointer;
}

.quick-links {
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: var(--muted);
  font-size: 14px;
}

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

.feature,
.feed-section,
.start-section {
  padding: clamp(64px, 8vw, 104px) var(--gutter);
  border-bottom: 1px solid var(--line);
}

.feature-card,
.section-heading,
.card-grid,
.list-feed,
.split-grid,
.start-section {
  max-width: var(--max);
  margin: 0 auto;
}

.feature-card {
  display: block;
}

.feature-card span,
.story-card span,
.list-feed span {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 13px;
}

.feature-card h2 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.2;
  font-weight: 600;
}

.feature-card p {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
  word-break: keep-all;
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.section-heading h2,
.start-section h2 {
  margin-bottom: 0;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.22;
  font-weight: 600;
}

.section-heading a {
  color: var(--muted);
  font-size: 14px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.story-card,
.split-grid article {
  min-height: 230px;
  padding: 24px;
  background: var(--bg);
}

.story-card h3,
.split-grid h3,
.list-feed strong {
  display: block;
  margin-bottom: 18px;
  font-size: clamp(19px, 1.7vw, 24px);
  line-height: 1.28;
  font-weight: 600;
}

.story-card p,
.split-grid p,
.list-feed em {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  font-style: normal;
  word-break: keep-all;
}

.list-feed {
  border-top: 1px solid var(--line);
}

.list-feed a {
  display: grid;
  grid-template-columns: 150px minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 54px);
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.start-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--ink);
  font-size: 14px;
}

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

.footer {
  padding: 44px var(--gutter) 32px;
}

.footer-brand,
.footer-columns,
.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 42px;
}

.footer-brand p {
  color: var(--muted);
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-bottom: 52px;
}

.footer-columns h2 {
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 650;
}

.footer-columns a {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 14px;
}

.footer-link-button {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 14px;
  text-align: left;
}

.footer-bottom {
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 13px;
}

.footer-social {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 0 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.social-link {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  color: var(--ink);
  opacity: 0.88;
  transition: opacity 180ms ease, transform 180ms ease;
}

.social-link:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.social-link svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.language-toggle {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  min-width: 56px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.modal-layer {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: block;
}

.modal-layer[hidden] {
  display: none;
}

.modal-layer.is-open .modal-panel {
  transform: translateY(0);
  opacity: 1;
}

.modal-layer.is-closing .modal-panel {
  transform: translateY(-10px);
  opacity: 0;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: var(--bg);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-height: 100vh;
  overflow: auto;
  border: 0;
  background: var(--bg);
  padding: clamp(24px, 4vw, 56px);
  box-shadow: none;
  display: grid;
  align-content: center;
  transition: transform 280ms ease, opacity 280ms ease;
  transform: translateY(-10px);
  opacity: 0;
}

.modal-close {
  position: fixed;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font-size: 22px;
  cursor: pointer;
}

.modal-content h2 {
  margin: 16px 0 0;
  font-size: clamp(34px, 4.4vw, 64px);
  line-height: 1.12;
  font-weight: 600;
}

.modal-content p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.modal-panel .modal-content {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.modal-panel[data-panel="company"] .modal-content,
.modal-panel[data-panel="founder"] .modal-content,
.modal-panel[data-panel="products"] .modal-content,
.modal-panel[data-panel="research"] .modal-content {
  display: block;
}

.modal-panel[data-panel="research"] {
  padding: 0;
}

.modal-panel[data-panel="research"] .modal-content {
  max-width: none;
  margin: 0;
  text-align: left;
  width: 100%;
  height: 100%;
}

.research-app {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100vh;
  padding: clamp(20px, 3vw, 40px);
}

.research-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.research-toolbar h2 {
  margin: 6px 0 0;
  font-size: clamp(32px, 5vw, 72px);
  line-height: 1;
  font-weight: 600;
}

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

.research-toolbar-button,
.research-back,
.research-delete {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}

.research-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(20px, 3vw, 36px);
  min-height: 0;
  padding-top: 24px;
}

.research-sidebar,
.research-detail {
  min-height: 0;
}

.research-sidebar {
  display: grid;
  align-content: start;
  gap: 14px;
  border-right: 1px solid var(--line);
  padding-right: 24px;
}

.research-sidebar h3 {
  margin: 0;
  font-size: 18px;
}

.research-sidebar p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.research-post-link {
  width: 100%;
  padding: 18px 0 16px;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.research-post-link h3 {
  margin: 8px 0 8px;
  font-size: 14px;
  line-height: 1.3;
}

.research-post-link p {
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.7;
}

.research-post-category,
.research-post-meta,
.research-article-category,
.research-article-meta {
  display: block;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.research-post {
  display: grid;
  gap: 10px;
}

.research-delete {
  justify-self: start;
}

.research-restore {
  justify-self: start;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}

.research-detail {
  padding-left: 12px;
}

.research-article {
  display: grid;
  align-content: start;
  gap: 18px;
  max-width: 760px;
}

.research-article-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.research-article h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.08;
}

.research-article-summary {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.research-article-body {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.85;
  white-space: pre-wrap;
}

.research-empty {
  padding: 18px 0;
}

.auth-layer {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: block;
}

.auth-layer[hidden] {
  display: none;
}

.auth-layer.is-open .auth-panel {
  transform: translateY(0);
  opacity: 1;
}

.auth-layer.is-closing .auth-panel {
  transform: translateY(-10px);
  opacity: 0;
}

.auth-backdrop {
  position: absolute;
  inset: 0;
  background: var(--bg);
}

.auth-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: var(--bg);
  padding: clamp(24px, 4vw, 56px);
  display: grid;
  align-content: center;
  transition: transform 280ms ease, opacity 280ms ease;
  transform: translateY(-10px);
  opacity: 0;
}

.auth-shell {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.auth-intro {
  max-width: 680px;
  margin-bottom: 30px;
}

.auth-intro h2 {
  margin: 12px 0 16px;
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1.1;
  font-weight: 600;
}

.auth-intro p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.auth-profile {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
  padding: 26px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 92%, var(--soft));
}

.auth-workspace {
  display: grid;
  gap: 18px;
}

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

.auth-card {
  padding: 26px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 92%, var(--soft));
}

.auth-card-head h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.2;
}

.auth-card-head p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.research-posts {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.research-post {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.research-post h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.3;
}

.research-post p,
.research-empty {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.auth-form {
  display: grid;
  gap: 12px;
}

.auth-form label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}

.auth-form input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font: inherit;
}

.auth-form textarea,
.auth-signup textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  resize: vertical;
}

.auth-form button {
  min-height: 44px;
  margin-top: 8px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--bg);
  font: inherit;
  cursor: pointer;
}

.auth-secondary {
  min-height: 44px;
  margin-top: 10px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}

.auth-status {
  min-height: 24px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

:root[data-theme="light"] .auth-card {
  background: #ffffff;
}

:root[data-theme="light"] .auth-secondary {
  border-color: #111111;
}

:root[data-theme="light"] .auth-form button {
  border-color: #111111;
}

:root[data-theme="light"] .modal-panel[data-panel="research"] {
  background: #ffffff;
}

:root[data-theme="light"] .research-sidebar {
  border-right-color: rgba(17, 17, 17, 0.12);
}

:root[data-theme="light"] .research-toolbar,
:root[data-theme="light"] .research-post-link {
  border-color: rgba(17, 17, 17, 0.12);
}

:root[data-theme="light"] .research-restore {
  border-color: rgba(17, 17, 17, 0.12);
}

:root[data-theme="light"] .user-menu-popover {
  background: #ffffff;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms ease, transform 600ms ease;
}

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

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .card-grid,
  .split-grid,
  .footer-columns,
  .auth-workspace {
    grid-template-columns: 1fr;
  }

  .list-feed a {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 28px;
  }

  .header-actions a {
    display: none;
  }

  .brand-logo {
    width: 132px;
  }

  .hero {
    min-height: 70svh;
    padding-top: 104px;
    padding-bottom: 80px;
  }

  h1 {
    font-size: clamp(30px, 8.2vw, 38px);
    line-height: 1.2;
  }

  .brand-name {
    font-size: 17px;
  }

  .prompt-box {
    min-height: 54px;
    padding-left: 14px;
  }

  .prompt-box input {
    font-size: 14px;
  }

  .prompt-box button {
    width: 40px;
    height: 40px;
  }

  .quick-links {
    gap: 12px 20px;
    line-height: 1.7;
  }

  .feature-card h2,
  .section-heading h2,
  .start-section h2 {
    line-height: 1.26;
  }

  .section-heading,
  .start-section,
  .footer-brand,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .story-card,
  .split-grid article {
    min-height: 190px;
  }

  .footer-social {
    padding-bottom: 28px;
  }

  .modal-panel {
    padding: 22px 18px;
  }

  .auth-panel {
    padding: 22px 18px;
  }

  .modal-close {
    top: 14px;
    right: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
