:root {
  --ink: #172126;
  --ink-soft: #24343a;
  --muted: #687379;
  --paper: #f5f3ee;
  --paper-deep: #ebe8e0;
  --surface: #fffefa;
  --surface-soft: #edf2ed;
  --line: #d7dcd5;
  --line-dark: rgba(255, 255, 255, 0.16);
  --teal: #0c6f70;
  --teal-dark: #084d50;
  --coral: #d5684d;
  --gold: #d6a63d;
  --sage: #789071;
  --night: #101c20;
  --shadow-sm: 0 10px 28px rgba(23, 33, 38, 0.08);
  --shadow-lg: 0 28px 80px rgba(10, 24, 28, 0.2);
  --content: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body::selection {
  color: #fff;
  background: var(--teal);
}

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

button,
input,
select,
textarea {
  font: inherit;
}

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

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(3.7rem, 8vw, 7.8rem);
  line-height: 0.9;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.25rem, 4.5vw, 4.4rem);
  line-height: 1.02;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  line-height: 1.3;
}

p {
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  min-height: 76px;
  padding: 0 max(var(--gutter), calc((100vw - var(--content)) / 2));
  background: rgba(245, 243, 238, 0.92);
  border-bottom: 1px solid rgba(215, 220, 213, 0.86);
  backdrop-filter: blur(20px) saturate(1.2);
}

.brand,
.nav,
.hero-actions,
.language-switcher,
.launch-copy {
  display: flex;
  align-items: center;
}

.brand {
  z-index: 2;
  gap: 11px;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 800;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--teal-dark);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(8, 77, 80, 0.2);
}

.brand-mark::after {
  position: absolute;
  right: -6px;
  bottom: -6px;
  width: 18px;
  height: 18px;
  background: var(--gold);
  border-radius: 50%;
  content: "";
}

.nav {
  justify-content: flex-end;
  min-width: 0;
  gap: clamp(5px, 1.15vw, 18px);
  color: #4d5960;
  font-size: clamp(0.77rem, 0.9vw, 0.9rem);
  font-weight: 700;
}

.nav-item {
  position: relative;
  flex: 0 0 auto;
}

.nav-item > a {
  position: relative;
  display: inline-flex;
  min-height: 76px;
  align-items: center;
  padding: 0 3px;
  white-space: nowrap;
}

.nav-item > a::after {
  position: absolute;
  right: 3px;
  bottom: 17px;
  left: 3px;
  height: 2px;
  background: var(--coral);
  content: "";
  opacity: 0;
  transform: scaleX(0.3);
  transform-origin: center;
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-item:hover > a,
.nav-item:focus-within > a {
  color: var(--teal-dark);
}

.nav-item:hover > a::after,
.nav-item:focus-within > a::after {
  opacity: 1;
  transform: scaleX(1);
}

.submenu {
  position: absolute;
  top: calc(100% - 8px);
  left: 50%;
  z-index: 60;
  display: grid;
  min-width: 224px;
  padding: 9px;
  visibility: hidden;
  background: rgba(255, 254, 250, 0.98);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translate(-50%, 10px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.feature-submenu {
  position: fixed;
  top: 68px;
  left: 50%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(700px, calc(100vw - 32px));
  min-width: 0;
  transform: translate(-50%, 10px);
}

.submenu a {
  min-width: 0;
  padding: 11px 12px;
  color: var(--ink-soft);
  border-radius: 6px;
  line-height: 1.35;
  white-space: normal;
}

.submenu a:hover,
.submenu a:focus-visible {
  color: var(--teal-dark);
  background: var(--surface-soft);
  outline: none;
}

.nav-item:hover .submenu,
.nav-item:focus-within .submenu {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, 0);
}

.language-switcher {
  flex: 0 0 auto;
  gap: 7px;
  margin-left: 4px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.language-switcher span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.language-switcher select {
  width: auto;
  min-width: 104px;
  min-height: 38px;
  padding: 7px 28px 7px 10px;
  background: rgba(255, 254, 250, 0.82);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  content: "";
  transition: transform 160ms ease, opacity 160ms ease;
}

.nav-toggle-lines {
  position: relative;
}

.nav-toggle-lines::before,
.nav-toggle-lines::after {
  position: absolute;
  left: 0;
}

.nav-toggle-lines::before {
  top: -6px;
}

.nav-toggle-lines::after {
  top: 6px;
}

.site-header.nav-open .nav-toggle-lines {
  background: transparent;
}

.site-header.nav-open .nav-toggle-lines::before {
  transform: translateY(6px) rotate(45deg);
}

.site-header.nav-open .nav-toggle-lines::after {
  transform: translateY(-6px) rotate(-45deg);
}

.launch-banner {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 50px;
  padding: 9px max(var(--gutter), calc((100vw - var(--content)) / 2));
  color: #fff;
  background: var(--night);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.launch-copy {
  flex-wrap: wrap;
  gap: 7px 14px;
  min-width: 0;
}

.launch-kicker {
  padding: 4px 7px;
  color: var(--night);
  background: var(--gold);
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.launch-copy strong {
  font-size: 0.9rem;
}

.launch-copy span:last-child {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.84rem;
}

.launch-link {
  flex: 0 0 auto;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.launch-link:hover {
  color: #f6ce73;
  border-color: #f6ce73;
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100svh - 126px);
  overflow: hidden;
  isolation: isolate;
  background: var(--night);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(90deg, rgba(10, 24, 28, 0.96) 0%, rgba(10, 24, 28, 0.82) 36%, rgba(10, 24, 28, 0.25) 72%, rgba(10, 24, 28, 0.08) 100%),
    linear-gradient(0deg, rgba(10, 24, 28, 0.44), transparent 45%),
    url("./assets/features-overview.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.01);
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
  content: "";
}

.language-cloud {
  display: none;
}

.hero-content {
  width: min(680px, calc(100% - (2 * var(--gutter))));
  margin: auto 0 auto max(var(--gutter), calc((100vw - var(--content)) / 2));
  padding: 88px 0 112px;
  color: #fff;
  animation: hero-enter 650ms ease both;
}

.hero h1,
.hero h2,
.hero h3,
.page-hero h1,
.feature-hero h1 {
  color: #fff;
}

.hero h1 {
  margin-bottom: 26px;
  font-size: clamp(5rem, 10vw, 9.5rem);
  line-height: 0.82;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--coral);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.page-hero .eyebrow,
.feature-hero .eyebrow,
.recommendation .eyebrow {
  color: #f3c55f;
}

.hero-copy {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.08rem, 1.7vw, 1.35rem);
  line-height: 1.6;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

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

.button.primary {
  color: #fff;
  background: var(--teal);
  box-shadow: 0 12px 28px rgba(12, 111, 112, 0.26);
}

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

.button.secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.72);
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 0 max(var(--gutter), calc((100vw - var(--content)) / 2));
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.intro-band div {
  position: relative;
  min-width: 0;
  padding: 30px clamp(20px, 3vw, 40px);
  background: var(--surface);
}

.intro-band div::before {
  position: absolute;
  top: 31px;
  left: 0;
  width: 3px;
  height: 38px;
  background: var(--teal);
  content: "";
}

.intro-band div:nth-child(2)::before {
  background: var(--coral);
}

.intro-band div:nth-child(3)::before {
  background: var(--gold);
}

.intro-band strong,
.intro-band span {
  display: block;
}

.intro-band strong {
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 0.95rem;
}

.intro-band span {
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.55;
}

.section {
  padding: clamp(76px, 9vw, 128px) max(var(--gutter), calc((100vw - var(--content)) / 2));
}

.split,
.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.84fr) minmax(0, 1.16fr);
  gap: clamp(42px, 7vw, 100px);
  align-items: start;
}

.section-copy {
  position: sticky;
  top: 112px;
}

.section-copy p,
.section-heading p {
  max-width: 700px;
  color: var(--muted);
  font-size: 1.04rem;
}

.section-copy p + p {
  margin-top: 16px;
}

.section-heading {
  max-width: 880px;
  margin-bottom: 42px;
}

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

.feature-card,
.domain-list article,
.contact-form,
.page-grid article,
.feature-points article,
.feature-aside,
.feature-index a,
.pricing-models article,
.pricing-table article,
.corpus-card,
.technology-stack article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.feature-card {
  position: relative;
  min-height: 228px;
  overflow: hidden;
  padding: 28px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.feature-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--teal);
  content: "";
}

.feature-card:nth-child(2)::before {
  background: var(--coral);
}

.feature-card:nth-child(3)::before {
  background: var(--gold);
}

.feature-card:nth-child(4)::before {
  background: var(--sage);
}

.feature-card:hover {
  border-color: #bdc7be;
  box-shadow: 0 18px 42px rgba(23, 33, 38, 0.12);
  transform: translateY(-3px);
}

.feature-card p,
.domain-list p,
.page-grid p,
.feature-points p,
.feature-aside p,
.feature-index span,
.pricing-models p,
.pricing-table p,
.technology-stack p,
.form-note {
  color: var(--muted);
}

.feature-number {
  display: inline-flex;
  min-width: 32px;
  min-height: 25px;
  align-items: center;
  justify-content: center;
  margin-bottom: 42px;
  padding: 2px 7px;
  color: var(--teal-dark);
  background: #e1eeea;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 800;
}

.language-lanes {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.language-lanes span {
  display: grid;
  min-height: 76px;
  place-items: center;
  padding: 12px;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 7px;
  font-weight: 750;
  text-align: center;
  box-shadow: 0 6px 18px rgba(23, 33, 38, 0.05);
}

.language-lanes span:nth-child(3n + 1) {
  border-top-color: var(--teal);
}

.language-lanes span:nth-child(3n + 2) {
  border-top-color: var(--coral);
}

.language-lanes span:nth-child(3n) {
  border-top-color: var(--gold);
}

.domains {
  background: var(--surface-soft);
  border-block: 1px solid rgba(215, 220, 213, 0.72);
}

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

.domain-list.extended {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.domain-list article {
  position: relative;
  min-height: 178px;
  padding: 26px;
  box-shadow: none;
}

.domain-list article::after {
  position: absolute;
  right: 20px;
  bottom: 16px;
  width: 22px;
  height: 2px;
  background: var(--coral);
  content: "";
}

.domain-list article:nth-child(3n + 2)::after {
  background: var(--gold);
}

.domain-list article:nth-child(3n)::after {
  background: var(--teal);
}

.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 28px;
  color: var(--teal-dark);
  font-weight: 800;
}

.inline-link::after {
  content: "→";
  transition: transform 160ms ease;
}

.inline-link:hover::after {
  transform: translateX(4px);
}

.page-hero {
  position: relative;
  display: grid;
  min-height: 500px;
  align-content: end;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(100px, 13vw, 170px) max(var(--gutter), calc((100vw - var(--content)) / 2)) clamp(70px, 8vw, 100px);
  color: #fff;
  background-image:
    linear-gradient(90deg, rgba(10, 24, 28, 0.98) 0%, rgba(10, 24, 28, 0.83) 47%, rgba(10, 24, 28, 0.28) 100%),
    url("./assets/features-knowledge.png");
  background-position: center;
  background-size: cover;
}

.page-hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  height: 4px;
  background: linear-gradient(90deg, var(--teal) 0 34%, var(--coral) 34% 67%, var(--gold) 67%);
  content: "";
}

.page-hero h1 {
  max-width: 1030px;
  margin-bottom: 26px;
  font-size: clamp(3.25rem, 7vw, 6.8rem);
  line-height: 0.94;
}

.page-hero p:not(.eyebrow) {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
}

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

.page-grid article {
  min-height: 286px;
  padding: 28px;
}

.page-grid h2 {
  margin-bottom: 14px;
  font-size: clamp(1.5rem, 2.3vw, 2.15rem);
  line-height: 1.12;
}

.detail-row {
  margin-top: 14px;
}

.feature-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(38px, 6vw, 84px);
  align-items: center;
  min-height: 650px;
  overflow: hidden;
  padding: clamp(88px, 10vw, 132px) max(var(--gutter), calc((100vw - var(--content)) / 2));
  color: #fff;
  background-color: var(--night);
  background-image:
    linear-gradient(120deg, rgba(255, 255, 255, 0.035) 25%, transparent 25%),
    linear-gradient(300deg, rgba(255, 255, 255, 0.025) 25%, transparent 25%);
  background-size: 72px 72px;
}

.feature-hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--coral), var(--gold), var(--teal));
  content: "";
}

.feature-hero > div {
  min-width: 0;
}

.feature-hero h1 {
  margin-bottom: 24px;
  font-size: clamp(2.8rem, 5vw, 4.6rem);
  line-height: 0.96;
}

.feature-hero p:not(.eyebrow) {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1.04rem, 1.6vw, 1.23rem);
}

.feature-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}

.feature-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(260px, 0.52fr);
  gap: clamp(36px, 6vw, 78px);
  align-items: start;
}

.feature-copy {
  display: grid;
  gap: 22px;
}

.feature-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.feature-points,
.feature-aside {
  display: grid;
  gap: 13px;
}

.feature-points article,
.feature-aside {
  padding: 24px;
  box-shadow: none;
}

.feature-aside {
  border-top: 3px solid var(--gold);
}

.feature-aside h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
}

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

.feature-index a {
  position: relative;
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 184px;
  overflow: hidden;
  padding: 26px;
  transition: color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.feature-index a::after {
  position: absolute;
  right: 22px;
  bottom: 18px;
  color: var(--coral);
  content: "↗";
  font-size: 1.1rem;
}

.feature-index a:hover {
  box-shadow: 0 18px 42px rgba(23, 33, 38, 0.12);
  transform: translateY(-3px);
}

.feature-index strong {
  padding-right: 24px;
  color: var(--ink);
  font-size: 1.07rem;
}

.pricing-models,
.pricing-table {
  display: grid;
  gap: 14px;
}

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

.pricing-table {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pricing-models article,
.pricing-table article,
.recommendation > div {
  padding: 26px;
}

.pricing-table article {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.pricing-models strong {
  display: block;
  margin-top: 18px;
  color: var(--teal-dark);
}

.plan-label {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 16px;
  padding: 4px 7px;
  color: var(--teal-dark);
  background: #e1eeea;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.price {
  margin: 18px 0 8px;
  color: var(--teal-dark) !important;
  font-size: clamp(1.35rem, 2vw, 1.72rem);
  font-weight: 800;
}

.plan-subtitle {
  min-height: 92px;
  margin-bottom: 18px;
  font-size: 0.93rem;
}

.pricing-table ul,
.corpus-card ul {
  display: grid;
  gap: 9px;
  margin: 0 0 26px;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.pricing-table li::marker,
.corpus-card li::marker {
  color: var(--coral);
}

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

.featured-plan {
  border-color: rgba(12, 111, 112, 0.55) !important;
  box-shadow: 0 22px 54px rgba(12, 111, 112, 0.16) !important;
  transform: translateY(-8px);
}

.recommendation {
  background: var(--night);
}

.recommendation > div {
  max-width: 980px;
  color: #fff;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.recommendation h2 {
  color: #fff;
}

.recommendation p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.06rem;
}

.recommendation p + p {
  margin-top: 16px;
}

.recommendation .button {
  margin-top: 28px;
}

.corpus-fee {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}

.corpus-fee > div:first-child {
  max-width: 760px;
}

.corpus-fee p:not(.eyebrow),
.corpus-card li {
  color: var(--muted);
}

.corpus-card {
  padding: 28px;
  border-top: 3px solid var(--gold);
}

.technology-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.technology-stack article {
  min-height: 340px;
  padding: 30px;
}

.technology-stack h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.7rem);
}

.contact-section {
  background: var(--surface);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 4vw, 38px);
  border-top: 3px solid var(--teal);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 12px;
  color: var(--ink);
  background: #faf9f5;
  border: 1px solid var(--line);
  border-radius: 7px;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(12, 111, 112, 0.16);
}

.form-note {
  min-height: 24px;
  font-size: 0.88rem;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px max(var(--gutter), calc((100vw - var(--content)) / 2));
  color: rgba(255, 255, 255, 0.62);
  background: #0b1518;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.88rem;
}

.footer span:first-child {
  color: #fff;
  font-weight: 800;
}

:focus-visible {
  outline: 3px solid rgba(213, 104, 77, 0.42);
  outline-offset: 3px;
}

@keyframes hero-enter {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1220px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 68px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: calc(100% + 1px);
    right: var(--gutter);
    left: var(--gutter);
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    max-height: calc(100vh - 92px);
    overflow-y: auto;
    padding: 14px;
    color: var(--ink-soft);
    background: rgba(255, 254, 250, 0.99);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
  }

  .site-header.nav-open .nav {
    display: grid;
  }

  .nav-item,
  .nav-item > a {
    width: 100%;
  }

  .nav-item > a {
    min-height: 44px;
    justify-content: flex-start;
    padding: 0 13px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 7px;
  }

  .nav-item > a::after,
  .submenu {
    display: none;
  }

  .language-switcher {
    grid-column: 1 / -1;
    justify-content: space-between;
    margin: 2px 0 0;
    padding: 9px 11px;
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: 7px;
  }

  .language-switcher span {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
  }

  .language-switcher select {
    min-width: 160px;
  }

  .launch-copy span:last-child {
    display: none;
  }

  .hero {
    min-height: 720px;
  }

  .intro-band,
  .split,
  .contact-section,
  .feature-hero,
  .feature-detail,
  .pricing-table,
  .technology-stack,
  .corpus-fee,
  .domain-list.extended {
    grid-template-columns: 1fr;
  }

  .section-copy {
    position: static;
    max-width: 780px;
  }

  .feature-hero {
    min-height: 0;
  }

  .feature-hero > div:first-child {
    max-width: 850px;
  }

  .feature-image {
    max-height: 560px;
  }

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

  .featured-plan {
    transform: none;
  }

  .domain-list.extended {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .launch-banner {
    align-items: flex-start;
  }

  .launch-copy {
    display: grid;
    gap: 4px;
  }

  .launch-kicker {
    justify-self: start;
  }

  .hero-media {
    background-image:
      linear-gradient(90deg, rgba(10, 24, 28, 0.95), rgba(10, 24, 28, 0.62)),
      linear-gradient(0deg, rgba(10, 24, 28, 0.5), transparent),
      url("./assets/features-overview.png");
    background-position: 62% center;
  }

  .hero-content {
    width: calc(100% - (2 * var(--gutter)));
  }

  .hero h1 {
    font-size: clamp(4.8rem, 19vw, 7.4rem);
  }

  .intro-band,
  .feature-grid,
  .domain-list,
  .page-grid,
  .feature-index,
  .pricing-models,
  .technology-stack {
    grid-template-columns: 1fr;
  }

  .intro-band {
    gap: 0;
  }

  .intro-band div {
    border-bottom: 1px solid var(--line);
  }

  .intro-band div:last-child {
    border-bottom: 0;
  }

  .feature-card,
  .page-grid article,
  .technology-stack article {
    min-height: 0;
  }

  .feature-number {
    margin-bottom: 28px;
  }

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

  .page-hero {
    min-height: 480px;
  }

  .pricing-table,
  .domain-list.extended {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  :root {
    --gutter: 16px;
  }

  html {
    scroll-padding-top: 80px;
  }

  body {
    font-size: 15px;
  }

  .site-header {
    min-height: 64px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .nav {
    grid-template-columns: 1fr;
    max-height: calc(100vh - 78px);
  }

  .language-switcher {
    grid-column: auto;
    align-items: stretch;
    flex-direction: column;
  }

  .language-switcher select {
    width: 100%;
  }

  .launch-banner {
    gap: 12px;
    min-height: 72px;
  }

  .launch-copy strong {
    font-size: 0.82rem;
    line-height: 1.35;
  }

  .launch-link {
    max-width: 104px;
    font-size: 0.7rem;
    line-height: 1.3;
    white-space: normal;
  }

  .hero {
    min-height: 680px;
  }

  .hero-content {
    padding: 82px 0 96px;
  }

  .hero h1 {
    font-size: clamp(3.8rem, 19vw, 5.2rem);
  }

  .hero-copy {
    font-size: 1.03rem;
  }

  .hero-actions,
  .hero-actions .button,
  .contact-form .button {
    width: 100%;
  }

  .section {
    padding-block: 72px;
  }

  h2 {
    font-size: clamp(2.15rem, 12vw, 3.25rem);
  }

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

  .page-hero {
    min-height: 450px;
    padding-block: 92px 62px;
  }

  .page-hero h1,
  .feature-hero h1 {
    font-size: clamp(2.5rem, 11.5vw, 3.8rem);
  }

  .feature-hero {
    padding-block: 76px;
  }

  .feature-image {
    aspect-ratio: 4 / 3;
  }

  .feature-card,
  .domain-list article,
  .page-grid article,
  .feature-index a,
  .technology-stack article,
  .pricing-models article,
  .pricing-table article {
    padding: 23px;
  }

  .footer {
    flex-direction: column;
    gap: 7px;
  }
}

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