:root {
  --bg: #ffffff;
  --soft: #f7faf8;
  --ink: #111827;
  --muted: #5a6572;
  --line: #d9e5e3;
  --teal: #078489;
  --teal-dark: #056a6e;
  --coral: #f48c62;
  --gold: #dba52d;
  --blue: #335c81;
  --green: #49a35b;
  --shadow: 0 20px 55px rgba(17, 24, 39, 0.08);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  padding: 18px clamp(18px, 4vw, 54px);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 850;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 2px solid var(--teal);
  border-radius: 8px;
}

.brand-mark svg {
  width: 28px;
  height: 28px;
}

nav {
  display: flex;
  gap: clamp(14px, 3vw, 34px);
  font-size: 0.92rem;
  font-weight: 750;
}

nav a,
footer a,
.guide-link {
  text-decoration: none;
}

nav a:hover,
footer a:hover,
.guide-link:hover {
  color: var(--teal-dark);
}

main {
  overflow: hidden;
}

.hero,
.resource-strip,
.boundary-section {
  max-width: 1220px;
  margin: 0 auto;
  padding: clamp(42px, 6vw, 72px) clamp(18px, 4vw, 34px);
  scroll-margin-top: 96px;
}

.hero {
  display: grid;
  min-height: calc(100vh - 75px);
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  align-items: center;
  gap: clamp(34px, 6vw, 76px);
}

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

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(2.5rem, 5vw, 4.35rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: 0;
}

p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.hero-copy p {
  max-width: 640px;
  font-size: clamp(1.05rem, 2vw, 1.23rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin: 30px 0 40px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 11px 18px;
  font: inherit;
  font-size: 0.94rem;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  background: var(--teal);
  color: #ffffff;
}

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

.button.secondary {
  border-color: var(--teal);
  background: #ffffff;
  color: var(--teal);
}

.button.disabled {
  background: #e9ecef;
  color: #8a939c;
  cursor: not-allowed;
}

.guide-link {
  border-bottom: 2px solid var(--teal);
  color: var(--teal);
  font-weight: 850;
}

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

.trust-points div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 5px 12px;
  align-items: start;
}

.trust-points strong {
  font-size: 0.98rem;
}

.trust-points small {
  grid-column: 2;
  color: var(--muted);
  line-height: 1.5;
}

.point-icon {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 2px solid var(--teal);
  border-radius: 8px;
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 900;
}

.point-icon.coral {
  border-color: var(--coral);
  color: #cf5d34;
}

.point-icon.gold {
  border-color: var(--gold);
  color: #9b7216;
}

.checklist-panel {
  border: 1px solid #9fcac8;
  border-radius: 8px;
  padding: 18px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.panel-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.panel-header h2 {
  margin-bottom: 4px;
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
}

.panel-header p {
  margin-bottom: 0;
}

.steps {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.step {
  display: grid;
  grid-template-columns: 38px 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  border-bottom: 1px solid var(--line);
  padding: 11px 14px;
  background: #ffffff;
}

.step:last-child {
  border-bottom: 0;
}

.step-number {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: #ffffff;
  font-weight: 900;
}

.step-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 8px;
  background: #eef8f7;
  color: var(--teal);
}

.step-icon svg {
  width: 27px;
  height: 27px;
  stroke: currentColor;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.step-copy strong {
  display: block;
  margin-bottom: 3px;
}

.step-copy span {
  color: var(--muted);
  line-height: 1.45;
}

.step-toggle {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid #ccd8d6;
  border-radius: 8px;
  background: #ffffff;
  color: transparent;
  font-size: 1.3rem;
  font-weight: 900;
}

.step-toggle[aria-pressed="true"] {
  border-color: var(--green);
  background: var(--green);
  color: #ffffff;
}

.status-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: var(--soft);
}

.status-box strong {
  display: block;
  margin-bottom: 4px;
}

.status-box span {
  color: var(--muted);
}

.resource-strip {
  border-top: 1px solid var(--line);
}

.resource-intro {
  margin-bottom: 24px;
}

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

.resource-link {
  display: grid;
  gap: 10px;
  min-height: 150px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #ffffff;
  text-decoration: none;
}

.resource-link:hover,
.resource-link:focus-visible {
  border-color: var(--teal);
  outline: none;
  transform: translateY(-1px);
}

.resource-link span {
  color: var(--muted);
  line-height: 1.55;
}

.boundary-section {
  max-width: 900px;
}

footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding: 26px clamp(18px, 4vw, 54px);
  color: var(--muted);
}

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

  .hero {
    min-height: auto;
  }

  .checklist-panel {
    max-width: 760px;
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand span:last-child {
    max-width: 280px;
  }

  nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.86rem;
  }

  h1 {
    font-size: 2.42rem;
  }

  .hero-actions,
  .status-box,
  .panel-header {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .guide-link {
    justify-self: start;
  }

  .trust-points {
    grid-template-columns: 1fr;
  }

  .step {
    grid-template-columns: 34px 1fr auto;
  }

  .step-icon {
    display: none;
  }
}
