﻿:root {
  --bg: #f5f5f5;
  --fg: #111111;
  --muted: #5b5b5b;
  --subtle: #8a8a8a;
  --border: #e2e2e2;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 6px 16px rgba(0, 0, 0, 0.08);
  --radius: 2px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --text-xs: 12px;
  --text-sm: 13px;
  --text-md: 15px;
  --text-lg: 18px;
  --text-xl: 22px;
  --text-2xl: 34px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  color: var(--fg);
  background: var(--bg);
  line-height: 1.6;
}

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

a:hover {
  text-decoration: underline;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  background: #ffffff;
}

input[type="checkbox"] {
  accent-color: var(--fg);
}

:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 2px;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 var(--space-3);
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  font-size: clamp(28px, 3.5vw, 44px);
}

h2 {
  font-size: clamp(20px, 2.4vw, 28px);
}

h3 {
  font-size: 18px;
}

p {
  margin: 0 0 var(--space-3);
  font-size: var(--text-md);
}

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

.site-header.compact {
  padding-bottom: 20px;
}

.logo {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.nav {
  display: flex;
  gap: 12px;
  align-items: center;
  font-weight: 500;
  font-size: var(--text-sm);
}

.nav a {
  padding: 6px 10px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background 0.15s var(--ease), box-shadow 0.15s var(--ease);
}

.nav a:hover {
  background: #efefef;
  box-shadow: var(--shadow-sm);
}

.nav .ghost {
  border-color: var(--border);
  background: #ffffff;
}

main {
  padding: 40px 8vw 80px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 40px;
  align-items: center;
}

.hero h1 {
  margin-bottom: var(--space-4);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: var(--text-xs);
  color: var(--subtle);
  font-weight: 500;
}

.lead {
  font-size: var(--text-lg);
  color: var(--muted);
  line-height: 1.6;
}

.cta-row {
  display: flex;
  gap: 16px;
  margin: 24px 0 10px;
  flex-wrap: wrap;
}

.micro {
  font-size: var(--text-sm);
  color: var(--subtle);
}

.card {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-md);
}

.card.highlight {
  background: #f9f9f9;
  box-shadow: var(--shadow-sm);
}

.hero-card ul {
  padding-left: 18px;
  color: var(--muted);
}

.hero-card li {
  margin-bottom: 8px;
}

.note {
  font-size: var(--text-sm);
  color: var(--muted);
  margin-top: 16px;
}

.grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.narrative {
  margin-top: 60px;
}

.narrative-inner {
  width: min(66%, 860px);
  margin: 0 auto;
}

.narrative-intro p {
  margin-bottom: 8px;
}

.narrative-lines {
  margin-top: 18px;
  margin-bottom: 6px;
  display: grid;
  gap: 6px;
  font-weight: 500;
}

.narrative-lines--solo {
  margin-top: 10px;
}

.narrative-divider {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 22px 0;
}

.narrative-details {
  margin-top: 24px;
  display: grid;
  gap: 12px;
}

.narrative details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.narrative summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 700;
  font-size: var(--text-md);
}

.narrative summary::-webkit-details-marker {
  display: none;
}

.narrative summary::after {
  content: "+";
  font-size: 18px;
  line-height: 1;
  color: var(--subtle);
}

.narrative details[open] summary::after {
  content: "-";
}

.narrative .details-body {
  padding: 0 16px 14px;
  color: var(--muted);
}

.narrative .details-body p {
  margin-bottom: 8px;
}

.narrative-stack {
  margin: 10px 0 12px;
}

.narrative-stack p {
  margin-bottom: 10px;
}

.narrative .details-body ul {
  margin: 0 0 10px;
  padding-left: 18px;
}

.narrative .details-body li {
  margin-bottom: 6px;
}

.split {
  margin-top: 70px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.split ol {
  padding-left: 20px;
  color: var(--muted);
}

.cta {
  margin-top: 70px;
  text-align: center;
}

.cta-inner {
  background: #ffffff;
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 500;
  font-size: var(--text-md);
  background: #ffffff;
  color: var(--fg);
  box-shadow: var(--shadow-sm);
  transition: background 0.15s var(--ease), box-shadow 0.15s var(--ease), color 0.15s var(--ease);
}

.button:hover {
  text-decoration: none;
}

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

.button.primary:hover {
  background: #1a1a1a;
  box-shadow: var(--shadow-md);
}

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

.button.secondary:hover {
  background: #f0f0f0;
  box-shadow: var(--shadow-md);
}

.credits-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 24px;
}

.field {
  margin-top: 20px;
}

.field label {
  font-weight: 500;
  display: block;
  margin-bottom: 8px;
  font-size: var(--text-sm);
}

.field input[type="text"] {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-size: var(--text-md);
  box-shadow: var(--shadow-sm);
}

.field input[type="text"]::placeholder {
  color: var(--subtle);
}

.field-row {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
  color: var(--muted);
}

.hint {
  margin-top: 10px;
  font-size: var(--text-sm);
  color: var(--subtle);
}

key-warning,
key-acknowledgement {
  display: block;
}

.key-warning {
  margin-top: 14px;
  padding: 14px 16px;
  background: #f6f6f6;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.key-warning__label {
  display: inline-block;
  font-size: var(--text-xs);
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--subtle);
  font-weight: 600;
  margin-bottom: 6px;
}

.key-warning__body {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--fg);
}

.key-ack {
  margin-top: 16px;
  padding: 14px 16px;
  background: #f6f6f6;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.key-ack .checkbox {
  align-items: flex-start;
  color: var(--fg);
}

.key-ack__title {
  display: block;
  font-size: var(--text-xs);
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--subtle);
  font-weight: 600;
  margin-bottom: 8px;
}

.key-ack__error {
  min-height: 18px;
  margin: 8px 0 0;
  font-size: var(--text-sm);
  color: var(--muted);
}

.micro-cta {
  margin-top: 10px;
  font-size: var(--text-sm);
  color: var(--muted);
}

.balance {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  background: #ffffff;
  padding: 16px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.balance .label {
  display: block;
  font-size: var(--text-xs);
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--subtle);
}

.balance .value {
  font-size: 20px;
  font-weight: 700;
}

.status {
  margin-top: 16px;
  font-size: var(--text-sm);
  color: var(--muted);
  min-height: 20px;
}

.status.success {
  color: var(--fg);
}

.status.error {
  color: var(--muted);
  font-weight: 500;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.muted {
  color: var(--muted);
  font-size: var(--text-sm);
}

.packages {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.packages-wrap {
  position: relative;
}

.packages-guard {
  position: absolute;
  inset: 0;
  background: transparent;
  display: none;
}

.packages-wrap.guard-active .packages-guard {
  display: block;
  cursor: not-allowed;
}

.package-button {
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #ffffff;
  text-align: left;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background 0.15s var(--ease), box-shadow 0.15s var(--ease), border-color 0.15s var(--ease);
}

.package-button:hover {
  background: #f4f4f4;
  box-shadow: var(--shadow-md);
  border-color: #d6d6d6;
}

.package-button:disabled {
  cursor: not-allowed;
  background: #f2f2f2;
  border-color: var(--border);
  box-shadow: none;
}

.package-button:disabled .package-title,
.package-button:disabled .package-sub {
  color: var(--subtle);
}

.package-title {
  font-weight: 700;
  font-size: 18px;
}

.package-sub {
  font-size: var(--text-sm);
  color: var(--muted);
}

.single {
  display: flex;
  justify-content: center;
}

.single .card {
  max-width: 520px;
  width: 100%;
}

.actions {
  display: flex;
  gap: 12px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.site-footer {
  padding: 20px 8vw 30px;
  display: flex;
  justify-content: space-between;
  color: var(--subtle);
  font-size: var(--text-sm);
}

.policy .meta {
  font-size: var(--text-sm);
  color: var(--subtle);
  margin-bottom: var(--space-4);
}

.single .policy {
  max-width: 780px;
}

.policy h2 {
  margin-top: var(--space-5);
}

.policy ul {
  margin: 0 0 var(--space-4);
  padding-left: 20px;
  color: var(--muted);
}

.policy li {
  margin-bottom: 6px;
}

.policy .fine {
  font-size: var(--text-sm);
  color: var(--subtle);
  margin-top: -8px;
}
@media (max-width: 960px) {
  .hero,
  .credits-layout,
  .split {
    grid-template-columns: 1fr;
  }

  .narrative-inner {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
    gap: 6px;
  }
}

@media (max-width: 640px) {
  .site-header,
  main {
    padding-left: 6vw;
    padding-right: 6vw;
  }

  .nav {
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

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