/* HumanyxAI coming soon.
   Tokens from the main site: surface, ink, strategic blue. One accent. */

@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("/assets/fonts/playfair-display-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Playfair Display";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/playfair-display-italic-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --surface: #efeff2;
  --surface-dim: #dcdce1;
  --surface-card: #ffffff;
  --ink: #17161d;
  --ink-soft: #4b4a55;
  --blue: #2d5bff;
  --blue-deep: #1f44cc;
  --blue-tint: #9db4ff;
  --success-text: #047857;
  --line: rgba(23, 22, 29, 0.12);
  --hero: #0b1b3a;
  --hero-ink: #f4f4f6;
  --hero-soft: #c4c3cc;
  --danger: #9f1239;
  --radius: 8px;
  --shadow: 0 1px 2px rgba(23, 22, 29, 0.04), 0 12px 40px -12px rgba(23, 22, 29, 0.12);
  --font-sans: Inter, "Segoe UI", sans-serif;
  --font-serif: "Playfair Display", Georgia, serif;
  --page: 72rem;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1,
h2,
h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.08;
  text-wrap: balance;
}

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

a {
  color: var(--blue-deep);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--blue);
}

::selection {
  background: var(--blue-tint);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 5;
  background: var(--surface-card);
  color: var(--ink);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
}

.skip:focus {
  top: 1rem;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow-mark {
  width: 22px;
  height: 1px;
  flex: none;
  background: var(--blue);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(720px 420px at 78% 46%, rgba(45, 91, 255, 0.16), transparent 62%),
    var(--hero);
  color: var(--hero-ink);
}

#motif {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 2.5rem), var(--page));
  margin-inline: auto;
  padding-block: calc(2.5rem + env(safe-area-inset-top)) 3rem;
}

.logo {
  display: block;
  width: min(100%, 17.5rem);
  margin-bottom: 2.25rem;
}

.logo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2400 / 1131;
  object-fit: contain;
}

.hero h1 {
  color: var(--hero-ink);
  font-size: clamp(2.7rem, 6vw, 4.75rem);
}

.hero h1 em {
  font-style: italic;
  font-weight: 500;
}

.lede {
  max-width: 36rem;
  margin-top: 1.25rem;
  color: var(--hero-soft);
  font-size: 1.0625rem;
}

.hero .eyebrow {
  color: var(--blue-tint);
}

.hero a {
  color: #ffffff;
  font-weight: 500;
}

.hero a:hover {
  color: var(--blue-tint);
}

.hero-action {
  margin-top: 1.75rem;
}

main {
  width: min(calc(100% - 2.5rem), var(--page));
  margin-inline: auto;
  padding-block: 4.5rem 1.5rem;
  display: grid;
  gap: 4.5rem;
}

.offer h2,
.signup h2 {
  font-size: clamp(1.85rem, 3vw, 2.6rem);
}

.teaser-list {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.teaser {
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.35rem 1.3rem 1.45rem;
}

.num {
  color: var(--blue);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: 0;
}

.teaser h3 {
  margin: 0.55rem 0 0.65rem;
  font-size: 1.5rem;
}

.teaser p {
  color: var(--ink-soft);
}

.signup-intro > p:last-child {
  max-width: 34rem;
  margin-top: 0.9rem;
  color: var(--ink-soft);
}

.signup-card {
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.4rem 1.2rem 1.5rem;
}

.field {
  margin-bottom: 1rem;
}

.field label,
.consent label {
  display: inline-block;
  margin-bottom: 0.4rem;
  font-weight: 500;
}

.optional {
  color: var(--ink-soft);
  font-weight: 400;
}

.hint,
.privacy,
.fallback,
.noscript,
.legal,
.site-footer {
  color: var(--ink-soft);
  font-size: 0.875rem;
}

.hint {
  margin-top: 0.35rem;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"] {
  display: block;
  width: 100%;
  min-height: 48px;
  margin-top: 0.15rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid rgba(23, 22, 29, 0.22);
  border-radius: var(--radius);
  background: var(--surface-card);
  color: var(--ink);
  font: inherit;
}

.field input::placeholder {
  color: #5c5b66;
}

.field input[aria-invalid="true"] {
  border-color: var(--danger);
}

.field-error {
  margin-top: 0.35rem;
  color: var(--danger);
  font-size: 0.875rem;
}

.form-status:not(:empty):not(.is-sr-only) {
  margin: 0 0 0.9rem;
  color: var(--danger);
}

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

.consent {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.consent input {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.2rem;
  flex: none;
  accent-color: var(--blue);
}

.consent label {
  margin: 0;
  font-weight: 400;
  line-height: 1.5;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin-top: 0.25rem;
  padding: 0.8rem 1.3rem;
  border: 0;
  border-radius: var(--radius);
  background: var(--blue);
  color: #ffffff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.button:hover {
  background: var(--blue-deep);
}

.button:disabled {
  cursor: progress;
  background: var(--blue-deep);
}

.success {
  padding-block: 0.5rem;
}

.success h2 {
  color: var(--success-text);
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  line-height: 1.2;
}

.privacy,
.fallback {
  max-width: 40rem;
  margin-top: 1rem;
}

.privacy a,
.fallback a,
.noscript a,
.site-footer a {
  color: var(--ink);
  font-weight: 500;
}

.fallback.is-attention a {
  color: var(--blue-deep);
}

.noscript {
  margin-top: 1rem;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer {
  width: min(calc(100% - 2.5rem), var(--page));
  margin: 0 auto;
  padding: 1.5rem 0 calc(2.25rem + env(safe-area-inset-bottom));
}

.footer-logo {
  display: block;
  width: 11.5rem;
  max-width: 100%;
  height: auto;
  aspect-ratio: 2400 / 1131;
  object-fit: contain;
  margin-bottom: 0.9rem;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 1.25rem;
}

.legal {
  margin: 0;
}

@media (min-width: 720px) {
  .button {
    width: auto;
  }

  .signup-card {
    padding: 1.8rem 1.7rem 1.9rem;
  }
}

@media (min-width: 900px) {
  .teaser-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .signup {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 3rem 3.5rem;
    align-items: start;
  }
}

@media (min-width: 960px) {
  .hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 36rem) minmax(12rem, 1fr);
    column-gap: 3rem;
    align-items: end;
  }

  .logo {
    grid-column: 1;
    width: min(100%, 32.5rem);
    margin-bottom: 2.75rem;
  }

  .hero-copy {
    grid-column: 1;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
