:root {
  color-scheme: light;
  --ink: #111111;
  --ink-soft: #2f3742;
  --muted: #667085;
  --line: #d9dde3;
  --line-soft: #eceef1;
  --paper: #ffffff;
  --paper-soft: #f7f8fa;
  --blue: #183b66;
  --blue-bright: #245ca4;
  --vermillion: #f05a3c;
  --serif: "Noto Serif SC", "Songti SC", STSong, serif;
  --sans: Inter, "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: 1320px;
  --gutter: clamp(20px, 5vw, 72px);
  --section-space: clamp(96px, 12vw, 176px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

body.nav-open,
body.theme-switcher-open {
  overflow: hidden;
}

body.theme-switcher-open {
  width: 100%;
  max-width: 100vw;
}

button,
a {
  font: inherit;
}

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

button {
  color: inherit;
}

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

::selection {
  background: rgba(240, 90, 60, 0.18);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--vermillion);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  transform: translateY(-150%);
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  transition: transform 180ms ease;
}

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

.container {
  width: min(100%, var(--container));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: var(--section-space);
}

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 80px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.1);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  transition: box-shadow 220ms ease, height 220ms ease;
}

.topbar.is-scrolled {
  height: 68px;
  box-shadow: 0 12px 34px rgba(18, 31, 47, 0.06);
}

.topbar-inner {
  width: min(100%, var(--container));
  height: 100%;
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo {
  min-width: 206px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.logo img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand-name {
  display: flex;
  align-items: baseline;
  gap: 9px;
  white-space: nowrap;
}

.brand-name strong {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-name small {
  padding-left: 9px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 46px);
}

.nav a {
  position: relative;
  padding-block: 10px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 3px;
  height: 2px;
  background: var(--blue);
  transition: right 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.nav a:hover::after,
.nav a.active::after {
  right: 0;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
}

.menu-toggle > span:not(.sr-only) {
  display: block;
  width: 24px;
  height: 1px;
  margin: 6px auto;
  background: var(--ink);
  transition: transform 200ms ease;
}

.menu-toggle[aria-expanded="true"] > span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] > span:nth-child(2) {
  transform: translateY(-3.5px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100svh;
  padding-top: 80px;
  overflow: hidden;
  background:
    linear-gradient(to right, transparent calc(100% - 1px), rgba(17, 17, 17, 0.07) 1px) 0 0 / clamp(88px, 10vw, 150px) 100%,
    var(--paper);
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(100%, var(--container));
  min-height: calc(100svh - 80px);
  margin-inline: auto;
  padding: clamp(112px, 15vh, 168px) var(--gutter) 132px;
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(320px, 0.42fr);
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 4;
  max-width: 780px;
}

.hero h1 {
  max-width: 760px;
  font-family: var(--serif);
  font-size: clamp(58px, 7.1vw, 104px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.hero-manifesto {
  margin-top: 30px;
  font-size: clamp(18px, 1.65vw, 24px);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.hero-company {
  max-width: 680px;
  margin-top: 28px;
  padding-left: 22px;
  border-left: 3px solid var(--vermillion);
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.9;
}

.hero-actions,
.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-actions {
  margin-top: 38px;
}

.button {
  min-height: 46px;
  padding: 0 24px;
  border: 1px solid var(--blue);
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: transparent;
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: color 220ms ease, background 220ms ease, transform 220ms ease;
}

.button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  transition: transform 220ms ease;
}

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

.button:hover:not(:disabled) svg {
  transform: translateX(3px);
}

.button-primary {
  background: var(--blue);
  color: var(--paper);
}

.button-primary:hover:not(:disabled) {
  background: var(--blue-bright);
}

.button-secondary:hover:not(:disabled) {
  background: var(--paper-soft);
}

.button-disabled {
  border-color: var(--line);
  background: var(--paper-soft);
  color: #9aa2ad;
  cursor: not-allowed;
}

.button-lg {
  min-height: 56px;
  padding-inline: 30px;
  font-size: 15px;
}

.hero-path {
  position: absolute;
  z-index: 1;
  top: 80px;
  right: 0;
  width: 57%;
  height: calc(100% - 80px);
  overflow: visible;
  pointer-events: none;
}

.hero-media,
.hero-signal {
  display: none;
}

.hero-path path {
  fill: none;
  stroke: url(#freePathGradient);
  stroke-width: 2.2;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.8));
}

.path-point {
  fill: var(--paper);
  stroke: var(--vermillion);
  stroke-width: 2;
  opacity: 0;
  transition: opacity 300ms ease;
}

.hero[data-interacted="true"] .path-point {
  opacity: 1;
}

.hero-status {
  position: absolute;
  left: var(--gutter);
  bottom: 30px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
}

.hero-status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}

.scroll-cue {
  position: absolute;
  right: var(--gutter);
  bottom: 24px;
  z-index: 4;
  width: 38px;
  height: 54px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
}

.scroll-cue::before {
  content: "";
  width: 1px;
  height: 18px;
  background: var(--ink);
  animation: scrollCue 1.8s ease-in-out infinite;
}

@keyframes scrollCue {
  0%, 100% { transform: translateY(-5px); opacity: 0.3; }
  50% { transform: translateY(5px); opacity: 1; }
}

.section-index {
  color: var(--vermillion);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(120px, 0.22fr) minmax(0, 0.78fr);
  gap: clamp(32px, 6vw, 86px);
  align-items: start;
  margin-bottom: clamp(64px, 8vw, 112px);
}

.section-heading h2,
.manifesto h2,
.about h2,
.contact h2 {
  font-family: var(--serif);
  font-size: clamp(42px, 5.4vw, 76px);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.045em;
}

.section-heading p:not(.section-index) {
  max-width: 640px;
  margin-top: 18px;
  color: var(--muted);
}

.manifesto {
  background: var(--paper-soft);
  border-bottom: 1px solid var(--line);
}

.manifesto-grid {
  display: grid;
  grid-template-columns: minmax(100px, 0.18fr) minmax(280px, 0.42fr) minmax(280px, 0.4fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.manifesto-copy {
  padding-top: 12px;
  font-size: 18px;
}

.manifesto-copy p + p {
  margin-top: 28px;
}

.text-muted {
  color: var(--muted);
}

.products {
  overflow: hidden;
}

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

.product-item {
  position: relative;
  min-height: 390px;
  padding: clamp(38px, 5vw, 70px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  background: var(--paper);
  transition: background 300ms ease;
}

.product-item::after {
  content: "";
  position: absolute;
  left: -1px;
  top: -1px;
  width: 2px;
  height: 0;
  background: var(--vermillion);
  transition: height 450ms cubic-bezier(0.22, 1, 0.36, 1);
}

.product-item:hover {
  background: #fafbfc;
}

.product-item:hover::after,
.product-item:focus-within::after {
  height: calc(100% + 1px);
}

.product-item.is-live::after {
  height: 74px;
  background: var(--blue);
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 42px;
}

.product-number {
  font-family: var(--serif);
  color: var(--blue);
  font-size: 42px;
  line-height: 1;
}

.product-state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}

.product-state::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #aab1bb;
}

.is-live .product-state {
  color: var(--blue);
}

.is-live .product-state::before {
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(24, 59, 102, 0.1);
}

.product-item h3 {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 600;
  line-height: 1.3;
}

.product-item > p {
  max-width: 540px;
  margin-top: 20px;
  color: var(--muted);
}

.product-actions {
  margin-top: auto;
  padding-top: 36px;
}

.capabilities {
  background: var(--paper-soft);
  border-block: 1px solid var(--line);
}

.capability-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.capability-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 44px;
  height: 1px;
  background: linear-gradient(90deg, var(--vermillion), var(--blue));
}

.capability-item {
  position: relative;
  padding: 92px clamp(20px, 3vw, 42px) 10px 0;
}

.capability-item + .capability-item {
  padding-left: clamp(20px, 3vw, 42px);
  border-left: 1px solid rgba(24, 59, 102, 0.1);
}

.capability-dot {
  position: absolute;
  top: 36px;
  left: 0;
  width: 17px;
  height: 17px;
  border: 4px solid var(--paper-soft);
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 1px var(--blue);
  transition: transform 240ms ease, background 240ms ease;
}

.capability-item:hover .capability-dot {
  transform: scale(1.35);
  background: var(--vermillion);
}

.capability-number {
  color: var(--vermillion);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.capability-item h3 {
  margin-top: 14px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 600;
  line-height: 1.45;
}

.capability-item p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
}

.solution-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  border-top: 1px solid var(--line);
}

.solution-main {
  padding: clamp(52px, 6vw, 86px) clamp(30px, 7vw, 104px) 0 0;
}

.solution-main h3 {
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 600;
}

.solution-main > p {
  max-width: 660px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 18px;
}

.solution-list {
  margin-top: 54px;
  list-style: none;
}

.solution-list li {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  padding-block: 20px;
  border-top: 1px solid var(--line-soft);
  color: var(--ink-soft);
}

.solution-list span {
  color: var(--vermillion);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.solution-proof {
  padding: clamp(52px, 6vw, 86px) 0 0 clamp(36px, 6vw, 86px);
  border-left: 1px solid var(--line);
}

.proof-title {
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.proof-item {
  position: relative;
  margin-top: 34px;
  padding: 0 0 34px 34px;
  border-bottom: 1px solid var(--line-soft);
}

.proof-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blue);
}

.proof-item h3 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
}

.proof-item p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.about {
  background: var(--blue);
  color: var(--paper);
}

.about .section-index {
  color: #ff937e;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(400px, 1.05fr);
  gap: clamp(72px, 10vw, 150px);
}

.about-copy h2 {
  margin-top: 30px;
}

.about-copy > p:not(.section-index) {
  max-width: 670px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.76);
}

.about-points {
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.about-point {
  padding: 30px 0 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 28px;
}

.about-point span {
  color: #ff937e;
  font-size: 12px;
  letter-spacing: 0.14em;
}

.about-point h3 {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 600;
}

.about-point p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.contact {
  padding-block: clamp(84px, 10vw, 132px);
}

.contact-frame {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(400px, 1.1fr);
  gap: clamp(48px, 8vw, 110px);
  align-items: end;
  padding: clamp(42px, 6vw, 78px);
  border: 1px solid var(--blue);
}

.contact h2 {
  margin-top: 24px;
  font-size: clamp(38px, 4.6vw, 64px);
}

.contact-copy > p:not(.section-index) {
  max-width: 630px;
  margin-top: 20px;
  color: var(--muted);
}

.contact-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact-label {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.1em;
}

.contact-email {
  position: relative;
  margin-top: 10px;
  color: var(--blue);
  font-family: var(--serif);
  font-size: clamp(22px, 2.7vw, 38px);
  line-height: 1.35;
  word-break: break-all;
}

.contact-email::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -4px;
  height: 2px;
  background: var(--vermillion);
  transition: right 300ms ease;
}

.contact-email:hover::after,
.contact-email:focus-visible::after {
  right: 0;
}

.contact-action .button {
  margin-top: 30px;
}

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

.theme-dock {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 48px;
  padding-block: clamp(54px, 7vw, 88px);
  border-bottom: 1px solid var(--line);
}

.theme-dock-copy {
  display: grid;
  gap: 8px;
}

.theme-dock-copy > span {
  color: var(--vermillion);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.theme-dock-copy strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(24px, 3.3vw, 44px);
  font-weight: 600;
  line-height: 1.3;
}

.theme-dock-copy p {
  max-width: 620px;
  color: var(--muted);
  font-size: 14px;
}

.theme-switcher-open {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 14px 20px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.theme-switcher-open svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.6;
}

.theme-switcher-open:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-2px);
}

.theme-switcher {
  position: fixed;
  inset: 0;
  width: min(1560px, calc(100% - 40px));
  height: min(92vh, 1040px);
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid #cfd4da;
  background: #f4f5f7;
  color: #101317;
  box-shadow: 0 28px 90px rgba(8, 15, 28, 0.28);
}

.theme-switcher::backdrop {
  background: rgba(7, 12, 20, 0.7);
  backdrop-filter: blur(12px);
}

.theme-switcher-shell {
  height: 100%;
  overflow: auto;
  overscroll-behavior: contain;
}

.theme-switcher-header {
  position: sticky;
  z-index: 4;
  top: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding: 30px clamp(22px, 4vw, 54px) 26px;
  border-bottom: 1px solid #d9dde3;
  background: rgba(244, 245, 247, 0.94);
  backdrop-filter: blur(16px);
}

.theme-switcher-header > div {
  display: grid;
  gap: 6px;
}

.theme-switcher-header p {
  color: #f05a3c;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.theme-switcher-header h2 {
  font-family: "Noto Serif SC", serif;
  font-size: clamp(28px, 3vw, 46px);
  font-weight: 600;
  line-height: 1.2;
}

.theme-switcher-header span {
  color: #667085;
  font-family: Inter, "Noto Sans SC", sans-serif;
  font-size: 13px;
}

.theme-switcher-close {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #b9c0c8;
  background: #ffffff;
  color: #101317;
  cursor: pointer;
}

.theme-switcher-close svg {
  width: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.5;
}

.theme-switcher-close:hover {
  border-color: #101317;
  background: #101317;
  color: #ffffff;
}

.theme-option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 42px 26px;
  padding: 36px clamp(22px, 4vw, 54px) 54px;
}

.theme-option {
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #101317;
  cursor: pointer;
  text-align: left;
}

.theme-option-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid #cfd4da;
  background: #ffffff;
}

.theme-option-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1), opacity 180ms ease;
}

.theme-option:hover .theme-option-media img,
.theme-option:focus-visible .theme-option-media img {
  transform: scale(1.018);
}

.theme-option[aria-pressed="true"] .theme-option-media {
  outline: 3px solid #f05a3c;
  outline-offset: 3px;
}

.theme-option-current {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: none;
  padding: 8px 11px;
  background: #f05a3c;
  color: #ffffff;
  font-family: Inter, "Noto Sans SC", sans-serif;
  font-size: 11px;
  font-weight: 600;
}

.theme-option[aria-pressed="true"] .theme-option-current {
  display: block;
}

.theme-option-copy {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding-top: 16px;
}

.theme-option-copy > b {
  color: #f05a3c;
  font-family: "Noto Serif SC", serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.25;
}

.theme-option-copy > span {
  display: grid;
  gap: 3px;
}

.theme-option-copy strong {
  font-family: "Noto Serif SC", serif;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.35;
}

.theme-option-copy small {
  color: #667085;
  font-family: Inter, "Noto Sans SC", sans-serif;
  font-size: 12px;
  line-height: 1.6;
}

.theme-switcher-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px clamp(22px, 4vw, 54px) 34px;
  border-top: 1px solid #d9dde3;
  background: #ffffff;
}

.theme-switcher-actions p {
  color: #667085;
  font-family: Inter, "Noto Sans SC", sans-serif;
  font-size: 12px;
}

.theme-switcher-actions button {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #101317;
  background: #101317;
  color: #ffffff;
  cursor: pointer;
  font-family: Inter, "Noto Sans SC", sans-serif;
  font-size: 12px;
  font-weight: 600;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 30px;
  color: var(--muted);
  font-size: 12px;
}

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

.footer a:hover {
  color: var(--blue);
}

.reveal {
  opacity: 1;
  transform: none;
}

body.is-ready .reveal {
  opacity: 1;
  transform: translateY(28px);
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

body.is-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1040px) {
  .hero-inner {
    grid-template-columns: minmax(0, 0.7fr) minmax(220px, 0.3fr);
  }

  .hero-path {
    width: 48%;
    opacity: 0.74;
  }

  .capability-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 60px 0;
  }

  .capability-track::before {
    display: none;
  }

  .capability-item {
    padding-top: 54px;
    border-top: 1px solid var(--line);
  }

  .capability-dot {
    top: -8px;
  }

  .solution-layout,
  .about-layout,
  .contact-frame {
    grid-template-columns: 1fr;
  }

  .solution-proof {
    margin-top: 70px;
    padding: 50px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .about-layout {
    gap: 70px;
  }

  .contact-frame {
    align-items: start;
  }
}

@media (max-width: 780px) {
  :root {
    --section-space: 88px;
  }

  .topbar,
  .topbar.is-scrolled {
    height: 68px;
  }

  .logo {
    min-width: 0;
  }

  .logo img {
    width: 38px;
    height: 38px;
  }

  .brand-name strong {
    font-size: 14px;
  }

  .brand-name small {
    display: none;
  }

  .menu-toggle {
    display: block;
    position: relative;
    z-index: 3;
  }

  .nav {
    position: fixed;
    inset: 68px 0 auto;
    padding: 30px var(--gutter) 36px;
    display: grid;
    gap: 0;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 260ms ease, opacity 220ms ease, visibility 220ms ease;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav a {
    padding-block: 14px;
    border-bottom: 1px solid var(--line-soft);
    font-size: 16px;
  }

  .hero {
    padding-top: 68px;
    background-size: 88px 100%;
  }

  .hero-inner {
    min-height: calc(100svh - 68px);
    padding-top: 104px;
    padding-bottom: 118px;
    display: block;
  }

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

  .hero h1 {
    max-width: 620px;
    font-size: clamp(48px, 12vw, 76px);
  }

  .hero-path {
    top: 68px;
    right: -24%;
    width: 84%;
    height: calc(100% - 68px);
    opacity: 0.35;
  }

  .hero-company {
    background: rgba(255, 255, 255, 0.82);
  }

  .hero-status {
    max-width: calc(100% - 120px);
  }

  .manifesto-grid,
  .section-heading {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

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

  .product-item {
    min-height: 340px;
  }

  .capability-track {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .capability-item + .capability-item {
    padding-left: 0;
    border-left: 0;
  }

  .about-point {
    grid-template-columns: 82px 1fr;
  }

  .contact-frame {
    padding: 34px 26px;
  }

  .theme-dock {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 26px;
  }

  .theme-switcher-open {
    justify-self: stretch;
  }

  .theme-switcher {
    width: 100%;
    height: 100%;
    border: 0;
  }

  .theme-option-grid {
    grid-template-columns: 1fr;
  }

  .theme-switcher-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .theme-switcher-actions button {
    width: 100%;
  }

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

@media (max-width: 520px) {
  .hero h1 {
    font-size: 46px;
    line-height: 1.24;
  }

  .hero-manifesto {
    font-size: 18px;
  }

  .hero-actions,
  .product-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section-heading h2,
  .manifesto h2,
  .about h2,
  .contact h2 {
    font-size: 40px;
  }

  .product-item {
    padding: 34px 24px;
  }

  .theme-switcher-header {
    padding-top: 22px;
  }

  .theme-switcher-header span {
    display: none;
  }

  .theme-switcher-close {
    width: 42px;
    height: 42px;
  }

  .theme-option-grid {
    gap: 34px;
  }

  .theme-option-copy {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .product-meta {
    margin-bottom: 30px;
  }

  .about-point {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

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

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

  body.is-ready .reveal {
    opacity: 1;
    transform: none;
  }
}
