/* Veritas Capitale
   Sister palette with Roule Noir and Veritas Capitale.
   Black is the color. White and silver are secondary.
   Blue and purple are spare accents. No gold. No red.
   This page leans midnight blue. */

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/cormorant-500.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/cormorant-500i.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/cormorant-600.woff2") format("woff2");
}

@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("fonts/outfit-300.woff2") format("woff2");
}

@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/outfit-400.woff2") format("woff2");
}

@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/outfit-500.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --bg: #050506;
  --deep: #030304;
  --text: #f5f5f7;
  --muted: #c8c9d1;
  --silver: #d7d8de;
  --line: rgba(215, 216, 224, 0.16);
  --line-strong: rgba(232, 233, 238, 0.42);
  --blue: #9bb4ff;
  --glow-1: rgba(48, 86, 210, 0.26);
  --glow-2: rgba(110, 60, 180, 0.12);
  --serif: "Cormorant Garamond", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: Outfit, "Avenir Next", "Segoe UI", sans-serif;
}

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

html {
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(880px 520px at 100% -8%, var(--glow-1), transparent 56%),
    radial-gradient(640px 420px at -12% 18%, var(--glow-2), transparent 52%),
    var(--bg);
}

p,
h1 {
  margin: 0;
}

svg {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

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

[hidden] {
  display: none !important;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: 0.75rem 1rem;
  background: #070708;
  border: 1px solid var(--line-strong);
  text-decoration: none;
}

.skip:focus {
  top: 1rem;
}

.stage {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.sheen {
  position: absolute;
  z-index: 0;
  width: min(80vw, 860px);
  height: min(58vw, 540px);
  right: -16vw;
  top: -10vh;
  border-radius: 50%;
  background: radial-gradient(ellipse at 40% 40%, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.04) 38%, transparent 68%);
  transform: rotate(-16deg);
  pointer-events: none;
}

.horizon {
  position: absolute;
  z-index: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 38%;
  background:
    radial-gradient(55% 100% at 78% 100%, var(--glow-1), transparent 70%),
    radial-gradient(40% 90% at 12% 100%, var(--glow-2), transparent 72%);
  pointer-events: none;
}

.wrap {
  width: min(920px, calc(100% - 2.5rem));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.top,
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  min-height: 64px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.top p {
  margin: 0;
  white-space: nowrap;
}

.top {
  border-bottom: 1px solid transparent;
}

.house {
  color: var(--silver);
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.4rem 0 1.2rem;
}

.mark {
  width: 68px;
  height: 68px;
}

.brand-kicker {
  display: block;
  margin-top: 1.15rem;
  font-family: var(--sans);
  font-style: normal;
  font-weight: 500;
  font-size: 0.78rem;
  line-height: 1.4;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--silver);
}

.brand-kicker::before {
  content: "";
  display: inline-block;
  width: 1.15rem;
  height: 1px;
  margin-right: 0.75rem;
  vertical-align: middle;
  background: linear-gradient(90deg, #8ea2ff, #c4b5fd);
}

h1 {
  margin: 0.15rem 0 0;
  font-family: var(--serif);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(3.15rem, 12.4vw, 7.1rem);
  line-height: 0.82;
  letter-spacing: -0.045em;
  color: #f4f5f8;
}

@supports (background-clip: text) {
  h1 {
    background-image: linear-gradient(180deg, #ffffff 0%, #e4e5ec 48%, #b7b9c4 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
  }
}

.tag {
  margin-top: 1.25rem;
  max-width: 16ch;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.8rem, 4vw, 2.45rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.sub {
  max-width: 36rem;
  margin-top: 0.85rem;
  font-weight: 300;
  font-size: 1.08rem;
  color: var(--muted);
}

.signup {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.75rem;
  max-width: 36rem;
}

label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #d5d6de;
}

input {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.85rem;
  background: #070708;
  color: var(--text);
  border: 1px solid rgba(215, 216, 224, 0.28);
  border-radius: 0;
  font-size: 1rem;
}

::placeholder {
  color: #a3a4ae;
}

.signup .btn {
  width: 100%;
}

.signup .form-help,
.signup .form-status {
  grid-column: 1 / -1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.2rem;
  border: 1px solid rgba(198, 206, 232, 0.45);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 42%),
    linear-gradient(180deg, #2c3d72 0%, #161c34 100%);
  color: #f7f7fb;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

@media (hover: hover) {
  .btn:hover {
    border-color: rgba(158, 186, 255, 0.9);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.22),
      0 0 22px rgba(70, 110, 230, 0.32);
  }
}

button:disabled {
  opacity: 0.6;
  cursor: wait;
}

.form-help,
.direct,
.form-status {
  color: var(--muted);
  font-size: 0.95rem;
}

.direct {
  margin-top: 0.85rem;
}

.direct a,
.site-footer a {
  color: var(--silver);
  text-decoration: underline;
  text-decoration-color: rgba(180, 160, 255, 0.55);
  text-underline-offset: 0.16em;
}

.form-status {
  padding: 0.9rem 1rem;
  border: 1px solid rgba(180, 160, 255, 0.45);
  background: rgba(20, 28, 64, 0.55);
  color: var(--text);
}

.was-checked input:invalid {
  border-color: #c4b6ff;
}

.site-footer {
  min-height: 0;
  display: block;
  padding: 1.25rem 0 1.6rem;
  border-top: 1px solid var(--line);
  background: rgba(3, 3, 4, 0.72);
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.95rem;
  font-weight: 400;
}

.site-footer .legal {
  color: var(--text);
}

.site-footer p + p {
  margin-top: 0.4rem;
}

.quiet {
  max-width: 46rem;
}

@media (max-width: 420px) {
  .top {
    font-size: 0.62rem;
    letter-spacing: 0.07em;
  }
}

@media (min-width: 720px) {
  .wrap {
    width: min(920px, calc(100% - 4rem));
  }

  .signup {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

  .signup label,
  .signup .form-help,
  .signup .form-status {
    grid-column: 1 / -1;
  }

  .signup .btn {
    width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-footer {
    background: #030304;
  }
}
