:root {
  --bg: #ffffff;
  --ink: #161619;
  --ink-soft: #2b2c31;
  --muted: #5f6169;
  --line: #e4e5ea;
  --line-strong: #d7d9e1;
  --soft: #f1f2f7;
  --soft-2: #f8f9fb;
  --accent: #fce765;
  --accent-soft: #fff9d4;
  --danger: #a5231f;

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-xl: 44px;

  --container: 1180px;
  --header-h: 72px;
  --shadow-card: 0 24px 50px rgba(22, 22, 25, 0.12);
  --shadow-float: 0 18px 36px rgba(22, 22, 25, 0.22);

  --font-display: 'Gabarito', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.visually-hidden {
  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: absolute;
  left: 16px;
  top: -72px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  transition: top 0.16s ease;
}

.skip-link:focus {
  top: 12px;
}

main:focus {
  outline: none;
}

.icon {
  width: 18px;
  height: 18px;
  flex: none;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(22, 22, 25, 0.06);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.brand-mark {
  color: var(--ink);
  display: inline-flex;
}

.brand-mark svg {
  width: 26px;
  height: 26px;
}

.brand-word {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-link {
  font-size: 14.5px;
  color: var(--muted);
  transition: color 0.16s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--ink);
}

.nav-link-mobile {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 1.8px;
  width: 18px;
  margin: 0 auto;
  background: var(--ink);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 46px;
  padding: 0 22px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 500;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-sm {
  height: 38px;
  padding: 0 16px;
  font-size: 14px;
  border-radius: var(--radius-xs);
}

.btn-lg {
  height: 56px;
  padding: 0 28px;
  font-size: 16px;
  border-radius: 16px;
}

.btn-primary {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.btn-primary:hover {
  background: #000;
}

.btn-outline {
  background: #fff;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-outline:hover {
  background: var(--soft);
}

.btn-accent {
  background: var(--accent);
  color: var(--ink);
  border-color: var(--accent);
}

.btn-accent:hover {
  background: #fbe23f;
}

.btn-ghost-invert {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-sm);
}

.btn-ghost-invert:hover {
  border-color: #fff;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: 3px;
}

/* ---------- Hero ---------- */

.hero {
  padding-top: 84px;
}

.hero-copy {
  text-align: center;
  max-width: 860px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(252, 231, 101, 0.45);
}

.hero h1 {
  margin: 22px 0 24px;
  font-size: clamp(42px, 5.4vw, 70px);
  letter-spacing: -0.03em;
}

.accent-mark {
  background-image: linear-gradient(transparent 64%, var(--accent) 64%, var(--accent) 92%, transparent 92%);
  padding: 0 2px;
}

.hero-lead {
  font-size: 19px;
  line-height: 1.62;
  color: var(--muted);
  max-width: 680px;
  margin: 0 auto;
}

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

.hero-notes {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 26px;
}

.hero-notes li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--ink-soft);
}

.hero-notes .icon {
  width: 15px;
  height: 15px;
}

.hero-stage {
  margin-top: 64px;
  background: var(--soft);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  padding: 60px 0 0;
}

.stage-inner {
  position: relative;
  display: flex;
  justify-content: center;
}

.stage-frame {
  margin: 0;
  width: 100%;
  max-width: 940px;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-bottom: none;
  border-radius: 18px 18px 0 0;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 14px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.browser-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d5d7de;
}

.browser-url {
  margin-left: 12px;
  font-size: 11.5px;
  color: #90929b;
  background: var(--soft);
  padding: 3px 12px;
  border-radius: 999px;
}

.stage-frame img {
  width: 100%;
  height: auto;
}

.stage-card {
  position: absolute;
  width: 214px;
  background: var(--ink);
  color: #fff;
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: var(--shadow-float);
}

.stage-card p {
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9a9ca5;
}

.stage-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 500;
  margin: 6px 0 4px;
}

.stage-card span {
  font-size: 12.5px;
  line-height: 1.45;
  color: #c8c9cf;
}

.stage-card-a {
  left: -28px;
  bottom: 52px;
}

.stage-card-b {
  right: -18px;
  bottom: 168px;
}

/* ---------- Section basics ---------- */

.section {
  padding: 96px 0;
}

.section-head {
  margin-bottom: 44px;
  max-width: 760px;
}

.section-head h2 {
  font-size: clamp(28px, 3.4vw, 44px);
  margin-top: 14px;
}

.section-head-split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  max-width: none;
}

.section-head-split > div {
  max-width: 640px;
}

.section-kicker {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.section-lead {
  font-size: 16.5px;
  color: var(--muted);
  max-width: 360px;
  line-height: 1.6;
}

.section-foot-note {
  margin-top: 34px;
  font-size: 14px;
  color: var(--muted);
}

.section-foot-note a {
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
}

/* ---------- Values ---------- */

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.value-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px 26px 32px;
  background: #fff;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.value-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
}

.value-index {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--muted);
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.value-card h3 {
  font-size: 21px;
  margin: 18px 0 10px;
}

.value-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
}

.values-section-soft {
  background: var(--soft-2);
}

/* ---------- Systems ---------- */

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

.systems-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.systems-list li {
  border-top: 1.5px solid var(--ink);
  padding-top: 16px;
}

.systems-index {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.1em;
}

.systems-name {
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
  margin: 4px 0 2px;
}

.systems-note {
  display: block;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- Features ---------- */

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

.feature-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px 24px 28px;
  background: #fff;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--ink);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--soft);
  margin-bottom: 18px;
}

.feature-icon .icon,
.capability-icon .icon {
  width: 21px;
  height: 21px;
}

.feature-card h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.6;
}

/* ---------- Showcase ---------- */

.showcase-section {
  background: var(--soft);
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.showcase-media {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.showcase-media img {
  width: 100%;
  height: auto;
}

.showcase-copy h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  margin: 14px 0 16px;
}

.showcase-copy > p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.68;
}

.check-list {
  margin: 24px 0 26px;
  display: grid;
  gap: 12px;
}

.check-list li {
  display: flex;
  gap: 10px;
  font-size: 15px;
  line-height: 1.55;
  align-items: flex-start;
}

.check-list .icon {
  width: 17px;
  height: 17px;
  margin-top: 3px;
}

/* ---------- Process ---------- */

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.process-item {
  border-top: 1.5px solid var(--ink);
  padding-top: 18px;
}

.process-index {
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.process-item h3 {
  font-size: 20px;
  margin: 10px 0 8px;
}

.process-item p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.62;
}

.process-section-soft {
  background: var(--soft-2);
}

/* ---------- Work ---------- */

.work-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.work-preview-card,
.work-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
}

.work-preview-card img,
.work-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
}

.work-preview-body,
.work-body {
  padding: 20px 22px 24px;
}

.work-tag {
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.work-preview-body h3,
.work-body h2 {
  font-size: 20px;
  margin: 8px 0 8px;
}

.work-preview-body p,
.work-body p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.6;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.work-card.is-hidden {
  display: none;
}

.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  height: 38px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.filter-btn:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.filter-btn.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.filter-count {
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}

.work-empty {
  padding: 40px 0;
  color: var(--muted);
  text-align: center;
}

.note-section {
  padding-top: 0;
}

.note-inner {
  display: flex;
  gap: 40px;
  border-top: 1px solid var(--line);
  padding-top: 30px;
  align-items: flex-start;
}

.note-label {
  flex: none;
  width: 150px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.note-text {
  font-size: 15px;
  color: var(--muted);
  max-width: 640px;
  line-height: 1.65;
}

.note-text a {
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
}

/* ---------- FAQ ---------- */

.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.faq-intro h2 {
  font-size: clamp(26px, 3vw, 38px);
  margin: 14px 0 16px;
}

.faq-intro p {
  color: var(--muted);
  font-size: 15px;
  max-width: 320px;
}

.faq-intro a {
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
}

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

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  font-size: 16.5px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-plus {
  position: relative;
  width: 14px;
  height: 14px;
  flex: none;
}

.faq-plus::before,
.faq-plus::after {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--ink);
}

.faq-plus::before {
  width: 14px;
  height: 1.6px;
}

.faq-plus::after {
  width: 1.6px;
  height: 14px;
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-plus::after {
  transform: scaleY(0);
}

.faq-item p {
  padding: 0 0 22px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 62ch;
}

/* ---------- CTA ---------- */

.cta-section {
  padding: 0 0 96px;
}

.cta-band {
  background: var(--accent);
  border-radius: var(--radius-lg);
  padding: 46px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.cta-kicker {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(22, 22, 25, 0.62);
  margin-bottom: 10px;
}

.cta-band h2 {
  font-size: clamp(24px, 2.8vw, 34px);
  max-width: 620px;
}

/* ---------- Page hero ---------- */

.page-hero {
  padding: 76px 0 56px;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(34px, 4.2vw, 56px);
  margin: 20px 0 18px;
  max-width: 900px;
  letter-spacing: -0.03em;
}

.page-lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 720px;
  line-height: 1.62;
}

.page-hero-compact {
  padding-bottom: 20px;
  border-bottom: none;
}

/* ---------- Plans ---------- */

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.plan-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.plan-card-featured {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.plan-flag {
  align-self: flex-start;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--ink);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.plan-card h2 {
  font-size: 25px;
  margin-bottom: 6px;
}

.plan-meta {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.plan-card-featured .plan-meta {
  color: #9a9ca5;
}

.plan-text {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.6;
  margin: 16px 0 20px;
}

.plan-card-featured .plan-text {
  color: #c8c9cf;
}

.plan-list {
  display: grid;
  gap: 11px;
  margin-bottom: 28px;
}

.plan-list li {
  display: flex;
  gap: 9px;
  font-size: 14px;
  line-height: 1.55;
  align-items: flex-start;
}

.plan-list .icon {
  width: 16px;
  height: 16px;
  margin-top: 3px;
}

.plan-card-featured .plan-list .icon {
  color: var(--accent);
}

.plan-cta {
  margin-top: auto;
  width: 100%;
}

.plan-card-featured .btn-primary {
  background: var(--accent);
  color: var(--ink);
  border-color: var(--accent);
}

.plans-note {
  margin-top: 26px;
  font-size: 13.5px;
  color: var(--muted);
  max-width: 760px;
}

/* ---------- Stack ---------- */

.stack-section {
  background: var(--soft-2);
}

.stack-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.stack-copy h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  margin: 14px 0 16px;
}

.stack-copy > p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.68;
}

.systems-list-inline {
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 24px;
  margin: 26px 0 0;
}

.systems-list-inline .systems-name {
  font-size: 18px;
}

.stack-note {
  margin-top: 22px;
  font-size: 13.5px;
  color: var(--muted);
}

.stack-media {
  margin: 0;
}

.stack-media img {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
}

.stack-media figcaption,
.about-media figcaption {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
}

/* ---------- Capabilities ---------- */

.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px 44px;
}

.capability-item {
  display: flex;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.capability-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--soft);
  flex: none;
}

.capability-item h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.capability-item p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.6;
}

/* ---------- About ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.about-copy p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 18px;
}

.about-copy p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15.5px;
}

.about-media {
  margin: 0;
}

.about-media img {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
}

.model-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.model-card {
  border-top: 1.5px solid var(--ink);
  padding-top: 18px;
}

.model-index {
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.model-card h3 {
  font-size: 20px;
  margin: 10px 0 8px;
}

.model-card p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.62;
}

.fit-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: start;
}

.fit-grid h2 {
  font-size: clamp(26px, 3vw, 36px);
  margin: 14px 0 22px;
}

.fit-aside {
  background: var(--soft);
  border-radius: var(--radius-md);
  padding: 26px 28px;
}

.fit-aside-title {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.fit-aside p:last-child {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.65;
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 64px;
  align-items: start;
}

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

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 7px;
}

.field-hint {
  color: var(--muted);
  font-weight: 400;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.field textarea {
  resize: vertical;
  min-height: 140px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(22, 22, 25, 0.08);
}

.field-error {
  color: var(--danger);
  font-size: 13px;
  margin-top: 6px;
}

.form-error-summary {
  background: #fff4f3;
  border: 1px solid #f2c7c3;
  color: var(--danger);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 14px;
  margin-bottom: 22px;
}

.form-foot {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.form-privacy {
  font-size: 12.5px;
  color: var(--muted);
}

.form-privacy a {
  border-bottom: 1px solid var(--line-strong);
}

.form-success {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 36px 34px;
  background: #fff;
}

.form-success-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent);
  margin-bottom: 18px;
}

.form-success h2 {
  font-size: 28px;
  margin-bottom: 12px;
}

.form-success p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 10px;
}

.form-success-note {
  font-size: 13.5px;
}

.form-success-note a {
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
}

.form-success .btn {
  margin-top: 18px;
}

.contact-aside {
  background: var(--soft-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 6px 26px;
}

.contact-block {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.contact-block:last-child {
  border-bottom: none;
}

.contact-label {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 7px;
}

.contact-block p,
.contact-block a {
  font-size: 14.5px;
  line-height: 1.6;
}

.contact-block a {
  border-bottom: 1px solid var(--line-strong);
}

.contact-steps {
  padding-left: 18px;
  list-style: decimal;
}

.contact-steps li {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 8px;
}

.contact-steps li:last-child {
  margin-bottom: 0;
}

/* ---------- Legal ---------- */

.legal-head .legal-updated {
  margin-top: 18px;
  font-size: 13px;
  color: var(--muted);
}

.legal-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 72px;
  align-items: start;
}

.legal-block {
  padding-bottom: 26px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.legal-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.legal-block h2 {
  font-size: 21px;
  margin-bottom: 12px;
}

.legal-block p {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 12px;
}

.legal-block p:last-child {
  margin-bottom: 0;
}

.legal-block ul {
  list-style: disc;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

.legal-block li {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.legal-aside {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.legal-toc {
  margin-bottom: 28px;
}

.legal-toc a {
  display: block;
  font-size: 13.5px;
  color: var(--muted);
  padding: 7px 0;
  border-bottom: 1px dotted var(--line-strong);
}

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

.legal-aside-block {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.legal-aside-block p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 8px;
}

.legal-aside-block a {
  font-size: 13.5px;
  border-bottom: 1px solid var(--line-strong);
}

/* ---------- 404 ---------- */

.notfound-hero {
  border-bottom: none;
  padding-bottom: 140px;
}

.notfound-hero .hero-actions {
  justify-content: flex-start;
  margin-top: 28px;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: #f2f2f0;
  padding: 76px 0 30px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
}

.footer-kicker {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.footer-lead h2 {
  font-size: clamp(28px, 3.4vw, 44px);
  color: #fff;
  margin: 16px 0 26px;
  line-height: 1.08;
}

.footer-index {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.footer-col-title {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8b8d96;
  margin-bottom: 10px;
}

.footer-col a {
  display: block;
  font-size: 14.5px;
  color: #d3d4d8;
  padding: 9px 0;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.22);
  transition: color 0.16s ease;
}

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

.footer-subscribe {
  margin-top: 56px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.footer-subscribe-title {
  font-size: 15px;
  color: #fff;
}

.footer-subscribe-note {
  font-size: 12.5px;
  color: #9a9ca5;
  margin-top: 4px;
  max-width: 440px;
}

.subscribe-form {
  display: flex;
  gap: 8px;
  flex: none;
}

.subscribe-form input {
  height: 44px;
  width: 260px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-sm);
  color: #fff;
  padding: 0 14px;
  font-family: var(--font-body);
  font-size: 14px;
}

.subscribe-form input::placeholder {
  color: #8b8d96;
}

.subscribe-form input:focus {
  outline: none;
  border-color: #fff;
}

.subscribe-form .btn {
  height: 44px;
  font-size: 14px;
}

.subscribe-done {
  font-size: 14px;
  color: var(--accent);
}

.subscribe-error {
  flex-basis: 100%;
  font-size: 13px;
  color: #ffb4a8;
}

.footer-bottom {
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: #9a9ca5;
}

.footer-address {
  flex: 1 1 320px;
  text-align: center;
}

.footer-mail {
  color: #d3d4d8;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.3);
}

/* ---------- Reveal ---------- */

.reveal-ready .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(16px);
}

.reveal-ready .reveal {
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .stage-card-a {
    left: -10px;
    bottom: 40px;
  }

  .stage-card-b {
    right: -8px;
    bottom: 150px;
  }

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

@media (max-width: 960px) {
  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 8px 28px 20px;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-open .main-nav {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-link {
    width: 100%;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }

  .nav-link-mobile {
    display: block;
    border-bottom: none;
    padding-top: 16px;
    font-weight: 500;
    color: var(--ink);
  }

  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .stage-card {
    display: none;
  }

  .values-grid,
  .features-grid,
  .plans-grid,
  .model-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .systems-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .showcase-grid,
  .stack-grid,
  .about-grid,
  .contact-grid,
  .fit-grid,
  .faq-grid,
  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .section-head-split {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .process-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 24px;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
    padding: 36px 32px;
  }

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

  .legal-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .legal-aside {
    position: static;
    border-top: 1px solid var(--line);
    padding-top: 24px;
  }

  .note-inner {
    flex-direction: column;
    gap: 12px;
  }

  .note-label {
    width: auto;
  }

  .footer-address {
    text-align: left;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (max-width: 720px) {
  .container {
    padding: 0 20px;
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    padding-top: 52px;
  }

  .hero h1 {
    font-size: clamp(36px, 9vw, 44px);
  }

  .hero-lead {
    font-size: 16.5px;
  }

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

  .hero-actions .btn {
    width: 100%;
  }

  .hero-notes {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .hero-stage {
    margin-top: 44px;
    border-radius: 28px 28px 0 0;
    padding-top: 34px;
  }

  .values-grid,
  .features-grid,
  .plans-grid,
  .model-grid,
  .work-grid,
  .work-preview-grid,
  .capability-grid,
  .systems-list-inline,
  .field-row {
    grid-template-columns: 1fr;
  }

  .systems-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-list {
    grid-template-columns: 1fr;
  }

  .filter-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .page-hero {
    padding: 48px 0 36px;
  }

  .cta-section {
    padding-bottom: 64px;
  }

  .cta-band {
    padding: 30px 24px;
    border-radius: 18px;
  }

  .subscribe-form {
    width: 100%;
    flex-direction: column;
  }

  .subscribe-form input {
    width: 100%;
  }

  .contact-aside {
    padding: 6px 20px;
  }

  .legal-block h2 {
    font-size: 19px;
  }

  .footer-index {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .notfound-hero {
    padding-bottom: 80px;
  }
}

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

  .reveal-ready .reveal,
  .reveal-ready .reveal:not(.is-visible) {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn:hover,
  .value-card:hover,
  .feature-card:hover {
    transform: none;
  }
}
