:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #0f172a;
  background: #f8fafc;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 8%, rgba(191, 219, 254, .72), transparent 34rem),
    radial-gradient(circle at 88% 12%, rgba(254, 205, 211, .58), transparent 30rem),
    radial-gradient(circle at 70% 86%, rgba(216, 180, 254, .5), transparent 30rem),
    #f8fafc;
  color: #0f172a;
}

a { color: inherit; }

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
}

.brand {
  font-weight: 800;
  letter-spacing: -.035em;
  text-decoration: none;
  font-size: 1.1rem;
}

.header-link {
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
  padding: 10px 14px;
  border: 1px solid rgba(15, 23, 42, .1);
  border-radius: 999px;
  background: rgba(255,255,255,.66);
  backdrop-filter: blur(16px);
}

.hero {
  padding: 72px 0 40px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #475569;
}

h1 {
  max-width: 900px;
  margin: 0 auto;
  font-size: clamp(2.4rem, 7vw, 5.2rem);
  line-height: .99;
  letter-spacing: -.055em;
}

.lede {
  max-width: 720px;
  margin: 24px auto 0;
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  line-height: 1.7;
  color: #475569;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid rgba(15, 23, 42, .12);
  background: rgba(255,255,255,.72);
}

.button.primary {
  background: #0f172a;
  color: white;
  border-color: #0f172a;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 28px 0 80px;
}

.guide-card, .panel, .source-panel, .cta-panel {
  border: 1px solid rgba(255,255,255,.7);
  background: rgba(255,255,255,.72);
  box-shadow: 0 24px 70px rgba(15, 23, 42, .08);
  backdrop-filter: blur(20px);
}

.guide-card {
  display: block;
  padding: 26px;
  border-radius: 28px;
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease;
}

.guide-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 28px 78px rgba(15, 23, 42, .12);
}

.guide-card h2 {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: -.025em;
}

.guide-card p {
  margin: 10px 0 0;
  color: #64748b;
  line-height: 1.6;
}

.breadcrumbs {
  padding-top: 18px;
  color: #64748b;
  font-size: .85rem;
}

.breadcrumbs a { text-decoration: none; }
.breadcrumbs span { margin: 0 8px; }

.article-wrap {
  width: min(800px, 100%);
  margin: 0 auto 80px;
}

.quick-answer {
  margin: 22px auto 34px;
  padding: 24px 26px;
  border-radius: 26px;
  background: #0f172a;
  color: #f8fafc;
  box-shadow: 0 24px 70px rgba(15,23,42,.18);
}

.quick-answer strong {
  display: block;
  margin-bottom: 8px;
  font-size: .75rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #cbd5e1;
}

.quick-answer p {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.65;
}

.panel {
  border-radius: 28px;
  padding: 30px;
  margin: 16px 0;
}

.panel h2 {
  margin: 0 0 14px;
  font-size: 1.5rem;
  letter-spacing: -.03em;
}

.panel p, .panel li {
  color: #475569;
  line-height: 1.75;
}

.panel p:last-child { margin-bottom: 0; }
.panel ul { padding-left: 1.25rem; }

.note {
  margin: 18px 0;
  padding: 16px 18px;
  border-left: 4px solid #0f172a;
  background: rgba(255,255,255,.56);
  border-radius: 0 16px 16px 0;
  color: #475569;
  line-height: 1.65;
}

.source-panel, .cta-panel {
  margin-top: 24px;
  padding: 28px;
  border-radius: 28px;
}

.source-panel h2, .cta-panel h2 {
  margin-top: 0;
  letter-spacing: -.025em;
}

.source-list {
  display: grid;
  gap: 10px;
}

.source-link {
  display: block;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(248,250,252,.88);
  text-decoration: none;
  font-weight: 700;
}

.source-link small {
  display: block;
  margin-top: 4px;
  color: #64748b;
  font-weight: 500;
  line-height: 1.45;
}

.related {
  margin-top: 34px;
}

.related h2 {
  font-size: 1.2rem;
  letter-spacing: -.02em;
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.related-links a {
  padding: 10px 14px;
  border: 1px solid rgba(15,23,42,.1);
  border-radius: 999px;
  background: rgba(255,255,255,.65);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 700;
}

.site-footer {
  border-top: 1px solid rgba(15,23,42,.08);
  padding: 28px 0 44px;
  color: #64748b;
  font-size: .82rem;
  line-height: 1.6;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-row a { font-weight: 700; text-decoration: none; }

@media (max-width: 720px) {
  .shell { width: min(100% - 22px, 1120px); }
  .site-header { padding: 16px 0; }
  .hero { padding: 48px 0 30px; }
  .guide-grid { grid-template-columns: 1fr; }
  .panel, .source-panel, .cta-panel { padding: 22px; border-radius: 24px; }
  .guide-card { padding: 22px; border-radius: 24px; }
}


.header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.scheme-page {
  width: min(860px, 100%);
}

.steps-list {
  display: grid;
  gap: 14px;
  padding-left: 1.3rem;
  color: #475569;
  line-height: 1.7;
}

.builder-panel {
  margin: 20px 0;
  padding: 30px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 30px;
  background: rgba(255,255,255,.8);
  box-shadow: 0 28px 80px rgba(15,23,42,.1);
  backdrop-filter: blur(22px);
}

.builder-panel h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -.04em;
}

.builder-intro {
  margin: 12px 0 0;
  color: #64748b;
  line-height: 1.65;
}

.builder-field {
  margin-top: 24px;
}

.builder-field label,
.generated-link-label {
  display: block;
  margin-bottom: 8px;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #475569;
}

.builder-field > input,
.weeks-control input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(15,23,42,.12);
  border-radius: 16px;
  padding: 0 14px;
  background: rgba(248,250,252,.9);
  color: #0f172a;
  font: inherit;
  font-weight: 700;
}

.builder-field small {
  display: block;
  margin-top: 8px;
  color: #64748b;
  line-height: 1.5;
}

.weeks-control {
  display: grid;
  grid-template-columns: auto minmax(100px, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.step-button,
.weeks-shortcuts button {
  min-height: 44px;
  border: 1px solid rgba(15,23,42,.1);
  border-radius: 999px;
  padding: 0 14px;
  background: rgba(255,255,255,.9);
  color: #0f172a;
  font: inherit;
  font-size: .85rem;
  font-weight: 800;
  cursor: pointer;
}

.weeks-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.generated-link {
  margin-top: 26px;
}

.generated-link output {
  display: block;
  overflow-wrap: anywhere;
  border-radius: 18px;
  padding: 16px;
  background: #0f172a;
  color: #f8fafc;
  font-size: .9rem;
  line-height: 1.55;
}

.advisory {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 18px;
  line-height: 1.6;
}

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

.advisory p {
  margin: 0;
}

.privacy-advisory {
  border: 1px solid #a7f3d0;
  background: #ecfdf5;
  color: #065f46;
}

.accuracy-advisory {
  border: 1px solid #fde68a;
  background: #fffbeb;
  color: #78350f;
}

.builder-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.builder-actions .button {
  cursor: pointer;
  font: inherit;
}

.builder-status {
  min-height: 1.5em;
  margin: 12px 0 0;
  color: #475569;
  font-size: .9rem;
  line-height: 1.5;
}

.recipient-card {
  margin: 18px 0;
  padding: 20px;
  border-radius: 22px;
  background: rgba(248,250,252,.9);
}

.recipient-kicker {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #64748b;
}

.recipient-summary {
  margin-top: 8px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -.02em;
}

.recipient-card p {
  margin-bottom: 0;
}

@media (max-width: 720px) {
  .header-actions {
    justify-content: flex-end;
  }

  .builder-panel {
    padding: 22px;
    border-radius: 24px;
  }

  .weeks-control {
    grid-template-columns: 1fr 1fr;
  }

  .weeks-control input {
    grid-column: 1 / -1;
    grid-row: 1;
    text-align: center;
  }

  .step-button {
    width: 100%;
  }

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


.hub-cta {
  width: min(800px, calc(100% - 32px));
  margin: -48px auto 80px;
}

.hub-cta p {
  color: #475569;
  line-height: 1.7;
}



.qr-recommendation {
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 18px;
  background: rgba(248,250,252,.82);
  color: #475569;
  line-height: 1.6;
}

.qr-recommendation strong {
  display: block;
  margin-bottom: 4px;
  color: #0f172a;
}

.qr-recommendation p {
  margin: 0;
}


.supporter-page {
  width: min(860px, 100%);
}

.supporter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 18px 0 22px;
}

.supporter-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid rgba(15,23,42,.09);
  border-radius: 999px;
  background: rgba(248,250,252,.84);
  color: #334155;
  font-size: .84rem;
  font-weight: 700;
}

.supporter-checks {
  display: grid;
  gap: 12px;
  padding-left: 1.25rem;
}

.supporter-checks strong {
  color: #0f172a;
}

.share-methods {
  display: grid;
  gap: 16px;
}

.share-method {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  border-radius: 20px;
  background: rgba(248,250,252,.82);
}

.share-method-number {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #0f172a;
  color: #fff;
  font-weight: 800;
}

.share-method h3 {
  margin: 1px 0 6px;
  font-size: 1.05rem;
}

.share-method p {
  margin: 0 0 8px;
}

.text-link {
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: #cbd5e1;
  text-underline-offset: 4px;
}

.share-copy {
  margin: 18px 0;
  padding: 20px;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 20px;
  background: #f8fafc;
}

.share-copy p {
  margin: 0;
  color: #0f172a;
  font-size: 1rem;
  line-height: 1.75;
}

.supporter-cta {
  text-align: center;
}

.supporter-actions {
  margin-top: 18px;
}

.supporter-hub-cta {
  margin-top: -54px;
}

@media (max-width: 720px) {
  .share-method {
    grid-template-columns: 36px 1fr;
    padding: 16px;
  }

  .share-method-number {
    width: 34px;
    height: 34px;
  }

  .supporter-hub-cta {
    margin-top: -58px;
  }
}
