:root {
  --home-v2-primary-text: #176b51;
  --home-v2-primary-text-strong: #0d4d3a;
  --home-v2-primary: #176b51;
  --home-v2-primary-dark: #0d4d3a;
  --home-v2-primary-soft: #eaf7f1;
  --home-v2-accent: #f1a53a;
  --home-v2-ink: #17231f;
  --home-v2-muted: #66736e;
  --home-v2-border: #dfe8e4;
  --home-v2-surface: #ffffff;
  --home-v2-canvas: #f4f7f6;
  --home-v2-shadow: 0 18px 50px rgba(26, 61, 49, 0.1);
}

.home-v2 {
  min-height: 100vh;
  padding: 1.5rem 0 5rem;
  color: var(--home-v2-ink);
  background:
    radial-gradient(circle at 7% 6%, rgba(23, 107, 81, 0.1), transparent 24rem),
    linear-gradient(180deg, #f8fbfa 0, var(--home-v2-canvas) 42rem);
}

.home-v2 a {
  text-decoration: none;
}

.home-v2-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(19rem, 0.65fr);
  gap: 3rem;
  align-items: center;
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 5.5rem);
  border: 1px solid rgba(23, 107, 81, 0.12);
  border-radius: 2rem;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.98), rgba(237, 249, 244, 0.9)),
    var(--home-v2-surface);
  box-shadow: var(--home-v2-shadow);
}

.home-v2-hero::after {
  position: absolute;
  top: -10rem;
  right: -8rem;
  width: 24rem;
  height: 24rem;
  border: 4rem solid rgba(23, 107, 81, 0.05);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.home-v2-hero-copy,
.home-v2-start-card {
  position: relative;
  z-index: 1;
}

.home-v2-eyebrow,
.home-v2-section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.8rem;
  color: var(--home-v2-primary-text);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.home-v2-hero h1 {
  margin: 0 0 1.25rem;
  color: var(--home-v2-ink);
  font-size: clamp(2.25rem, 5vw, 4.35rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.055em;
}

.home-v2-hero-copy > p {
  max-width: 43rem;
  margin-bottom: 1.75rem;
  color: var(--home-v2-muted);
  font-size: 1.03rem;
  line-height: 1.85;
}

.home-v2-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.home-v2-primary-button,
.home-v2-secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.75rem 1.3rem;
  border-radius: 0.75rem;
  font-weight: 750;
}

.home-v2-primary-button {
  border-color: var(--home-v2-primary);
  color: #fff;
  background: var(--home-v2-primary);
  box-shadow: 0 10px 24px rgba(23, 107, 81, 0.22);
}

.home-v2-primary-button:hover,
.home-v2-primary-button:focus {
  border-color: var(--home-v2-primary-dark);
  color: #fff;
  background: var(--home-v2-primary-dark);
}

.home-v2-secondary-button {
  border-color: var(--home-v2-border);
  color: var(--home-v2-ink);
  background: #fff;
}

.home-v2-secondary-button:hover,
.home-v2-secondary-button:focus {
  border-color: #a9c9bc;
  color: var(--home-v2-primary-text-strong);
  background: var(--home-v2-primary-soft);
}

.home-v2-trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.2rem;
  margin: 1.5rem 0 0;
  padding: 0;
  color: #52635d;
  font-size: 0.83rem;
  list-style: none;
}

.home-v2-trust-list i {
  margin-right: 0.3rem;
  color: var(--home-v2-primary-text);
}

.home-v2-start-card {
  padding: 1.5rem;
  border: 1px solid rgba(23, 107, 81, 0.16);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 35px rgba(24, 71, 56, 0.12);
}

.home-v2-start-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--home-v2-border);
  font-weight: 800;
}

.home-v2-start-card-header i {
  color: var(--home-v2-primary-text);
  font-size: 1.5rem;
}

.home-v2-step-list {
  display: grid;
  gap: 1rem;
  margin: 1.25rem 0;
  padding: 0;
  list-style: none;
}

.home-v2-step-list li {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
}

.home-v2-step-number {
  display: inline-grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 50%;
  color: var(--home-v2-primary-text-strong);
  background: var(--home-v2-primary-soft);
  font-weight: 800;
}

.home-v2-step-list strong,
.home-v2-step-list small {
  display: block;
}

.home-v2-step-list strong {
  color: var(--home-v2-ink);
  font-size: 0.9rem;
}

.home-v2-step-list small {
  margin-top: 0.15rem;
  color: var(--home-v2-muted);
}

.home-v2-start-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--home-v2-border);
  color: var(--home-v2-primary-text-strong);
  font-weight: 800;
}

.home-v2-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 1rem 0 0;
  border: 1px solid var(--home-v2-border);
  border-radius: 1rem;
  background: var(--home-v2-surface);
}

.home-v2-metrics div {
  display: grid;
  gap: 0.2rem;
  padding: 1.2rem 1.5rem;
  text-align: center;
}

.home-v2-metrics div + div {
  border-left: 1px solid var(--home-v2-border);
}

.home-v2-metrics strong {
  color: var(--home-v2-primary-text-strong);
  font-size: 1.2rem;
}

.home-v2-metrics span {
  color: var(--home-v2-muted);
  font-size: 0.78rem;
}

.home-v2-section {
  padding-top: 5rem;
}

.home-v2-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.6rem;
}

.home-v2-section-heading h2,
.home-v2-notice-heading h2,
.home-v2-final-cta h2 {
  margin: 0;
  color: var(--home-v2-ink);
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.home-v2-section-heading p {
  margin: 0.55rem 0 0;
  color: var(--home-v2-muted);
}

.home-v2-section-heading > a {
  flex: 0 0 auto;
  color: var(--home-v2-primary-text-strong);
  font-weight: 750;
}

.home-v2-how-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-v2-how-grid > li {
  min-width: 0;
  padding: 1.5rem;
  border: 1px solid var(--home-v2-border);
  border-radius: 1.25rem;
  background: var(--home-v2-surface);
}

.home-v2-how-step {
  display: block;
  margin-bottom: 1rem;
  color: var(--home-v2-primary-text);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.home-v2-how-grid h3 {
  margin: 0 0 0.8rem;
  color: var(--home-v2-ink);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.5;
}

.home-v2-how-grid p {
  margin: 0;
  color: var(--home-v2-muted);
  font-size: 0.87rem;
  line-height: 1.8;
  overflow-wrap: break-word;
}

.home-v2-how-grid > .home-v2-how-result {
  border-color: var(--home-v2-primary-dark);
  background: linear-gradient(120deg, var(--home-v2-primary-dark), var(--home-v2-primary));
}

.home-v2-how-result .home-v2-how-step {
  color: var(--home-v2-accent);
}

.home-v2-how-result h3 {
  color: #fff;
}

.home-v2-how-result p {
  color: #d6eee3;
}

.home-v2-book-grid,
.home-v2-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.home-v2-book-form {
  margin: 0;
}

.home-v2-book-card {
  display: flex;
  width: 100%;
  min-height: 15.5rem;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--home-v2-border);
  border-radius: 1rem;
  color: inherit;
  background: var(--home-v2-surface);
  box-shadow: 0 10px 30px rgba(29, 59, 50, 0.06);
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

button.home-v2-book-card {
  appearance: none;
  cursor: pointer;
}

.home-v2-book-card:hover,
.home-v2-book-card:focus-visible {
  border-color: #94bcae;
  color: inherit;
  box-shadow: 0 18px 38px rgba(29, 59, 50, 0.12);
  transform: translateY(-3px);
}

.home-v2-book-cover {
  flex: 0 0 42%;
  min-width: 7rem;
  background: #e8eeeb;
}

.home-v2-book-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-v2-book-content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 1.25rem;
}

.home-v2-book-label {
  margin-bottom: 0.75rem;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  color: #9a4e04;
  background: #fff2df;
  font-size: 0.7rem;
  font-weight: 800;
}

.home-v2-book-label-alt {
  color: #6447aa;
  background: #f0eafe;
}

.home-v2-book-label-muted {
  color: #53635d;
  background: #edf1ef;
}

.home-v2-book-content strong {
  color: var(--home-v2-ink);
  font-size: 1rem;
  line-height: 1.55;
}

.home-v2-book-content small {
  margin-top: 0.4rem;
  color: var(--home-v2-muted);
  line-height: 1.55;
}

.home-v2-book-action {
  margin-top: auto;
  padding-top: 1rem;
  color: var(--home-v2-primary-text-strong);
  font-size: 0.82rem;
  font-weight: 800;
}

.home-v2-book-more {
  align-items: stretch;
  background: linear-gradient(145deg, #edf8f3, #fff);
}

.home-v2-book-more-icon {
  display: grid;
  flex: 0 0 34%;
  place-items: center;
  color: var(--home-v2-primary-text);
  background: rgba(23, 107, 81, 0.08);
  font-size: 3rem;
}

.home-v2-benefit-grid article {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 1.75rem;
  border: 1px solid var(--home-v2-border);
  border-radius: 1rem;
  background: var(--home-v2-surface);
}

.home-v2-benefit-grid h3 {
  margin: 0 0 0.6rem;
  color: var(--home-v2-ink);
  font-size: 1.05rem;
  font-weight: 800;
}

.home-v2-benefit-grid p {
  margin: 0;
  color: var(--home-v2-muted);
  font-size: 0.87rem;
  line-height: 1.7;
}

.home-v2-benefit-preview {
  margin-top: auto;
  padding-top: 1.4rem;
}

.home-v2-score-comparison,
.home-v2-deduction-list,
.home-v2-retry-chart {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.78rem;
}

.home-v2-score-comparison {
  display: grid;
  align-content: center;
  gap: 0.65rem;
  min-height: 8rem;
}

.home-v2-score-comparison li {
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr) 1.5rem;
  align-items: center;
  gap: 0.7rem;
  color: var(--home-v2-muted);
}

.home-v2-score-comparison strong {
  color: var(--home-v2-ink);
  font-weight: 700;
  text-align: right;
}

.home-v2-score-track {
  overflow: hidden;
  height: 0.6rem;
  border-radius: 999px;
  background: var(--home-v2-canvas);
}

.home-v2-score-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.home-v2-score-mine {
  width: 86%;
  background: var(--home-v2-primary);
}

.home-v2-score-pass {
  width: 80%;
  background: var(--home-v2-primary-dark);
}

.home-v2-score-average {
  width: 74%;
  background: #abc4b9;
}

.home-v2-deduction-list {
  display: grid;
  gap: 0.5rem;
  min-height: 8rem;
}

.home-v2-deduction-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.8rem;
  border-radius: 0.65rem;
  background: #fcf0eb;
}

.home-v2-deduction-list li:nth-child(2) {
  background: #fcf5f1;
}

.home-v2-deduction-list li:nth-child(3) {
  background: var(--home-v2-canvas);
}

.home-v2-deduction-list strong {
  flex-shrink: 0;
  color: #b54424;
  font-weight: 700;
}

.home-v2-example-note {
  display: block;
  margin-top: 0.65rem;
  color: var(--home-v2-muted);
  font-size: 0.7rem;
}

.home-v2-retry-chart {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  min-height: 8rem;
}

.home-v2-retry-chart li {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
  text-align: center;
}

.home-v2-retry-chart strong {
  margin-bottom: 0.3rem;
  color: var(--home-v2-primary-text-strong);
  font-weight: 700;
}

.home-v2-retry-bar {
  display: block;
  border-radius: 0.5rem 0.5rem 0 0;
}

.home-v2-retry-first {
  height: 3.1rem;
  background: #dbe6e0;
}

.home-v2-retry-second {
  height: 3.7rem;
  background: #abc4b9;
}

.home-v2-retry-latest {
  height: 4.3rem;
  background: var(--home-v2-primary);
}

.home-v2-retry-chart li > span:last-child {
  padding-top: 0.5rem;
  border-top: 1px solid var(--home-v2-border);
  color: var(--home-v2-muted);
  font-size: 0.7rem;
}

.home-v2-content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(18rem, 0.7fr);
  gap: 1rem;
  padding-top: 1.5rem;
}

.home-v2-guide-panel,
.home-v2-notice-panel {
  padding: 1.6rem;
  border: 1px solid var(--home-v2-border);
  border-radius: 1rem;
  background: var(--home-v2-surface);
}

.home-v2-section-heading-compact {
  margin-bottom: 1rem;
}

.home-v2-guide-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.home-v2-guide-links a {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr) auto;
  gap: 0.7rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid var(--home-v2-border);
  border-radius: 0.8rem;
  color: var(--home-v2-ink);
  background: #fbfdfc;
}

.home-v2-guide-links a:hover,
.home-v2-guide-links a:focus {
  border-color: #9bc2b3;
  background: var(--home-v2-primary-soft);
}

.home-v2-guide-links > a > i:first-child {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border-radius: 0.65rem;
  color: var(--home-v2-primary-text);
  background: var(--home-v2-primary-soft);
}

.home-v2-guide-links strong,
.home-v2-guide-links small {
  display: block;
}

.home-v2-guide-links strong {
  font-size: 0.88rem;
}

.home-v2-guide-links small {
  margin-top: 0.2rem;
  color: var(--home-v2-muted);
  font-size: 0.72rem;
  line-height: 1.5;
}

.home-v2-notice-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.home-v2-notice-heading span {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--home-v2-primary-text);
  font-size: 0.72rem;
  font-weight: 800;
}

.home-v2-notice-heading h2 {
  font-size: 1.45rem;
}

.home-v2-notice-heading > a {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border-radius: 50%;
  color: var(--home-v2-primary-text-strong);
  background: var(--home-v2-primary-soft);
}

.home-v2-notice-list {
  display: grid;
}

.home-v2-notice-list > a {
  display: grid;
  gap: 0.32rem;
  padding: 0.8rem 0;
  border-top: 1px solid var(--home-v2-border);
  color: var(--home-v2-ink);
}

.home-v2-notice-list > a:hover span,
.home-v2-notice-list > a:focus span {
  color: var(--home-v2-primary-text);
}

.home-v2-notice-list span {
  overflow: hidden;
  font-size: 0.82rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-v2-notice-list time,
.home-v2-empty-notice {
  color: var(--home-v2-muted);
  font-size: 0.7rem;
}

.home-v2-final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 1.5rem;
  padding: 2.25rem;
  border-radius: 1.25rem;
  color: #fff;
  background: linear-gradient(120deg, var(--home-v2-primary-dark), var(--home-v2-primary));
  box-shadow: var(--home-v2-shadow);
}

.home-v2-final-cta span {
  display: block;
  margin-bottom: 0.35rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
}

.home-v2-final-cta h2 {
  max-width: 42rem;
  color: #fff;
}

.home-v2-primary-button-light {
  flex: 0 0 auto;
  border-color: #fff;
  color: var(--home-v2-primary-dark);
  background: #fff;
  box-shadow: none;
}

.home-v2-primary-button-light:hover,
.home-v2-primary-button-light:focus {
  border-color: #e5f2ed;
  color: var(--home-v2-primary-dark);
  background: #e5f2ed;
}

.home-v2-footer {
  padding: 1.8rem 0;
  border-top: 1px solid var(--home-v2-border);
  color: #69756f;
  background: #fff;
}

.home-v2-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.home-v2-footer div,
.home-v2-footer strong,
.home-v2-footer span {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.home-v2-footer strong {
  color: var(--home-v2-primary-text-strong);
}

.home-v2-footer p {
  margin: 0;
  font-size: 0.75rem;
}

html[data-theme="dark"] {
  --home-v2-primary-text: #7bd4b2;
  --home-v2-primary-text-strong: #9be3c5;
  --home-v2-ink: #eef8f4;
  --home-v2-muted: #a6b9b1;
  --home-v2-border: #31483f;
  --home-v2-surface: #18251f;
  --home-v2-canvas: #101914;
  --home-v2-primary-soft: #203d32;
}

html[data-theme="dark"] .home-v2 {
  background:
    radial-gradient(circle at 7% 6%, rgba(65, 170, 130, 0.14), transparent 24rem),
    linear-gradient(180deg, #111c17 0, var(--home-v2-canvas) 42rem);
}

html[data-theme="dark"] .home-v2-hero,
html[data-theme="dark"] .home-v2-start-card,
html[data-theme="dark"] .home-v2-secondary-button,
html[data-theme="dark"] .home-v2-guide-links a,
html[data-theme="dark"] .home-v2-footer {
  color: var(--home-v2-ink);
  background: var(--home-v2-surface);
}

html[data-theme="dark"] .home-v2-book-more {
  background: #1b2b24;
}

html[data-theme="dark"] .home-v2-trust-list {
  color: var(--home-v2-muted);
}

html[data-theme="dark"] .home-v2-score-mine,
html[data-theme="dark"] .home-v2-retry-latest {
  background: #58b994;
}

html[data-theme="dark"] .home-v2-score-pass {
  background: #83b49f;
}

html[data-theme="dark"] .home-v2-score-average,
html[data-theme="dark"] .home-v2-retry-second {
  background: #527d69;
}

html[data-theme="dark"] .home-v2-retry-first {
  background: #365343;
}

html[data-theme="dark"] .home-v2-deduction-list li {
  background: #382b24;
}

html[data-theme="dark"] .home-v2-deduction-list li:nth-child(2) {
  background: #302923;
}

html[data-theme="dark"] .home-v2-deduction-list li:nth-child(3) {
  background: var(--home-v2-canvas);
}

html[data-theme="dark"] .home-v2-deduction-list strong {
  color: #ffb399;
}

html[data-theme="dark"] .home-v2-section-heading > a,
html[data-theme="dark"] .home-v2-start-link,
html[data-theme="dark"] .home-v2-book-action,
html[data-theme="dark"] .home-v2-metrics strong {
  color: #7bd4b2;
}

@media (max-width: 991.98px) {
  .home-v2-hero {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .home-v2-start-card {
    max-width: 36rem;
  }

  .home-v2-book-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-v2-book-more {
    grid-column: 1 / -1;
    min-height: 10rem;
  }

  .home-v2-content-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .home-v2 {
    padding-top: 1rem;
  }

  .home-v2-section-heading,
  .home-v2-final-cta,
  .home-v2-footer .container {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-v2-hero {
    padding: 2rem 1.35rem;
    border-radius: 1.4rem;
  }

  .home-v2-hero h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .home-v2-hero-copy > p {
    font-size: 0.92rem;
  }

  .home-v2-hero-actions,
  .home-v2-primary-button,
  .home-v2-secondary-button {
    width: 100%;
  }

  .home-v2-metrics {
    grid-template-columns: 1fr;
  }

  .home-v2-metrics div + div {
    border-top: 1px solid var(--home-v2-border);
    border-left: 0;
  }

  .home-v2-section {
    padding-top: 3.5rem;
  }

  .home-v2-content-layout {
    padding-top: 1rem;
  }

  .home-v2-how-grid,
  .home-v2-book-grid,
  .home-v2-benefit-grid,
  .home-v2-guide-links {
    grid-template-columns: 1fr;
  }

  .home-v2-book-more {
    grid-column: auto;
  }

  .home-v2-final-cta {
    margin-top: 1rem;
    padding: 1.6rem;
  }
}

@media (max-width: 479.98px) {
  .home-v2-book-card {
    min-height: 13rem;
  }

  .home-v2-book-cover {
    flex-basis: 38%;
  }

  .home-v2-book-content {
    padding: 1rem;
  }

  .home-v2-trust-list {
    display: grid;
  }
}
