:root {
  color-scheme: dark;
  --red: #ea1f1f;
  --red-dark: #b91419;
  --ink: #0b0808;
  --panel: #151111;
  --panel-light: #1c1717;
  --white: #f7f5f3;
  --muted: #aaa3a1;
  --line: rgba(255, 255, 255, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--ink);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--white);
  background:
    radial-gradient(circle at 92% 14%, rgba(234, 31, 31, 0.13), transparent 27rem),
    linear-gradient(120deg, #0b0808 0%, #0d0909 55%, #120909 100%);
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(255, 255, 255, 0.017) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.017) 1px, transparent 1px);
  background-size: 80px 80px;
  content: "";
  mask-image: linear-gradient(to right, transparent, black 65%);
}

a {
  color: inherit;
}

.page-shell {
  width: min(100% - 72px, 1180px);
  min-height: 100vh;
  margin: 0 auto;
}

.brand {
  display: block;
  width: 142px;
  height: auto;
  margin-bottom: clamp(58px, 9vh, 90px);
}

.coming-soon {
  display: grid;
  min-height: 100vh;
  align-items: center;
  gap: clamp(56px, 8vw, 132px);
  grid-template-columns: minmax(0, 1.1fr) minmax(420px, 0.8fr);
  padding: clamp(64px, 9vh, 112px) 0;
}

.intro {
  max-width: 730px;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 30px;
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(42px, 4.7vw, 64px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

h1 em {
  color: var(--red);
  font-style: normal;
}

.lead {
  max-width: 640px;
  margin-bottom: 43px;
  color: var(--muted);
  font-size: clamp(14px, 1.15vw, 16px);
  line-height: 1.7;
}

.contact-links {
  display: flex;
  align-items: center;
  gap: clamp(28px, 4vw, 58px);
}

.contact-links a {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: clamp(13px, 1.1vw, 15px);
  font-weight: 500;
  text-decoration: none;
  transition: color 160ms ease;
  pointer-events: none;
}

.contact-links a:hover {
  color: #d5cecc;
}

.contact-links img {
  display: block;
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.form-panel {
  position: relative;
  padding: clamp(28px, 3.3vw, 42px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--white);
  background: linear-gradient(145deg, rgba(28, 23, 23, 0.97), rgba(16, 13, 13, 0.98));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.form-column {
  min-width: 0;
}

.panel-heading p {
  margin-bottom: 9px;
  color: var(--red);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.panel-heading h2 {
  max-width: 390px;
  margin-bottom: 34px;
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(23px, 2vw, 29px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.22;
}

.field-row {
  display: grid;
  gap: 14px;
  grid-template-columns: 0.8fr 1.2fr;
}

label {
  display: block;
  margin-bottom: 18px;
  color: #c6c0be;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

input,
textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  outline: none;
  color: var(--white);
  background: rgba(6, 5, 5, 0.48);
  font: inherit;
  font-size: 13px;
  transition: border-color 160ms ease, background-color 160ms ease;
}

input {
  height: 50px;
  padding: 0 15px;
}

textarea {
  min-height: 112px;
  padding: 14px 15px;
  overflow-y: hidden;
  resize: none;
}

input::placeholder,
textarea::placeholder {
  color: #6f6968;
}

input:focus,
textarea:focus {
  border-color: var(--red);
  background: rgba(6, 5, 5, 0.75);
}

button {
  display: flex;
  width: 100%;
  height: 54px;
  padding: 0 18px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--red);
  border-radius: var(--radius);
  color: #fff;
  background: var(--red);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

button:hover {
  border-color: var(--red-dark);
  background: var(--red-dark);
}

button:disabled {
  border-color: #8f1818;
  background: #8f1818;
  cursor: wait;
}

button:active {
  transform: translateY(1px);
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.form-status {
  min-height: 20px;
  margin: 11px 0 0;
  color: #aaa3a1;
  font-size: 11px;
  line-height: 1.5;
}

.form-status.is-success {
  color: #9ed6aa;
}

.form-status.is-error {
  color: #ff9b9b;
}

.privacy-note {
  display: flex;
  margin: 12px 4px 0;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: #817a78;
  font-size: 11px;
  line-height: 1.45;
}

.privacy-note .privacy-link {
  display: inline-flex;
  min-height: 22px;
  padding: 0 9px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 5px;
  color: #9b9391;
  background: rgba(255, 255, 255, 0.025);
  white-space: nowrap;
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease;
}

.privacy-note .privacy-link:hover {
  border-color: rgba(255, 255, 255, 0.28);
  color: #c8c1bf;
  background: rgba(255, 255, 255, 0.05);
}

.simple-page {
  display: flex;
  width: min(100% - 48px, 760px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 64px 0;
  align-items: center;
}

.simple-content {
  width: 100%;
}

.simple-content .brand {
  margin-bottom: 56px;
}

.simple-content h1 {
  margin-bottom: 20px;
}

.error-content h1 {
  max-width: 650px;
}

.error-content .lead {
  max-width: 540px;
  margin-bottom: 32px;
}

.simple-content > p {
  max-width: 620px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 15px;
}

.text-link {
  display: inline-flex;
  min-height: 48px;
  padding: 0 20px;
  align-items: center;
  border: 1px solid var(--red);
  border-radius: var(--radius);
  color: #fff;
  background: var(--red);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.text-link:hover {
  border-color: var(--red-dark);
  background: var(--red-dark);
}

.privacy-content {
  max-width: 720px;
}

.privacy-content h1 {
  font-size: clamp(36px, 5vw, 56px);
}

.privacy-content h2 {
  margin: 34px 0 10px;
  font-size: 18px;
  font-weight: 500;
}

.privacy-content p {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.privacy-content a:not(.text-link) {
  color: var(--white);
}

@media (max-width: 960px) {
  .coming-soon {
    gap: 48px;
    grid-template-columns: 1fr;
  }

  .intro {
    max-width: 790px;
  }

  .form-panel {
    max-width: 650px;
  }
}

@media (max-width: 600px) {
  .page-shell {
    width: min(100% - 32px, 1360px);
  }

  .brand {
    width: 118px;
    margin-bottom: 48px;
  }

  .coming-soon {
    gap: 42px;
    padding: 52px 0;
  }

  h1 {
    font-size: clamp(39px, 12vw, 52px);
    letter-spacing: -0.03em;
    line-height: 1.1;
  }

  .lead {
    margin-bottom: 32px;
    font-size: 15px;
    line-height: 1.65;
  }

  .contact-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .contact-links a {
    font-size: 15px;
    pointer-events: auto;
  }

  .form-panel {
    padding: 27px 20px 24px;
  }

  .field-row {
    gap: 0;
    grid-template-columns: 1fr;
  }

  .simple-page {
    width: min(100% - 32px, 760px);
    padding: 48px 0;
  }

  .simple-content .brand {
    margin-bottom: 42px;
  }

}

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