@font-face {
  font-family: "Montserrat";
  src: url("montserrat-var.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --ink: #101518;
  --snow: #fff;
  --mist: #9db0be;
  --line: rgba(255, 255, 255, 0.1);
  --cyan: #86e8e8;
  --azure: #5ab6f0;
  --indigo: #4c8de6;
  --gradient: linear-gradient(90deg, var(--cyan), var(--azure) 55%, var(--indigo));

  --font: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --page-width: 74rem;
  --section-space: clamp(4rem, 9vw, 8rem);
}

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

html {
  background: var(--ink);
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--ink);
  color: var(--snow);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
p,
dl,
dd {
  margin: 0;
}

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

a {
  color: inherit;
}

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

/* Header */

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: calc(var(--page-width) + 2 * var(--gutter));
  margin-inline: auto;
  padding: 1.75rem var(--gutter);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand__name {
  color: var(--mist);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.site-header__link {
  color: var(--mist);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-header__link:hover {
  color: var(--snow);
}

/* Hero */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 7rem var(--gutter) 4rem;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero::before {
  background: url("mesh.svg") center / cover no-repeat;
  opacity: 0.07;
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 74% 55%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 60% at 74% 55%, #000, transparent 75%);
}

.hero::after {
  background: radial-gradient(ellipse 55% 45% at 70% 62%, rgba(76, 141, 230, 0.16), transparent 70%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--page-width);
  margin-inline: auto;
}

.hero__headline {
  display: inline-block;
  max-width: 100%;
}

.hero__title {
  font-size: clamp(2.9rem, min(13.5vw, 15vh), 9rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.hero__line {
  display: block;
}

.hero__accent {
  display: inline-block;
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__ribbon {
  width: 0;
  min-width: 100%;
  margin-top: 0.35rem;
}

.hero__body {
  margin-top: clamp(2rem, 4vw, 3.25rem);
}

.hero__lede {
  max-width: 36rem;
  color: var(--mist);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.7;
}

/* Button */

.button {
  display: inline-flex;
  align-items: center;
  margin-top: 2rem;
  padding: 0.95rem 1.75rem;
  border-radius: 999px;
  background: var(--gradient);
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: filter 0.2s ease;
}

.button:hover {
  filter: brightness(1.1);
}

/* Sections */

.section {
  padding: var(--section-space) var(--gutter);
  border-top: 1px solid var(--line);
}

.section__inner {
  max-width: var(--page-width);
  margin-inline: auto;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.section__title {
  font-size: clamp(1.5rem, 2.8vw, 2.25rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.principles__item {
  padding-block: 1.75rem;
  border-top: 1px solid var(--line);
}

.principles__item:first-child {
  padding-top: 0;
  border-top: 0;
}

.principles__item:last-child {
  padding-bottom: 0;
}

.principles__term {
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.principles__detail {
  max-width: 36rem;
  margin-top: 0.5rem;
  color: var(--mist);
  line-height: 1.7;
}

.statement {
  max-width: 36rem;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

/* Closing call to action */

.closing__title {
  max-width: 18ch;
  font-size: clamp(2.1rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.closing__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
  margin-top: 2.25rem;
}

.closing__actions .button {
  margin-top: 0;
}

.closing__email {
  color: var(--mist);
  text-decoration: none;
  transition: color 0.2s ease;
}

.closing__email:hover {
  color: var(--snow);
}

/* Footer */

.site-footer {
  padding: 1.75rem var(--gutter);
  border-top: 1px solid var(--line);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  max-width: var(--page-width);
  margin-inline: auto;
  color: var(--mist);
  font-size: 0.85rem;
}

.site-footer__legal {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

/* Page-load sequence: headline settles, ribbon draws left to right, copy follows */

@media (prefers-reduced-motion: no-preference) {
  .hero__line,
  .hero__body {
    animation: settle 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  .hero__line:nth-child(2) {
    animation-delay: 0.12s;
  }

  .hero__ribbon {
    animation: draw 1.5s cubic-bezier(0.55, 0, 0.2, 1) 0.45s both;
  }

  .hero__body {
    animation-delay: 1.1s;
  }
}

@keyframes settle {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

@keyframes draw {
  from {
    clip-path: inset(-10% 100% -10% 0);
  }
  to {
    clip-path: inset(-10% -2% -10% 0);
  }
}

/* Small screens */

@media (max-width: 52rem) {
  .split {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
  }

  .hero {
    align-items: flex-start;
    padding-top: 9rem;
  }
}
