/* Echo marketing site — page-specific layout only.
   Buttons/inputs/chips/tags/the topbar+footer chrome itself all come from
   chrome.css / buttons.css / forms.css (In&Out Consulting's canonical design
   system, reused as-is for speed — see docs/GO-TO-MARKET.md Phase 4 in the
   Reply repo). Nothing button/input/chip-shaped belongs in this file. */

.container { max-width: 1120px; margin: 0 auto; padding: 0 32px; }

/* Smaller footer than chrome.css's default 4-column career-platform layout —
   Echo only needs a brand block + two link columns, at the same 1120px width
   as the rest of the page (chrome.css's own default is 1280px). */
.site-footer .footer-inner { max-width: 1120px; grid-template-columns: 280px 1fr 1fr; }
@media (max-width: 700px) {
  .site-footer .footer-inner { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- Hero ---------- */
.hero { padding: 96px 0 80px; text-align: center; }
.hero .hero-kicker { display: inline-flex; }
.hero h1 {
  font-size: 56px; max-width: 20ch; margin: 0 auto 20px;
  text-wrap: balance;
}

/* "minutes" strikes itself out, "seconds" lands a beat later — a one-time
   entrance moment, not a loop, so it reads as emphasis rather than a gimmick. */
.hero h1 .struck {
  position: relative;
  display: inline-block;
}
.hero h1 .struck::after {
  content: '';
  position: absolute;
  left: -2px; right: -2px; top: 52%;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  animation: strike-in 0.45s ease-out 0.7s forwards;
}
.hero h1 .reveal {
  display: inline-block;
  color: var(--brand);
  opacity: 0;
  transform: translateY(8px);
  animation: reveal-in 0.4s ease-out 1.1s forwards;
}

/* ---------- Word cycle (hero H1) ---------- */
#hero-word { display: inline-block; }
@keyframes hero-word-out { to   { opacity: 0; transform: translateY(-6px); } }
@keyframes hero-word-in  { from { opacity: 0; transform: translateY(6px);  } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { #hero-word { animation: none !important; } }
@keyframes strike-in { to { transform: scaleX(1); } }
@keyframes reveal-in { to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .hero h1 .struck::after, .hero h1 .reveal { animation: none; }
  .hero h1 .struck::after { transform: scaleX(1); }
  .hero h1 .reveal { opacity: 1; transform: none; }
}
.hero .lead {
  font-size: 18px; color: var(--ink-2); max-width: 56ch;
  margin: 0 auto 36px; line-height: 1.6;
}
.hero .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .smartscreen-note {
  margin: 18px auto 0; max-width: 46ch; font-size: 12.5px; color: var(--muted); line-height: 1.6;
}

/* ---------- Mode pills under the hero (Direct / Add context / Template) ---------- */
.mode-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 44px; }

/* ---------- Platforms / works-everywhere band ---------- */
.platform-section { text-align: center; }
.platform-section h2 { font-size: 36px; max-width: 24ch; margin: 0 auto 14px; text-wrap: balance; }
.platform-chips { display: flex; gap: 10px; justify-content: center; margin-bottom: 28px; }

/* Real app icons (Simple Icons, CC0-licensed, self-hosted in assets/icons/ —
   fetched once, no live hotlinking) used descriptively to show compatibility.
   These are not client logos and imply no partnership/endorsement. */
.icon-badge {
  width: 56px; height: 56px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(15,23,42,0.06);
  flex-shrink: 0;
  transition: transform .18s ease, box-shadow .18s ease;
}
.icon-badge img { width: 26px; height: 26px; display: block; }
.icon-cloud-caption { font-size: 13.5px; color: var(--muted); margin: 18px 0 0; text-align: center; }

/* ---------- Icon wave (Section 2 — "draft faster in all your apps") ----------
   An infinite horizontal marquee (the track is the icon set duplicated once,
   translated by exactly -50% so the loop point is invisible) with each badge
   bobbing on its own offset, so the row reads as a wave travelling through the
   icons rather than a flat scroll. A fixed inline --i index (not nth-child)
   keeps the stagger correct across the duplicated half too. */
.icon-wave {
  padding: 28px 0 8px;
}
.icon-wave-track {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0 32px;
}
.icon-wave .icon-badge:hover { transform: translateY(-3px) scale(1.06); box-shadow: 0 10px 22px rgba(15,23,42,0.10); }

/* ---------- "Three ways to draft" cards ---------- */
.mode-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 860px) { .mode-grid { grid-template-columns: 1fr; } }
.mode-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px;
}
.mode-card .step { font-family: "JetBrains Mono", monospace; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: var(--brand-deep); text-transform: uppercase; }
.mode-card .mode-pill {
  display: inline-flex; align-items: center;
  padding: 4px 12px; border-radius: 999px;
  background: var(--brand); color: #fff;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
}
.mode-card h3 { font-size: 17px; margin: 10px 0 8px; }
.mode-card p { font-size: 14px; margin: 0 0 14px; }
.mode-card .hotkey {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: "JetBrains Mono", monospace; font-size: 12px; font-weight: 600;
  background: var(--bg-soft); color: var(--ink-2);
  padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line);
}

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 760px; margin: 0 auto; }
@media (max-width: 700px) { .pricing-grid { grid-template-columns: 1fr; } }
.pricing-grid-3 { grid-template-columns: repeat(3, 1fr); max-width: 1040px; }
@media (max-width: 900px) { .pricing-grid-3 { grid-template-columns: 1fr; max-width: 420px; } }
.price-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px; position: relative;
}
.price-card.is-featured { border-color: var(--brand); box-shadow: var(--sel-active-ring); }
.price-card-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: #fff; font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 999px;
}
.price-card .plan-name { font-size: 15px; font-weight: 700; margin: 0 0 4px; }
.price-card .plan-amount { font-size: 40px; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 4px; }
.price-card .plan-amount span { font-size: 15px; font-weight: 500; color: var(--muted); }
.price-card .plan-cap { font-size: 13px; color: var(--muted); margin: 0 0 24px; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 10px; }
.price-card li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.price-card li svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: var(--brand-deep); }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }

/* ---------- Legal pages (Terms / Privacy / Impressum) ---------- */
.legal-page { padding: 64px 0 96px; }
.legal-page .legal-head { margin-bottom: 40px; }
.legal-page .legal-head .updated { font-size: 13px; color: var(--muted); margin-top: 8px; }
.legal-body { max-width: 72ch; }
.legal-body h2 { font-size: 22px; margin: 40px 0 12px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { font-size: 15px; color: var(--ink-2); line-height: 1.7; }
.legal-body ul { padding-left: 22px; margin: 0 0 16px; }
.legal-body a { color: var(--brand-deep); text-decoration: underline; }
.legal-callout {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 20px; font-size: 13.5px; color: var(--ink-2); margin: 0 0 32px;
}
.placeholder { background: var(--tag-warn-bg); color: var(--tag-warn-fg); padding: 1px 6px; border-radius: 4px; font-weight: 600; }
