:root {
  --bg: #07111f;
  --bg-soft: #0c1729;
  --bg-muted: #101d32;
  --surface: #111f35;
  --surface-2: #142640;
  --text: #eef6ff;
  --muted: #a7b5ca;
  --line: rgba(180, 206, 255, 0.16);
  --blue: #4f8cff;
  --cyan: #35d6dc;
  --violet: #8a6cff;
  --danger: #ff8a8a;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  --radius: 8px;
  --header-height: 74px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(53, 214, 220, 0.16), transparent 32rem),
    radial-gradient(circle at top right, rgba(138, 108, 255, 0.14), transparent 30rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

.container {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

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

.skip-link:focus {
  z-index: 20;
  width: auto;
  height: auto;
  clip: auto;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--cyan);
  color: #05101c;
  border-radius: var(--radius);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: var(--header-height);
  background: rgba(7, 17, 31, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--blue), var(--cyan) 55%, var(--violet));
  color: #05101c;
  font-size: 0.78rem;
  font-weight: 850;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 9px 12px;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.94rem;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.is-active {
  color: var(--text);
  background: rgba(79, 140, 255, 0.14);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.section {
  padding: 88px 0;
}

.hero {
  min-height: calc(100vh - var(--header-height));
  display: grid;
  align-items: center;
  padding: 76px 0 68px;
}

.hero-grid,
.two-column,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 44px;
  align-items: start;
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.35rem, 8vw, 4.8rem);
  max-width: 900px;
}

h2 {
  font-size: clamp(1.85rem, 4vw, 3rem);
}

h3 {
  font-size: 1.08rem;
}

.hero-text {
  max-width: 740px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.hero-support,
.hero-note,
.section-heading p,
.contact-note {
  max-width: 760px;
  color: var(--muted);
}

.hero-support {
  margin: 14px 0 0;
}

.hero-note {
  margin: 14px 0 0;
  padding: 14px 16px;
  border: 1px solid rgba(53, 214, 220, 0.24);
  border-radius: var(--radius);
  background: rgba(53, 214, 220, 0.08);
}

.response-callout {
  display: grid;
  gap: 6px;
  max-width: 760px;
  margin: 16px 0 0;
  padding: 16px;
  border: 1px solid rgba(138, 108, 255, 0.34);
  border-left: 4px solid var(--violet);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(138, 108, 255, 0.14), rgba(79, 140, 255, 0.08));
}

.response-callout strong {
  color: var(--text);
}

.response-callout span {
  color: var(--muted);
}

.free-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin: 0 0 18px;
  padding: 7px 11px;
  border: 1px solid rgba(53, 214, 220, 0.35);
  border-radius: 999px;
  background: rgba(53, 214, 220, 0.1);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 800;
}

.hero-actions,
.contact-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 750;
  line-height: 1.2;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button-primary {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #06111d;
}

.button-secondary {
  background: rgba(238, 246, 255, 0.06);
  border-color: var(--line);
  color: var(--text);
}

.button-ghost {
  color: var(--cyan);
  border-color: rgba(53, 214, 220, 0.28);
}

.hero-panel,
.policy-box,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(17, 31, 53, 0.92), rgba(12, 23, 41, 0.94));
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 24px;
}

.status-line {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.status-line span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 20px rgba(53, 214, 220, 0.9);
}

.capability-list {
  display: grid;
  gap: 18px;
  margin: 20px 0 0;
}

.capability-list div,
.portfolio-card dl div {
  display: grid;
  gap: 4px;
}

dt {
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 750;
}

dd {
  margin: 0;
  color: var(--muted);
}

.flow p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

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

.section-muted {
  background: rgba(16, 29, 50, 0.58);
  border-block: 1px solid var(--line);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

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

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

.card,
.portfolio-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(17, 31, 53, 0.78);
}

.card {
  padding: 20px;
}

.card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.steps li {
  min-height: 196px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(17, 31, 53, 0.72);
}

.steps span {
  display: block;
  margin-bottom: 18px;
  color: var(--cyan);
  font-weight: 850;
}

.steps strong {
  display: block;
  line-height: 1.25;
}

.steps p {
  margin: 10px 0 0;
  color: var(--muted);
}

.section-policy {
  padding-block: 70px;
}

.policy-box {
  padding: clamp(22px, 5vw, 40px);
}

.policy-box p:not(.eyebrow) {
  max-width: 900px;
  color: var(--muted);
}

.rule-grid {
  margin: 26px 0 22px;
}

.rule-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7, 17, 31, 0.35);
}

.rule-grid p {
  margin: 10px 0 0;
  color: var(--muted);
}

.rule-list {
  display: grid;
  gap: 10px;
  padding-left: 20px;
  margin: 0;
  color: var(--muted);
}

.limit-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.limit-list li {
  padding: 10px 12px;
  border: 1px solid rgba(255, 138, 138, 0.26);
  border-radius: var(--radius);
  background: rgba(255, 138, 138, 0.08);
  color: #ffd8d8;
  font-weight: 700;
}

.portfolio-card {
  padding: 20px;
}

.portfolio-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.portfolio-top span {
  flex: 0 0 auto;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(53, 214, 220, 0.12);
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 750;
}

.portfolio-card dl {
  display: grid;
  gap: 14px;
  margin: 16px 0 0;
}

.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.tech-list li {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(20, 38, 64, 0.72);
  color: var(--text);
  font-weight: 650;
}

.contact-copy p:not(.eyebrow) {
  color: var(--muted);
}

.contact-form {
  padding: 22px;
}

.field,
.choice-field {
  margin: 0 0 16px;
}

label,
legend {
  display: block;
  margin-bottom: 7px;
  color: var(--text);
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7, 17, 31, 0.74);
  color: var(--text);
  padding: 12px 13px;
}

textarea {
  resize: vertical;
  min-height: 130px;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(53, 214, 220, 0.5);
  border-color: rgba(53, 214, 220, 0.7);
}

.choice-field {
  padding: 0;
  border: 0;
}

.choice-field label {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 7px 0;
  color: var(--muted);
  font-weight: 600;
}

.choice-field input {
  width: auto;
}

.field-error {
  min-height: 1.2em;
  margin: 5px 0 0;
  color: var(--danger);
  font-size: 0.88rem;
}

.form-actions {
  margin-top: 8px;
}

.form-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  background: #050d18;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-content p {
  margin: 0;
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

@media (max-width: 920px) {
  .nav {
    flex-wrap: wrap;
  }

  html.js-enabled .nav-toggle {
    display: block;
  }

  .nav-links {
    flex: 1 0 100%;
    display: grid;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(7, 17, 31, 0.98);
    box-shadow: var(--shadow);
  }

  html.js-enabled .nav-links {
    position: absolute;
    top: calc(var(--header-height) - 1px);
    left: 16px;
    right: 16px;
    flex: initial;
    display: none;
  }

  .nav-links.is-open {
    display: grid;
  }

  .nav-links a {
    padding: 12px;
  }

  .hero-grid,
  .two-column,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .portfolio-grid,
  .reason-grid,
  .rule-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

@media (max-width: 620px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

  .brand span:last-child {
    max-width: 190px;
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    padding-top: 56px;
  }

  .hero-actions,
  .contact-actions,
  .form-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .service-grid,
  .portfolio-grid,
  .reason-grid,
  .rule-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .steps li {
    min-height: auto;
  }

  .portfolio-top {
    display: grid;
  }

  .portfolio-top span {
    justify-self: start;
  }
}
