/* Wait Training — marketing site styles */
:root {
  --terracotta: #C4622D;
  --terracotta-dark: #A6521F;
  --sage: #4A7A5C;
  --sage-tint: #EBF2EC;
  --cream: #F5F0E8;
  --forest: #1F2B1F;
  --white: #FFFFFF;
  --linen: #E8E0D4;
  --ember: #F97316;
  --text-secondary: #5b6660;
  --text-muted: #9aa29c;
  --border: rgba(31, 43, 31, 0.12);
  --shadow: 0 18px 48px rgba(31, 43, 31, 0.14);
  --radius: 18px;
  --maxw: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--forest);
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: 'Nunito', sans-serif; font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 0.4em; }
h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); font-weight: 900; }
h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: var(--terracotta); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.eyebrow { font-family: 'DM Mono', monospace; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.72rem; color: var(--terracotta); margin-bottom: 14px; }
.muted { color: var(--text-secondary); }
.center { text-align: center; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 0.98rem;
  padding: 13px 22px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .12s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--terracotta); color: #fff; }
.btn-primary:hover { background: var(--terracotta-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--forest); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--forest); color: var(--forest); }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--sage-tint); color: var(--sage);
  font-weight: 600; font-size: 0.85rem; padding: 8px 15px; border-radius: 999px;
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sage); }

/* Header */
header.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(245, 240, 232, 0.85); backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 1.12rem; color: var(--forest); }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav-links { display: flex; align-items: center; gap: 26px; font-weight: 500; }
.nav-links a { color: var(--forest); font-size: 0.95rem; }
.nav-links a:hover { color: var(--terracotta); text-decoration: none; }

/* Hero */
.hero { padding: clamp(40px, 7vw, 86px) 0 28px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: 0.3em; }
.hero .lead { font-size: 1.18rem; color: var(--text-secondary); max-width: 30ch; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 26px; }
.hero-shot { display: flex; justify-content: center; }

/* Phone screenshot */
.shot { border-radius: 34px; box-shadow: var(--shadow); border: 1px solid var(--border); overflow: hidden; background: var(--cream); }
.shot.lg { width: min(300px, 78vw); }
.shot.md { width: 100%; }

/* Sections */
section { padding: clamp(46px, 7vw, 82px) 0; }
.section-head { max-width: 36ch; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Story */
.story-card {
  background: var(--white); border-radius: 26px; padding: clamp(28px, 5vw, 52px);
  box-shadow: var(--shadow); border-left: 6px solid var(--terracotta); position: relative;
}
.story-card p { font-size: 1.12rem; }
.story-card .sig { font-family: 'Nunito', sans-serif; font-weight: 800; color: var(--terracotta); margin-top: 6px; }
.quote {
  margin: 26px 0 6px; padding: 18px 24px; background: var(--sage-tint); border-radius: 14px;
  font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 1.1rem; color: var(--sage);
}
.brew { font-family: 'DM Mono', monospace; font-weight: 500; color: var(--terracotta); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.step { text-align: center; }
.step .shot { margin: 0 auto 22px; width: min(240px, 70vw); }
.step .n { font-family: 'DM Mono', monospace; color: var(--terracotta); font-weight: 500; letter-spacing: 0.1em; font-size: 0.8rem; }
.step h3 { margin-top: 6px; }
.step p { color: var(--text-secondary); font-size: 0.98rem; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.feature .ico { width: 40px; height: 40px; border-radius: 11px; background: rgba(196,98,45,0.10); display: grid; place-items: center; margin-bottom: 14px; }
.feature .ico svg { width: 22px; height: 22px; stroke: var(--terracotta); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 1.05rem; margin-bottom: 6px; }
.feature p { color: var(--text-secondary); font-size: 0.95rem; margin: 0; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.gallery figure { margin: 0; text-align: center; }
.gallery .shot { width: 100%; margin-bottom: 14px; }
.gallery figcaption { color: var(--text-secondary); font-size: 0.92rem; }

/* CTA band */
.cta-band { background: var(--terracotta); color: #fff; border-radius: 28px; padding: clamp(34px, 6vw, 60px); text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.9); max-width: 44ch; margin: 0 auto 26px; }
.cta-band .pill { background: rgba(255,255,255,0.16); color: #fff; }
.cta-band .pill .dot { background: #fff; }
.cta-band .btn-light { background: #fff; color: var(--terracotta); }
.cta-band .btn-light:hover { background: var(--cream); color: var(--terracotta-dark); }

/* Legal / content pages */
.page-head { padding: clamp(40px, 6vw, 72px) 0 10px; }
.legal { max-width: 720px; margin: 0 auto; padding-bottom: 60px; }
.legal h2 { font-size: 1.3rem; margin-top: 1.8em; }
.legal h3 { font-size: 1.08rem; margin-top: 1.4em; }
.legal p, .legal li { color: var(--text-secondary); }
.legal .updated { font-family: 'DM Mono', monospace; font-size: 0.82rem; color: var(--text-muted); }
.legal a { font-weight: 500; }
.legal .lead { font-size: 1.12rem; color: var(--forest); }
.faq { border-top: 1px solid var(--border); padding: 22px 0; }
.faq:last-child { border-bottom: 1px solid var(--border); }
.faq h3 { margin: 0 0 6px; color: var(--forest); }
.faq p { margin: 0; }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 40px 0 60px; margin-top: 20px; }
.foot-grid { display: flex; flex-wrap: wrap; gap: 18px 40px; align-items: center; justify-content: space-between; }
.foot-links { display: flex; flex-wrap: wrap; gap: 22px; }
.foot-links a { color: var(--forest); font-weight: 500; font-size: 0.95rem; }
.foot-note { color: var(--text-muted); font-size: 0.85rem; margin-top: 22px; }

/* Responsive */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-shot { order: -1; }
  .steps { grid-template-columns: 1fr; gap: 44px; max-width: 360px; margin: 0 auto; }
  .features { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .nav-links .hide-sm { display: none; }
}
