:root{
  --navy:#1E2C42;
  --navy2:#1D2F46;
  --orange:#F88121;
  --cream:#F6F3EB;
  --white:#FFFFFF;
  --muted:#9CA1A7;

  --bg: var(--navy);
  --card: rgba(255,255,255,.06);
  --border: rgba(255,255,255,.12);
  --text: rgba(246,243,235,.98);
  --text2: rgba(246,243,235,.76);
  --shadow: 0 18px 55px rgba(0,0,0,.45);
  --radius: 18px;
  --max: 1100px;

  /* Header sizing */
  --header-h: 84px;          /* fixed header height */
  --header-h-shrink: 66px;   /* height after scroll */
  --logo-h: 130px;           /* requested */
  --logo-h-shrink: 90px;    /* smaller when nav shrinks */
}

/* Base */
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(900px 520px at 15% 12%, rgba(248,129,33,.22), transparent 60%),
    radial-gradient(760px 460px at 85% 18%, rgba(246,243,235,.10), transparent 55%),
    linear-gradient(180deg, var(--navy2), var(--navy));
  color: var(--text);
  line-height: 1.6; /* already good */
}

a{color:inherit;text-decoration:none}
a:hover{opacity:.95}

.container{max-width:var(--max);margin:0 auto;padding:0 18px}

/* Header / Nav (fixed height) */
.nav{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(30,44,66,.70);
  border-bottom: 1px solid var(--border);
  transition: background .2s ease;
}

.nav-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;

  height: var(--header-h); /* FIXED */
  padding: 0;              /* no vertical padding so height stays static */
}

/* Brand (logo overlaps into hero) */
.brand{
  position: relative;
  height: var(--header-h); /* fixed container height */
  width: 240px;            /* gives room for the large logo */
  display:flex;
  align-items:center;
}
.brand img{
  pointer-events: none; /* prevents stealing taps */
  position:absolute;
  left: 0;
  top: 50%;
  height: var(--logo-h);
  width: auto;
  transform: translateY(-45%);
  display:block;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.35));
  transition: height .18s ease, transform .18s ease;
}

/* Nav links (desktop) */
.nav-links{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  align-items:center;
}

.nav-links a{
  padding:8px 12px;
  border-radius:12px;
  color: var(--text2);
  border:1px solid transparent;
  font-weight:700;
  letter-spacing:.2px;
}

.nav-links a.active, .nav-links a:hover{
  color: var(--text);
  background: rgba(255,255,255,.06);
  border-color: rgba(248,129,33,.28);
}

/* Mobile menu button (hidden on desktop) */
.menu-btn{
  display:none;
  border:1px solid rgba(246,243,235,.16);
  background: rgba(255,255,255,.06);
  color: var(--text);
  border-radius: 12px;
  padding:10px 12px;
  font-weight:800;
  cursor:pointer;
}

/* Shrink-on-scroll state */
body.nav-shrink .nav-inner{
  height: var(--header-h-shrink);
}
body.nav-shrink .brand{
  height: var(--header-h-shrink);
}
body.nav-shrink .brand img{
  height: var(--logo-h-shrink);
  transform: translateY(-50%); /* keep centered */
}

/* Card / layout */
.card{
  background: var(--card);
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px; /* ✅ G: more whitespace inside cards (was set on hero-main/hero-side/tile) */
}

/* Keep existing specific paddings but let card padding work; we'll override where needed */
.hero{padding:72px 0 30px} /* ✅ G: a touch more breathing room (was 64/22) */

/* Give hero extra top spacing so the logo overlap looks intentional */
.hero-grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:16px;
  align-items:stretch;
  padding-top: 14px;
}

/* These can stay, but we slightly reduce redundancy since .card now has padding */
.hero-main{padding:26px}  /* keeps your intended look */
.hero-side{padding:22px}  /* keeps your intended look */

.kicker{
  display:inline-flex;
  gap:10px;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
  color: var(--text2);
  font-weight:700;
  font-size:13px;
}

.hero-main{
  padding:26px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}

.dot{
  width:10px;
  height:10px;
  border-radius:999px;
  background: var(--orange);
  box-shadow: 0 0 0 6px rgba(248,129,33,.18);
}

h1{
  margin:14px 0 10px;
  font-size: clamp(30px, 4vw, 46px);
  line-height:1.08;
  letter-spacing:.2px;
}

/* ✅ G: improve readability slightly */
.lede{
  color: var(--text2);
  font-size:16px;
  max-width: 65ch;
  line-height: 1.7;
}

.cta-row{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 16px;
  border-radius:14px;
  font-weight:800;
  border:1px solid var(--border);
}
.btn-primary{
  background: linear-gradient(135deg, rgba(248,129,33,1), rgba(248,129,33,.78));
  color:#111;
  border:none;
}
.btn-secondary{
  background: rgba(255,255,255,.06);
  color: var(--text);
  border-color: rgba(246,243,235,.16);
}

/* ✅ B: Icon styling (Lucide) */
.icon{
  width: 18px;
  height: 18px;
  margin-right: 8px;
  vertical-align: -3px;
  opacity: 0.9;
  flex: 0 0 auto;
}

/* ✅ B: Make headings align with icons neatly */
.stat b,
.tile h3{
  display:flex;
  align-items:center;
  gap: 8px;
}

/* "What owners care about" stats */
.stats{
  display:grid;
  grid-template-columns: 1fr 1fr; /* ✅ 2x2 grid looks clean with 4 boxes */
  gap:12px;
}

.stat{
  padding:14px;
  border-radius:16px;
  border:1px solid rgba(246,243,235,.14);
  background: rgba(246,243,235,.05);
}
.stat b{font-size:16px}
.stat span{color: var(--text2); font-size:13px; line-height:1.55} /* ✅ G: readability */

/* Sections */
.section{
  padding: 38px 0; /* ✅ G: more vertical whitespace (was 26px) */
}

.section h2{
  margin:0 0 18px; /* ✅ G: more spacing under headers (was 12px) */
  font-size:22px;
}

.grid-3{
  display:grid;
  grid-template-columns: repeat(3,1fr);
  gap:14px;
}

.tile{
  padding:18px; /* keep */
}

/* ✅ B: headings now flex, so remove extra margin assumptions */
.tile h3{
  margin:0 0 10px;
  font-size:16px;
}

.tile p{
  margin:0;
  color: var(--text2);
  font-size:14px;
  line-height: 1.65; /* ✅ G */
}

.split{display:grid;grid-template-columns: 1fr 1fr;gap:14px}
.list{margin:0;padding-left:18px;color: var(--text2); line-height:1.65} /* ✅ G */
.list li{margin:8px 0}

.form{display:grid;gap:12px;padding:18px}
label{font-weight:800;font-size:14px}
input, textarea{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(246,243,235,.14);
  background: rgba(246,243,235,.06);
  color: var(--text);
}
textarea{min-height:130px;resize:vertical}
.form-row{display:grid;grid-template-columns: 1fr 1fr;gap:12px}

.notice{
  padding:14px 16px;
  border-radius:16px;
  border:1px solid rgba(248,129,33,.35);
  background: rgba(248,129,33,.10);
}

.footer{
  padding:30px 0 46px; /* ✅ G: slightly more breathing room */
  color: var(--text2);
  border-top: 1px solid var(--border);
  margin-top: 34px;
}
.footer a{color: var(--text)}
.small{font-size:13px;color: var(--text2)}

/* Mobile behavior */
@media (max-width: 900px){
  .hero-grid{grid-template-columns: 1fr}
  .grid-3{grid-template-columns: 1fr}
  .split{grid-template-columns: 1fr}
  .form-row{grid-template-columns: 1fr}
  .stats{grid-template-columns: 1fr} /* ✅ 4 stats stack cleanly on mobile */
}

/* Hamburger menu setup */
@media (max-width: 760px){
  .brand{width: 200px;}
  .menu-btn{display:inline-flex; align-items:center; gap:8px;}

  /* hide links by default on mobile */
  .nav-links{
    display:none;
    position:absolute;
    z-index: 2000;
    top: calc(var(--header-h) + 8px);
    right: 18px;
    left: 18px;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    border-radius: 16px;
    background: rgba(30,44,66,.92);
    border: 1px solid rgba(246,243,235,.14);
    box-shadow: var(--shadow);
  }

  /* show menu when open */
  body.menu-open .nav-links{
    display:flex;
  }

  /* when nav shrinks, menu anchor point changes too */
  body.nav-shrink .nav-links{
    top: calc(var(--header-h-shrink) + 8px);
  }

  /* slightly smaller logo on very small screens */
  :root{
    --logo-h: 120px;
    --logo-h-shrink: 92px;
  }
}

.email-link{
  color: var(--orange);
  font-weight:700;
}

.email-link:hover{
  text-decoration: underline;
}

.nav{
  position: sticky;
}
.nav-inner{
  position: relative;
}

.menu-btn{ position: relative; z-index: 3000; }
