:root {
  --green-950: #062c22;
  --green-900: #073b2d;
  --green-800: #07533d;
  --green-700: #08714e;
  --green-600: #0f8f58;
  --green-500: #18b56f;
  --green-100: #daf6e8;
  --mint-50: #f1fbf5;
  --lime: #b8e986;
  --ink: #10241d;
  --muted: #60736a;
  --line: #d7e8df;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(4, 59, 42, 0.16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(218, 246, 232, 0.86), rgba(255, 255, 255, 0) 520px),
    radial-gradient(circle at 12% 12%, rgba(184, 233, 134, 0.36), transparent 28rem),
    #f7fbf8;
  line-height: 1.6;
}

a {
  color: inherit;
}

.top-strip {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--green-950);
  color: var(--white);
}

.top-strip__inner {
  width: min(1160px, calc(100% - 32px));
  min-height: 46px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
}

.top-strip strong span {
  color: var(--lime);
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.pulse-dot,
.live-ring {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(184, 233, 134, 0.75);
  animation: pulse 1.7s infinite;
}

.mini-copy,
.copy-button,
.button {
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.mini-copy {
  padding: 7px 12px;
  color: var(--green-950);
  background: var(--lime);
}

.site-header {
  position: sticky;
  top: 46px;
  z-index: 25;
  background: rgba(247, 251, 248, 0.88);
  border-bottom: 1px solid rgba(7, 83, 61, 0.12);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1160px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 900;
  text-decoration: none;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--green-600), var(--green-900));
}

.nav-links {
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 750;
}

.nav-links a {
  text-decoration: none;
}

.nav-cta {
  padding: 10px 14px;
  border: 1px solid var(--green-600);
  border-radius: var(--radius);
  color: var(--green-800);
  background: rgba(255, 255, 255, 0.72);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--green-900);
}

.hero,
.section,
.notice,
.footer {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 122px);
  padding: 74px 0 44px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  align-items: center;
  gap: 48px;
}

.hero > *,
.section > *,
.account-card,
.step-grid article,
.fact-grid div {
  min-width: 0;
}

.eyebrow,
.section-kicker,
.panel-label,
.tag {
  margin: 0 0 12px;
  color: var(--green-700);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 20px;
  font-size: clamp(2.55rem, 7vw, 5.4rem);
  line-height: 0.98;
  overflow-wrap: anywhere;
}

h1 span {
  color: var(--green-700);
  white-space: nowrap;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.08;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  line-height: 1.22;
}

.lead {
  max-width: 780px;
  color: #304d42;
  font-size: clamp(1.06rem, 2vw, 1.28rem);
}

.hero-actions,
.freshness {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.hero-actions {
  margin: 30px 0 22px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  text-decoration: none;
}

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--green-600), var(--green-900));
  box-shadow: 0 14px 30px rgba(15, 143, 88, 0.24);
}

.button-secondary {
  color: var(--green-900);
  background: var(--white);
  border: 1px solid var(--line);
}

.freshness {
  color: var(--muted);
  font-weight: 750;
}

.code-panel {
  position: relative;
  padding: 28px;
  border: 1px solid rgba(15, 143, 88, 0.2);
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(218, 246, 232, 0.92)),
    var(--white);
  box-shadow: var(--shadow);
}

.code-panel::before {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: -1;
  border-radius: var(--radius);
  background: var(--green-100);
  transform: rotate(-2deg);
}

.code-value {
  margin: 4px 0 18px;
  padding: 20px 16px;
  border: 1px dashed rgba(7, 83, 61, 0.34);
  border-radius: var(--radius);
  color: var(--green-950);
  background: var(--white);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(2.5rem, 5.6vw, 3.95rem);
  font-weight: 950;
  letter-spacing: 0.045em;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.copy-button {
  width: 100%;
  min-height: 52px;
  color: var(--white);
  background: var(--green-700);
}

.copy-status {
  min-height: 24px;
  margin: 10px 0 0;
  color: var(--green-700);
  font-weight: 850;
  text-align: center;
}

.panel-help {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.notice {
  padding: 18px 20px;
  border: 1px solid rgba(15, 143, 88, 0.24);
  border-left: 5px solid var(--green-600);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 44px rgba(4, 59, 42, 0.08);
}

.section {
  padding: 86px 0 0;
}

.intro {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 42px;
}

.rich-text,
.columns {
  color: #334f44;
  font-size: 1.04rem;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 28px;
}

.step-grid,
.account-grid,
.fact-grid {
  display: grid;
  gap: 18px;
}

.step-grid {
  grid-template-columns: repeat(4, 1fr);
}

.step-grid article,
.account-card,
.fact-grid div,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 46px rgba(4, 59, 42, 0.08);
}

.step-grid article {
  padding: 22px;
}

.step-grid span {
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--white);
  background: var(--green-700);
  font-weight: 900;
}

.account-grid {
  grid-template-columns: repeat(3, 1fr);
}

.account-card {
  padding: 24px;
}

.account-card.featured {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  color: var(--white);
}

.account-card.featured .tag,
.account-card.featured p,
.account-card.featured li {
  color: rgba(255, 255, 255, 0.88);
}

.account-card ul {
  margin: 16px 0 0;
  padding-left: 20px;
}

.tag {
  color: var(--green-600);
}

.columns {
  column-count: 2;
  column-gap: 42px;
}

.columns p {
  break-inside: avoid;
}

.fact-grid {
  grid-template-columns: repeat(4, 1fr);
}

.fact-grid div {
  min-height: 150px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.fact-grid strong {
  color: var(--green-800);
  font-size: 1.55rem;
  line-height: 1.08;
}

.fact-grid span {
  color: var(--muted);
  font-weight: 700;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  color: var(--green-950);
  font-weight: 900;
}

.faq-list p {
  margin: 12px 0 0;
  color: #375247;
}

.official {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 70px;
}

.official p {
  max-width: 720px;
  color: var(--muted);
}

.footer {
  padding: 28px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.footer p {
  margin-bottom: 6px;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  max-width: min(360px, calc(100% - 36px));
  padding: 13px 16px;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--green-950);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(184, 233, 134, 0.75);
  }
  70% {
    box-shadow: 0 0 0 11px rgba(184, 233, 134, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(184, 233, 134, 0);
  }
}

@media (max-width: 920px) {
  .site-header {
    top: 46px;
  }

  .nav {
    min-height: 66px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 66px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav.open .nav-links {
    display: flex;
  }

  .nav-links a {
    padding: 10px 8px;
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
    grid-template-columns: 1fr;
  }

  .intro,
  .official {
    display: block;
  }

  .step-grid,
  .account-grid,
  .fact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .account-card.featured {
    grid-column: span 2;
  }

  .columns {
    column-count: 1;
  }

  .official .button {
    margin-top: 12px;
  }
}

@media (max-width: 620px) {
  .top-strip__inner,
  .nav,
  .hero,
  .section,
  .notice,
  .footer {
    width: min(calc(100% - 24px), 1160px);
  }

  .top-strip__inner {
    min-height: 54px;
    gap: 8px;
    font-size: 0.9rem;
  }

  .site-header {
    top: 54px;
  }

  .brand span:last-child {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero {
    gap: 26px;
    padding-top: 36px;
  }

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

  .hero-actions .button {
    width: 100%;
  }

  .freshness {
    align-items: flex-start;
  }

  .code-panel {
    padding: 18px;
  }

  .code-value {
    padding: 16px 10px;
    font-size: clamp(2.15rem, 13vw, 3.25rem);
    letter-spacing: 0.035em;
  }

  .step-grid,
  .account-grid,
  .fact-grid {
    grid-template-columns: 1fr;
  }

  .account-card.featured {
    grid-column: auto;
  }

  .section {
    padding-top: 62px;
  }

  .fact-grid div {
    min-height: 120px;
  }

  .toast {
    right: 12px;
    bottom: 12px;
  }
}

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

  .pulse-dot,
  .live-ring {
    animation: none;
  }
}
