/* Reset and base styles */
body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background-color: #f9f9f9;
  color: #333;
  margin: 0;
  padding: 0;
}

header {
  background-color: #4CAF50;
  padding: 20px;
  text-align: center;
  color: white;
}

h1 {
  margin: 0;
  font-size: 2em;
}

main {
  padding: 20px;
  max-width: 800px;
  margin: 0 auto;
  background-color: white;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

section {
  margin-bottom: 30px;
}

h2 {
  color: #4CAF50;
  border-bottom: 2px solid #4CAF50;
  padding-bottom: 5px;
  margin-bottom: 15px;
}

ul {
  list-style-type: disc;
  padding-left: 20px;
}

li {
  margin-bottom: 10px;
  line-height: 1.5;
}

footer {
  text-align: center;
  padding: 15px;
  background-color: #eee;
  color: #666;
  font-size: 0.9em;
}

@media (max-width: 600px) {
  main {
    padding: 10px;
    margin: 0 10px;
  }

  h1 {
    font-size: 1.5em;
  }

  h2 {
    font-size: 1.2em;
  }
}

:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --primary: #06c755;
  --primary-dark: #05b54d;
  --primary-soft: #eefbf3;
  --accent: #e5b52f;
  --accent-soft: #fffaf0;
  --accent-line: #f1dfac;
  --line-green: #06c755;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  font-weight: 400;
}

button,
input {
  font: inherit;
}

.page {
  min-height: 100vh;
  padding: 110px 16px 72px;
}

.container {
  width: min(800px, 100%);
  margin: 0 auto;
}

.breadcrumb {
  margin: 0 0 18px;
  color: #777;
  font-size: 13px;
}

.breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.card {
  background: var(--surface);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 22px 0 34px;
}

#intro {
  text-align: center;
}

#intro .lead {
  margin-left: auto;
  margin-right: auto;
}

#intro .notice {
  text-align: center;
}

.eyebrow {
  display: inline-block;
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}

h1,
h2 {
  margin: 0;
  line-height: 1.5;
}

h1 {
  margin-top: 18px;
  font-size: clamp(28px, 5vw, 42px);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(23px, 4vw, 31px);
}

.title-accent {
  display: block;
  padding: 0;
  border: 0;
}

.title-accent::before {
  content: none;
}

.lead {
  max-width: 34em;
  margin: 20px 0 0;
  color: #515154;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.9;
}

.notice {
  margin-top: 14px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.75;
}

.notice strong {
  color: inherit;
  font-weight: 400;
}

.actions {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 16px 22px;
  cursor: pointer;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: transform 0.15s ease, opacity 0.15s ease, background 0.15s ease;
}

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

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-line {
  background: var(--line-green);
  color: #fff;
}

.btn-secondary {
  background: #fff;
  color: #333;
  border: 1px solid var(--line);
}

.btn-ghost {
  background: #fff;
  color: #555;
  border: 1px solid #dcdcdc;
}

.meta {
  margin-top: 14px;
  color: #777;
  font-size: 13px;
  text-align: center;
}

.progress-wrap {
  margin-bottom: 30px;
}

.progress-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
  color: #777;
  font-size: 13px;
  font-weight: 700;
}

.progress {
  height: 9px;
  border-radius: 999px;
  background: #eeeeee;
  overflow: hidden;
}

.progress-bar {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--primary);
  transition: width 0.25s ease;
}

.question-number {
  margin-bottom: 10px;
  color: var(--primary-dark);
  font-size: 14px;
  font-weight: 700;
}

.question-text {
  font-size: clamp(22px, 4vw, 30px);
  line-height: 1.55;
}

.choices {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.choice {
  position: relative;
  width: 100%;
  padding: 16px 18px 16px 48px;
  border: 1px solid #dedede;
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.choice::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  width: 16px;
  height: 16px;
  border: 2px solid #c9c9c9;
  border-radius: 50%;
  transform: translateY(-50%);
  background: #fff;
}

.choice:hover {
  border-color: var(--primary);
  background: var(--primary-soft);
  transform: translateY(-1px);
}

.quiz-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
}

.text-button {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  color: #777;
  cursor: pointer;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.text-button[disabled] {
  opacity: 0.35;
  cursor: default;
}

.result-box {
  margin-top: 26px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.result-box h3 {
  margin: 0 0 10px;
  font-size: 21px;
}

.result-box p {
  margin: 0;
  color: #5b5b5b;
}

.result-list {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.result-list li {
  position: relative;
  padding: 0 0 0 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.result-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.result-note {
  margin-top: 20px;
  color: #777;
  font-size: 14px;
}

.route-title {
  margin: 34px 0 14px;
  font-size: 20px;
}

.route-grid {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.route-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px;
  gap: 6px 16px;
  min-height: 0;
  padding: 18px 4px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.route-card h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
}

.route-card p {
  grid-column: 1;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.route-card .btn {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  margin: 0;
  width: 160px;
  box-sizing: border-box;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 14px;
  white-space: nowrap;
}

.site-footer {
  margin-top: 34px;
  padding: 26px 16px;
  background: #f1f1f1;
  color: #777;
  text-align: center;
  font-size: 13px;
}

.site-footer nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 10px;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

[hidden] {
  display: none !important;
}

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

@media (max-width: 640px) {
  .page {
    padding: 96px 12px 46px;
  }

  .card {
    padding: 18px 4px 30px;
  }

  .lead {
    font-size: 15px;
  }

  .quiz-nav {
    margin-top: 18px;
  }
}