/* Base styles */
:root {
  --bg: #f3f6f8;
  --bg-soft: #e9f0f4;
  --surface: #ffffff;
  --surface-soft: #f5f9fb;
  --surface-tint: #edf8f6;
  --text: #102034;
  --muted: #607086;
  --line: rgba(16, 32, 52, 0.12);
  --accent: #0f9a8a;
  --accent-strong: #0d7c70;
  --accent-soft: #dcf5f1;
  --ledger-accent: #4f35b5;
  --trezor-accent: #087357;
  --tangem-accent: #087b86;
  --card-surface: rgba(255, 255, 255, 0.88);
  --card-border: rgba(16, 32, 52, 0.12);
  --highlight: #f5a524;
  --shadow-lg: 0 30px 78px rgba(15, 29, 55, 0.11);
  --shadow-md: 0 18px 46px rgba(15, 29, 55, 0.09);
  --shadow-sm: 0 12px 28px rgba(15, 29, 55, 0.07);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 0%, rgba(15, 154, 138, 0.12), transparent 24%),
    radial-gradient(circle at 88% 6%, rgba(79, 53, 181, 0.08), transparent 24%),
    radial-gradient(circle at 50% 44%, rgba(8, 123, 134, 0.07), transparent 28%),
    linear-gradient(180deg, #f7fafb 0%, #f3f6f8 42%, #eef3f4 100%);
  line-height: 1.6;
}

:focus-visible {
  outline: 3px solid rgba(15, 154, 138, 0.28);
  outline-offset: 3px;
}

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

img {
  max-width: 100%;
  display: block;
}

button,
input {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 30;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  font-weight: 700;
}

.skip-link:focus-visible {
  top: 1rem;
}

.hero,
.section,
.footer {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.nav,
.hero-content,
.section > *,
.footer p {
  width: min(100%, var(--max-width));
  margin-left: auto;
  margin-right: auto;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1.35rem;
}

.nav-actions,
.hero-actions,
.trust-pill-group,
.result-actions,
.quiz-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.brand,
.nav-link,
.eyebrow,
.step-number,
.stat-label,
.result-topline,
.result-label,
#question-counter,
#progress-percent,
.quiz-kicker,
.media-fallback-label {
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.brand,
h1,
h2,
h3,
.faq-item summary {
  font-family: "Trebuchet MS", "Avenir Next Condensed", sans-serif;
}

.brand {
  font-weight: 700;
}

.nav-link {
  padding: 0.8rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-weight: 700;
}

.hero {
  padding-top: 0.5rem;
  padding-bottom: 5rem;
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 2rem;
  align-items: start;
  padding-top: 4.6rem;
}

.hero-copy {
  padding: 3rem;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 5% 10%, rgba(15, 154, 138, 0.07), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.93), rgba(246, 250, 251, 0.86));
  border: 1px solid rgba(16, 32, 52, 0.08);
  box-shadow: var(--shadow-lg);
}

.hero-visual-group {
  display: grid;
  gap: 0;
  align-content: start;
}

.hero-support {
  display: grid;
  gap: 1.35rem;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

h1 {
  margin-top: 0.85rem;
  font-size: clamp(2.8rem, 6vw, 5rem);
  max-width: 11ch;
}

h2 {
  margin-top: 0.7rem;
  font-size: clamp(2rem, 4vw, 3.25rem);
}

h3 {
  font-size: 1.45rem;
}

.eyebrow,
.step-number,
.stat-label,
.result-topline,
.result-label,
.quiz-kicker,
.media-fallback-label {
  color: var(--accent-strong);
  font-weight: 700;
}

.subheadline,
.section-intro,
.section-heading p,
.info-card p,
.step-card p,
.faq-item p,
.stat-card p,
.quiz-helper,
.result-disclaimer,
.email-capture p,
.result-summary {
  color: var(--muted);
}

.subheadline {
  max-width: 58ch;
  margin: 1.3rem 0 0;
  font-size: 1.08rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.hero-badge,
.trust-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(16, 32, 52, 0.11);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(237, 246, 248, 0.9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  font-weight: 600;
  color: var(--text);
}

.hero-actions {
  margin-top: 1.8rem;
}

.trust-row {
  margin-top: 2rem;
  display: grid;
  gap: 0.8rem;
}

.trust-copy {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
}
