:root {
  --canvas: #f9f8f5;
  --surface: #ffffff;
  --surface-muted: #f0f4f1;
  --ink: #181b1a;
  --ink-muted: #5e6865;
  --ink-faint: #7f8985;
  --teal: #086a63;
  --teal-deep: #10423e;
  --teal-pale: #e5f0ec;
  --orange: #ca5b42;
  --line: #deded8;
  --line-strong: #c9ccc5;
  --shadow: 0 18px 45px rgba(23, 32, 29, 0.09);
  color: var(--ink);
  background: var(--canvas);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--canvas);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--canvas);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
}

img {
  display: block;
  max-width: 100%;
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(202, 91, 66, 0.55);
  outline-offset: 4px;
}

.shell {
  width: min(1240px, calc(100% - 64px));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 9px 13px;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(249, 248, 245, 0.96);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: inline-flex;
  min-width: 190px;
  min-height: 48px;
  align-items: center;
  gap: 11px;
}

.brand-mark {
  position: relative;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--ink);
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  content: "";
}

.brand-mark::before {
  width: 19px;
  height: 19px;
  top: 9px;
  left: 10px;
  border: 1.8px solid #fff;
  border-radius: 56% 44% 56% 44%;
  transform: rotate(-36deg);
}

.brand-mark::after {
  width: 14px;
  height: 2px;
  left: 14px;
  bottom: 9px;
  border-radius: 4px;
  background: #fff;
  transform: rotate(-42deg);
  transform-origin: left center;
}

.brand-copy {
  display: grid;
  gap: 1px;
  line-height: 1.15;
}

.brand-copy strong {
  font-size: 19px;
  font-weight: 800;
}

.brand-copy small {
  color: var(--ink-muted);
  font-size: 10px;
  font-weight: 700;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 25px;
  color: var(--ink-muted);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  white-space: nowrap;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.login-link:hover {
  color: var(--teal);
}

.login-link::before {
  display: inline-block;
  margin-right: 6px;
  color: var(--teal);
  content: "→";
}

.nav-cta {
  padding: 0 20px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff !important;
  box-shadow: 0 10px 20px rgba(24, 27, 26, 0.12);
}

.nav-cta:hover {
  background: var(--teal-deep);
  transform: translateY(-1px);
}

.hero {
  border-bottom: 1px solid var(--line);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.87fr) minmax(510px, 1.13fr);
  gap: 74px;
  align-items: center;
  min-height: 782px;
  padding: 78px 0 80px;
}

.eyebrow,
.section-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.eyebrow span {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--orange);
}

.hero h1,
.section-heading h2,
.system-copy h2,
.tools-heading h2,
.space-layout h2 {
  margin: 0;
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", SimSun, serif;
  font-weight: 800;
  line-height: 1.18;
}

.hero h1 {
  margin-top: 22px;
  font-size: 62px;
}

.hero h1 em {
  display: block;
  margin-top: 10px;
  padding-left: 15px;
  border-left: 3px solid var(--teal);
  color: var(--teal);
  font-size: 37px;
  font-style: normal;
}

.hero-subtitle {
  max-width: 500px;
  margin: 24px 0 0;
  color: var(--ink-muted);
  font-size: 17px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 17px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.button-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 12px 22px rgba(24, 27, 26, 0.13);
}

.button-primary:hover {
  background: var(--teal-deep);
}

.button-dark {
  background: var(--teal-deep);
  color: #fff;
}

.button-dark:hover {
  background: var(--ink);
}

.button-secondary {
  border-color: var(--line-strong);
  background: #fff;
  color: var(--ink);
}

.button-secondary:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.button-outline {
  border-color: rgba(255, 255, 255, 0.65);
  background: transparent;
  color: #fff;
}

.button-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.inline-action {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--ink-muted);
  font-size: 14px;
  font-weight: 700;
}

.inline-action span {
  margin-left: 7px;
  color: var(--ink);
  font-size: 18px;
  transition: transform 180ms ease;
}

.inline-action:hover {
  color: var(--ink);
}

.inline-action:hover span {
  transform: translateX(3px);
}

.inline-action.is-accent {
  color: var(--teal);
}

.account-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 24px 0 0;
  color: var(--ink-muted);
  font-size: 13px;
  font-weight: 600;
}

.shield-mark {
  position: relative;
  width: 15px;
  height: 16px;
  flex: 0 0 15px;
  border: 1.7px solid var(--teal);
  border-radius: 7px 7px 8px 8px;
}

.shield-mark::after {
  position: absolute;
  width: 4px;
  height: 7px;
  top: 2px;
  left: 4px;
  border-right: 1.7px solid var(--teal);
  border-bottom: 1.7px solid var(--teal);
  content: "";
  transform: rotate(42deg);
}

.story-path {
  margin-top: 35px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.story-path > p {
  margin: 0 0 12px;
  color: var(--ink-muted);
  font-size: 12px;
  font-weight: 800;
}

.story-path ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 500px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.story-path li {
  display: grid;
  gap: 1px;
  min-width: 0;
  padding-left: 11px;
  border-left: 2px solid var(--orange);
}

.story-path strong {
  font-size: 14px;
}

.story-path span {
  color: var(--ink-muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.hero-visual {
  min-width: 0;
  margin: 0;
}

.visual-frame {
  position: relative;
  min-height: 444px;
  padding: 16px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #f2f1ec;
  box-shadow: var(--shadow);
  transform: rotate(-1.2deg);
}

.visual-frame img {
  width: 100%;
  height: 408px;
  min-height: 0;
  border-radius: 5px;
  object-fit: cover;
}

/* The first viewport shows the actual editor, not a generic writing photo. */
.hero-visual.is-workspace .visual-frame {
  min-height: 0;
  background: #e8ece9;
}

.hero-visual.is-workspace .visual-frame img {
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center top;
}

.visual-label {
  position: absolute;
  top: 38px;
  left: 37px;
  display: inline-flex;
  min-height: 31px;
  align-items: center;
  padding: 0 10px;
  border-radius: 5px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.manuscript-card {
  position: absolute;
  right: -31px;
  bottom: -31px;
  width: min(54%, 320px);
  padding: 29px 25px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 34px rgba(24, 27, 26, 0.16);
}

.manuscript-card p {
  margin: 0;
  color: var(--orange);
  font-size: 11px;
  font-weight: 900;
}

.manuscript-card h2 {
  margin: 15px 0 17px;
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", SimSun, serif;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.55;
}

.manuscript-rule {
  height: 1px;
  margin-bottom: 12px;
  background: var(--line);
}

.manuscript-card span {
  color: var(--ink-muted);
  font-size: 12px;
  font-weight: 700;
}

.hero-visual figcaption {
  margin: 48px 0 0 21px;
  color: var(--ink-muted);
  font-size: 13px;
}

.page-enter {
  animation: enter-up 420ms ease-out both;
}

.page-enter-delayed {
  animation: enter-up 500ms 80ms ease-out both;
}

.flow-section,
.tools-section {
  padding: 112px 0;
}

.product-section {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #f4f6f1;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.84fr) minmax(0, 1.16fr);
  gap: 58px;
  align-items: center;
  padding: 86px 0;
}

.product-copy h2 {
  margin: 15px 0 0;
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", SimSun, serif;
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
}

.product-copy > p {
  margin: 22px 0 0;
  color: var(--ink-muted);
  font-size: 16px;
  line-height: 1.9;
}

.product-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 25px;
}

.product-rail span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 13px;
  border: 1px solid rgba(8, 106, 99, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--teal-deep);
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(23, 32, 29, 0.05);
}

.product-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.product-cards article {
  min-height: 264px;
  padding: 24px 22px 23px;
  border: 1px solid rgba(201, 204, 197, 0.86);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 38px rgba(23, 32, 29, 0.08);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.product-cards article:hover {
  border-color: rgba(8, 106, 99, 0.34);
  box-shadow: 0 24px 46px rgba(23, 32, 29, 0.12);
  transform: translateY(-4px);
}

.product-icon {
  position: relative;
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--teal-deep);
}

.product-icon::before,
.product-icon::after {
  position: absolute;
  content: "";
}

.product-icon::before {
  width: 17px;
  height: 17px;
  top: 10px;
  left: 11px;
  border: 2px solid #fff;
  border-radius: 50%;
}

.product-icon::after {
  width: 16px;
  height: 2px;
  right: 8px;
  bottom: 11px;
  border-radius: 3px;
  background: #fff;
  transform: rotate(-36deg);
}

.product-icon.is-model {
  background: var(--ink);
}

.product-icon.is-model::before {
  width: 18px;
  height: 12px;
  top: 14px;
  left: 10px;
  border-radius: 4px;
}

.product-icon.is-model::after {
  width: 7px;
  height: 7px;
  right: 9px;
  bottom: 10px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: transparent;
  transform: none;
}

.product-icon.is-credit {
  background: var(--orange);
}

.product-icon.is-credit::before {
  width: 20px;
  height: 20px;
  top: 10px;
  left: 10px;
  border-radius: 50%;
}

.product-icon.is-credit::after {
  width: 9px;
  height: 9px;
  top: 14px;
  left: 15px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  background: transparent;
  transform: rotate(45deg);
}

.product-cards h3 {
  margin: 58px 0 11px;
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", SimSun, serif;
  font-size: 22px;
  font-weight: 800;
}

.product-cards p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 1.82;
}

.flow-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 80px;
  align-items: start;
}

.section-heading h2,
.system-copy h2,
.tools-heading h2,
.space-layout h2 {
  margin-top: 15px;
  font-size: 43px;
}

.section-heading > p:last-child,
.system-copy > p,
.space-copy > p {
  margin: 23px 0 0;
  color: var(--ink-muted);
  font-size: 16px;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 1px;
  border: 1px solid var(--line);
  background: var(--line);
  list-style: none;
}

.flow-grid li {
  min-height: 226px;
  padding: 27px;
  background: var(--canvas);
}

.flow-grid li > span,
.tool-number {
  display: inline-flex;
  min-width: 32px;
  min-height: 27px;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  background: var(--teal-pale);
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
}

.flow-grid h3,
.tools-grid h3 {
  margin: 48px 0 10px;
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", SimSun, serif;
  font-size: 23px;
  line-height: 1.35;
}

.flow-grid p,
.tools-grid p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 14px;
}

.system-section {
  padding: 110px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface-muted);
}

.system-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(290px, 0.75fr);
  gap: 105px;
  align-items: center;
}

.system-media {
  position: relative;
  min-height: 432px;
}

.system-media img {
  width: 100%;
  height: 432px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.margin-note {
  position: absolute;
  right: -23px;
  bottom: -23px;
  display: grid;
  gap: 5px;
  padding: 17px 19px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 14px 28px rgba(24, 27, 26, 0.11);
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
}

.system-copy {
  max-width: 460px;
}

.system-copy .button {
  margin-top: 29px;
}

.tools-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 38px;
  max-width: 910px;
}

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

.tools-grid article {
  min-height: 240px;
  padding: 29px;
  border-top: 3px solid var(--teal);
  background: var(--surface);
  box-shadow: 0 10px 24px rgba(23, 32, 29, 0.05);
}

.tools-grid article:nth-child(2) {
  border-top-color: var(--orange);
}

.tools-grid article:nth-child(3) {
  border-top-color: #b29548;
}

.tools-grid h3 {
  margin-top: 50px;
}

.space-section {
  padding: 82px 0;
  background: var(--teal-deep);
  color: #fff;
}

.space-section .section-kicker {
  color: #bfe0d6;
}

.space-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.72fr);
  gap: 85px;
  align-items: end;
}

.space-layout h2 {
  color: #fff;
}

.space-copy > p {
  margin-top: 0;
  color: rgba(255, 255, 255, 0.78);
}

.space-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 25px;
}

.space-actions .button-primary {
  background: #fff;
  color: var(--teal-deep);
}

.space-actions .button-primary:hover {
  background: #f1f5f2;
}

.site-footer {
  background: #102e2b;
  color: rgba(255, 255, 255, 0.72);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(170px, 0.44fr) minmax(0, 1.56fr);
  gap: 35px;
  padding: 37px 0 42px;
}

.footer-brand {
  display: grid;
  gap: 3px;
  align-content: start;
}

.footer-brand strong {
  color: #fff;
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", SimSun, serif;
  font-size: 19px;
}

.footer-brand span {
  font-size: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  justify-content: flex-end;
  gap: 10px 22px;
  font-size: 13px;
}

.footer-links a {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
}

.footer-links a:hover {
  color: #fff;
}

.legal-page {
  background: var(--canvas);
}

.legal-main {
  padding: 78px 0 96px;
}

.legal-card {
  max-width: 880px;
  margin: 0 auto;
  padding: 52px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.legal-card h1 {
  margin: 15px 0 10px;
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", SimSun, serif;
  font-size: 44px;
  line-height: 1.18;
}

.legal-card h2 {
  margin: 34px 0 10px;
  font-size: 20px;
}

.legal-card p,
.legal-card li {
  color: var(--ink-muted);
}

.legal-card ul {
  margin: 12px 0 0;
  padding-left: 1.2em;
}

.legal-meta {
  margin: 0 0 28px;
  color: var(--ink-faint) !important;
  font-size: 14px;
}

.legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

@keyframes enter-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1180px) {
  .hero-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(430px, 1.1fr);
    gap: 48px;
  }

  .hero h1 {
    font-size: 54px;
  }

  .hero h1 em {
    font-size: 32px;
  }

  .site-nav {
    gap: 17px;
  }

  .visual-frame img {
    height: 380px;
  }

  .system-layout {
    gap: 70px;
  }
}

@media (max-width: 960px) {
  .header-inner {
    align-items: flex-start;
    padding: 13px 0;
  }

  .site-nav {
    gap: 11px 17px;
  }

  .hero-layout,
  .product-layout,
  .flow-layout,
  .system-layout,
  .space-layout {
    grid-template-columns: 1fr;
  }

  .hero-layout {
    min-height: auto;
    padding: 72px 0 83px;
  }

  .hero-copy {
    max-width: 650px;
  }

  .hero-visual {
    width: min(700px, calc(100% - 38px));
    margin: 0 auto;
  }

  .visual-frame img {
    height: 420px;
  }

  .flow-layout,
  .product-layout,
  .system-layout,
  .space-layout {
    gap: 48px;
  }

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

  .system-copy {
    max-width: 620px;
  }

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

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 690px) {
  .shell {
    width: min(1240px, calc(100% - 32px));
  }

  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
    gap: 10px;
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    min-width: 0;
    /* Do not let a wider downstream section push account actions off-screen. */
    max-width: calc(100vw - 32px);
    overflow: hidden;
    gap: 7px;
    justify-content: stretch;
    font-size: 13px;
  }

  .site-nav a {
    min-width: 0;
    max-width: 100%;
    justify-content: center;
    padding: 0 7px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: #fff;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: center;
  }

  .site-nav a[href="#flow"],
  .site-nav a[href="#system"],
  .site-nav a[href="#tools"],
  .site-nav a[href="#space"] {
    display: none;
  }

  .site-nav .login-link::before {
    margin-right: 4px;
  }

  .site-nav .nav-cta {
    grid-column: auto;
    border-color: var(--ink);
    background: var(--ink);
    color: #fff !important;
  }

  /* Keep the two visible navigation actions inside the same 320 px layout. */
  .site-nav .login-link,
  .site-nav .nav-cta {
    width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .hero-layout,
  .product-layout,
  .flow-section,
  .tools-section,
  .system-section {
    padding-top: 61px;
    padding-bottom: 61px;
  }

  /* Preserve the first interaction on small screens instead of delaying it. */
  .page-enter,
  .page-enter-delayed {
    animation: none;
  }

  .hero h1 {
    margin-top: 16px;
    font-size: 42px;
    line-height: 1.22;
  }

  .hero h1 em {
    margin-top: 8px;
    padding-left: 11px;
    font-size: 26px;
  }

  .hero-subtitle {
    max-width: 100%;
    margin-top: 18px;
    font-size: 16px;
    overflow-wrap: anywhere;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 25px;
  }

  .button {
    width: 100%;
  }

  .inline-action {
    justify-content: center;
    padding: 3px 0;
  }

  .account-note {
    align-items: flex-start;
    margin-top: 20px;
    line-height: 1.55;
  }

  .story-path {
    margin-top: 26px;
  }

  .story-path ol {
    gap: 8px;
  }

  .story-path li {
    padding-left: 7px;
  }

  .story-path strong,
  .story-path span {
    font-size: 11px;
  }

  .hero-visual {
    width: 100%;
  }

  .visual-frame {
    min-height: auto;
    padding: 10px;
    transform: none;
  }

  .visual-frame img {
    height: 235px;
    min-height: 235px;
  }

  .visual-label {
    top: 23px;
    left: 22px;
    min-height: 26px;
    font-size: 11px;
  }

  .manuscript-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: auto;
    margin: -22px 12px 0;
    padding: 22px 19px 18px;
  }

  .manuscript-card h2 {
    margin: 11px 0 13px;
    font-size: 17px;
  }

  .hero-visual figcaption {
    margin: 19px 2px 0;
    font-size: 12px;
  }

  .section-heading h2,
  .product-copy h2,
  .system-copy h2,
  .tools-heading h2,
  .space-layout h2 {
    margin-top: 12px;
    font-size: 34px;
  }

  .flow-layout,
  .product-layout,
  .system-layout,
  .space-layout {
    gap: 34px;
  }

  .flow-grid,
  .product-cards,
  .tools-grid {
    grid-template-columns: 1fr;
  }

  .flow-grid li,
  .product-cards article,
  .tools-grid article {
    min-height: auto;
    padding: 23px;
  }

  .flow-grid h3,
  .product-cards h3,
  .tools-grid h3 {
    margin-top: 29px;
  }

  .system-media {
    min-height: auto;
  }

  .system-media img {
    height: 320px;
  }

  .margin-note {
    right: 12px;
    bottom: -15px;
    grid-template-columns: repeat(3, auto);
    padding: 10px 12px;
    font-size: 12px;
  }

  .tools-heading {
    display: block;
  }

  .tools-grid {
    margin-top: 35px;
  }

  .space-section {
    padding: 62px 0;
  }

  .space-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .footer-top {
    padding: 30px 0 36px;
    gap: 22px;
  }

  .footer-links {
    gap: 5px 17px;
  }

  .legal-main {
    padding: 48px 0 64px;
  }

  .legal-card {
    padding: 29px 23px;
  }

  .legal-card h1 {
    font-size: 34px;
  }

  .legal-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 390px) {
  .site-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    font-size: 12px;
  }

  .site-nav a {
    padding: 0 4px;
  }

  .nav-cta {
    padding: 0 8px;
  }

  .brand-copy strong {
    font-size: 18px;
  }

  .site-nav {
    font-size: 12px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero h1 em {
    font-size: 24px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
