/* ---------------------------------------------------
   Uncomplicated Leadership — companion site
   Design tokens
--------------------------------------------------- */
:root{
  --white:      #ffffff;
  --cream:      #FAF0CA;
  --mist:       #E6E6EA;
  --navy:       #011638;
  --navy-soft:  #0c2c56;
  --gold:       #EEB72C;
  --tan:        #B29758;
  --ink:        #101418;
  --ink-soft:   #4a5261;

  --bg:         var(--white);
  --bg-alt:     var(--cream);
  --text:       var(--ink);
  --text-soft:  var(--ink-soft);
  --border:     var(--mist);

  --display: 'Oswald', 'Arial Narrow', sans-serif;
  --body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max: 1120px;
  --radius: 14px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding: 0 20px;
}

@media (min-width: 640px){
  body{ padding: 0 32px; }
}

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

h1, h2, h3{
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  text-wrap: balance;
  margin: 0;
  color: var(--navy);
}

p{ margin: 0; }

a{ color: inherit; }

.wrap{
  max-width: var(--max);
  margin: 0 auto;
}

.eyebrow{
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tan);
  margin: 0 0 10px;
}

.section{
  padding-block: 84px;
  border-bottom: 1px solid var(--border);
}
.section--alt{ background: var(--bg-alt); border-color: rgba(1,22,56,0.08); }
.section--dark{
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.section--dark h2, .section--dark h3{ color: var(--white); }
.section--dark .eyebrow{ color: var(--gold); }

.section-head{
  max-width: 640px;
  margin: 0 0 44px;
}
.section-head h2{ font-size: clamp(1.6rem, 3.2vw, 2.2rem); }
.section-head p{ margin-top: 14px; font-size: 1.08rem; color: var(--text-soft); }
.section--dark .section-head p{ color: #cbd4e3; }

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--display);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:active{ transform: translateY(1px); }
.btn:focus-visible{ outline: 3px solid var(--gold); outline-offset: 2px; }

.btn--primary{
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 6px 18px rgba(238,183,44,0.35);
}
.btn--primary:hover{ box-shadow: 0 8px 22px rgba(238,183,44,0.48); transform: translateY(-1px); }

.btn--outline{
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--outline:hover{ background: var(--navy); color: var(--white); }

.section--dark .btn--outline{ color: var(--white); border-color: rgba(255,255,255,0.55); }
.section--dark .btn--outline:hover{ background: var(--white); color: var(--navy); }

.btn--block{ width: 100%; }
.btn[disabled]{ opacity: 0.55; cursor: not-allowed; }

/* ---------- Nav ---------- */
.nav{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav .wrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 16px;
  gap: 16px;
}
.nav__brand{
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
}
.nav__brand strong{ color: var(--tan); }

.nav__links{
  display: none;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a{
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-soft);
}
.nav__links a:hover{ color: var(--navy); }

.nav__cta{ display: none; }

.nav__toggle{
  display: inline-flex;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav__toggle svg{ width: 20px; height: 20px; }

.nav__mobile{
  display: none;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 18px;
}
.nav__mobile.is-open{ display: flex; }
.nav__mobile a{
  padding: 12px 4px;
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  border-top: 1px solid var(--border);
}
.nav__mobile .btn{ margin-top: 12px; }

@media (min-width: 860px){
  .nav__links{ display: flex; }
  .nav__cta{ display: inline-flex; }
  .nav__toggle{ display: none; }
  .nav__mobile{ display: none !important; }
}

/* ---------- Hero ---------- */
.hero{
  padding-block: 56px 88px;
}
.hero .wrap{
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 900px){
  .hero .wrap{ grid-template-columns: 1.05fr 0.95fr; gap: 32px; }
}

.hero__copy h1{
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  line-height: 1.05;
}
.hero__tagline{
  font-family: var(--display);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--tan);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 14px;
}
.hero__lede{
  margin-top: 22px;
  font-size: 1.15rem;
  color: var(--text-soft);
  max-width: 46ch;
}
.hero__actions{
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__art{
  position: relative;
  display: flex;
  justify-content: center;
}
.hero__glow{
  position: absolute;
  inset: -10%;
  background: radial-gradient(closest-side, rgba(238,183,44,0.35), rgba(238,183,44,0) 70%);
  z-index: 0;
  filter: blur(2px);
}
.hero__art img{
  position: relative;
  z-index: 1;
  max-width: 460px;
  width: 100%;
  height: auto;
}

/* ---------- About the book ---------- */
.pillars{
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
  margin-top: 8px;
}
@media (min-width: 720px){
  .pillars{ grid-template-columns: repeat(3, 1fr); }
}
.pillar{
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.pillar__mark{
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--display);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.pillar h3{
  font-size: 1.02rem;
  letter-spacing: 0.02em;
}
.pillar p{
  margin-top: 10px;
  color: var(--text-soft);
  font-size: 0.98rem;
}

.book-desc{
  margin-top: 18px;
  color: var(--text-soft);
  max-width: 62ch;
  font-size: 1.05rem;
}

/* ---------- Author ---------- */
.author{
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 780px){
  .author{ grid-template-columns: 300px 1fr; }
}
.author__portrait{
  position: relative;
  width: 100%;
  max-width: 300px;
  margin-inline: auto;
}
.author__portrait img{
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 6px solid var(--white);
  box-shadow: 0 0 0 3px var(--gold), 0 20px 40px rgba(1,22,56,0.16);
}
.author__name{
  font-size: clamp(1.5rem, 3vw, 2rem);
}
.author__role{
  margin-top: 6px;
  font-family: var(--display);
  color: var(--tan);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.95rem;
}
.author__bio{
  margin-top: 18px;
  color: var(--text-soft);
  font-size: 1.05rem;
  max-width: 62ch;
}
.author__bio + .author__bio{ margin-top: 14px; }
.author__actions{
  margin-top: 26px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- Forms (guide + community) ---------- */
.split{
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  align-items: start;
}
@media (min-width: 860px){
  .split{ grid-template-columns: 1fr 1fr; gap: 60px; }
}

.form-card{
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
}
.section--dark .form-card{
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.18);
}

.form-card h3{
  font-size: 1.1rem;
  color: var(--navy);
}
.section--dark .form-card h3{ color: var(--white); }

.form-card p{
  margin-top: 10px;
  color: var(--text-soft);
  font-size: 0.96rem;
}
.section--dark .form-card p{ color: #cbd4e3; }

.field{
  margin-top: 20px;
}
.field label{
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-soft);
  margin-bottom: 8px;
}
.section--dark .field label{ color: #dbe3ef; }

.field input[type="email"],
.field input[type="text"]{
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  font-family: var(--body);
  font-size: 1rem;
  background: var(--white);
  color: var(--ink);
}
.field input:focus{ outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }

.form-note{
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--text-soft);
}
.section--dark .form-note{ color: #9fb0c7; }

.form-status{
  margin-top: 16px;
  font-size: 0.92rem;
  font-weight: 600;
  display: none;
}
.form-status.is-visible{ display: block; }
.form-status.is-success{ color: #1c7a4b; }
.section--dark .form-status.is-success{ color: #6fe3ab; }
.form-status.is-error{ color: #b3261e; }
.section--dark .form-status.is-error{ color: #ff9a90; }

.form-card form{ display: block; }
.form-card .success-panel{ display: none; }
.form-card.is-submitted form{ display: none; }
.form-card.is-submitted .success-panel{ display: block; }

.success-panel__icon{
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 700; font-size: 1.2rem;
  margin-bottom: 14px;
}

/* ---------- Order section ---------- */
.order-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 8px;
}
@media (min-width: 640px){
  .order-grid{ grid-template-columns: repeat(2, 1fr); }
}
.order-card{
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--white);
}
.order-card__format{
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--tan);
  font-size: 0.85rem;
}
.order-card h3{ font-size: 1.35rem; }
.order-card p{ color: var(--text-soft); font-size: 0.96rem; }
.order-card .btn{ margin-top: auto; }

/* ---------- Footer ---------- */
.footer{
  background: var(--ink);
  color: rgba(255,255,255,0.78);
  padding-block: 48px;
}
.footer .wrap{
  display: flex;
  flex-direction: column;
  gap: 22px;
}
@media (min-width: 700px){
  .footer .wrap{ flex-direction: row; justify-content: space-between; align-items: center; }
}
.footer__brand{
  font-family: var(--display);
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.95rem;
}
.footer__links{
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0; padding: 0;
  flex-wrap: wrap;
}
.footer__links a{ text-decoration: none; color: inherit; font-size: 0.9rem; }
.footer__links a:hover{ color: var(--gold); }
.footer__meta{ font-size: 0.82rem; color: rgba(255,255,255,0.5); }
