:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #edf4f2;
  color: #12211e;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 80% 8%, rgb(15 118 110 / 15%), transparent 30rem),
    linear-gradient(145deg, #f8fbfa 0%, #e9f2f0 100%);
}

main {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(64px, 10vw, 120px) 0 96px;
}

.hero {
  max-width: 820px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 24px;
  color: #0f766e;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.6rem);
  font-weight: 760;
  letter-spacing: -0.065em;
  line-height: 0.94;
}

.intro {
  max-width: 650px;
  margin: 32px 0 0;
  color: #4b5e59;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.65;
}

.feature-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.feature-row span {
  border: 1px solid #cdded9;
  border-radius: 999px;
  background: rgb(255 255 255 / 62%);
  padding: 9px 13px;
  color: #425651;
  font-size: 13px;
  font-weight: 650;
}

.tester {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
  gap: clamp(28px, 6vw, 72px);
  margin-top: clamp(64px, 9vw, 110px);
  border: 1px solid #ccddd8;
  border-radius: 22px;
  background: rgb(255 255 255 / 78%);
  padding: clamp(24px, 5vw, 42px);
}

.tester h2 {
  margin: 16px 0 10px;
}

.tester p {
  margin: 0;
  color: #5b6b67;
  font-size: 14px;
  line-height: 1.55;
}

.tester form {
  display: grid;
  align-content: start;
  gap: 10px;
}

.tester label {
  font-size: 14px;
  font-weight: 750;
}

.tester textarea,
.tester input {
  width: 100%;
  border: 1px solid #b8cec8;
  border-radius: 12px;
  background: #fff;
  color: #12211e;
  padding: 12px 14px;
  font: inherit;
  line-height: 1.45;
}

.tester textarea {
  min-height: 96px;
  resize: vertical;
}

.tester textarea:focus-visible,
.tester input:focus-visible,
.tester button:focus-visible {
  outline: 3px solid rgb(15 118 110 / 28%);
  outline-offset: 2px;
}

.tester button {
  justify-self: start;
  border: 0;
  border-radius: 999px;
  background: #0f766e;
  color: #fff;
  padding: 11px 17px;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 750;
}

.tester button:hover {
  background: #0b5f59;
}

.tester .tester-status {
  min-height: 22px;
  color: #0f766e;
  font-weight: 650;
}

.event-preview {
  display: grid;
  gap: 8px;
  margin-top: 6px;
  border: 1px solid #cdded9;
  border-radius: 12px;
  background: #f6faf9;
  padding: 12px 14px;
  font-size: 13px;
}

.event-preview output {
  min-height: 38px;
  color: #425651;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  white-space: pre-wrap;
}

.details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  margin-top: clamp(70px, 10vw, 130px);
  border: 1px solid #ccddd8;
  border-radius: 22px;
  background: #ccddd8;
}

.details > div {
  min-height: 230px;
  background: rgb(255 255 255 / 78%);
  padding: 28px;
}

.section-number {
  color: #0f766e;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

h2 {
  margin: 48px 0 10px;
  font-size: 20px;
  letter-spacing: -0.025em;
}

.details p {
  margin: 0;
  color: #5b6b67;
  font-size: 14px;
  line-height: 1.55;
}

.offline-notice {
  position: fixed;
  top: 12px;
  left: 50%;
  z-index: 20;
  width: min(560px, calc(100% - 24px));
  margin: 0;
  transform: translateX(-50%);
  border: 1px solid #e5b96a;
  border-radius: 12px;
  background: #fff8e8;
  color: #704900;
  padding: 12px 15px;
  box-shadow: 0 8px 30px rgb(80 55 10 / 14%);
  font-size: 13px;
  text-align: center;
}

@media (max-width: 760px) {
  main {
    width: min(100% - 28px, 680px);
    padding-top: 56px;
  }

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

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

  .details > div {
    min-height: auto;
  }

  h2 {
    margin-top: 26px;
  }
}

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