:root {
  --bg: #fbfbf8;
  --bg-soft: #eff4fb;
  --ink: #0d1621;
  --muted: #5d6572;
  --line: rgba(13, 22, 33, 0.12);
  --card: rgba(255, 255, 255, 0.88);
  --accent: #1348ff;
  --accent-2: #ff4d4d;
  --accent-3: #0f8668;
  --shadow: 0 18px 60px rgba(13, 22, 33, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #ffffff 0%, var(--bg) 46%, var(--bg-soft) 100%);
  font-family: "Inter", sans-serif;
}

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

button {
  cursor: pointer;
}

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

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

svg {
  display: block;
}

.page {
  width: min(1360px, 100%);
  margin: 0 auto;
  padding: 1rem;
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 0.9rem;
}

.brandlock {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.brandmark {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: #fff;
  font-family: "Outfit", sans-serif;
  font-weight: 800;
}

.brandlock > div > span {
  color: var(--muted);
  font-size: 0.9rem;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "Outfit", sans-serif;
  letter-spacing: 0;
}

h1 {
  margin-top: 1rem;
  font-size: clamp(3.25rem, 7vw, 7rem);
  line-height: 0.92;
  max-width: 9.5ch;
}

h2 {
  font-size: clamp(1.95rem, 4vw, 4rem);
  line-height: 1;
  max-width: 12ch;
}

.lead {
  margin-top: 1.1rem;
  max-width: 33rem;
  color: var(--muted);
  line-height: 1.85;
}

.toplink,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  will-change: transform;
}

.toplink {
  min-height: 2.8rem;
  padding: 0.7rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.76);
  font-size: 0.85rem;
  font-weight: 700;
}

.hero {
  min-height: calc(100vh - 5.5rem);
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(390px, 1.06fr);
  gap: clamp(1rem, 3vw, 2.8rem);
  align-items: center;
  padding: 0.6rem 0.9rem 2rem;
}

.hero-copy {
  max-width: 40rem;
}

.hero-actions,
.form-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.hero-actions {
  margin-top: 2rem;
}

.button {
  min-height: 3.25rem;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.button-primary {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  box-shadow: 0 18px 32px rgba(19, 72, 255, 0.18);
}

.button:hover,
.button:focus-visible,
.toplink:hover,
.toplink:focus-visible {
  transform: translate3d(0, -3px, 0);
}

.button svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.signal-board {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 1.6rem;
  background: var(--card);
  box-shadow: var(--shadow);
}

.board-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.4rem 0.4rem 1rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.board-visual {
  overflow: hidden;
  border-radius: 1.2rem;
}

.board-visual svg {
  width: 100%;
  height: auto;
}

.board-bands {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
}

.board-bands > div {
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.72);
}

.board-bands span {
  color: var(--accent-2);
  font-weight: 800;
}

.board-bands strong {
  font-family: "Outfit", sans-serif;
  font-size: 1.2rem;
}

.board-bands p,
.matrix-card strong,
.side-panel li,
.contact-form label,
.form-note {
  color: var(--muted);
  line-height: 1.7;
}

.section {
  padding: clamp(3rem, 6vw, 5.25rem) 0.9rem;
}

.section-head {
  display: grid;
  gap: 0.8rem;
  width: min(1120px, 100%);
  margin: 0 auto 1.1rem;
}

.matrix {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.matrix-card {
  min-height: 16rem;
  display: grid;
  gap: 0.7rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 16px 36px rgba(13, 22, 33, 0.05);
}

.matrix-card p {
  color: var(--accent);
  font-weight: 800;
}

.matrix-card h3 {
  font-size: 1.65rem;
}

.matrix-card span {
  color: var(--accent-2);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 1rem;
  align-items: start;
}

.contact-form,
.contact-side {
  min-width: 0;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 1.35rem;
  background: var(--card);
  box-shadow: var(--shadow);
}

.form-row.two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

label {
  display: grid;
  gap: 0.5rem;
}

label span {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  padding: 0.94rem 1rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.84);
  outline: none;
}

textarea {
  min-height: 10rem;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(19, 72, 255, 0.52);
  box-shadow: 0 0 0 4px rgba(19, 72, 255, 0.12);
}

.contact-side {
  display: grid;
}

.side-panel {
  display: grid;
  gap: 1rem;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 1.35rem;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(239, 244, 251, 0.84));
  box-shadow: var(--shadow);
}

.side-panel h3 {
  font-size: 2rem;
  line-height: 1;
  max-width: 12ch;
}

.side-panel li {
  position: relative;
  padding-left: 1rem;
}

.side-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: var(--accent);
}

.form-note {
  min-height: 1.5rem;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity 720ms ease, transform 720ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (max-width: 980px) {
  .hero,
  .contact,
  .matrix,
  .form-row.two {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .page {
    padding: 0.65rem;
  }

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

  h1 {
    font-size: clamp(2.8rem, 16vw, 4.4rem);
  }
}
