:root{
  /* === Brand colors === */
  --brand-navy:   #0A1F44;   /* Deep navy - authority & trust */
  --brand-navy-2: #081a36;   /* Slightly darker for gradients */
  --brand-blue:   #287BFF;   /* Electric blue - tech-forward, energy */
  --brand-blue-2: #1e5fd4;   /* Button hover/focus */
  --ink:          #e9f2fb;   /* Body text on navy */
  --ink-muted:    #C9CED6;   /* Silver/gray - secondary text */
  --bg: var(--brand-navy);
  --fg: var(--ink);
}

body { 
  margin: 0; 
  background: var(--bg); 
  color: var(--fg);
  font: 16px/1.6 "Source Sans Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; 
}

h1, h2, h3 { 
  color: var(--fg); 
  font-family: "Nunito", system-ui, -apple-system, sans-serif;
  font-weight: 700;
}

/* === Navigation === */
.nav { 
  position: sticky; 
  top: 0; 
  backdrop-filter: saturate(140%) blur(8px);
  display: flex; 
  justify-content: space-between; 
  align-items: center;
  padding: 12px 20px; 
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(10,31,68,0.92); 
  z-index: 100;
}

.nav a { 
  color: rgba(255,255,255,0.9); 
  text-decoration: none; 
  margin: 0 8px; 
  font-weight: 600;
}

.nav a:hover {
  color: var(--brand-blue);
}

.nav .btn { 
  margin-left: 8px; 
}

.brand img { 
  height: 48px; 
  display: block; 
}

/* === Buttons === */
.btn { 
  padding: 12px 18px; 
  border-radius: 12px; 
  background: var(--brand-blue);
  color: #fff; 
  text-decoration: none; 
  font-weight: 600; 
  display: inline-block; 
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn:hover { 
  background: var(--brand-blue-2); 
}

.btn:focus { 
  outline: 2px solid #fff; 
  outline-offset: 2px; 
}

.btn--ghost { 
  background: transparent; 
  color: var(--fg); 
  border: 1px solid rgba(255,255,255,0.25); 
}

.btn--ghost:hover { 
  background: rgba(255,255,255,0.06); 
}

/* === Hero Section === */
.hero--brand { 
  position: relative; 
  isolation: isolate;
  background:
    radial-gradient(1200px 800px at 25% 10%, color-mix(in oklab, var(--brand-navy) 88%, #000) 0%, transparent 70%),
    linear-gradient(180deg, var(--brand-navy) 0%, var(--brand-navy-2) 100%);
  min-height: clamp(560px,70vh,760px); 
  display: grid; 
  place-items: center; 
  overflow: clip; 
}

.hero--brand::before { 
  content: ""; 
  position: absolute; 
  inset: 0;
  background:
    url("/img/wendy-hero.webp") right -8% center / auto 120% no-repeat,
    url("/img/wendy-hero.png")  right -8% center / auto 120% no-repeat;
  opacity: .95; 
  pointer-events: none; 
  z-index: -1; 
}

.hero__inner { 
  width: min(1200px,92vw); 
  display: grid;
  grid-template-columns: 1fr; 
  position: relative;
  align-items: center; 
  padding: clamp(48px,8vw,96px) 20px; 
  min-height: clamp(500px,65vh,700px);
}

.hero__copy { 
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding-top: clamp(16px,4vh,48px); 
}

.eyebrow { 
  letter-spacing: .12em; 
  text-transform: uppercase; 
  font-weight: 700;
  font-size: .95rem; 
  color: var(--ink-muted); 
  margin: 0 0 .75rem; 
}

.hero h1 { 
  font-family: "Nunito", system-ui, sans-serif; 
  font-weight: 800;
  font-size: clamp(36px,5.4vw,64px); 
  line-height: 1.05; 
  margin: 0 0 16px; 
}

.lead { 
  font-size: clamp(16px,1.25vw,18px); 
  color: var(--ink); 
  opacity: .95; 
  max-width: 52ch; 
}

.cta-row { 
  display: flex; 
  gap: 14px; 
  flex-wrap: wrap; 
  margin-top: 18px; 
}

/* === Content Blocks === */
.block { 
  scroll-margin-top: 80px; 
}

.block:nth-child(odd) { 
  background: rgba(255,255,255,0.02); 
}

.wrap { 
  max-width: 1000px; 
  margin: auto; 
  padding: 14px 20px; 
}

/* Section headings */
.block h2 {
  font-size: clamp(28px, 4vw, 36px);
  margin-bottom: 12px;
}

/* Subheadings like "Straightforward crypto taxes..." */
.block h3 {
  font-size: clamp(18px, 2vw, 22px);
  margin-bottom: 32px;
  opacity: 0.95;
}

/* Bold section labels like "On your side", "Complete crypto expertise" */
.block strong {
  display: block;
  color: var(--brand-blue);
  font-size: 1.1em;
  margin-top: 28px;
  margin-bottom: 10px;
}

/* Bullet lists */
.block ul {
  margin-bottom: 12px;
}

.block li {
  margin-bottom: 6px;
  line-height: 1.5;
}

/* === Links === */
a { 
  color: var(--brand-blue); 
  transition: color 0.2s ease;
}

a:hover {
  color: #5aa0ff;
}

small { 
  opacity: .8; 
}

/* === Mobile Styles === */
@media (max-width: 900px) {
  .hero__copy {
    max-width: 100%;
    text-align: left;  /* ← Left-aligned */
    padding: 0 20px;   /* ← Add some padding */
  }
  

  
  /* Position portrait for mobile */
  .hero--brand::before { 
    background-size: auto 60%;
    background-position: center 85%;
    opacity: .75;
  }
  
  .hero h1 {
    font-size: clamp(32px, 9vw, 48px);
  }
  
  .cta-row {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    align-items: center;
    padding: 12px 16px;
    gap: 12px;
  }
  
  .nav .brand {
    margin-bottom: 8px;
  }
  
  .nav nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 12px;
  }
  
  .nav a {
    font-size: 14px;
    padding: 6px 10px;
    margin: 0;
  }
  
  .nav .btn {
    padding: 8px 16px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .nav a {
    font-size: 13px;
    padding: 5px 8px;
  }
}