/* ═══════════════════════════════════════════════════════════════
   EmailGPT — for-business.css (loaded ONLY by /for-business/)
   The sales one-pager: same brand tokens as styles.css, its own
   layout. Prints to a clean two-page leave-behind (see @media print).
   All classes are .biz-* / .thread-* so nothing collides with the
   homepage styles.
   ═══════════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════
   HERO — dark, text-led, thread visual
══════════════════════════════════════ */
.biz-hero {
  position: relative;
  background: var(--ink);
  overflow: hidden;
  padding: clamp(56px, 8vw, 96px) 0 clamp(56px, 7vw, 88px);
}

.biz-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(13,148,136,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,148,136,.07) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 30% 30%, black 0%, transparent 72%);
  mask-image: radial-gradient(ellipse 75% 70% at 30% 30%, black 0%, transparent 72%);
}

.biz-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}

.biz-hero-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.biz-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--white);
}

.biz-hero-title em {
  font-style: italic;
  color: var(--teal-light);
}

.biz-hero-lead {
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  line-height: 1.65;
  color: rgba(255,255,255,.72);
  max-width: 54ch;
}

/* Who it is for. The client read the company framing above and asked whether
   the product was for a company or for one person; the answer is both, and it
   belongs next to the claim that raised the question. Quieter than the lead so
   the lead keeps the floor. */
.biz-hero-who {
  margin-top: 14px;
  font-size: clamp(0.92rem, 1.2vw, 1rem);
  line-height: 1.6;
  color: rgba(255,255,255,.58);
  max-width: 54ch;
}

.biz-hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
}

/* ── The signature: one thread, three languages ── */
.thread {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius-lg);
  padding: clamp(18px, 2.4vw, 28px);
  box-shadow: var(--shadow-xl);
}

.thread-cap {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 4px;
}

.thread-cap span {
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(255,255,255,.45);
  font-size: 0.8rem;
}

.thread-msg {
  background: #16202b;
  border: 1px solid rgba(255,255,255,.07);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.thread-meta {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.thread-who {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}

.thread-where {
  font-size: 0.74rem;
  color: rgba(255,255,255,.4);
}

.thread-where::before {
  content: '·';
  margin-right: 8px;
}

.thread-src {
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(255,255,255,.88);
}

.thread-tr,
.thread-draft {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--teal-light);
  border-top: 1px dashed rgba(255,255,255,.12);
  padding-top: 8px;
}

.thread-draft { color: var(--amber); }

.thread-ai {
  flex: none;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink);
  background: var(--teal-light);
  border-radius: 4px;
  padding: 2px 6px;
  margin-top: 2px;
  white-space: nowrap;
}

.thread-ai--amber { background: var(--amber); }

@media (prefers-reduced-motion: no-preference) {
  .thread-msg {
    animation: thread-in .5s ease both;
  }
  .thread-msg:nth-child(2) { animation-delay: .12s; }
  .thread-msg:nth-child(3) { animation-delay: .24s; }
  .thread-msg:nth-child(4) { animation-delay: .36s; }

  @keyframes thread-in {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
  }
}

/* ══════════════════════════════════════
   REAL NUMBERS
══════════════════════════════════════ */
.biz-numbers {
  padding: clamp(56px, 7vw, 96px) 0 clamp(40px, 5vw, 64px);
  background: var(--white);
}

.biz-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
}

.biz-stat {
  padding: 24px 24px 24px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.biz-stat + .biz-stat { padding-left: 24px; border-left: 1px solid var(--border); }

.biz-stat strong {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.6vw, 3.2rem);
  line-height: 1.05;
  font-weight: 400;
  color: var(--teal-dark);
}

.biz-stat span {
  font-size: 0.88rem;
  color: var(--ink-muted);
  max-width: 22ch;
}

.biz-stats-note {
  margin-top: 16px;
  font-size: 0.82rem;
  color: var(--ink-muted);
  font-style: italic;
}

/* ══════════════════════════════════════
   WHAT CHANGES — spec-sheet rows
══════════════════════════════════════ */
.biz-changes {
  padding: clamp(48px, 6vw, 80px) 0;
  background: var(--surface);
}

.biz-rows {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-dark);
}

.biz-row {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.6fr);
  gap: clamp(16px, 3vw, 48px);
  padding: 22px 0;
  border-bottom: 1px solid var(--border-dark);
}

.biz-row dt {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  line-height: 1.3;
  color: var(--ink);
}

.biz-row dd {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ink-light);
  max-width: 58ch;
  align-self: center;
}

/* ══════════════════════════════════════
   SECURITY — the deciding question
══════════════════════════════════════ */
.biz-security {
  padding: clamp(48px, 6vw, 80px) 0;
  background: var(--white);
}

.biz-security-card {
  background: var(--ink);
  border-radius: var(--radius-xl);
  padding: clamp(32px, 5vw, 56px);
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 40px);
  position: relative;
  overflow: hidden;
}

.biz-security-card::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 55%;
  height: 160%;
  background: radial-gradient(ellipse, rgba(13,148,136,.18) 0%, transparent 65%);
  pointer-events: none;
}

.biz-security-head {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 60ch;
}

.biz-security-head .section-kicker {
  background: rgba(252,211,77,.12);
  color: var(--amber);
  width: fit-content;
}

.biz-security-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  line-height: 1.15;
  color: var(--white);
}

.biz-security-head p {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255,255,255,.65);
}

.biz-security-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.biz-security-grid li {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.biz-security-grid h3 {
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--teal-light);
}

.biz-security-grid p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255,255,255,.7);
}

/* ══════════════════════════════════════
   HOW BUYING WORKS — a real sequence
══════════════════════════════════════ */
.biz-buy {
  padding: clamp(48px, 6vw, 80px) 0;
  background: var(--white);
}

.biz-steps {
  list-style: none;
  counter-reset: biz-step;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.biz-step {
  counter-increment: biz-step;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--white);
}

.biz-step::before {
  content: counter(biz-step);
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--white);
  background: var(--teal);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.biz-step h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}

.biz-step p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ink-muted);
}

/* ══════════════════════════════════════
   CTA BAND
══════════════════════════════════════ */
.biz-cta {
  padding: 0 0 clamp(56px, 7vw, 96px);
  background: var(--white);
}

.biz-cta-inner {
  background: var(--teal-dark);
  border-radius: var(--radius-xl);
  padding: clamp(36px, 5vw, 56px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.biz-cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  line-height: 1.15;
  color: var(--white);
}

.biz-cta-inner > p {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255,255,255,.85);
  max-width: 52ch;
}

/* ── Demo request form ──────────────────────────────────────────────────────
   Replaces the mailto: CTA. Sits on the teal closing band, so the fields are
   translucent white on teal rather than the page's usual light-on-white. */
.demo-form {
  margin-top: 20px;
  max-width: 620px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.demo-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.demo-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.demo-field label {
  font-size: 0.86rem;
  font-weight: 600;
  color: rgba(255,255,255,.9);
}

.demo-opt {
  font-weight: 400;
  color: rgba(255,255,255,.55);
}

.demo-field input,
.demo-field textarea {
  font: inherit;
  font-size: 0.95rem;
  color: var(--white);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 8px;
  padding: 10px 12px;
  width: 100%;
  resize: vertical;
}

.demo-field input:focus-visible,
.demo-field textarea:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
  background: rgba(255,255,255,.18);
}

.demo-field input::placeholder,
.demo-field textarea::placeholder { color: rgba(255,255,255,.5); }

/* The honeypot must be unreachable by a person: off-screen rather than
   display:none, because some bots skip anything that is display:none. */
.demo-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.demo-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 2px;
}

.demo-status {
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
}

.demo-status.is-ok {
  background: rgba(255,255,255,.16);
  color: var(--white);
}

.demo-status.is-bad {
  background: rgba(0,0,0,.22);
  color: rgba(255,255,255,.95);
}

@media (max-width: 640px) {
  .demo-row { grid-template-columns: 1fr; }
}

.biz-cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

.biz-btn-light {
  background: var(--white);
  color: var(--teal-dark);
  box-shadow: var(--shadow-md);
}

.biz-btn-light:hover,
.biz-btn-light:focus-visible {
  background: var(--teal-muted);
  transform: translateY(-2px);
}

.biz-cta-alt {
  font-size: 0.92rem;
  color: rgba(255,255,255,.85);
}

.biz-cta-alt a {
  color: var(--white);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1024px) {
  .biz-stats { grid-template-columns: repeat(2, 1fr); }

  /* With two columns the 2nd row's left cell must not draw a left border. */
  .biz-stat + .biz-stat { padding-left: 24px; border-left: 1px solid var(--border); }
  .biz-stat:nth-child(odd) { border-left: none; padding-left: 0; }

  .biz-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .biz-hero-inner { grid-template-columns: 1fr; }

  .biz-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .biz-security-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .biz-hero-cta { flex-direction: column; align-items: stretch; }
  .biz-hero-cta .btn { justify-content: center; }
  .biz-stats { grid-template-columns: 1fr; }
  .biz-stat,
  .biz-stat + .biz-stat { border-left: none; padding-left: 0; }
  .biz-steps { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════
   PRINT — the page IS the leave-behind.
   A salesperson prints this to PDF and
   sends it after a meeting.
══════════════════════════════════════ */
@media print {
  .site-nav,
  .biz-hero-bg,
  .biz-hero-cta,
  .biz-cta,
  .site-footer { display: none; }

  body { background: #fff; }

  .biz-hero {
    background: #fff;
    padding: 0 0 16px;
  }

  .biz-hero-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .biz-hero-title { color: #0f1923; font-size: 2rem; }
  .biz-hero-title em { color: #0a7168; }
  .biz-hero-lead { color: #334155; }

  .badge {
    color: #0a7168;
    background: none;
    border-color: #0a7168;
  }

  .badge::before { display: none; }

  .thread {
    background: #fff;
    border: 1px solid #cbd5e1;
    box-shadow: none;
  }

  .thread-cap { color: #b45309; }
  .thread-cap span { color: #64748b; }

  .thread-msg {
    background: #fff;
    border-color: #e2e8f0;
    border-left-color: #0d9488;
    break-inside: avoid;
  }

  .thread-who { color: #0f1923; }
  .thread-where { color: #64748b; }
  .thread-src { color: #0f1923; }
  .thread-tr { color: #0a7168; border-top-color: #e2e8f0; }
  .thread-draft { color: #b45309; border-top-color: #e2e8f0; }
  .thread-ai { color: #fff; background: #0a7168; }
  .thread-ai--amber { background: #b45309; }

  .biz-numbers,
  .biz-changes,
  .biz-buy { padding: 16px 0; background: #fff; }

  .biz-stat strong { color: #0a7168; }

  .biz-security { padding: 16px 0; }

  .biz-security-card {
    background: #fff;
    border: 1px solid #cbd5e1;
    break-inside: avoid;
  }

  .biz-security-card::before { display: none; }
  .biz-security-head h2 { color: #0f1923; }
  .biz-security-head p { color: #334155; }
  .biz-security-head .section-kicker { background: none; border: 1px solid #b45309; color: #b45309; }

  .biz-security-grid li {
    background: #fff;
    border-color: #e2e8f0;
    break-inside: avoid;
  }

  .biz-security-grid h3 { color: #0a7168; }
  .biz-security-grid p { color: #334155; }

  .biz-row,
  .biz-step { break-inside: avoid; }

  .section-header { margin-bottom: 16px; }

  /* Print keeps the contact line even though buttons are hidden. */
  .biz-buy .container::after {
    content: 'Book a demo: hello@aurelight.com · emailgpt.aurelight.com/for-business';
    display: block;
    margin-top: 20px;
    padding-top: 12px;
    border-top: 1px solid #cbd5e1;
    font-size: 0.9rem;
    font-weight: 600;
    color: #0a7168;
  }
}
