:root {
  color-scheme: light;
  --ink: #17211b;
  --muted: #59675e;
  --line: #ccd8cf;
  --panel: #ffffff;
  --field: #f4f8f5;
  --green: #1f7a4f;
  --teal: #0f6e73;
  --gold: #b98024;
  --rose: #a43b55;
  --shadow: 0 18px 60px rgba(28, 49, 36, 0.16);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    linear-gradient(135deg, rgba(31, 122, 79, 0.12), transparent 34%),
    linear-gradient(215deg, rgba(15, 110, 115, 0.14), transparent 42%),
    #edf3ee;
  color: var(--ink);
}

.shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 38px 0 56px;
}

.intro {
  min-height: 38vh;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 28px;
  align-items: center;
}

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(2.4rem, 7vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: 0;
  max-width: 780px;
}

h2 {
  margin: 0;
  font-size: clamp(1.25rem, 3vw, 2rem);
  letter-spacing: 0;
}

.promise {
  max-width: 680px;
  margin: 22px 0 0;
  font-size: 1.18rem;
  line-height: 1.55;
  color: var(--muted);
}

.visual {
  display: grid;
  gap: 16px;
}

.site-card {
  min-height: 150px;
  border: 1px solid rgba(23, 33, 27, 0.14);
  border-radius: 8px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.site-card span {
  display: block;
  width: 70%;
  height: 42px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--green), var(--teal));
  margin-bottom: 24px;
}

.site-card.accent span {
  background: linear-gradient(90deg, var(--gold), var(--rose));
}

.site-card strong {
  display: block;
  font-size: 1.08rem;
}

.site-card em {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-style: normal;
}

.panel,
.journey,
.result-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 8px 30px rgba(28, 49, 36, 0.08);
  margin-top: 20px;
}

.panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 28px;
}

.panel-copy p {
  color: var(--muted);
  line-height: 1.6;
}

.start-form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

label span {
  color: var(--muted);
  font-weight: 600;
}

input {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 14px;
  font: inherit;
  background: var(--field);
  color: var(--ink);
}

button {
  min-height: 50px;
  border: 0;
  border-radius: 6px;
  padding: 0 18px;
  background: var(--green);
  color: white;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

button.secondary {
  background: var(--teal);
}

.status-message {
  min-height: 24px;
  margin: 0;
  color: var(--teal);
  font-weight: 750;
}

.journey ol {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  margin: 18px 0 0;
}

.journey li {
  min-height: 76px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: var(--field);
  color: var(--muted);
  font-weight: 800;
}

.journey li.complete {
  background: rgba(31, 122, 79, 0.12);
  border-color: rgba(31, 122, 79, 0.35);
  color: var(--green);
}

.journey li.current {
  background: rgba(184, 128, 36, 0.12);
  border-color: rgba(184, 128, 36, 0.4);
  color: var(--gold);
}

.result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.result-body {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.result-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: var(--field);
}

.result-card ul {
  margin: 10px 0 0;
  padding-left: 18px;
}

.score {
  font-size: 2rem;
  color: var(--green);
  font-weight: 900;
}

@media (max-width: 760px) {
  .intro,
  .panel,
  .result-body {
    grid-template-columns: 1fr;
  }

  .journey ol {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(2.25rem, 14vw, 4.2rem);
  }
}
