/* Academic Workflow - Clean V2 */

:root{
  --bg: #f6f9fc;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --border: #e2e8f0;

  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-soft: rgba(37,99,235,0.12);

  --shadow: 0 10px 30px rgba(15,23,42,0.08);
  --radius: 18px;
  --radius-sm: 14px;

  --container: 1120px;
}

*{ box-sizing: border-box; }
html, body{ 
  height: 100%; 
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

body{
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  position: relative;
  width: 100%;
  max-width: 100%;
}

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

.container{
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Header */
.header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246,249,252,0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(226,232,240,0.9);
  width: 100%;
}

.header__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  width: 100%;
}

.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: auto;
  flex-shrink: 1;
}

.brand__mark{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: #eaf1ff;
  border: 1px solid var(--border);
  overflow: hidden;
  flex: 0 0 38px;
}

.brand__logo{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand__name{
  font-weight: 700;
  font-size: 18px;
  line-height: 1.1;
  white-space: nowrap;
}

.brand__tagline{
  font-size: 12px;
  color: var(--muted);
  line-height: 1.2;
  white-space: nowrap;
}

.nav{
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav__link{
  font-size: 16px;
  font-weight: 600;
  color: #000000;
  padding: 8px 10px;
  border-radius: 10px;
  white-space: nowrap;
}

.nav__link:hover{
  text-decoration: none;
  background: rgba(37,99,235,0.06);
  color: var(--text);
}

.header__cta{
  text-decoration: none;
  flex-shrink: 0;
}

/* Buttons */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 120ms ease, border-color 120ms ease;
  white-space: nowrap;
}

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

.btn--primary{
  background: var(--accent);
  color: #ffffff;
}

.btn--primary:hover{
  background: var(--accent-hover);
}

.btn--ghost{
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn--ghost:hover{
  background: rgba(15,23,42,0.03);
}

.btn--small{ padding: 8px 14px; font-size: 13px; }
.btn--large{ padding: 12px 20px; font-size: 15px; }
.btn--wide{ width: 100%; }

/* Hero */
.hero{
  position: relative;
  padding: 70px 0 34px;
  width: 100%;
}

.hero::before{
  content: "";
  position: absolute;
  width: 680px;
  height: 680px;
  right: -240px;
  top: -240px;
  background: radial-gradient(circle, var(--accent-soft), transparent 62%);
  pointer-events: none;
}

.hero__inner{ 
  position: relative; 
  width: 100%;
}

.hero__grid{
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 26px;
  align-items: start;
  width: 100%;
}

.eyebrow{
  display: inline-block;
  font-weight: 700;
  font-size: 13px;
  color: var(--muted);
  background: rgba(37,99,235,0.06);
  border: 1px solid rgba(37,99,235,0.14);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.h1{
  font-size: 48px;
  line-height: 1.08;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
  text-wrap: balance;
  max-width: 100%;
}

.lead{
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 20px;
  max-width: 100%;
}

.hero__buttons{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.trust{
  font-size: 14px;
  color: var(--muted);
  white-space: nowrap;
}

/* Panels and cards */
.panel, .card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
}

.hero__panel{
  padding: 20px;
}

.panel__title{
  font-size: 16px;
  margin: 0 0 12px;
  font-weight: 600;
}

.panel__note{
  font-size: 13px;
  color: var(--muted);
  margin: 12px 0 0;
}

.section{
  padding: 60px 0;
  width: 100%;
}

.h2{
  font-size: 32px;
  margin: 0 0 8px;
  letter-spacing: -0.015em;
}

.subhead{
  color: var(--muted);
  margin: 0 0 20px;
  font-size: 16px;
  max-width: 100%;
}

.grid{
  display: grid;
  gap: 20px;
  width: 100%;
}

.grid--2{
  grid-template-columns: repeat(2, minmax(0,1fr));
}

.card{
  padding: 20px;
  border-radius: var(--radius);
}

.h3{
  font-size: 18px;
  margin: 0 0 10px;
}

.card p{
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.card--price .price__top{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.price{
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.note{
  margin-top: 16px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.7);
  color: var(--muted);
  font-size: 14px;
}

/* Lists */
.bullets{
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 14px;
}

.bullets li{ margin: 6px 0; }

/* Utilities */
.center{ display: grid; place-items: center; margin-top: 20px; }
.fineprint{ color: var(--muted); font-size: 13px; margin: 16px 0 0; max-width: 100%; }

/* Footer */
.footer{
  padding: 30px 0;
  border-top: 1px solid rgba(226,232,240,0.9);
  background: rgba(246,249,252,0.6);
  width: 100%;
}

.footer__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
}

.footer__brand{
  font-weight: 800;
  font-size: 14px;
}

.footer__tag{
  color: var(--muted);
  font-size: 13px;
}

.footer__links{
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
}

.footer__links a:hover{ color: var(--text); }

/* Prevent content sliding under fixed header */
main{
  padding-top: 72px;
  width: 100%;
}

/* Tag sections */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  width: 100%;
}

.tag {
  padding: 6px 14px;
  background: #eef4ff;
  color: #1e293b;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid #e2e8f0;
}

/* Pricing add-on */
.price__addon{
  margin: 12px 0 16px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(37,99,235,0.06);
  border: 1px solid rgba(37,99,235,0.12);
  color: var(--muted);
  font-size: 13px;
}

/* How it works steps */
.steps{
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 12px;
  max-width: 100%;
}

.steps li{
  margin: 0;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  align-items: start;
  color: var(--muted);
  font-size: 15px;
}

.steps li strong{
  color: var(--text);
  font-weight: 700;
}

/* Anchor offset for fixed header */
html{
  scroll-padding-top: 80px;
}

/* ===== MOBILE FIXES ===== */
@media screen and (max-width: 920px) {
  /* Force everything to stay within viewport */
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  /* Fix container */
  .container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    overflow: hidden !important;
  }
  
  /* Header fixes */
  .header {
    width: 100% !important;
    max-width: 100vw !important;
    left: 0 !important;
    right: 0 !important;
    overflow: hidden !important;
  }
  
  .header__inner {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    margin: 0 !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
  }
  
  /* First row: brand + CTA */
  .brand {
    order: 1 !important;
    max-width: 65% !important;
    min-width: 0 !important;
  }
  
  .header__cta {
    order: 2 !important;
    margin-left: auto !important;
  }
  
  /* Second row: navigation */
  .nav {
    order: 3 !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    width: 100% !important;
    gap: 6px !important;
    margin: 5px 0 0 0 !important;
    padding: 0 !important;
  }
  
  .nav__link {
    font-size: 14px !important;
    padding: 5px 10px !important;
    background: #f1f5f9 !important;
    border-radius: 20px !important;
    border: 1px solid var(--border) !important;
    white-space: nowrap !important;
  }
  
  /* Hide tagline */
  .brand__tagline {
    display: none !important;
  }
  
  /* Adjust brand name */
  .brand__name {
    font-size: 16px !important;
  }
  
  /* Hero section fixes - REDUCED TOP PADDING */
  .hero {
    padding: 30px 0 30px !important;
    width: 100% !important;
    overflow: hidden !important;
  }
  
  .hero__grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  
  .h1 {
    font-size: 38px !important;
  }
  
  .trust {
    white-space: normal !important;
  }
  
  /* Grid fixes */
  .grid--2 {
    grid-template-columns: 1fr !important;
  }
  
  /* Fix background glow */
  .hero::before {
    width: 400px !important;
    height: 400px !important;
    right: -150px !important;
    top: -150px !important;
  }
  
  /* Main content padding - SINGLE SOURCE OF TRUTH */
  main {
    padding-top: 80px !important;
  }
  
  /* Fix all sections */
  .section, .footer {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  
  /* Fix images */
  img {
    max-width: 100% !important;
    height: auto !important;
  }
  
  /* Fix process section */
  #process .aw-row {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }
}

/* Small mobile */
@media screen and (max-width: 520px) {
  .container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  
  .h1 {
    font-size: 32px !important;
  }
  
  .brand {
    max-width: 60% !important;
  }
  
  .brand__name {
    font-size: 15px !important;
  }
  
  .nav__link {
    font-size: 13px !important;
    padding: 4px 8px !important;
  }
  
  .btn--small, .header__cta .btn {
    padding: 6px 10px !important;
    font-size: 12px !important;
  }
  
  .hero__buttons {
    flex-direction: column !important;
  }
  
  .hero__buttons .btn {
    width: 100% !important;
  }
  
  /* Hero padding for small mobile */
  .hero {
    padding: 25px 0 25px !important;
  }
  
  /* Main padding for small mobile */
  main {
    padding-top: 85px !important;
  }
}

/* Extra small mobile */
@media screen and (max-width: 380px) {
  .container {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  
  .brand__name {
    font-size: 14px !important;
  }
  
  .nav__link {
    font-size: 12px !important;
    padding: 4px 6px !important;
  }
  
  /* Hero padding for extra small mobile */
  .hero {
    padding: 20px 0 20px !important;
  }
  
  /* Main padding for extra small mobile */
  main {
    padding-top: 90px !important;
  }
}

/* ===== TEXT FORMATTING IMPROVEMENTS ===== */
/* These improvements enhance readability without breaking the stable layout */

/* Better heading hierarchy */
.h1 {
  text-wrap: balance;
}

.h2 {
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.h3 {
  letter-spacing: -0.01em;
  line-height: 1.3;
}

/* Improved paragraph readability */
.lead, p {
  line-height: 1.6;
}

/* Desktop improvements */
@media screen and (min-width: 921px) {
  /* Better hero text spacing */
  .hero__copy {
    max-width: 600px;
  }
  
  .h1 {
    font-size: 52px;
    margin-bottom: 20px;
    max-width: 700px;
  }
  
  .lead {
    font-size: 18px;
    margin-bottom: 24px;
    max-width: 550px;
  }
  
  /* Better pricing card balance */
  .card--price {
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  
  .card--price .price__top {
    margin-bottom: 16px;
  }
  
  .card--price .bullets {
    flex-grow: 1;
    margin-bottom: 16px;
  }
  
  /* Process section improvements */
  #process .aw-row {
    margin-bottom: 4px;
  }
  
  #process .aw-main {
    font-size: 16px;
  }
  
  #process .aw-sub {
    font-size: 15px;
    opacity: 0.75;
  }
  
  /* Better tag list spacing */
  .tag-list {
    gap: 12px;
  }
  
  .tag {
    padding: 8px 18px;
    font-size: 14px;
  }
}

/* Mobile text improvements - subtle changes only */
@media screen and (max-width: 920px) {
  /* Better mobile typography */
  .h1 {
    font-size: 36px !important;
    line-height: 1.1;
    margin-bottom: 16px;
    max-width: 100%;
  }
  
  .h2 {
    font-size: 28px;
    margin-bottom: 10px;
  }
  
  .h3 {
    font-size: 18px;
  }
  
  .lead {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
  }
  
  /* Section spacing */
  .section {
    padding: 40px 0;
  }
  
  .hero__buttons {
    margin-bottom: 12px;
  }
  
  .trust {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 10px;
  }
  
  /* Better card spacing on mobile */
  .card {
    padding: 18px;
  }
  
  .card--price {
    margin-bottom: 0;
  }
  
  .price__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .price {
    font-size: 28px;
  }
  
  /* Process section mobile improvements */
  #process .aw-row {
    gap: 4px !important;
    margin-bottom: 16px;
  }
  
  #process .aw-label {
    font-size: 18px;
    margin-bottom: 4px;
  }
  
  #process .aw-main {
    font-size: 15px;
    margin-bottom: 4px;
  }
  
  #process .aw-sub {
    font-size: 14px;
    opacity: 0.75;
  }
  
  /* Better bullet lists on mobile */
  .bullets {
    padding-left: 18px;
  }
  
  .bullets li {
    font-size: 15px;
    margin-bottom: 8px;
    line-height: 1.4;
  }
  
  /* Tag list improvements */
  .tag-list {
    gap: 8px;
  }
  
  .tag {
    padding: 6px 14px;
    font-size: 13px;
  }
  
  /* Footer improvements */
  .footer__inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  
  .footer__links {
    justify-content: center;
  }
}

/* Small mobile fine-tuning */
@media screen and (max-width: 480px) {
  .h1 {
    font-size: 32px !important;
  }
  
  .h2 {
    font-size: 26px;
  }
  
  .section {
    padding: 30px 0;
  }
  
  .card {
    padding: 16px;
  }
  
  .bullets li {
    font-size: 14px;
  }
  
  .btn {
    padding: 12px 16px;
    font-size: 14px;
  }
  
  /* Tighter spacing for very small screens */
  .hero__buttons {
    gap: 8px;
  }
  
  .tag {
    padding: 5px 12px;
    font-size: 12px;
  }
}

/* Improve button text */
.btn {
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* Better link hover states */
.nav__link {
  transition: all 0.2s ease;
}

/* Improve panel note readability */
.panel__note {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

/* Fine print improvements */
.fineprint {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

/* ===== FIX SCROLL POSITION FOR STICKY HEADER ===== */

/* Universal fix for all anchor links */
html {
  scroll-padding-top: 90px;
  scroll-behavior: smooth;
}

/* More specific fixes for each section */
#intensive,
#pricing,
#process,
#ethics,
#skills,
#tools {
  scroll-margin-top: 90px;
}

/* Mobile adjustment - header is taller on mobile */
@media screen and (max-width: 920px) {
  html {
    scroll-padding-top: 100px;
  }
  
  #intensive,
  #pricing,
  #process,
  #ethics,
  #skills,
  #tools {
    scroll-margin-top: 100px;
  }
}

/* Small mobile adjustment */
@media screen and (max-width: 520px) {
  html {
    scroll-padding-top: 110px;
  }
  
  #intensive,
  #pricing,
  #process,
  #ethics,
  #skills,
  #tools {
    scroll-margin-top: 110px;
  }
}
/* ===== SECTION TEXT FORMATTING FIXES ===== */

/* Consistent section spacing */
.section {
  padding: 60px 0;
  scroll-margin-top: 30px;
}

.section--compact {
  padding: 40px 0;
}

/* Better section headings */
.h2 {
  font-size: 32px;
  margin: 0 0 12px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.subhead {
  font-size: 16px;
  color: var(--muted);
  margin: 0 0 32px;
  max-width: 700px;
  line-height: 1.5;
}

/* Card text improvements */
.card {
  padding: 24px;
}

.h3 {
  font-size: 18px;
  margin: 0 0 12px;
  line-height: 1.3;
  font-weight: 700;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

/* Better bullet lists */
.bullets {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 15px;
}

.bullets li {
  margin: 8px 0;
  line-height: 1.5;
}

.bullets--tight li {
  margin: 6px 0;
}

/* Process section fixes */
#process .card {
  padding: 24px;
}

#process .aw-process {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

#process .aw-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  align-items: start;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  padding-bottom: 20px;
}

#process .aw-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

#process .aw-label {
  font-weight: 700;
  color: var(--text);
  font-size: 18px;
  line-height: 1.3;
}

#process .aw-main {
  margin: 0 0 8px 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
}

#process .aw-sub {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
  opacity: 0.9;
}

/* Ethics section fixes */
#ethics .grid--2 {
  gap: 24px;
  margin-bottom: 24px;
}

#ethics .card {
  height: 100%;
}

#ethics .h3 {
  margin-bottom: 16px;
  font-size: 18px;
}

#ethics .bullets {
  margin: 0;
}

#ethics .bullets li {
  margin: 10px 0;
  line-height: 1.5;
}

#ethics .fineprint {
  margin-top: 16px;
  padding: 16px 20px;
  background: rgba(37,99,235,0.04);
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  border-left: 3px solid var(--accent);
}

/* Pricing section fixes */
#pricing .card--price {
  display: flex;
  flex-direction: column;
  height: 100%;
}

#pricing .price__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

#pricing .h3 {
  font-size: 18px;
  margin: 0;
  line-height: 1.3;
}

#pricing .price {
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
  white-space: nowrap;
}

#pricing .bullets {
  flex-grow: 1;
  margin-bottom: 20px;
}

#pricing .price__addon {
  margin: 0 0 20px 0;
  padding: 12px 16px;
  background: rgba(37,99,235,0.04);
  border-radius: 10px;
  font-size: 14px;
  color: var(--text);
  border: 1px dashed var(--border);
  text-align: center;
}

#pricing .btn--wide {
  margin-top: auto;
}

/* Desktop improvements */
@media screen and (min-width: 921px) {
  /* Process section desktop */
  #process .aw-row {
    grid-template-columns: 160px 1fr;
    gap: 32px;
  }
  
  #process .aw-label {
    text-align: right;
    font-size: 18px;
  }
  
  /* Ethics section desktop */
  #ethics .grid--2 {
    grid-template-columns: 1fr 1fr;
  }
}

/* Mobile improvements */
@media screen and (max-width: 920px) {
  /* Section spacing */
  .section {
    padding: 40px 0;
  }
  
  .section--compact {
    padding: 30px 0;
  }
  
  .h2 {
    font-size: 28px;
    margin-bottom: 10px;
  }
  
  .subhead {
    font-size: 16px;
    margin-bottom: 24px;
  }
  
  /* Card padding */
  .card {
    padding: 20px;
  }
  
  /* Process section mobile */
  #process .aw-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-bottom: 20px;
    margin-bottom: 4px;
  }
  
  #process .aw-label {
    font-size: 20px;
    margin-bottom: 4px;
  }
  
  #process .aw-main {
    font-size: 16px;
  }
  
  #process .aw-sub {
    font-size: 15px;
  }
  
  /* Ethics section mobile */
  #ethics .grid--2 {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  #ethics .card {
    padding: 20px;
  }
  
  #ethics .bullets li {
    margin: 8px 0;
  }
  
  #ethics .fineprint {
    padding: 14px 16px;
    font-size: 14px;
  }
  
  /* Pricing section mobile */
  #pricing .price__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  #pricing .price {
    font-size: 28px;
  }
  
  #pricing .price__addon {
    padding: 10px 12px;
    font-size: 13px;
  }
}

/* Small mobile */
@media screen and (max-width: 520px) {
  .h2 {
    font-size: 26px;
  }
  
  .subhead {
    font-size: 15px;
  }
  
  .card {
    padding: 18px;
  }
  
  .bullets {
    font-size: 14px;
  }
  
  .bullets li {
    margin: 6px 0;
  }
  
  #process .aw-label {
    font-size: 18px;
  }
  
  #process .aw-main {
    font-size: 15px;
  }
  
  #process .aw-sub {
    font-size: 14px;
  }
  
  #ethics .h3 {
    font-size: 17px;
  }
}

/* ===== HERO HEADLINE CENTERING & FIX ===== */

/* Desktop hero headline */
@media screen and (min-width: 921px) {
  .hero__copy {
    max-width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero__copy .eyebrow {
    margin-left: auto;
    margin-right: auto;
  }
  
  .h1 {
    font-size: 52px;
    line-height: 1.2;
    margin-bottom: 24px;
    max-width: 100%;
    text-align: center;
    white-space: normal;
    word-break: normal;
    overflow-wrap: normal;
  }
  
  .hero__copy .lead {
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero__buttons {
    justify-content: center;
  }
  
  .hero__copy .trust {
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero__grid {
    align-items: center;
  }
}

/* Large desktop - larger font but still wraps if needed */
@media screen and (min-width: 1200px) {
  .h1 {
    font-size: 60px;
  }
}

/* Mobile hero headline */
@media screen and (max-width: 920px) {
  .hero__copy {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero__copy .eyebrow {
    margin-left: auto;
    margin-right: auto;
  }
  
  .h1 {
    text-align: center;
    font-size: 36px !important;
    line-height: 1.2;
    max-width: 100%;
    white-space: normal;
    word-break: normal;
  }
  
  .hero__copy .lead {
    text-align: center;
    font-size: 16px;
  }
  
  .hero__buttons {
    justify-content: center;
  }
  
  .hero__copy .trust {
    text-align: center;
    white-space: normal;
  }
}

/* Small mobile */
@media screen and (max-width: 520px) {
  .h1 {
    font-size: 32px !important;
  }
}

/* Extra small mobile */
@media screen and (max-width: 380px) {
  .h1 {
    font-size: 28px !important;
  }
}
/* Add this to the VERY END of your styles.css */

/* ===== EXTREME GAP FIX ===== */

/* Dramatically reduce gap between header and hero section */
.hero {
  padding-top: 20px !important; /* Was 70px, now minimal */
}

/* Remove any extra top padding from hero inner */
.hero__inner {
  padding-top: 0 !important;
}

/* Mobile - almost no gap */
@media screen and (max-width: 920px) {
  .hero {
    padding-top: 5px !important; /* Barely any gap */
  }
  
  main {
    padding-top: 65px !important; /* Fine-tuned for sticky header */
  }
  
  /* Ensure eyebrow doesn't add extra space */
  .eyebrow {
    margin-top: 0 !important;
  }
}

/* Small mobile */
@media screen and (max-width: 520px) {
  .hero {
    padding-top: 0 !important; /* Zero gap */
  }
  
  main {
    padding-top: 70px !important;
  }
}

/* Extra small mobile */
@media screen and (max-width: 380px) {
  .hero {
    padding-top: 0 !important;
  }
  
  main {
    padding-top: 75px !important;
  }
}
