:root {
  --primary: #2563eb;
  --primary-dark: #174cc7;
  --secondary: #10b981;
  --accent: #f97316;
  --ink: #111827;
  --muted: #5b6472;
  --line: #d9e2ef;
  --surface: #ffffff;
  --surface-soft: #f7fbff;
  --shadow: 0 24px 80px rgba(17, 24, 39, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--surface-soft);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
  background:
    radial-gradient(circle at 88% 8%, rgba(16, 185, 129, 0.14), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 68%, #edf6ff 100%);
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.page-shell {
  width: min(1160px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 32px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 196px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-decoration: none;
}

.brand img {
  display: block;
}

.eyebrow {
  margin: 42px 0 12px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 7vw, 6.75rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.lede {
  max-width: 610px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 1.16rem;
  line-height: 1.7;
}

.signup-card {
  max-width: 610px;
  padding: 12px;
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.field-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

input[type="email"] {
  min-width: 0;
  height: 54px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #ffffff;
  outline: none;
}

input[type="email"]:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14);
}

.company-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.signup-card button {
  min-width: 132px;
  height: 54px;
  padding: 0 22px;
  border: 0;
  border-radius: 8px;
  color: #ffffff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), #0b5cff);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.28);
}

.signup-card button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-note,
.form-message {
  margin: 10px 4px 0;
  font-size: 0.86rem;
}

.form-note {
  color: var(--muted);
}

.form-message {
  min-height: 1.2em;
  color: var(--primary-dark);
  font-weight: 700;
}

.form-message.error {
  color: #b42318;
}

.hero-visual {
  position: relative;
  align-self: stretch;
  display: grid;
  place-items: center;
  min-height: 520px;
}

.hero-visual img {
  display: block;
  width: min(100%, 520px);
  height: auto;
  filter: drop-shadow(0 34px 48px rgba(17, 24, 39, 0.16));
}

.countdown-panel {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 28px;
  align-items: center;
  margin-top: 24px;
  padding: 24px;
  border: 1px solid rgba(217, 226, 239, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
}

.countdown-panel .eyebrow {
  margin-top: 0;
}

.countdown-panel h2 {
  margin-bottom: 0;
  font-size: 1.7rem;
}

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

.countdown-item {
  min-width: 0;
  padding: 18px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
  background: #ffffff;
}

.countdown-item strong {
  display: block;
  min-height: 1.15em;
  font-size: clamp(1.55rem, 4vw, 2.45rem);
  line-height: 1;
}

.countdown-item span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.glimpse-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 26px 0 12px;
}

.glimpse-grid article {
  min-width: 0;
  padding: 24px;
  border: 1px solid rgba(217, 226, 239, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
}

.glimpse-grid h2 {
  margin: 14px 0 8px;
  font-size: 1.15rem;
}

.glimpse-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.dot {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 99px;
}

.dot-blue {
  background: var(--primary);
}

.dot-green {
  background: var(--secondary);
}

.dot-orange {
  background: var(--accent);
}

.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;
}

@media (max-width: 900px) {
  .page-shell {
    width: min(100% - 28px, 680px);
    padding: 20px 0;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 26px;
    min-height: 0;
  }

  .eyebrow {
    margin-top: 34px;
  }

  h1 {
    font-size: clamp(2.8rem, 15vw, 5.1rem);
  }

  .hero-visual {
    min-height: 0;
  }

  .hero-visual img {
    width: min(100%, 430px);
  }

  .countdown-panel {
    grid-template-columns: 1fr;
  }

  .glimpse-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .brand {
    font-size: 0.92rem;
    letter-spacing: 0.22em;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .signup-card button {
    width: 100%;
  }

  .countdown-panel {
    padding: 16px;
  }

  .countdown {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
