:root {
  --ink: #3a2a30;
  --muted: #6a5460;
  --cream: #f8f0f2;
  --cream-2: #f0e0e6;
  --paper: #fbf6f7;
  --accent: #442e36;
  --line: rgba(58, 42, 48, 0.14);
  --font: "Outfit", sans-serif;
  --serif: "Source Serif 4", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background:
    radial-gradient(900px 420px at 100% -10%, rgba(228, 204, 212, 0.85), transparent 70%),
    var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
}

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

.page {
  width: min(1080px, calc(100% - 64px));
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 28px 0 48px;
  display: flex;
  flex-direction: column;
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: block;
  width: 132px;
  height: auto;
}

.bar-side {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mail {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.social {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.social a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(251, 246, 247, 0.7);
}

.social a:hover {
  background: var(--ink);
  color: var(--cream);
}

.social svg {
  width: 16px;
  height: 16px;
  display: block;
}

.stage {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 56px;
  align-items: center;
  padding: 48px 0 12px;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

h1 {
  margin: 0;
  max-width: 9em;
  font-family: var(--serif);
  font-size: clamp(46px, 6vw, 72px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.lead {
  max-width: 34em;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.count-label {
  margin: 36px 0 12px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.count {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.count div {
  min-width: 0;
  padding: 16px 12px 14px;
  text-align: center;
  background: rgba(251, 246, 247, 0.72);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.count strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.count span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.signup {
  padding: 32px 28px 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 18px 50px rgba(68, 46, 54, 0.06);
}

.signup h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.signup .hint {
  margin: 12px 0 0;
  color: var(--muted);
}

.fields {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

label span {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
}

input[type="text"],
input[type="email"] {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

button {
  margin-top: 16px;
  min-height: 52px;
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
}

button:hover {
  background: var(--ink);
}

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

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

.note {
  min-height: 1.5em;
  margin: 14px 0 0;
  font-size: 15px;
}

.note.is-ok {
  color: var(--ink);
}

.note.is-error {
  color: #8e3d48;
}

.fine {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 860px) {
  .page {
    width: min(100% - 32px, 1080px);
    padding-top: 22px;
  }

  .stage {
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: start;
    padding-top: 36px;
  }

  h1 {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .count div {
    padding: 12px 6px;
  }
}

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