:root {
  --bg: #f0f0e8;
  --ink: #121212;
  --muted: #5c5c56;
  --line: #1212121a;
  --layer-1: #c8d0d8;
  --layer-2: #a8b0b8;
  --layer-3: #788080;
  --layer-4: #404040;
  --surface: #e8e8e0;
  --ok: #1b7f4e;
  --bad: #8a1f11;
  color: var(--ink);
  background: var(--bg);
  font-family: 'Space Grotesk', system-ui, sans-serif;
  line-height: 1.45;
}

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

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(900px 480px at 100% 0%, color-mix(in srgb, var(--layer-1) 55%, transparent), transparent 60%),
    linear-gradient(180deg, #f4f4ec, var(--bg));
  color: var(--ink);
}

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

a {
  color: inherit;
}

.page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
}

@media (max-width: 900px) {
  .page {
    grid-template-columns: 1fr;
  }
}

.hero {
  padding: clamp(2rem, 5vw, 3.5rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  overflow: hidden;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand img.mark {
  width: 40px;
  height: 40px;
}

.brand span {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.92rem;
}

.hero-main {
  max-width: 34rem;
  animation: rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.wordmark {
  width: min(340px, 85%);
  height: auto;
  margin-bottom: 1.25rem;
}

h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 600;
  max-width: 12ch;
}

.lede {
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 36ch;
}

.motto {
  margin: 1.5rem 0 0;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.stack-visual {
  position: absolute;
  right: -8%;
  bottom: 8%;
  width: min(42vw, 320px);
  opacity: 0.35;
  pointer-events: none;
  animation: floatIn 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

@media (max-width: 900px) {
  .stack-visual {
    display: none;
  }
}

.panel {
  background: var(--ink);
  color: var(--bg);
  padding: clamp(2rem, 5vw, 3.5rem);
  display: flex;
  align-items: center;
}

.panel-inner {
  width: min(440px, 100%);
  margin: 0 auto;
  animation: rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

.panel h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.6rem, 3vw, 2rem);
  letter-spacing: -0.03em;
  font-weight: 600;
}

.panel p {
  margin: 0 0 1.5rem;
  color: color-mix(in srgb, var(--bg) 68%, transparent);
}

label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 0.9rem;
}

input[type='text'],
input[type='email'] {
  font: inherit;
  padding: 0.75rem 0.85rem;
  border: 1px solid color-mix(in srgb, var(--bg) 22%, transparent);
  background: color-mix(in srgb, var(--bg) 6%, transparent);
  color: var(--bg);
  border-radius: 0;
}

input::placeholder {
  color: color-mix(in srgb, var(--bg) 45%, transparent);
}

.services {
  display: grid;
  gap: 0.45rem;
  margin: 0.35rem 0 1rem;
}

.services legend {
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 0.45rem;
  padding: 0;
}

.check {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.92rem;
  color: color-mix(in srgb, var(--bg) 88%, transparent);
  cursor: pointer;
}

.check input {
  accent-color: var(--layer-1);
  width: 1rem;
  height: 1rem;
}

.early {
  margin: 0.5rem 0 1.25rem;
}

.btn {
  appearance: none;
  border: none;
  width: 100%;
  padding: 0.9rem 1.1rem;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.btn:hover {
  filter: brightness(0.97);
  transform: translateY(-1px);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

.msg {
  margin-top: 1rem;
  padding: 0.75rem 0.85rem;
  font-size: 0.92rem;
  display: none;
}

.msg.show {
  display: block;
}

.msg.ok {
  background: color-mix(in srgb, #1b7f4e 35%, transparent);
  color: #d9f2e5;
}

.msg.err {
  background: color-mix(in srgb, #8a1f11 45%, transparent);
  color: #fde8e6;
}

.fine {
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: color-mix(in srgb, var(--bg) 48%, transparent);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.96);
  }
  to {
    opacity: 0.35;
    transform: none;
  }
}
