/* ==========================================================================
   Byte City landing
   Calibrated against the reference layout: fluid type keeps the same
   proportions at 1280 and 1440 (the design was measured at both scales).
   paper #fff, ink #111, accent #6070e3, link #1966d9, lavender #e0e0fc,
   footer #f4f4f4, content 1328 @1440, gutter 56.
   ========================================================================== */

:root {
  --paper: #ffffff;
  --ink: #111111;
  --ink-soft: #1b1b1b;
  --muted: #585858;
  --accent: #6070e3;
  --accent-dark: #4d5dd4;
  --link: #1966d9;
  --lavender: #e0e0fc;
  --lavender-ink: #7b7bb2;
  --foot: #f4f4f4;
  --line: rgba(17, 17, 17, 0.12);

  --gutter: clamp(20px, 3.9vw, 56px);
  --container: 1328px;
  --radius-lg: 28px;
  --radius-sm: 10px;

  --section-y: clamp(72px, 8.4vw, 121px);
  --hero-y: clamp(28px, 2.64vw, 38px);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: clamp(16px, 1.53vw, 22px);
  line-height: 1.5;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

h1,
h2,
p,
ul,
address {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- layout ---------- */

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  z-index: 100;
}

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

/* ---------- header ---------- */

.header {
  padding-block: clamp(12px, 1.46vw, 21px) 0;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
}

.logo__kick {
  font-size: clamp(11px, 0.82vw, 12px);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--muted);
}

.logo__word {
  margin-top: 8px;
  font-size: clamp(21px, 1.67vw, 24px);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.header__phone {
  font-size: clamp(15px, 1.39vw, 20px);
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.header__phone:hover {
  color: var(--accent);
}

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

.hero {
  padding-block: var(--hero-y) var(--section-y);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 41.8fr) minmax(0, 58.2fr);
  gap: 0;
  align-items: start;
}

.hero__copy {
  padding-top: clamp(0px, 3.13vw, 45px);
  padding-right: clamp(0px, 2.4vw, 34px);
}

.hero__title {
  font-size: clamp(40px, 4.72vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.022em;
  font-weight: 700;
  margin-bottom: clamp(24px, 2.55vw, 37px);
}

.bullet-list {
  margin-bottom: clamp(30px, 3.5vw, 51px);
}

.bullet-list li {
  color: var(--ink-soft);
}

.bullet-list li + li {
  margin-top: clamp(14px, 1.95vw, 28px);
}


.hero__media {
  margin-right: calc(var(--gutter) * -1);
}

.hero__media img {
  width: 100%;
  border-radius: 12px;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(48px, 3.9vw, 56px);
  padding: 0 clamp(24px, 2.2vw, 32px);
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: #fff;
  font-family: inherit;
  font-size: clamp(16px, 1.53vw, 22px);
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.btn:hover {
  background: var(--accent-dark);
}

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

/* ---------- split sections ---------- */

.split {
  padding-block: var(--section-y);
}

.split__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 4.3vw, 62px);
  align-items: center;
}

.split--art-left .split__inner {
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1fr);
  gap: clamp(32px, 5.6vw, 80px);
}

.split--art-right .split__inner {
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
}

.split--art-right .split__media {
  margin-right: calc(var(--gutter) * -1);
}

.split__media img {
  width: 100%;
}

.h2 {
  font-size: clamp(26px, 2.6vw, 37px);
  line-height: 1.16;
  letter-spacing: -0.024em;
  font-weight: 700;
  margin-bottom: clamp(18px, 2vw, 28px);
}

.lead {
  color: var(--ink-soft);
  margin-bottom: clamp(28px, 3.2vw, 46px);
}

.links {
  display: grid;
  gap: clamp(16px, 1.9vw, 27px);
}

.links a {
  color: var(--link);
  line-height: 1.45;
  transition: color 0.15s ease;
}

.links a:hover {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- cta ---------- */

.cta {
  padding-block: clamp(24px, 3.2vw, 46px) clamp(48px, 6.2vw, 89px);
}

.cta__card {
  background: var(--lavender);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 5.1vw, 74px) clamp(24px, 5vw, 72px) clamp(44px, 5.6vw, 80px);
}

.cta__card .lead {
  margin-bottom: clamp(30px, 3.9vw, 56px);
}

.form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: clamp(18px, 2.4vw, 34px);
  align-items: end;
  max-width: 920px;
}

.field {
  display: block;
  min-width: 0;
}

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

.field__input {
  width: 100%;
  padding: 0 2px 13px;
  border: 0;
  border-bottom: 1px solid rgba(96, 112, 227, 0.45);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  font-size: inherit;
  line-height: 1.4;
  transition: border-color 0.18s ease;
}

.field__input::placeholder {
  color: var(--lavender-ink);
  opacity: 1;
}

.field__input:hover {
  border-bottom-color: rgba(96, 112, 227, 0.7);
}

.field__input:focus {
  outline: none;
  border-bottom-color: var(--accent);
}

.btn--submit {
  min-width: clamp(180px, 17vw, 244px);
}

.form__status {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.8em;
  color: var(--ink-soft);
}

/* ---------- footer ---------- */

.footer {
  background: var(--foot);
  padding-block: clamp(26px, 2.2vw, 32px) clamp(28px, 3vw, 40px);
}

.footer__inner {
  display: grid;
  gap: clamp(24px, 2.6vw, 34px);
}

.footer__col {
  display: grid;
  gap: 16px;
  font-size: clamp(15px, 1.25vw, 18px);
  font-style: normal;
  line-height: 1.45;
}

.footer__address {
  color: var(--ink-soft);
  font-style: normal;
}

.footer__link {
  justify-self: start;
  transition: color 0.15s ease;
}

.footer__link:hover {
  color: var(--accent);
}

.footer__legal {
  font-size: clamp(13px, 0.97vw, 14px);
  color: var(--muted);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 30px;
  align-items: center;
  padding-top: clamp(18px, 2.4vw, 28px);
  border-top: 1px solid var(--line);
  font-size: clamp(13px, 0.97vw, 14px);
  color: var(--muted);
}

/* ---------- responsive ---------- */

@media (max-width: 1120px) {
  .hero__inner,
  .split__inner,
  .split--art-left .split__inner,
  .split--art-right .split__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__inner {
    gap: 40px;
  }

  .hero__copy {
    padding-top: 0;
    padding-right: 0;
  }

  .hero__media,
  .split--art-right .split__media {
    margin-right: 0;
    max-width: 760px;
  }

  .split__media {
    order: -1;
    max-width: 640px;
  }

  .split--art-right .split__media {
    order: 0;
  }
}

@media (max-width: 760px) {
  .form {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

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

  .cta__card {
    border-radius: 22px;
  }

  .hero__title {
    max-width: 12ch;
  }
}

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

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

/* ---------- legal pages (privacy policy) ---------- */

.legal {
  padding-block: var(--section-y);
}

.legal__inner {
  max-width: 820px;
}

.legal h1 {
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin-bottom: 10px;
}

.legal__meta {
  color: var(--muted);
  font-size: clamp(14px, 1.1vw, 16px);
  margin-bottom: 34px;
}

.legal h2 {
  font-size: clamp(19px, 1.6vw, 23px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-weight: 600;
  margin: 30px 0 12px;
}

.legal p {
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.legal ul {
  list-style: disc;
  padding-left: 1.4em;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.legal li {
  margin-bottom: 6px;
}

.legal li::marker {
  color: var(--accent);
}

.legal a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal a:hover {
  color: var(--accent-dark);
}

.legal address {
  font-style: normal;
  color: var(--ink-soft);
  line-height: 1.6;
}
