:root {
  color-scheme: light;
  --bg: #f6f7f9;
  --ink: #111111;
  --muted: #5b6270;
  --line: #d7dce3;
  --panel: #ffffff;
  --accent: #0047ff;
  --accent-strong: #002db3;
  --green: #18a058;
  --blue: #0047ff;
  --amber: #f59e0b;
  --shadow: 0 18px 48px rgba(17, 24, 39, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

main,
footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: 92vh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.78fr);
  gap: 56px;
  align-items: center;
  padding: 64px 0 48px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(3.1rem, 8vw, 6.8rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.lede {
  max-width: 660px;
  color: var(--muted);
  font-size: clamp(1.1rem, 2.4vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 18px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--accent);
  color: white;
}

.button.primary:hover {
  background: var(--accent-strong);
}

.button.secondary {
  border-color: var(--line);
  background: var(--panel);
  color: var(--ink);
}

.product-panel {
  align-self: center;
  border: 1px solid #c7ced8;
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 22px;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  color: var(--muted);
}

.panel-header strong {
  color: var(--ink);
}

.timeline-item {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr);
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}

.timeline-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.timeline-item p {
  margin: 4px 0 0;
  color: var(--muted);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 7px;
}

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

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

.dot.amber {
  background: var(--amber);
}

.section {
  padding: 60px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 30px;
}

.section-heading p:not(.eyebrow),
.signup-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-grid article {
  min-height: 168px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 20px;
}

.feature-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.signup-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(360px, 1fr);
  gap: 44px;
  align-items: start;
  padding: 72px 0 84px;
}

.signup-copy {
  position: sticky;
  top: 24px;
}

.signup-form {
  display: grid;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 22px;
}

label,
label span {
  color: var(--ink);
  font-weight: 800;
}

label span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
  color: var(--ink);
  font: inherit;
}

input:focus,
textarea:focus {
  border-color: var(--accent);
  outline: 3px solid rgba(0, 71, 255, 0.14);
}

input {
  min-height: 46px;
  padding: 0 12px;
}

textarea {
  resize: vertical;
  padding: 10px 12px;
}

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

.submit-button {
  width: 100%;
}

.form-message {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

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

.form-message.success {
  color: #047857;
}

footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding: 24px 0 34px;
  color: var(--muted);
  font-size: 0.94rem;
}

footer span:first-child {
  color: var(--ink);
  font-weight: 900;
}

footer a,
.back-link {
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

footer a:hover,
.back-link:hover {
  color: var(--accent);
}

.policy-page {
  max-width: 820px;
  padding: 64px 0 40px;
}

.policy-page h1 {
  margin-top: 24px;
  font-size: clamp(2.6rem, 7vw, 5.2rem);
}

.policy-page h2 {
  margin-top: 34px;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.15;
}

.policy-page p {
  color: var(--muted);
  font-size: 1.05rem;
}

@media (max-width: 860px) {
  .hero,
  .signup-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
  }

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

  .signup-copy {
    position: static;
  }
}

@media (max-width: 560px) {
  main,
  footer {
    width: min(100% - 24px, 1120px);
  }

  h1 {
    font-size: 3rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

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

  .signup-form,
  .product-panel {
    padding: 16px;
  }
}
