:root {
  color-scheme: light;
  --ink: #172027;
  --muted: #5d6872;
  --line: #d7dde2;
  --paper: #ffffff;
  --mist: #f4f7f8;
  --teal: #11856f;
  --teal-dark: #0b5e52;
  --blue: #2769a6;
  --amber: #b57a23;
  --rose: #b34d5c;
  --violet: #6f5ca7;
  --navy: #08161c;
  --cyan: #24d4df;
  --surface: #fbfdfd;
  --soft-line: rgba(23, 32, 39, 0.1);
  --shadow: 0 18px 50px rgba(29, 40, 52, 0.12);
  --shadow-soft: 0 18px 42px rgba(19, 35, 44, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #eef4f4 0%, var(--mist) 42%, #f8fbfb 100%);
  font-family:
    "Microsoft YaHei",
    "PingFang SC",
    "Noto Sans CJK SC",
    Arial,
    sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: #ffffff;
  background: rgba(8, 22, 28, 0.52);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header[data-elevated="true"] {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: rgba(23, 32, 39, 0.1);
  box-shadow: 0 16px 32px rgba(23, 32, 39, 0.08);
}

.brand {
  position: relative;
  display: inline-block;
  min-width: 0;
  width: min(318px, 26vw);
  height: 54px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: 20px;
  font-weight: 700;
  white-space: nowrap;
  transition: opacity 180ms ease;
}

.site-header[data-elevated="true"] .brand {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.brand-logo-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
  filter: drop-shadow(0 12px 26px rgba(0, 0, 0, 0.26));
  opacity: 0;
  transition: opacity 180ms ease, filter 180ms ease;
}

.brand-logo-image-on-dark {
  opacity: 1;
}

.site-header[data-elevated="true"] .brand-logo-image-on-dark {
  opacity: 0;
}

.site-header[data-elevated="true"] .brand-logo-image-on-light {
  filter: none;
  opacity: 1;
}

.brand-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #ffffff;
  font-family:
    Inter,
    "Segoe UI",
    Arial,
    sans-serif;
  font-weight: 850;
  line-height: 1;
}

.brand-wordmark-name {
  display: inline-flex;
  align-items: center;
}

.brand-wordmark-o {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.82em;
  height: 0.82em;
  margin: 0 0.01em;
  border: 2px solid currentColor;
  border-radius: 999px;
  transform: translateY(0.04em);
}

.brand-wordmark-o span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #8ff3df;
  font-size: 0.34em;
  font-weight: 950;
  letter-spacing: 0;
}

.brand-wordmark-o::after {
  content: "";
  position: absolute;
  left: 0.14em;
  right: 0.14em;
  bottom: 0.14em;
  height: 0.16em;
  border-top: 2px solid #31d0b0;
  border-radius: 50% 50% 0 0;
}

.brand-wordmark-ai {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  min-height: 24px;
  padding: 3px 6px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 6px;
  color: #d8fff5;
  background: rgba(255, 255, 255, 0.1);
  font-size: 13px;
  font-weight: 900;
}

.site-header[data-elevated="true"] .brand-wordmark {
  color: var(--ink);
}

.site-header[data-elevated="true"] .brand-wordmark-ai {
  color: var(--teal-dark);
  border-color: rgba(17, 133, 111, 0.28);
  background: #f2fbf9;
}

.sf-logo {
  --sf-ink: #071d3a;
  --sf-cyan: #1ec4d6;
  --sf-cyan-soft: rgba(30, 196, 214, 0.16);
  --sf-line: rgba(30, 196, 214, 0.5);
  position: relative;
  display: inline-grid;
  justify-items: center;
  color: var(--sf-ink);
  font-family:
    Inter,
    "Segoe UI",
    Arial,
    sans-serif;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

.sf-logo-roman {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  font-weight: 900;
  letter-spacing: 0;
}

.sf-logo-f {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.sf-wave-bars {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.48em;
  height: 1.54em;
  transform: translate(-44%, -50%);
  pointer-events: none;
}

.sf-wave-bars i {
  position: absolute;
  left: 50%;
  width: 2px;
  border-radius: 999px;
  background: var(--sf-cyan);
  box-shadow: 0 0 14px rgba(30, 196, 214, 0.2);
}

.sf-wave-bars i:nth-child(1) {
  top: 0.16em;
  height: 0.32em;
  transform: translateX(-0.22em);
}

.sf-wave-bars i:nth-child(2) {
  top: 0;
  height: 0.54em;
  transform: translateX(-0.06em);
}

.sf-wave-bars i:nth-child(3) {
  bottom: 0;
  height: 0.54em;
  transform: translateX(0.1em);
}

.sf-wave-bars i:nth-child(4) {
  bottom: 0.16em;
  height: 0.32em;
  transform: translateX(0.26em);
}

.sf-ai-o {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.82em;
  height: 0.82em;
  margin: 0 0.02em;
  border: 0.08em solid currentColor;
  border-radius: 999px;
  transform: translateY(0.035em);
}

.sf-ai-o::before {
  content: "";
  position: absolute;
  inset: 0.12em;
  border: 0.045em solid var(--sf-cyan);
  border-left-color: transparent;
  border-radius: 999px;
  transform: rotate(-18deg);
}

.sf-ai-o span {
  position: relative;
  z-index: 2;
  color: var(--sf-cyan);
  font-size: 0.26em;
  font-weight: 950;
}

.sf-logo-cnline {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  margin-top: 0.18em;
  color: var(--sf-ink);
  font-family:
    "Microsoft YaHei",
    "PingFang SC",
    "Noto Sans CJK SC",
    sans-serif;
  font-size: 0.22em;
  font-weight: 800;
  letter-spacing: 0;
  transform: translateX(0.18em);
}

.sf-logo-cnline::before,
.sf-logo-cnline::after {
  content: "";
  width: 2.2em;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sf-cyan), transparent);
}

.sf-logo-english .sf-logo-cnline {
  display: none;
}

.sf-logo-inverse,
.sf-logo-header {
  --sf-ink: #ffffff;
  --sf-cyan: #24d4df;
  color: #ffffff;
}

.sf-logo-header {
  font-size: 23px;
}

.sf-logo-header .sf-logo-cnline {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.28em;
  letter-spacing: 0;
}

.site-header[data-elevated="true"] .sf-logo-header {
  --sf-ink: #071d3a;
  --sf-cyan: #138da0;
  color: var(--sf-ink);
}

.site-header[data-elevated="true"] .sf-logo-header .sf-logo-cnline {
  color: var(--muted);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  font-size: 14px;
}

.nav-links a {
  padding: 8px 10px;
  border-radius: 6px;
  transition: background 160ms ease, color 160ms ease;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.16);
}

.site-header[data-elevated="true"] .nav-links a:hover {
  background: rgba(17, 133, 111, 0.1);
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(8, 22, 28, 0.98) 0%, rgba(14, 41, 44, 0.88) 50%, rgba(17, 32, 39, 0.98) 100%),
    linear-gradient(115deg, #08161c 0%, #12312d 52%, #172027 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.72) 58%, transparent 100%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(to bottom, rgba(244, 247, 248, 0), var(--mist));
  pointer-events: none;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}

.hero-overlay {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 22, 28, 0.88), rgba(8, 22, 28, 0.24) 68%, rgba(8, 22, 28, 0.64)),
    linear-gradient(0deg, rgba(8, 22, 28, 0.36), rgba(8, 22, 28, 0.08));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 120px 0 96px;
}

.status-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.status-line span,
.hero-proof span {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  font-size: 13px;
  white-space: normal;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: 56px;
  line-height: 1.08;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.mobile-title-break {
  display: none;
}

.hero-copy {
  max-width: 660px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  overflow-wrap: anywhere;
}

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

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.primary-action:hover,
.secondary-action:hover {
  transform: translateY(-2px);
}

.primary-action {
  color: #ffffff;
  background: linear-gradient(135deg, #0d9c83, var(--teal-dark));
  box-shadow: 0 14px 30px rgba(17, 133, 111, 0.32);
}

.secondary-action {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.08);
}

.hero-flow {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 720px;
  margin-top: 34px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-flow span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 9px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 800;
}

.hero-flow i {
  width: 30px;
  height: 1px;
  background: linear-gradient(90deg, rgba(36, 212, 223, 0), rgba(36, 212, 223, 0.86), rgba(36, 212, 223, 0));
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  max-width: 100%;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 104px 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 36px;
}

.section-heading.compact {
  max-width: 700px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

h2 {
  margin: 0;
  color: var(--ink);
  font-size: 36px;
  line-height: 1.18;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.28;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

p {
  margin: 12px 0 0;
  overflow-wrap: anywhere;
}

.section-heading p,
.feature p,
.phase p,
.product-copy p,
.app-flow p,
.contact-card p,
.project-intro-panel p,
.overview-points p,
.product-route-card p,
.iflow-capability-grid p,
.gen1-annotation-list p {
  color: var(--muted);
}

.brand-wireframe-section,
.project-overview-section {
  padding-top: 84px;
}

.project-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.35fr);
  gap: 20px;
  align-items: stretch;
}

.project-intro-panel,
.overview-points article,
.product-route-card,
.iflow-capability-grid article {
  position: relative;
  min-width: 0;
  border: 1px solid var(--soft-line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.project-intro-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 360px;
  padding: 32px;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(53, 224, 192, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(53, 224, 192, 0.07) 1px, transparent 1px),
    linear-gradient(135deg, #071117 0%, #122533 100%);
  background-size: 28px 28px, 28px 28px, auto;
  overflow: hidden;
}

.project-intro-panel::before,
.project-intro-panel::after {
  content: "";
  position: absolute;
  left: 32px;
  right: 32px;
  height: 1px;
  background: linear-gradient(90deg, rgba(36, 212, 223, 0), rgba(36, 212, 223, 0.52), rgba(36, 212, 223, 0));
  pointer-events: none;
}

.project-intro-panel::before {
  top: 24px;
}

.project-intro-panel::after {
  bottom: 24px;
}

.project-intro-panel h3 {
  margin-top: 36px;
  color: #ffffff;
  font-size: 25px;
}

.project-intro-panel p {
  color: rgba(255, 255, 255, 0.76);
}

.project-logo-lockup {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  width: fit-content;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: hidden;
}

.project-logo-image {
  display: block;
  width: min(400px, 100%);
  height: auto;
  object-fit: contain;
  border-radius: 0;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.28));
}

.project-logo-lockup .sf-logo {
  --sf-ink: #ffffff;
  --sf-cyan: #24d4df;
  font-size: 62px;
  color: #ffffff;
}

.project-logo-lockup .sf-logo-cnline {
  color: rgba(255, 255, 255, 0.72);
}

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

.overview-points article {
  min-height: 172px;
  padding: 24px;
  overflow: hidden;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.overview-points article::before,
.feature::before,
.contact-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--teal), var(--cyan));
  opacity: 0.86;
}

.overview-points article:hover {
  transform: translateY(-3px);
  border-color: rgba(17, 133, 111, 0.28);
  box-shadow: 0 20px 44px rgba(23, 32, 39, 0.1);
}

.overview-points span,
.product-route-card .route-index,
.iflow-capability-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 28px;
  margin-bottom: 22px;
  padding: 4px 8px;
  border-radius: 6px;
  color: var(--teal-dark);
  background: #edf8f5;
  font-size: 13px;
  font-weight: 900;
}

.overview-points h3,
.product-route-card h3,
.iflow-capability-grid h3 {
  font-size: 20px;
}

.logo-direction-section {
  width: min(1220px, calc(100% - 40px));
}

.logo-studio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 18px;
  align-items: stretch;
}

.logo-hero-card,
.logo-variant-panel {
  border: 1px solid rgba(23, 32, 39, 0.12);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(24, 35, 43, 0.08);
}

.logo-hero-card {
  overflow: hidden;
}

.logo-hero-preview {
  position: relative;
  min-height: 360px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 22px;
  padding: clamp(28px, 6vw, 58px);
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(49, 208, 176, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(49, 208, 176, 0.06) 1px, transparent 1px),
    radial-gradient(circle at 70% 36%, rgba(46, 155, 255, 0.28), transparent 34%),
    linear-gradient(135deg, #071117 0%, #101f2b 52%, #071117 100%);
  background-size: 32px 32px, 32px 32px, auto, auto;
  overflow: hidden;
}

.logo-hero-preview::before,
.logo-hero-preview::after {
  content: "";
  position: absolute;
  inset: auto -10% 74px -8%;
  height: 74px;
  border-top: 2px solid rgba(45, 205, 177, 0.55);
  border-radius: 50%;
  transform: rotate(-4deg);
}

.logo-hero-preview::after {
  inset: auto -6% 108px -12%;
  border-top-color: rgba(58, 148, 255, 0.28);
  transform: rotate(7deg);
}

.logo-hero-preview p {
  position: relative;
  z-index: 2;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-family:
    Inter,
    "Segoe UI",
    Arial,
    sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.logo-hero-preview.final-logo-preview {
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(7, 29, 58, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(7, 29, 58, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 63% 45%, rgba(30, 196, 214, 0.12), transparent 28%),
    #ffffff;
  background-size: 30px 30px, 30px 30px, auto, auto;
}

.logo-hero-preview.final-logo-preview::before,
.logo-hero-preview.final-logo-preview::after {
  border-top-color: rgba(30, 196, 214, 0.32);
}

.logo-hero-preview.final-logo-preview::after {
  border-top-color: rgba(7, 29, 58, 0.1);
}

.logo-hero-preview.final-logo-preview p {
  color: var(--muted);
}

.sf-logo-final {
  font-size: 108px;
}

.sf-logo-small {
  font-size: 30px;
}

.logo-version-block {
  overflow: hidden;
}

.sf-logo-flowlines {
  position: absolute;
  left: clamp(28px, 6vw, 88px);
  right: clamp(28px, 6vw, 88px);
  bottom: 92px;
  height: 62px;
  pointer-events: none;
}

.sf-logo-flowlines span {
  position: absolute;
  left: 0;
  right: 0;
  height: 16px;
  border-top: 2px solid rgba(30, 196, 214, 0.36);
  border-radius: 50%;
}

.sf-logo-flowlines span:nth-child(1) {
  top: 0;
  transform: rotate(-2deg);
}

.sf-logo-flowlines span:nth-child(2) {
  top: 19px;
  border-top-color: rgba(7, 29, 58, 0.12);
  transform: rotate(4deg);
}

.sf-logo-flowlines span:nth-child(3) {
  top: 38px;
  border-top-color: rgba(30, 196, 214, 0.22);
  transform: rotate(-5deg);
}

.tech-wordmark {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  color: #0d1720;
  font-family:
    Inter,
    "Segoe UI",
    Arial,
    sans-serif;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

.tech-wordmark-large {
  color: #ffffff;
  font-size: 96px;
  text-shadow: 0 10px 34px rgba(0, 0, 0, 0.22);
}

.tech-wordmark.small {
  font-size: 26px;
}

.tech-wordmark.inverse {
  color: #ffffff;
}

.tech-o {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.9em;
  height: 0.9em;
  margin: 0 0.025em;
  border: 0.08em solid currentColor;
  border-radius: 999px;
  transform: translateY(0.045em);
}

.tech-o-core {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #35e0c0;
  font-size: 0.28em;
  font-weight: 950;
  letter-spacing: 0;
}

.tech-o-ring,
.tech-o-node {
  position: absolute;
  display: block;
}

.tech-o-ring {
  inset: 0.18em;
  border: 0.05em solid rgba(53, 224, 192, 0.72);
  border-left-color: transparent;
  border-radius: 999px;
  transform: rotate(-24deg);
}

.tech-o-node {
  width: 0.14em;
  height: 0.14em;
  border: 0.025em solid #061116;
  border-radius: 999px;
  background: #35e0c0;
  box-shadow: 0 0 0.2em rgba(53, 224, 192, 0.88);
}

.tech-o-node.node-a {
  right: -0.02em;
  top: 0.17em;
}

.tech-o-node.node-b {
  left: 0.16em;
  bottom: 0.02em;
  background: #4d9fff;
}

.tech-flow-field {
  position: absolute;
  left: clamp(20px, 7vw, 88px);
  right: clamp(20px, 7vw, 88px);
  bottom: 78px;
  height: 64px;
  pointer-events: none;
}

.tech-flow-field span {
  position: absolute;
  left: 0;
  right: 0;
  display: block;
  height: 20px;
  border-top: 2px solid rgba(53, 224, 192, 0.58);
  border-radius: 50%;
}

.tech-flow-field span:nth-child(1) {
  top: 0;
  transform: rotate(-3deg);
}

.tech-flow-field span:nth-child(2) {
  top: 18px;
  border-top-color: rgba(77, 159, 255, 0.32);
  transform: rotate(5deg);
}

.tech-flow-field span:nth-child(3) {
  top: 36px;
  border-top-style: dashed;
  border-top-color: rgba(255, 255, 255, 0.28);
  transform: rotate(-1deg);
}

.logo-hero-copy {
  padding: 28px;
}

.logo-hero-copy h3 {
  font-size: 22px;
}

.logo-hero-copy p {
  max-width: 720px;
  color: var(--muted);
}

.logo-rules {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.logo-rules li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
}

.logo-rules li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 2px;
  background: var(--teal);
}

.logo-variant-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.variant-block {
  min-height: 108px;
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(23, 32, 39, 0.12);
  border-radius: 8px;
}

.variant-block > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.variant-block.dark {
  color: #ffffff;
  background: #081119;
  border-color: rgba(255, 255, 255, 0.08);
}

.variant-block.light {
  background: #f9fcfd;
}

.variant-block.icon {
  min-height: 160px;
  justify-items: start;
}

.sf-tech-icon {
  position: relative;
  width: 92px;
  height: 92px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 66% 32%, rgba(53, 224, 192, 0.32), transparent 34%),
    linear-gradient(135deg, #081119, #152d3b);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 16px 34px rgba(24, 35, 43, 0.16);
  overflow: hidden;
}

.sf-tech-s {
  position: absolute;
  left: 15px;
  top: 9px;
  color: rgba(255, 255, 255, 0.92);
  font-family:
    Inter,
    "Segoe UI",
    Arial,
    sans-serif;
  font-size: 55px;
  font-weight: 950;
  line-height: 1;
}

.sf-tech-o {
  position: absolute;
  right: 12px;
  top: 17px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 4px solid #ffffff;
  border-radius: 999px;
}

.sf-tech-o span {
  color: #35e0c0;
  font-size: 9px;
  font-weight: 950;
}

.sf-tech-wave {
  position: absolute;
  left: 13px;
  right: 12px;
  bottom: 23px;
  height: 20px;
  border-top: 4px solid #35e0c0;
  border-radius: 50%;
  transform: rotate(-8deg);
}

.logo-review-note {
  padding: 14px;
  border: 1px solid rgba(17, 133, 111, 0.22);
  border-radius: 8px;
  color: var(--muted);
  background: #f3fbf9;
  font-size: 13px;
}

.logo-wireframe-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 1fr;
  gap: 16px;
  min-width: 0;
}

.logo-concept {
  min-width: 0;
  min-height: 260px;
  padding: 22px;
  border: 1px dashed rgba(23, 32, 39, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(23, 32, 39, 0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(23, 32, 39, 0.04) 1px, transparent 1px),
    #ffffff;
  background-size: 22px 22px;
}

.logo-concept.recommended {
  border-color: rgba(17, 133, 111, 0.55);
  box-shadow: 0 12px 32px rgba(17, 133, 111, 0.08);
}

.logo-concept-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.logo-concept-header strong {
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--teal-dark);
  background: #f6fbfa;
}

.logo-lockup {
  min-width: 0;
  min-height: 110px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(23, 32, 39, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.logo-lockup.stacked {
  min-height: 150px;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.logo-lockup.vertical {
  min-height: 150px;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
}

.logo-lockup.wordmark-lockup {
  position: relative;
  min-height: 164px;
  justify-content: center;
  overflow: hidden;
}

.logo-lockup.primary-wordmark {
  align-items: stretch;
  flex-direction: column;
  gap: 14px;
}

.wordmark-showcase {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
  min-height: 88px;
  padding: 18px 18px 28px;
  border: 1px solid rgba(23, 32, 39, 0.18);
  border-radius: 8px;
  color: var(--ink);
  background: #ffffff;
  font-family:
    Inter,
    "Segoe UI",
    Arial,
    sans-serif;
  font-weight: 850;
}

.wordmark-showcase.compact,
.wordmark-showcase.tiny {
  min-height: 70px;
}

.wordmark-showcase.tiny {
  padding: 14px 14px 18px;
}

.wordmark-main {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  font-size: 42px;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

.wordmark-showcase.compact .wordmark-main,
.wordmark-showcase.tiny .wordmark-main {
  font-size: 30px;
}

.lung-letter-o {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.92em;
  height: 0.92em;
  margin: 0 0.02em;
  border: 3px solid currentColor;
  border-radius: 999px;
  transform: translateY(0.03em);
}

.lung-lobe,
.lung-airway,
.sensor-node {
  position: absolute;
  display: block;
}

.lung-lobe {
  top: 0.25em;
  width: 0.23em;
  height: 0.32em;
  border: 2px solid var(--blue);
  border-top-color: transparent;
  border-radius: 0 0 999px 999px;
}

.lung-lobe.left {
  left: 0.2em;
}

.lung-lobe.right {
  right: 0.2em;
}

.lung-airway {
  top: 0.17em;
  left: 50%;
  width: 2px;
  height: 0.48em;
  background: var(--teal);
  transform: translateX(-50%);
}

.sensor-node {
  right: -0.16em;
  top: 0.14em;
  width: 0.22em;
  height: 0.22em;
  border: 2px solid #ffffff;
  border-radius: 999px;
  background: var(--teal);
  box-shadow: 0 0 0 1px var(--teal);
}

.wordmark-ai {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 34px;
  padding: 5px 8px;
  border: 2px solid rgba(17, 133, 111, 0.5);
  border-radius: 7px;
  color: var(--teal-dark);
  background: #f0fbf8;
  font-size: 17px;
  line-height: 1;
}

.wordmark-flowline {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 13px;
  height: 12px;
  border-top: 3px solid var(--teal);
  border-radius: 50% 50% 0 0;
  transform: skewX(-18deg);
}

.wordmark-flowline.pulsed {
  height: 16px;
  border-top-style: dashed;
  border-top-color: var(--blue);
}

.logo-callouts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.logo-callouts span {
  padding: 4px 7px;
  border: 1px solid rgba(23, 32, 39, 0.14);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.78);
}

.signal-letter-f {
  position: relative;
  color: var(--blue);
}

.signal-letter-f::after {
  content: "";
  position: absolute;
  right: -0.2em;
  top: 0.16em;
  width: 0.46em;
  height: 0.2em;
  border-top: 3px solid var(--teal);
  border-radius: 50%;
}

.pulse-letter-o {
  position: relative;
  display: inline-block;
  width: 0.8em;
  height: 0.8em;
  margin: 0 0.03em;
  border: 3px solid currentColor;
  border-radius: 999px;
  transform: translateY(0.08em);
}

.pulse-letter-o::after {
  content: "";
  position: absolute;
  inset: 0.18em;
  border: 2px solid var(--teal);
  border-top-color: transparent;
  border-radius: 999px;
}

.node-ai {
  position: relative;
}

.node-ai::before,
.node-ai::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 18px;
  height: 1px;
  background: rgba(17, 133, 111, 0.45);
}

.node-ai::before {
  right: 100%;
}

.node-ai::after {
  left: 100%;
}

.mini-system {
  display: grid;
  grid-template-columns: repeat(4, 18px);
  gap: 9px;
}

.mini-system span {
  width: 18px;
  height: 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
}

.mini-system span:nth-child(2),
.mini-system span:nth-child(4) {
  background: #eaf6ff;
}

.app-mark-lockup {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sf-mark {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 86px;
  height: 86px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
}

.sf-mark-s {
  position: absolute;
  left: 12px;
  top: 12px;
  color: rgba(23, 32, 39, 0.2);
  font-size: 54px;
  font-weight: 900;
  line-height: 1;
}

.sf-lung,
.sf-signal {
  position: absolute;
  display: block;
}

.sf-lung {
  right: 15px;
  top: 19px;
  width: 32px;
  height: 32px;
  border: 4px solid var(--blue);
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: rotate(18deg);
}

.sf-signal {
  left: 15px;
  right: 12px;
  bottom: 20px;
  height: 22px;
  border-top: 5px solid var(--teal);
  border-radius: 50% 50% 0 0;
  transform: rotate(-8deg);
}

.logo-mark {
  position: relative;
  flex: 0 0 auto;
  width: 76px;
  height: 76px;
  border: 2px solid var(--ink);
  border-radius: 16px;
  background: #ffffff;
  overflow: hidden;
}

.logo-mark.mark-square {
  border-radius: 20px;
}

.mark-breath,
.mark-signal {
  position: absolute;
  display: block;
}

.mark-breath {
  left: 20px;
  top: 16px;
  width: 34px;
  height: 34px;
  border: 4px solid var(--blue);
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: rotate(12deg);
}

.mark-signal {
  left: 13px;
  right: 10px;
  bottom: 19px;
  height: 28px;
  border-top: 5px solid var(--teal);
  border-radius: 50% 50% 0 0;
  transform: rotate(-9deg);
}

.logo-text {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.logo-text b {
  font-size: 22px;
  line-height: 1.18;
}

.logo-text em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.logo-text.centered {
  justify-items: center;
}

.logo-text.large b {
  font-size: 24px;
}

.logo-text.large em {
  font-size: 11px;
}

.logo-rule {
  width: 100%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line), var(--line) 10px, transparent 10px, transparent 16px);
}

.logo-note {
  margin: 0;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 800;
}

.logo-concept > p {
  color: var(--muted);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.product-route-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.product-route-grid::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 43px;
  height: 2px;
  background: linear-gradient(90deg, rgba(17, 133, 111, 0.12), rgba(36, 212, 223, 0.42), rgba(39, 105, 166, 0.16));
  pointer-events: none;
}

.product-route-card {
  position: relative;
  z-index: 1;
  min-height: 292px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  overflow: hidden;
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfdfd 100%);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.product-route-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--cyan));
}

.product-route-card:hover {
  transform: translateY(-3px);
  border-color: rgba(17, 133, 111, 0.38);
  box-shadow: 0 24px 52px rgba(23, 32, 39, 0.12);
}

.product-route-card p {
  margin-bottom: 18px;
}

.product-route-card strong {
  width: fit-content;
  margin-top: auto;
  padding: 6px 9px;
  border: 1px solid rgba(17, 133, 111, 0.24);
  border-radius: 6px;
  color: var(--teal-dark);
  background: #edf8f5;
  font-size: 13px;
}

.product-route-card.emphasized {
  border-color: rgba(39, 105, 166, 0.38);
  background:
    linear-gradient(180deg, #ffffff 0%, #eef7fb 100%);
}

.product-route-card.emphasized::before {
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.product-route-card.emphasized strong {
  color: #ffffff;
  background: var(--blue);
  border-color: var(--blue);
}

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

.phase,
.feature,
.contact-card,
.app-flow article {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.phase {
  min-height: 250px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.phase.active {
  border-color: rgba(17, 133, 111, 0.42);
  background: linear-gradient(180deg, #ffffff 0%, #edf7f4 100%);
}

.phase.future {
  border-color: rgba(111, 92, 167, 0.36);
}

.phase-tag {
  width: fit-content;
  padding: 4px 8px;
  border-radius: 6px;
  color: #ffffff;
  background: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.phase.active .phase-tag {
  background: var(--teal);
}

.phase.future .phase-tag {
  background: var(--violet);
}

.phase strong {
  margin-top: auto;
  color: var(--teal-dark);
  font-size: 14px;
}

.split-section {
  border-top: 1px solid rgba(23, 32, 39, 0.08);
}

.gen1-product-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 20px;
  align-items: stretch;
  margin: 34px 0 24px;
}

.gen1-render-panel {
  position: relative;
  min-width: 0;
  min-height: 520px;
  display: grid;
  place-items: center;
  margin: 0;
  border: 1px solid rgba(23, 32, 39, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(17, 133, 111, 0.055) 1px, transparent 1px),
    linear-gradient(0deg, rgba(39, 105, 166, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, #ffffff 0%, #eef7fb 100%);
  background-size: 34px 34px, 34px 34px, auto;
  box-shadow: 0 26px 66px rgba(23, 32, 39, 0.12);
  overflow: hidden;
}

.gen1-render-panel::before {
  content: "安装动图示意";
  position: absolute;
  left: 18px;
  top: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 9px;
  border: 1px solid rgba(17, 133, 111, 0.18);
  border-radius: 6px;
  color: var(--teal-dark);
  background: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 900;
}

.gen1-render-panel img {
  width: min(96%, 720px);
  max-height: 500px;
  object-fit: contain;
  filter: drop-shadow(0 22px 32px rgba(23, 32, 39, 0.16));
}

.gen1-installation-gif {
  mix-blend-mode: normal;
}

.gen1-source-note {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 2;
  max-width: min(430px, calc(100% - 36px));
  margin: 0;
  padding: 5px 8px;
  border: 1px solid rgba(23, 32, 39, 0.1);
  border-radius: 6px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.84);
  font-size: 12px;
  font-weight: 700;
}

.gen1-annotation-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.gen1-annotation-list article {
  position: relative;
  min-width: 0;
  min-height: 116px;
  padding: 20px 20px 20px 64px;
  border: 1px solid var(--soft-line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.gen1-annotation-list article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--blue), var(--cyan));
}

.gen1-annotation-list span {
  position: absolute;
  left: 20px;
  top: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  color: #ffffff;
  background: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.gen1-annotation-list article:nth-child(2) span {
  background: var(--teal);
}

.gen1-annotation-list article:nth-child(3) span {
  background: var(--amber);
}

.gen1-annotation-list article:nth-child(4) span {
  background: var(--violet);
}

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

.feature {
  min-height: 220px;
  padding: 24px;
  transition: transform 160ms ease, border-color 160ms ease;
}

.feature:hover {
  transform: translateY(-3px);
  border-color: rgba(181, 122, 35, 0.32);
}

.feature-index {
  display: block;
  margin-bottom: 24px;
  color: var(--amber);
  font-size: 14px;
  font-weight: 900;
}

.product-band {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
  gap: 42px;
  align-items: center;
  width: 100%;
  max-width: none;
  padding: 104px max(20px, calc((100vw - 1180px) / 2));
}

.robot-band {
  background:
    linear-gradient(90deg, #ffffff 0%, #f5fbfa 52%, #eef7fb 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.check-list {
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 12px;
  height: 2px;
  background: var(--teal);
}

.interface-visual {
  min-height: 360px;
  display: grid;
  align-items: center;
}

.section-visual-card {
  position: relative;
  min-width: 0;
  margin: 0;
  border: 1px solid rgba(23, 32, 39, 0.12);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 26px 66px rgba(23, 32, 39, 0.12);
  overflow: hidden;
}

.section-visual-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-visual-card figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 2;
  width: fit-content;
  max-width: calc(100% - 32px);
  margin: 0;
  padding: 6px 9px;
  border: 1px solid rgba(23, 32, 39, 0.12);
  border-radius: 6px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 26px rgba(23, 32, 39, 0.1);
  font-size: 13px;
  font-weight: 800;
}

.scenario-visual {
  min-height: 430px;
}

.education-render-visual {
  min-height: auto;
  aspect-ratio: 16 / 7.2;
}

.pc-window {
  border: 1px solid rgba(23, 32, 39, 0.14);
  border-radius: 8px;
  background: #f9fbfb;
  box-shadow: 0 28px 70px rgba(18, 36, 46, 0.16);
  overflow: hidden;
}

.window-bar {
  height: 46px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  color: var(--muted);
  background:
    linear-gradient(180deg, #f8fbfb 0%, #e8eef1 100%);
  border-bottom: 1px solid var(--line);
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--rose);
}

.window-bar span:nth-child(2) {
  background: var(--amber);
}

.window-bar span:nth-child(3) {
  background: var(--teal);
}

.window-bar strong {
  margin-left: 8px;
  font-size: 13px;
}

.training-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  min-height: 300px;
}

.steps-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  background: #ffffff;
  border-right: 1px solid var(--line);
}

.steps-panel b {
  margin-bottom: 4px;
}

.step {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  font-size: 14px;
}

.step.done {
  color: var(--teal-dark);
  background: #edf7f4;
}

.step.active {
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), #1b8ca0);
  border-color: rgba(39, 105, 166, 0.5);
  box-shadow: 0 10px 22px rgba(39, 105, 166, 0.18);
}

.signal-panel {
  position: relative;
  padding: 28px;
  background:
    linear-gradient(90deg, rgba(23, 32, 39, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(23, 32, 39, 0.05) 1px, transparent 1px),
    #fbfcfd;
  background-size: 34px 34px;
}

.curve-label {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 6px;
  color: #ffffff;
  background: var(--teal);
  font-size: 13px;
}

.curve-line {
  position: relative;
  height: 132px;
  margin-top: 40px;
  overflow: hidden;
}

.curve-line::before {
  content: "";
  position: absolute;
  left: -4%;
  top: 48%;
  width: 108%;
  height: 72px;
  border-top: 5px solid var(--teal);
  border-radius: 50% 50% 0 0;
  transform: rotate(-4deg);
}

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

.app-section {
  border-bottom: 1px solid rgba(23, 32, 39, 0.08);
}

.app-showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 20px;
  align-items: stretch;
}

.app-visual,
.services-visual {
  aspect-ratio: 16 / 9;
}

.iflow-section {
  width: 100%;
  max-width: none;
  padding: 112px max(20px, calc((100vw - 1180px) / 2));
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(36, 212, 223, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(36, 212, 223, 0.06) 1px, transparent 1px),
    linear-gradient(135deg, #08161c 0%, #0e2730 58%, #172027 100%);
  background-size: 40px 40px, 40px 40px, auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.iflow-section h2,
.iflow-section h3 {
  color: #ffffff;
}

.iflow-section .eyebrow {
  color: #8feee7;
}

.iflow-section .section-heading p {
  color: rgba(255, 255, 255, 0.72);
}

.iflow-logo-lockup {
  width: min(440px, 100%);
  margin: 0 0 26px;
}

.iflow-logo-lockup img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.28));
}

.iflow-visual-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 22px;
}

.iflow-visual {
  aspect-ratio: 16 / 7.5;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.24);
}

.iflow-visual figcaption {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(8, 22, 28, 0.68);
}

.multi-drug-visual img {
  object-fit: cover;
}

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

.iflow-capability-grid article {
  min-height: 220px;
  padding: 24px;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.055) 100%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
  transition: transform 160ms ease, border-color 160ms ease;
}

.iflow-capability-grid article::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
}

.iflow-capability-grid article:hover {
  transform: translateY(-3px);
  border-color: rgba(36, 212, 223, 0.42);
}

.iflow-capability-grid article p {
  color: rgba(255, 255, 255, 0.68);
}

.iflow-capability-grid span {
  color: #ffffff;
  background: rgba(36, 212, 223, 0.16);
}

.app-flow {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.app-detail-panel {
  display: grid;
  gap: 16px;
  align-content: start;
}

.app-product-identity {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  padding: 22px;
  border: 1px solid rgba(23, 32, 39, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(17, 133, 111, 0.08), rgba(39, 105, 166, 0.08)),
    #ffffff;
  box-shadow: var(--shadow-soft);
}

.app-product-icon {
  flex: 0 0 auto;
  width: 88px;
  height: 88px;
  object-fit: contain;
  filter: drop-shadow(0 16px 28px rgba(23, 32, 39, 0.18));
}

.app-product-identity span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 10px;
  padding: 4px 8px;
  border-radius: 6px;
  color: var(--teal-dark);
  background: #eaf8f6;
  font-size: 13px;
  font-weight: 900;
}

.app-product-identity h3 {
  font-size: 21px;
}

.app-product-identity p {
  color: var(--muted);
}

.app-screen-carousel {
  grid-column: 1 / -1;
  min-width: 0;
  overflow: hidden;
  padding: 26px 0 22px;
  border: 1px solid rgba(23, 32, 39, 0.12);
  border-radius: 8px;
  background:
    radial-gradient(circle at 28% 8%, rgba(36, 212, 223, 0.14), transparent 34%),
    radial-gradient(circle at 82% 20%, rgba(39, 105, 166, 0.12), transparent 38%),
    linear-gradient(180deg, #ffffff 0%, #f5fafb 100%);
  box-shadow: var(--shadow-soft);
}

.app-screen-carousel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 0 26px 16px;
}

.app-screen-carousel-head span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 10px;
  padding: 4px 8px;
  border-radius: 6px;
  color: var(--blue);
  background: #eef6ff;
  font-size: 13px;
  font-weight: 900;
}

.app-screen-carousel-head h3 {
  font-size: 30px;
}

.app-carousel-controls {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}

.app-carousel-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(23, 32, 39, 0.14);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 20px rgba(23, 32, 39, 0.08);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    background 160ms ease;
}

.app-carousel-button:hover {
  color: #ffffff;
  border-color: var(--teal);
  background: var(--teal);
  transform: translateY(-1px);
}

.app-screen-track {
  display: flex;
  gap: 22px;
  width: max-content;
  min-width: 0;
  overflow: visible;
  padding: 12px 0 20px;
  scrollbar-width: none;
  transform: translateX(0);
  transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
  touch-action: pan-y;
  user-select: none;
  will-change: transform;
}

.app-screen-track::-webkit-scrollbar {
  display: none;
}

.app-screen-slide {
  flex: 0 0 min(318px, 76vw);
  margin: 0;
  opacity: 0.58;
  transform: scale(0.9);
  transform-origin: center bottom;
  transition:
    opacity 220ms ease,
    transform 220ms ease,
    filter 220ms ease;
  filter: saturate(0.78);
}

.app-screen-slide.is-active {
  opacity: 1;
  transform: scale(1);
  filter: saturate(1);
}

.app-screen-slide img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(23, 32, 39, 0.12);
  border-radius: 18px;
  background: #ffffff;
  box-shadow:
    0 26px 58px rgba(23, 32, 39, 0.2),
    0 0 0 8px rgba(255, 255, 255, 0.72);
}

.app-screen-slide figcaption {
  display: grid;
  gap: 4px;
  margin-top: 18px;
  padding: 0 8px;
  text-align: center;
}

.app-screen-slide figcaption strong {
  font-size: 18px;
}

.app-screen-slide figcaption span {
  color: var(--muted);
  font-size: 14px;
}

.app-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  padding-top: 2px;
}

.app-carousel-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(39, 105, 166, 0.24);
  cursor: pointer;
  transition:
    width 160ms ease,
    background 160ms ease;
}

.app-carousel-dots button.is-active {
  width: 28px;
  background: linear-gradient(90deg, var(--teal), var(--blue));
}

.app-flow article {
  padding: 22px;
  transition: transform 160ms ease, border-color 160ms ease;
}

.app-flow article:hover {
  transform: translateY(-3px);
  border-color: rgba(179, 77, 92, 0.28);
}

.app-flow span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 28px;
  margin-bottom: 24px;
  padding: 4px 8px;
  border-radius: 6px;
  color: var(--rose);
  background: #fff1f3;
  font-weight: 900;
}

.evidence-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.evidence-table > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.evidence-table > div:first-child {
  border-top: 0;
}

.evidence-table span {
  min-height: 58px;
  padding: 16px;
  border-left: 1px solid var(--line);
}

.evidence-table span:first-child {
  border-left: 0;
}

.table-head {
  color: #ffffff;
  background: var(--ink);
  font-weight: 800;
}

.contact-section {
  padding-bottom: 118px;
}

.services-visual {
  margin-bottom: 22px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.contact-card {
  min-height: 210px;
  padding: 22px;
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfdfd 100%);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.contact-card:hover {
  transform: translateY(-3px);
  border-color: rgba(17, 133, 111, 0.46);
  box-shadow: 0 22px 48px rgba(23, 32, 39, 0.1);
}

.contact-card span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 22px;
  padding: 4px 8px;
  border-radius: 6px;
  color: var(--blue);
  background: #edf4fb;
  font-size: 13px;
  font-weight: 900;
}

.contact-card strong {
  display: block;
  font-size: 18px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(20px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.82);
  background: #172027;
  font-size: 13px;
}

.site-footer p {
  max-width: 860px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

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

  .hero {
    min-height: 760px;
  }

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

  .roadmap,
  .feature-grid,
  .logo-wireframe-grid,
  .product-route-grid,
  .iflow-capability-grid,
  .app-flow,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gen1-product-showcase {
    grid-template-columns: minmax(0, 1fr);
  }

  .gen1-render-panel {
    min-height: 460px;
  }

  .project-overview-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .logo-studio-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .sf-logo-final {
    font-size: 82px;
  }

  .wordmark-main {
    font-size: 36px;
  }

  .product-band {
    grid-template-columns: 1fr;
  }

  .iflow-visual-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .app-showcase-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .scenario-visual {
    min-height: auto;
    aspect-ratio: 16 / 9;
  }

  .education-render-visual {
    aspect-ratio: 16 / 7.2;
  }

  .iflow-section {
    width: 100%;
    padding-right: 20px;
    padding-left: 20px;
  }
}

@media (max-width: 680px) {
  .site-header {
    position: absolute;
    min-height: auto;
    padding: 14px 18px;
  }

  .brand {
    font-size: 18px;
    white-space: normal;
    width: min(226px, 64vw);
    height: 44px;
    min-height: 0;
    padding: 0;
  }

  .brand-logo-image {
    width: 100%;
    max-width: none;
    height: 100%;
  }

  .sf-logo-header {
    font-size: 18px;
  }

  .sf-logo-header .sf-logo-cnline {
    display: none;
  }

  .brand-wordmark {
    gap: 6px;
  }

  .brand-wordmark-o {
    width: 0.86em;
    height: 0.86em;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 720px;
  }

  .hero-content {
    width: calc(100% - 32px);
    padding-top: 110px;
  }

  .hero h1 {
    max-width: 330px;
    font-size: 36px;
  }

  .hero-proof span {
    display: inline-block;
    max-width: 300px;
    overflow-wrap: anywhere;
  }

  .hero-proof {
    flex-direction: column;
    align-items: flex-start;
  }

  .mobile-title-break {
    display: block;
  }

  .hero-copy {
    max-width: 330px;
    font-size: 16px;
  }

  .hero-flow {
    align-items: flex-start;
    flex-direction: column;
    width: min(330px, 100%);
    margin-top: 26px;
  }

  .hero-flow i {
    width: 1px;
    height: 18px;
    margin-left: 18px;
    background: linear-gradient(180deg, rgba(36, 212, 223, 0), rgba(36, 212, 223, 0.86), rgba(36, 212, 223, 0));
  }

  .section {
    width: calc(100% - 44px);
    padding: 70px 0;
    min-width: 0;
  }

  h2 {
    max-width: 100%;
    font-size: 29px;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-all;
    line-break: anywhere;
  }

  h3 {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-all;
    line-break: anywhere;
  }

  p,
  li,
  strong {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-all;
    line-break: anywhere;
  }

  .section > *,
  .section-heading,
  .project-overview-grid,
  .project-intro-panel,
  .overview-points,
  .overview-points article,
  .product-route-grid,
  .product-route-card,
  .iflow-visual-grid,
  .iflow-capability-grid,
  .iflow-capability-grid article {
    min-width: 0;
    max-width: 100%;
  }

  .roadmap,
  .feature-grid,
  .logo-wireframe-grid,
  .overview-points,
  .product-route-grid,
  .iflow-capability-grid,
  .gen1-annotation-list,
  .app-flow,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .gen1-product-showcase {
    gap: 14px;
    margin-top: 26px;
  }

  .gen1-render-panel {
    min-height: 340px;
  }

  .gen1-render-panel img {
    width: 96%;
    max-height: 310px;
  }

  .gen1-annotation-list article {
    min-height: auto;
    padding: 18px 18px 18px 58px;
  }

  .product-route-grid::before {
    display: none;
  }

  .project-intro-panel {
    min-height: auto;
    padding: 24px;
  }

  .project-intro-panel h3 {
    font-size: 21px;
  }

  .project-logo-lockup {
    padding: 0;
  }

  .project-logo-image {
    width: min(280px, 100%);
  }

  .project-logo-lockup .sf-logo {
    font-size: 31px;
  }

  .project-logo-lockup .sf-logo-cnline {
    letter-spacing: 0;
  }

  .logo-lockup.horizontal {
    align-items: flex-start;
    flex-direction: column;
  }

  .logo-lockup.wordmark-lockup {
    min-height: 142px;
    padding: 14px;
  }

  .logo-direction-section {
    width: calc(100% - 32px);
  }

  .logo-hero-preview {
    min-height: 270px;
    padding: 28px 12px;
  }

  .sf-logo-final {
    font-size: 42px;
  }

  .sf-logo-small {
    font-size: 25px;
  }

  .sf-logo-cnline {
    font-size: 0.27em;
    letter-spacing: 0;
    transform: translateX(0.12em);
  }

  .sf-logo-cnline::before,
  .sf-logo-cnline::after {
    width: 1.2em;
  }

  .sf-logo-flowlines {
    left: 18px;
    right: 18px;
    bottom: 68px;
  }

  .tech-wordmark-large {
    font-size: 36px;
  }

  .tech-wordmark.small {
    font-size: 22px;
  }

  .tech-flow-field {
    left: 20px;
    right: 20px;
    bottom: 58px;
  }

  .logo-hero-copy,
  .logo-variant-panel {
    padding: 18px;
  }

  .logo-hero-copy h3 {
    font-size: 19px;
  }

  .logo-concept-header {
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-bottom: 22px;
  }

  .wordmark-showcase {
    width: 100%;
    gap: 8px;
    padding: 16px 12px 26px;
  }

  .wordmark-main {
    font-size: 28px;
  }

  .wordmark-showcase.compact .wordmark-main,
  .wordmark-showcase.tiny .wordmark-main {
    font-size: 24px;
  }

  .wordmark-ai {
    min-width: 36px;
    min-height: 30px;
    font-size: 15px;
  }

  .app-mark-lockup {
    align-items: flex-start;
    flex-direction: column;
  }

  .app-product-identity {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding: 20px;
  }

  .app-product-icon {
    width: 74px;
    height: 74px;
  }

  .app-screen-carousel {
    padding: 22px 0 20px;
  }

  .app-screen-carousel-head {
    flex-direction: column;
    gap: 14px;
    padding: 0 18px 12px;
  }

  .app-carousel-controls {
    width: 100%;
    justify-content: space-between;
  }

  .app-screen-track {
    gap: 16px;
    padding-inline: 0;
  }

  .app-screen-slide {
    flex-basis: min(272px, 82vw);
  }

  .app-screen-slide img {
    border-radius: 16px;
    box-shadow:
      0 18px 38px rgba(23, 32, 39, 0.18),
      0 0 0 6px rgba(255, 255, 255, 0.72);
  }

  .product-band {
    padding: 72px 16px;
  }

  .section-visual-card figcaption {
    position: static;
    width: auto;
    max-width: none;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .scenario-visual,
  .app-visual,
  .services-visual,
  .iflow-visual {
    aspect-ratio: auto;
  }

  .scenario-visual img,
  .app-visual img,
  .services-visual img,
  .iflow-visual img {
    height: auto;
  }

  .iflow-section {
    width: 100%;
    padding: 76px 16px;
  }

  .training-layout {
    grid-template-columns: 1fr;
  }

  .steps-panel {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .evidence-table > div {
    grid-template-columns: 1fr;
  }

  .evidence-table span {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .evidence-table span:first-child {
    border-top: 0;
  }

  .site-footer {
    flex-direction: column;
  }
}

/* T14 product-site candidate additions: status, legal content, and filing footer. */
.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: #ffffff;
  background: #071d3a;
  border-radius: 6px;
  transform: translateY(-160%);
}

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

.hero-status,
.readiness-chip,
.capability-status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 4px 9px;
  border: 1px solid rgba(17, 133, 111, 0.22);
  border-radius: 6px;
  color: var(--teal-dark);
  background: #eef9f6;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-status {
  color: #d8fff5;
  border-color: rgba(143, 243, 223, 0.34);
  background: rgba(17, 133, 111, 0.24);
}

.readiness-chip {
  margin: 4px 0 14px;
}

.readiness-chip-on-dark {
  color: #d8fff5;
  border-color: rgba(143, 243, 223, 0.32);
  background: rgba(17, 133, 111, 0.2);
}

.capability-status {
  margin-top: 14px;
}

.third-party-note {
  margin: 24px 0 0;
  padding: 16px 18px;
  border-left: 3px solid var(--amber);
  color: #5d4a2d;
  background: #fff8eb;
  font-size: 14px;
}

.public-boundary {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
  gap: 36px;
  align-items: start;
  padding: 48px clamp(20px, 5vw, 72px);
  color: #ffffff;
  background: #0b3038;
}

.public-boundary h2,
.public-boundary p {
  margin-top: 0;
}

.public-boundary h2 {
  max-width: 420px;
  margin-bottom: 0;
  font-size: 30px;
  line-height: 1.28;
}

.public-boundary > p {
  color: rgba(255, 255, 255, 0.82);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px 32px;
  align-items: start;
}

.footer-primary {
  display: grid;
  gap: 8px;
}

.footer-primary a,
.footer-links a {
  color: #9fe9db;
  text-decoration: underline;
  text-decoration-color: rgba(159, 233, 219, 0.42);
  text-underline-offset: 4px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
  max-width: 620px;
}

.footer-links span {
  color: rgba(255, 255, 255, 0.62);
}

.footer-disclaimer {
  max-width: 920px;
  font-size: 12px;
}

.footer-copyright {
  justify-self: end;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

.legal-page,
.error-page {
  min-height: 100vh;
  color: var(--ink);
  background: #f4f7f8;
}

.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  padding: 12px clamp(20px, 5vw, 72px);
  background: #071d3a;
}

.legal-brand {
  display: inline-flex;
  align-items: center;
  width: min(300px, 58vw);
  height: 54px;
}

.legal-brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.legal-back {
  color: #ffffff;
  font-size: 14px;
}

.legal-main {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 64px 0 80px;
}

.legal-heading {
  margin-bottom: 42px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.legal-heading h1 {
  margin: 8px 0 10px;
  font-size: 42px;
  line-height: 1.2;
}

.legal-heading p:last-child,
.legal-main section p {
  color: var(--muted);
}

.legal-main section {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.legal-main section h2 {
  margin: 0 0 12px;
  font-size: 22px;
}

.legal-main section a {
  color: var(--teal-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  padding: 28px 20px;
  color: rgba(255, 255, 255, 0.78);
  background: #172027;
  font-size: 13px;
}

.legal-footer a {
  color: #9fe9db;
}

.error-main {
  display: grid;
  place-items: start;
  align-content: center;
  width: min(680px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
}

.error-brand {
  display: block;
  width: min(300px, 70vw);
  margin-bottom: 40px;
}

.error-brand img {
  display: block;
  width: 100%;
}

.error-code {
  margin: 0;
  color: var(--teal);
  font-size: 16px;
  font-weight: 900;
}

.error-main h1 {
  margin: 8px 0 12px;
  font-size: 42px;
}

.error-main > p:not(.error-code) {
  color: var(--muted);
}

.error-home {
  margin-top: 22px;
  color: var(--teal-dark);
  font-weight: 900;
}

@media (max-width: 720px) {
  .public-boundary {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding: 38px 16px;
  }

  .public-boundary h2 {
    font-size: 25px;
  }

  .site-footer {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .footer-copyright {
    justify-self: start;
  }

  .legal-header {
    padding: 10px 16px;
  }

  .legal-back {
    flex: 0 0 auto;
  }

  .legal-main {
    width: min(100% - 32px, 920px);
    padding: 44px 0 64px;
  }

  .legal-heading h1,
  .error-main h1 {
    font-size: 34px;
  }
}

@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;
  }
}
