:root {
  --bg: #060a12;
  --bg-soft: #0a101d;
  --surface: #0d1525;
  --surface-2: #111b2e;
  --surface-3: #16223a;
  --border: #20304c;
  --border-strong: #2d4263;
  --text: #eaf1fb;
  --text-soft: #c3cfe1;
  --muted: #9aa9c0;
  --cyan: #22d3ee;
  --cyan-soft: #67e8f9;
  --indigo: #818cf8;
  --green: #34d399;
  --red: #fb7185;
  --amber: #fbbf24;
  --gradient: linear-gradient(120deg, #22d3ee 0%, #60a5fa 48%, #818cf8 100%);
  --shadow: 0 24px 70px rgba(2, 8, 23, 0.55);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --container: 1180px;
  --header-height: 76px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --step--1: clamp(0.83rem, 0.8rem + 0.15vw, 0.9rem);
  --step-0: clamp(0.98rem, 0.94rem + 0.2vw, 1.06rem);
  --step-1: clamp(1.15rem, 1.05rem + 0.45vw, 1.35rem);
  --step-2: clamp(1.45rem, 1.25rem + 0.85vw, 1.9rem);
  --step-3: clamp(1.85rem, 1.5rem + 1.5vw, 2.6rem);
  --step-4: clamp(2.3rem, 1.7rem + 2.7vw, 3.6rem);
  --step-5: clamp(2.7rem, 1.8rem + 4vw, 4.6rem);
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1100px 700px at 85% -10%, rgba(99, 102, 241, 0.17), transparent 60%),
    radial-gradient(900px 600px at 5% 5%, rgba(34, 211, 238, 0.1), transparent 55%),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

img {
  height: auto;
}

a {
  color: var(--cyan-soft);
  text-underline-offset: 0.22em;
}

a:hover {
  color: #a5f3fc;
}

p {
  margin: 0 0 1.1rem;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.7rem;
  color: var(--text);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h1 {
  font-size: var(--step-5);
  letter-spacing: -0.04em;
}

h2 {
  font-size: var(--step-3);
}

h3 {
  font-size: var(--step-2);
}

h4 {
  font-size: var(--step-1);
}

ul,
ol {
  margin: 0 0 1.2rem;
  padding-left: 1.35rem;
}

li {
  margin-bottom: 0.45rem;
}

li::marker {
  color: var(--cyan);
}

strong {
  color: #fff;
  font-weight: 650;
}

code {
  padding: 0.12em 0.38em;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: var(--surface-2);
  color: var(--cyan-soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86em;
}

hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 2.4rem 0;
}

::selection {
  background: rgba(34, 211, 238, 0.32);
  color: #fff;
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 200;
  padding: 0.8rem 1.15rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  background: var(--cyan);
  color: #04121b;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.18s ease;
}

.skip-link:focus {
  top: 0;
  color: #04121b;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

[id] {
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

.narrow {
  max-width: 780px;
  margin-inline: auto;
}

.section {
  padding-block: clamp(3.4rem, 7vw, 6.2rem);
}

.section--tight {
  padding-block: clamp(2.4rem, 5vw, 4rem);
}

.section--alt {
  border-block: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(17, 27, 46, 0.6), rgba(10, 16, 29, 0.25));
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(2rem, 4vw, 3.2rem);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  padding: 0.36rem 0.8rem;
  border: 1px solid rgba(34, 211, 238, 0.32);
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.08);
  color: var(--cyan-soft);
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}

.lead {
  color: var(--text-soft);
  font-size: var(--step-1);
  line-height: 1.65;
}

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

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.grid {
  display: grid;
  gap: 1.35rem;
}

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

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

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

.stack > * + * {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.78rem 1.3rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.93rem;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

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

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn--primary {
  background: var(--gradient);
  color: #03121a;
  box-shadow: 0 12px 32px rgba(34, 211, 238, 0.2);
}

.btn--primary:hover {
  color: #03121a;
  box-shadow: 0 16px 36px rgba(34, 211, 238, 0.3);
}

.btn--ghost {
  border-color: var(--border-strong);
  background: rgba(17, 27, 46, 0.6);
  color: var(--text);
}

.btn--ghost:hover {
  border-color: rgba(34, 211, 238, 0.55);
  background: rgba(34, 211, 238, 0.08);
  color: #fff;
}

.btn--block {
  width: 100%;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.btn-row--center {
  justify-content: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(32, 48, 76, 0.8);
  background: rgba(6, 10, 18, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  min-height: var(--header-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  text-decoration: none;
  flex: none;
}

.brand:hover {
  color: var(--text);
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(34, 211, 238, 0.45);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(34, 211, 238, 0.18), rgba(129, 140, 248, 0.16));
  color: #e7fbff;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__name {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand__tag {
  margin-top: 0.18rem;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.nav-toggle__close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__close {
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu li {
  margin: 0;
}

.nav-link {
  display: block;
  padding: 0.55rem 0.72rem;
  border-radius: 8px;
  color: var(--text-soft);
  font-size: 0.9rem;
  font-weight: 550;
  text-decoration: none;
  transition: color 0.16s ease, background-color 0.16s ease;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  background: rgba(34, 211, 238, 0.08);
  color: var(--cyan-soft);
}

.nav-cta {
  min-height: 42px;
  padding: 0.6rem 1.05rem;
  font-size: 0.86rem;
}

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 8vw, 7rem) clamp(3.5rem, 7vw, 6rem);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.5), transparent);
}

.hero__grid {
  display: grid;
  gap: clamp(2.2rem, 5vw, 4rem);
  align-items: center;
}

.hero__copy h1 {
  max-width: 15ch;
}

.hero__copy .lead {
  max-width: 54ch;
  margin-top: 1.3rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.4rem;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: var(--step--1);
}

.hero__meta li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
}

.hero__meta svg {
  width: 15px;
  height: 15px;
  color: var(--cyan);
}

.hero__panel {
  position: relative;
  isolation: isolate;
  padding: 1.15rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(17, 27, 46, 0.95), rgba(9, 15, 27, 0.9));
  box-shadow: var(--shadow);
}

.hero__panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: calc(var(--radius-lg) + 1px);
  background: linear-gradient(140deg, rgba(34, 211, 238, 0.45), transparent 42%, rgba(129, 140, 248, 0.4));
  opacity: 0.5;
}

.panel-bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.2rem 0.35rem 0.9rem;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
}

.panel-bar__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border-strong);
}

.panel-bar__dot:first-child {
  background: var(--red);
}

.panel-bar__dot:nth-child(2) {
  background: var(--amber);
}

.panel-bar__dot:nth-child(3) {
  background: var(--green);
}

.panel-bar__title {
  margin-left: auto;
}

.chat {
  display: grid;
  gap: 0.85rem;
  padding-top: 1rem;
}

.chat__bubble {
  max-width: 92%;
  padding: 0.75rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--text-soft);
  font-size: 0.87rem;
  line-height: 1.55;
}

.chat__bubble--user {
  justify-self: end;
  border-color: rgba(34, 211, 238, 0.3);
  background: rgba(34, 211, 238, 0.09);
  color: var(--text);
}

.chat__label {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--cyan-soft);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.chat__source {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.55rem;
  padding: 0.18rem 0.5rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.7rem;
}

.chat__source::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--border);
  overflow: hidden;
}

.stat {
  padding: 1.1rem 1rem;
  background: rgba(10, 16, 29, 0.92);
}

.split__aside .stat-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stat__value {
  display: block;
  color: var(--text);
  font-size: var(--step-2);
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat__label {
  display: block;
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.4;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.35rem, 2.5vw, 1.8rem);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(17, 27, 46, 0.78), rgba(10, 16, 29, 0.65));
  transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.4);
}

.card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 1.15rem;
  border: 1px solid rgba(34, 211, 238, 0.28);
  border-radius: 12px;
  background: rgba(34, 211, 238, 0.08);
  color: var(--cyan);
}

.card__icon svg {
  width: 22px;
  height: 22px;
}

.card h3 {
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}

.card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.card__list {
  margin: 0.4rem 0 1.3rem;
  padding: 0;
  list-style: none;
  color: var(--text-soft);
  font-size: 0.85rem;
}

.card__list li {
  position: relative;
  margin-bottom: 0.35rem;
  padding-left: 1.1rem;
}

.card__list li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  color: var(--cyan-soft);
  font-size: 0.87rem;
  font-weight: 650;
  text-decoration: none;
}

.card__link::after {
  content: "→";
  transition: transform 0.16s ease;
}

.card__link:hover::after {
  transform: translateX(4px);
}

.card--accent {
  border-color: rgba(34, 211, 238, 0.34);
  background: linear-gradient(155deg, rgba(34, 211, 238, 0.1), rgba(13, 21, 37, 0.9) 55%);
}

.step-grid {
  display: grid;
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--border);
  overflow: hidden;
}

.step {
  position: relative;
  padding: 1.6rem 1.35rem;
  background: rgba(10, 16, 29, 0.94);
}

.step__num {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 1rem;
  border: 1px solid rgba(129, 140, 248, 0.4);
  border-radius: 9px;
  background: rgba(129, 140, 248, 0.12);
  color: var(--indigo);
  font-size: 0.82rem;
  font-weight: 750;
}

.step h3 {
  font-size: 1.03rem;
  letter-spacing: -0.01em;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.6;
}

.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.split__aside {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.split__aside h3 {
  font-size: 1rem;
}

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

.check-list li {
  position: relative;
  margin-bottom: 0.75rem;
  padding-left: 1.7rem;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.38em;
  left: 0;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.16);
  border: 1px solid rgba(52, 211, 153, 0.45);
}

.check-list li::after {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0.32rem;
  width: 0.4rem;
  height: 0.22rem;
  border-left: 1.5px solid var(--green);
  border-bottom: 1.5px solid var(--green);
  transform: rotate(-45deg);
}

.faq {
  display: grid;
  gap: 0.7rem;
  max-width: 860px;
  margin-inline: auto;
}

.faq__item {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(13, 21, 37, 0.85);
  overflow: hidden;
}

.faq__item h3 {
  margin: 0;
}

.faq__item.is-open {
  border-color: rgba(34, 211, 238, 0.4);
}

.faq__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  width: 100%;
  padding: 1.05rem 1.15rem;
  border: 0;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
}

.faq__trigger:hover {
  color: var(--cyan-soft);
}

.faq__icon {
  position: relative;
  flex: none;
  width: 24px;
  height: 24px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 1.5px;
  margin: -0.75px 0 0 -4.5px;
  background: var(--cyan-soft);
  transition: transform 0.2s ease;
}

.faq__icon::after {
  transform: rotate(90deg);
}

.faq__trigger[aria-expanded="true"] .faq__icon::after {
  transform: rotate(0deg);
}

.faq__panel {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 0.28s ease;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.7;
}

.faq__panel.is-collapsed {
  grid-template-rows: 0fr;
}

.faq__panel-inner {
  min-height: 0;
  overflow: hidden;
}

.faq__panel-inner > :first-child {
  margin-top: 0;
}

.faq__panel-inner {
  padding: 0 1.15rem;
}

.faq__item.is-open .faq__panel-inner {
  padding-bottom: 1.15rem;
}

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

.cta {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 3.4rem);
  border: 1px solid rgba(34, 211, 238, 0.28);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(600px 300px at 10% 0%, rgba(34, 211, 238, 0.17), transparent 60%),
    radial-gradient(500px 300px at 90% 100%, rgba(129, 140, 248, 0.2), transparent 60%),
    var(--surface);
  box-shadow: var(--shadow);
}

.cta__grid {
  display: grid;
  gap: 1.6rem;
  align-items: center;
}

.cta h2 {
  max-width: 20ch;
}

.cta p {
  max-width: 56ch;
  margin: 0;
  color: var(--text-soft);
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.page-hero {
  padding-block: clamp(2.6rem, 5vw, 4.2rem) clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(800px 400px at 20% 0%, rgba(34, 211, 238, 0.09), transparent 65%),
    linear-gradient(180deg, rgba(17, 27, 46, 0.5), transparent);
}

.page-hero h1 {
  max-width: 20ch;
  font-size: var(--step-4);
}

.page-hero .lead {
  max-width: 66ch;
}

.breadcrumbs {
  margin-bottom: 1.4rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.78rem;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
}

.breadcrumbs li + li::before {
  content: "/";
  color: var(--border-strong);
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--cyan-soft);
}

.breadcrumbs [aria-current="page"] {
  color: var(--text-soft);
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  margin-top: 1.4rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.6rem;
  border: 1px solid rgba(129, 140, 248, 0.36);
  border-radius: 999px;
  background: rgba(129, 140, 248, 0.1);
  color: #c7d2fe;
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tag--cyan {
  border-color: rgba(34, 211, 238, 0.36);
  background: rgba(34, 211, 238, 0.1);
  color: var(--cyan-soft);
}

.article-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.article-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.4);
}

.article-card h2,
.article-card h3 {
  font-size: 1.3rem;
}

.article-card h2 a,
.article-card h3 a {
  color: var(--text);
  text-decoration: none;
}

.article-card h2 a:hover,
.article-card h3 a:hover {
  color: var(--cyan-soft);
}

.article-card p {
  color: var(--muted);
  font-size: 0.92rem;
}

.article-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.76rem;
}

.article-layout {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.prose {
  max-width: 72ch;
  color: var(--text-soft);
  font-size: 1.02rem;
  line-height: 1.8;
}

.prose > h2 {
  margin-top: 2.6rem;
  padding-top: 0.4rem;
  font-size: var(--step-2);
  color: var(--text);
}

.prose > h3 {
  margin-top: 2rem;
  font-size: 1.24rem;
  color: var(--text);
}

.prose h2 + p,
.prose h3 + p {
  margin-top: 0.9rem;
}

.prose ul,
.prose ol {
  padding-left: 1.3rem;
}

.prose li {
  margin-bottom: 0.6rem;
}

.prose blockquote {
  margin: 1.8rem 0;
  padding: 1rem 1.3rem;
  border-left: 3px solid var(--cyan);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(34, 211, 238, 0.06);
  color: var(--text);
}

.prose__lead {
  font-size: 1.14rem;
  color: var(--text);
}

.table-wrap {
  margin: 1.8rem 0;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 0.89rem;
}

caption {
  padding: 0.9rem 1rem;
  color: var(--muted);
  font-size: 0.8rem;
  text-align: left;
}

th,
td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--surface-2);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

td {
  color: var(--text-soft);
}

tbody th {
  background: transparent;
  color: var(--text);
  font-size: 0.89rem;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}

tbody tr:last-child td,
tbody tr:last-child th {
  border-bottom: 0;
}

tbody tr:hover {
  background: rgba(34, 211, 238, 0.04);
}

.article-aside {
  padding: 1.35rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.article-aside h2 {
  font-size: 0.86rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.article-aside ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-aside li {
  margin: 0;
  border-bottom: 1px solid var(--border);
}

.article-aside li:last-child {
  border-bottom: 0;
}

.article-aside a {
  display: block;
  padding: 0.65rem 0;
  color: var(--text-soft);
  font-size: 0.87rem;
  text-decoration: none;
}

.article-aside a:hover {
  color: var(--cyan-soft);
}

.author-box {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-top: 2.6rem;
  padding: 1.3rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.author-box__avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(34, 211, 238, 0.34);
  border-radius: 50%;
  background: rgba(34, 211, 238, 0.1);
  color: var(--cyan-soft);
  font-weight: 750;
}

.author-box p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.author-box strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.93rem;
}

.contact-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3.4rem);
  align-items: start;
}

.info-list {
  display: grid;
  gap: 1px;
  margin: 1.6rem 0 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--border);
  overflow: hidden;
}

.info-item {
  padding: 1.1rem 1.2rem;
  background: var(--surface);
}

.info-item dt {
  margin-bottom: 0.25rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.info-item dd {
  margin: 0;
  color: var(--text);
  font-size: 0.94rem;
}

.info-item a {
  text-decoration: none;
}

.form-card {
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.form-card h2 {
  font-size: var(--step-2);
}

.form-card > p {
  color: var(--muted);
  font-size: 0.9rem;
}

.form {
  display: grid;
  gap: 1.15rem;
  margin-top: 1.5rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label {
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 600;
}

.field label .required {
  color: var(--cyan);
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: var(--bg-soft);
  color: var(--text);
  font-family: inherit;
  font-size: 0.94rem;
  line-height: 1.5;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

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

.field input::placeholder,
.field textarea::placeholder {
  color: #6f809b;
}

.field input:hover,
.field textarea:hover {
  border-color: #3a5278;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--cyan);
  outline: 3px solid rgba(34, 211, 238, 0.2);
  outline-offset: 0;
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--red);
  background: rgba(251, 113, 133, 0.05);
}

.field__error {
  margin: 0;
  color: var(--red);
  font-size: 0.79rem;
  font-weight: 550;
  line-height: 1.4;
}

.field__hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.form__note {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.alert {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-top: 1.2rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(52, 211, 153, 0.45);
  border-radius: 10px;
  background: rgba(52, 211, 153, 0.1);
  color: #b9f6d8;
  font-size: 0.9rem;
  font-weight: 550;
}

.alert svg {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 0.1rem;
  color: var(--green);
}

.alert[hidden] {
  display: none;
}

.notice {
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  color: var(--text-soft);
  font-size: 0.88rem;
}

.notice--info {
  border-color: rgba(34, 211, 238, 0.3);
  background: rgba(34, 211, 238, 0.07);
}

.site-footer {
  margin-top: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid var(--border);
  background: rgba(5, 9, 16, 0.85);
}

.footer-grid {
  display: grid;
  gap: 2rem;
  padding-block: clamp(2.6rem, 5vw, 4rem);
}

.footer-brand p {
  max-width: 34ch;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.87rem;
}

.footer-col h2 {
  margin-bottom: 0.9rem;
  color: var(--text);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.5rem;
}

.footer-col a,
.footer-col address a {
  color: var(--muted);
  font-size: 0.87rem;
  text-decoration: none;
}

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

.footer-col address {
  color: var(--muted);
  font-size: 0.87rem;
  font-style: normal;
  line-height: 1.7;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding-block: 1.25rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.78rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  color: var(--muted);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--cyan-soft);
}

.error-page {
  display: grid;
  place-items: center;
  min-height: 60vh;
  padding-block: 4rem;
  text-align: center;
}

.error-code {
  display: block;
  margin-bottom: 0.6rem;
  color: transparent;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
}

@media (min-width: 768px) {
  .grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

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

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

  .cta__grid {
    grid-template-columns: 1.4fr auto;
  }
}

@media (min-width: 992px) {
  .hero__grid {
    grid-template-columns: 1.08fr 0.92fr;
  }

  .split {
    grid-template-columns: 1.35fr 0.65fr;
  }

  .article-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
  }

  .article-aside {
    position: sticky;
    top: calc(var(--header-height) + 1.5rem);
  }

  .contact-grid {
    grid-template-columns: 0.85fr 1.15fr;
  }
}

@media (min-width: 1200px) {
  .grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

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

@media (max-width: 991px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    gap: 0;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    padding: 1rem 1.25rem 1.35rem;
    border-bottom: 1px solid var(--border);
    background: rgba(6, 10, 18, 0.98);
    box-shadow: 0 24px 40px rgba(2, 8, 23, 0.6);
  }

  .nav-menu.is-open {
    display: flex;
  }

  html:not(.js) .nav-menu {
    display: flex;
  }

  .nav-link {
    padding: 0.8rem 0.75rem;
    font-size: 1rem;
  }

  .nav-cta {
    display: none;
  }

  .nav-menu .nav-cta {
    display: inline-flex;
    width: 100%;
    margin-top: 0.7rem;
    justify-content: center;
  }

  .nav-menu li {
    border-bottom: 1px solid rgba(32, 48, 76, 0.6);
  }

  .nav-menu li:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 767px) {
  :root {
    --header-height: 68px;
  }

  .brand__tag {
    display: none;
  }

  .footer-grid {
    gap: 1.7rem;
  }

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

  .article-card h2,
  .article-card h3 {
    font-size: 1.15rem;
  }
}

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