/* ===========================================================
   Vondrai — shared brand stylesheet
   Warm & approachable / encouraging mentor
   Fonts: Fraunces (display) + Karla (body/UI)
   =========================================================== */

:root{
  /* palette — see Vondrai_Brand_Guide_v1.md */
  --cream: #FBF3E8;
  --cream-deep: #F3E4D0;
  --charcoal: #3A322C;
  --charcoal-soft: #6B6055;
  --muted: #8A7F72;
  --line: #E4D8C6;
  --terracotta: #C1694A;
  --terracotta-deep: #A6512F;
  --sage: #5B6E52;
  --sage-deep: #47573F;
  --gold: #DDA83B;
  --gold-deep: #BB8A28;

  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --body: 'Karla', system-ui, -apple-system, sans-serif;
}

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }

body{
  background:var(--cream);
  color:var(--charcoal);
  font-family:var(--body);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
  min-height:100vh;
  display:flex;
  flex-direction:column;
}

a { color:inherit; }

.wrap{
  max-width:1080px;
  margin:0 auto;
  padding:0 32px;
  width:100%;
}

/* ---------- NAV ---------- */
header.nav{
  position:relative;
  z-index:10;
  padding:36px 0 0;
}
.nav-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.logo{
  font-family:var(--display);
  font-weight:600;
  font-size:1.25rem;
  letter-spacing:0.01em;
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color:var(--charcoal);
}
.logo-mark{
  width:28px;
  height:28px;
  display:block;
}
.nav-links{
  display:flex;
  gap:28px;
  font-family:var(--body);
  font-size:0.85rem;
  font-weight:500;
  letter-spacing:0.03em;
  color:var(--charcoal-soft);
}
.nav-links a{ text-decoration:none; }
.nav-links a:hover{ color:var(--terracotta); }

/* ---------- HERO ---------- */
.hero{
  position:relative;
  padding:100px 0 90px;
  text-align:center;
}
.eyebrow{
  font-family:var(--body);
  font-weight:700;
  font-size:0.78rem;
  letter-spacing:0.16em;
  color:var(--terracotta);
  text-transform:uppercase;
  margin-bottom:26px;
}
h1{
  font-family:var(--display);
  font-weight:600;
  font-size:clamp(2.6rem, 6vw, 4.6rem);
  line-height:1.08;
  letter-spacing:-0.01em;
  max-width:820px;
  margin:0 auto 24px;
  color:var(--charcoal);
}
h1 em{
  font-style:normal;
  color:var(--terracotta);
}
.lede{
  font-family:var(--body);
  font-size:1.1rem;
  color:var(--charcoal-soft);
  max-width:540px;
  margin:0 auto;
}

/* hero mark: the Vondrai sunrise, settling in piece by piece */
.hero-mark{
  width:180px;
  height:180px;
  margin:52px auto 0;
  display:block;
}
.hero-mark .settle{
  opacity:0;
  transform:scale(0.5);
  transform-box:fill-box;
  transform-origin:center;
  animation:settle 700ms cubic-bezier(.2,.8,.2,1) forwards;
}
.hero-mark .s-dome{ animation-delay:0ms; }
.hero-mark .s-base{ animation-delay:120ms; }
.hero-mark .s-dot{ animation-delay:220ms; }
.hero-mark .s-ray1{ animation-delay:320ms; }
.hero-mark .s-ray2{ animation-delay:380ms; }
.hero-mark .s-ray3{ animation-delay:440ms; }
.hero-mark .s-ray4{ animation-delay:500ms; }
.hero-mark .s-ray5{ animation-delay:560ms; }
@keyframes settle{
  to{ opacity:1; transform:scale(1); }
}
@media (prefers-reduced-motion: reduce){
  .hero-mark .settle{ animation:none; opacity:1; transform:scale(1); }
}

/* confirmation-page mark: a single, calmer settle */
.mark{
  width:72px;
  height:72px;
  margin:44px auto 0;
  display:block;
  opacity:0;
  transform:scale(0.6);
  animation:settle 650ms cubic-bezier(.2,.8,.2,1) forwards;
}
@media (prefers-reduced-motion: reduce){
  .mark{ animation:none; opacity:1; transform:scale(1); }
}

/* ---------- WHY ---------- */
.why{
  padding:76px 0;
  background:var(--cream-deep);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.why-grid{
  display:grid;
  grid-template-columns:1fr 1.4fr;
  gap:60px;
  align-items:start;
}
.why-label{
  font-family:var(--body);
  font-weight:700;
  font-size:0.78rem;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:var(--terracotta);
}
.why-copy p{
  font-family:var(--display);
  font-weight:400;
  font-size:1.25rem;
  color:var(--charcoal);
  max-width:540px;
}
.why-copy p + p{
  margin-top:20px;
  font-family:var(--body);
  color:var(--charcoal-soft);
  font-size:1.02rem;
}
@media (max-width: 720px){
  .why-grid{ grid-template-columns:1fr; gap:24px; }
}

/* ---------- BENCH (toolkit shelf) ---------- */
.bench{ padding:86px 0; }
.bench-head{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  margin-bottom:40px;
  flex-wrap:wrap;
  gap:10px;
}
.bench-head h2{
  font-family:var(--display);
  font-weight:600;
  font-size:1.7rem;
  color:var(--charcoal);
}
.bench-head span{
  font-family:var(--body);
  font-size:0.85rem;
  color:var(--muted);
}
.shelf{
  display:grid;
  grid-template-columns:repeat(5, 1fr);
  gap:1px;
  background:var(--line);
  border:1px solid var(--line);
  border-radius:12px;
  overflow:hidden;
}
.slot{
  background:var(--cream);
  padding:28px 18px;
  min-height:150px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  transition:background 220ms ease;
}
.slot:hover{ background:var(--cream-deep); }
.slot-mark{
  width:22px;
  height:22px;
  border-radius:50%;
  background:var(--terracotta);
}
.slot:nth-child(2) .slot-mark{ background:var(--sage); }
.slot:nth-child(3) .slot-mark{ background:var(--gold); }
.slot:nth-child(4) .slot-mark{ background:var(--sage); }
.slot:nth-child(5) .slot-mark{ background:var(--terracotta); }
.slot-name{
  font-family:var(--display);
  font-weight:600;
  font-size:0.98rem;
  margin-top:20px;
  color:var(--charcoal);
}
.slot-status{
  font-family:var(--body);
  font-size:0.75rem;
  color:var(--muted);
  letter-spacing:0.03em;
  margin-top:6px;
}
@media (max-width: 860px){
  .shelf{ grid-template-columns:repeat(2, 1fr); }
}

/* ---------- SIGNUP ---------- */
.signup{
  padding:86px 0 96px;
  text-align:center;
  background:var(--cream-deep);
  border-top:1px solid var(--line);
}
.signup h2{
  font-family:var(--display);
  font-weight:600;
  font-size:clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom:16px;
  color:var(--charcoal);
}
.signup p{
  color:var(--charcoal-soft);
  max-width:460px;
  margin:0 auto 34px;
}
form{
  display:flex;
  justify-content:center;
  gap:10px;
  max-width:440px;
  margin:0 auto;
  flex-wrap:wrap;
}
input[type="email"]{
  flex:1;
  min-width:220px;
  background:var(--cream);
  border:1px solid var(--line);
  color:var(--charcoal);
  font-family:var(--body);
  font-size:1rem;
  padding:14px 18px;
  border-radius:8px;
  outline:none;
  transition:border-color 150ms ease;
}
input[type="email"]:focus{ border-color:var(--terracotta); }
input[type="email"]::placeholder{ color:var(--muted); }
button.cta{
  background:var(--terracotta);
  color:var(--cream);
  border:none;
  font-family:var(--body);
  font-weight:700;
  font-size:0.95rem;
  padding:14px 26px;
  border-radius:8px;
  cursor:pointer;
  transition:background 150ms ease, transform 150ms ease;
}
button.cta:hover{ background:var(--terracotta-deep); transform:translateY(-1px); }
button.cta:focus-visible{ outline:2px solid var(--charcoal); outline-offset:2px; }
.form-note{
  font-family:var(--body);
  font-size:0.8rem;
  color:var(--muted);
  margin-top:16px;
}

/* ---------- CONFIRMATION ---------- */
.confirm{
  flex:1;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:80px 0;
}
.back-link{
  display:inline-block;
  margin-top:40px;
  font-family:var(--body);
  font-weight:500;
  font-size:0.85rem;
  letter-spacing:0.02em;
  color:var(--muted);
  text-decoration:none;
  border-bottom:1px solid var(--line);
  padding-bottom:2px;
  transition:color 150ms ease, border-color 150ms ease;
}
.back-link:hover{
  color:var(--terracotta);
  border-color:var(--terracotta);
}

/* ---------- FOOTER ---------- */
footer{
  border-top:1px solid var(--line);
  padding:32px 0;
}
.footer-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:14px;
}
.footer-inner p{
  font-family:var(--body);
  font-size:0.8rem;
  color:var(--muted);
}
.socials{
  display:flex;
  gap:20px;
  font-family:var(--body);
  font-weight:500;
  font-size:0.8rem;
  letter-spacing:0.01em;
}
.socials a{ text-decoration:none; color:var(--charcoal-soft); }
.socials a:hover{ color:var(--terracotta); }
