/* Dial — dialcoach.ai  ·  Brand v0.1: charcoal/ivory/amber, Space Grotesk */

@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/fonts/space-grotesk.woff2') format('woff2');
}

:root {
  --charcoal: #0F1113;
  --graphite: #23262B;
  --slate: #5A5F66;
  --ivory: #F5F5F2;
  --amber: #FFB020;
  --text-dim: #B9BDC2;
  --text-faint: #8A8F96;
  --ink: #3E4348;
  --line-dark: #33373D;
  --line-light: #E3E3DE;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

::selection { background: var(--amber); color: var(--charcoal); }

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

body {
  font-family: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  background: var(--charcoal);
  color: var(--ivory);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--amber); color: var(--charcoal);
  padding: 10px 16px; font-weight: 600; z-index: 100;
}
.skip-link:focus { left: 0; }

/* ---------- Wordmark ---------- */
.wordmark { font-size: 1.375rem; font-weight: 700; letter-spacing: -0.02em; color: var(--ivory); }
.wordmark .dot { color: var(--amber); }

/* ---------- Nav ---------- */
.site-header { position: relative; }
.nav-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px; max-width: 1120px; margin: 0 auto;
}
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { color: var(--text-dim); font-size: 0.9375rem; font-weight: 500; transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ivory); }

.nav-toggle { display: none; }
.nav-toggle-label { display: none; cursor: pointer; padding: 8px; }
.nav-toggle-label span {
  display: block; width: 22px; height: 2px; border-radius: 2px;
  background: var(--text-dim); margin: 5px 0; transition: transform .25s, opacity .25s;
}

@media (max-width: 720px) {
  .nav-toggle-label { display: block; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--graphite); flex-direction: column; gap: 0;
    border-top: 1px solid var(--line-dark);
    padding: 8px 0; z-index: 50; box-shadow: 0 16px 40px rgba(0,0,0,.4);
  }
  .nav-links a { display: block; padding: 14px 24px; width: 100%; font-size: 1.0625rem; }
  .nav-toggle:checked ~ .nav-links { display: flex; }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- Hero ---------- */
.hero { display: flex; align-items: center; gap: 56px; padding: 56px 24px 88px; max-width: 1120px; margin: 0 auto; }
.hero-copy { flex: 1; min-width: 0; }
.dial-mark { width: 44px; height: 44px; margin-bottom: 24px; }
.eyebrow {
  font-size: 0.8125rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--amber); font-weight: 600; margin-bottom: 16px;
}
.hero h1 { font-size: clamp(2.25rem, 5.5vw, 3.5rem); font-weight: 700; line-height: 1.08; letter-spacing: -0.03em; text-wrap: balance; }
.hero .sub { font-size: 1.1875rem; color: var(--text-dim); margin-top: 20px; max-width: 480px; text-wrap: pretty; }
.cta-row { margin-top: 32px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.cta {
  display: inline-block; background: var(--amber); color: var(--charcoal);
  font-weight: 600; font-size: 1rem; padding: 14px 28px; border-radius: 10px;
  transition: filter .2s, transform .15s, box-shadow .2s;
}
.cta:hover { filter: brightness(1.06); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(255,176,32,.25); }
.cta:active { transform: translateY(0); box-shadow: none; }
.cta-ghost { color: var(--text-dim); font-size: 0.9375rem; font-weight: 500; padding: 14px 12px; }
.cta-ghost:hover { color: var(--ivory); }
.status-line { font-size: 0.8125rem; color: var(--text-faint); margin-top: 16px; }

.phone {
  width: 320px; flex-shrink: 0; border-radius: 42px;
  border: 8px solid var(--graphite); overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.phone img { width: 100%; height: auto; }

@media (max-width: 880px) {
  .hero { flex-direction: column; padding-top: 32px; padding-bottom: 56px; gap: 44px; }
  .phone { width: min(260px, 70vw); }
}

/* ---------- Trust strip ---------- */
.strip { background: var(--graphite); padding: 22px 24px; }
.strip-inner {
  max-width: 1120px; margin: 0 auto;
  display: flex; gap: 40px; justify-content: center; flex-wrap: wrap;
}
.strip-item { font-size: 0.9375rem; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.strip-item::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); flex-shrink: 0;
}

#product, #how, #about { scroll-margin-top: 32px; }

/* ---------- Light sections ---------- */
.light { background: var(--ivory); color: var(--charcoal); }
.section { padding: 88px 24px; max-width: 1120px; margin: 0 auto; }
.section h2 { font-size: clamp(1.75rem, 4vw, 2.375rem); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 14px; text-wrap: balance; }
.lede { font-size: 1.125rem; color: var(--slate); max-width: 640px; margin-bottom: 52px; text-wrap: pretty; }

.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; }
.pillar h3 { font-size: 1.25rem; font-weight: 600; margin: 18px 0 10px; }
.pillar p { font-size: 0.9375rem; color: var(--ink); max-width: 60ch; text-wrap: pretty; }
.pillar-icon {
  width: 40px; height: 40px; border-radius: 10px; background: var(--charcoal);
  display: flex; align-items: center; justify-content: center;
}
@media (max-width: 880px) { .pillar-grid { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 720px) {
  .section { padding: 64px 24px; }
  .strip { padding: 18px 24px; }
  .strip-inner { flex-direction: column; gap: 12px; align-items: center; }
}

/* ---------- How it works ---------- */
.how-card { background: #fff; border: 1px solid var(--line-light); border-radius: 20px; padding: 48px; box-shadow: 0 1px 2px rgba(15,17,19,.04), 0 12px 32px rgba(15,17,19,.05); }
.how-card h2 { font-size: 1.75rem; margin-bottom: 36px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.step .num { font-size: 0.875rem; font-weight: 700; color: var(--slate); margin-bottom: 8px; }
.step h3 { font-size: 1.0625rem; font-weight: 600; margin-bottom: 6px; }
.step p { font-size: 0.875rem; color: var(--ink); max-width: 52ch; text-wrap: pretty; }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr 1fr; } .how-card { padding: 32px; } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }

/* ---------- About section / entity card ---------- */
.about-cols { display: flex; gap: 64px; }
.about-cols .col-text { flex: 1.2; }
.about-cols .col-card { flex: 1; }
.about-cols p { font-size: 1rem; color: var(--text-dim); margin-bottom: 18px; max-width: 60ch; text-wrap: pretty; }
.about-cols p strong, .about-cols p a { color: var(--ivory); font-weight: 500; }
.about-cols a:hover { color: var(--amber); }

.entity-card { background: var(--graphite); border-radius: 16px; padding: 32px; }
.entity-card h3 {
  font-size: 0.8125rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--amber); font-weight: 600; margin-bottom: 14px;
}
.entity-row {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 12px 0; border-bottom: 1px solid var(--line-dark); font-size: 0.9375rem;
}
.entity-row:last-child { border-bottom: none; }
.entity-row .k { color: var(--text-faint); }
.entity-row .v { color: var(--ivory); font-weight: 500; text-align: right; }
.entity-row .v a:hover { color: var(--amber); }

@media (max-width: 880px) { .about-cols { flex-direction: column; gap: 40px; } }

/* ---------- Footer ---------- */
.site-footer { background: #0A0C0D; border-top: 1px solid #1A1D20; padding: 56px 24px; color: var(--text-faint); font-size: 0.875rem; }
.footer-inner { max-width: 1120px; margin: 0 auto; display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.footer-brand .wordmark { font-size: 1.125rem; margin-bottom: 10px; }
.footer-brand p { max-width: 320px; }
.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-cols h4 {
  color: var(--ivory); font-size: 0.8125rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 12px;
}
.footer-cols li { margin-bottom: 8px; }
.footer-cols a:hover { color: var(--ivory); }

/* ---------- Doc pages (about / privacy / support) ---------- */
.doc-main { background: var(--ivory); color: var(--charcoal); }
.doc-body { max-width: 760px; margin: 0 auto; padding: 64px 24px 96px; }
.doc-body h1 { font-size: clamp(2rem, 5vw, 2.5rem); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 8px; }
.doc-meta { font-size: 0.875rem; color: var(--slate); margin-bottom: 36px; }
.doc-body h2 { font-size: 1.25rem; font-weight: 600; margin: 32px 0 10px; }
.doc-body p, .doc-body li { font-size: 1rem; color: var(--ink); margin-bottom: 12px; max-width: 68ch; text-wrap: pretty; }
.doc-body ul { list-style: disc; padding-left: 22px; }
.doc-body ul li { margin-bottom: 8px; }
.doc-body a { font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.doc-body a:hover { color: var(--amber); }

.contact-card {
  background: #fff; border: 1px solid var(--line-light); border-radius: 14px;
  padding: 28px; margin: 24px 0 36px;
}
.contact-card h2 { margin-top: 0; }
.mail-btn {
  display: inline-block; margin-top: 12px; background: var(--charcoal); color: var(--ivory);
  padding: 12px 20px; border-radius: 8px; font-size: 0.9375rem; font-weight: 500;
  text-decoration: none !important;
}
.mail-btn:hover { color: var(--amber); }

.faq { border-bottom: 1px solid var(--line-light); padding: 18px 0; }
.faq:last-of-type { border-bottom: none; }
.faq h3 { font-size: 1.0313rem; font-weight: 600; margin-bottom: 6px; }
.faq p { margin-bottom: 0; }
