/* ==========================================================
   Sondr product page — /sondr
   Loaded after styles.css; reuses its tokens (--signal, --panel, --rule, ...).
   No inline styles anywhere: the CSP forbids them, so everything lives here.
   ========================================================== */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 60;
  background: var(--signal);
  color: #00171C;
  padding: 10px 16px;
  border-radius: 2px;
  font-weight: 550;
  text-decoration: none;
}
.skip:focus { top: 12px; }

code {
  font-family: var(--mono);
  font-size: 0.9em;
  color: var(--signal);
  background: var(--panel-2);
  border: 1px solid var(--rule);
  border-radius: 2px;
  padding: 1px 6px;
  overflow-wrap: anywhere;
}

/* ---------- hero ---------- */

.sondr-hero { padding-block: clamp(64px, 8vw, 112px) clamp(56px, 7vw, 96px); }

.sondr-hero h1 { display: flex; flex-direction: column; gap: 14px; margin-bottom: 26px; max-width: 18ch; }
/* Lockup from the Sondr logo system: the "Ping" mark (Mist chevron, Signal echoes) + a Sora wordmark.
   The wordmark is lowercase in the brand; the markup keeps "Sondr" so it reads correctly to screen
   readers and search engines. */
.sondr-lockup { display: flex; align-items: center; gap: 14px; }
/* The SVG has built-in padding (the drawing fills the middle half of its 64-unit box), so it is
   rendered larger and pulled back with negative margins to line up with the headline's left edge. */
.sondr-mark { width: 72px; height: 72px; flex: none; margin: -12px -4px -12px -18px; }
.sondr-name {
  font-family: "Sora", var(--sans);
  font-weight: 600;
  font-size: clamp(2.1rem, 4vw, 2.75rem);
  letter-spacing: -0.045em;
  line-height: 1;
  text-transform: lowercase;
  color: var(--ink);
}
.sondr-tagline { display: block; }

.sondr-hero .lede { max-width: 56ch; margin-bottom: 32px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-actions .btn { text-decoration: none; }

.hero-meta {
  margin: 22px 0 0;
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--ink-3);
}

/* ---------- cards ---------- */

.band h2 { margin-bottom: 34px; }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card {
  padding: 28px clamp(20px, 2.4vw, 30px) 30px;
  border: 1px solid var(--rule);
  margin: -1px 0 0 -1px;
  background: var(--panel);
}
.card-icon { color: var(--signal); margin-bottom: 18px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-2); font-size: 0.9375rem; margin: 0; }

/* ---------- terminal demo ---------- */

.term-fig { margin: 0; max-width: 820px; }
.term-label {
  margin: 0 0 10px;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.term {
  margin: 0;
  padding: 22px clamp(16px, 2.4vw, 26px);
  background: #05090C;
  border: 1px solid var(--rule-bright);
  border-radius: 3px;
  font-family: var(--mono);
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--ink);
  overflow-x: auto;
  white-space: pre;
  tab-size: 2;
}
.term code {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  overflow-wrap: normal;
}
.t-prompt { color: #FFB020; user-select: none; } /* Sondr "Signal" amber, as in the logo system terminal */
.t-head { color: var(--signal); font-weight: 500; }
.t-tag { color: var(--sodium); }

.term-fig figcaption {
  margin-top: 14px;
  font-size: 0.9375rem;
  color: var(--ink-2);
}

/* ---------- install ---------- */

.install-steps {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  counter-reset: istep;
  max-width: 820px;
  display: grid;
  gap: 22px;
}
.install-steps li { counter-increment: istep; min-width: 0; }
.install-steps h3 { font-size: 1rem; margin-bottom: 10px; display: flex; align-items: baseline; gap: 12px; }
.install-steps h3::before {
  content: counter(istep, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--signal-dim);
}
.step-hint { font-weight: 400; color: var(--ink-3); font-size: 0.875rem; letter-spacing: 0; }

.code {
  display: flex;
  align-items: stretch;
  background: #05090C;
  border: 1px solid var(--rule-bright);
  border-radius: 3px;
  min-width: 0;
}
.code-pre {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  padding: 14px 16px;
  font-family: var(--mono);
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--ink);
  overflow-x: auto;
  white-space: pre;
}
.code-pre code {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  overflow-wrap: normal;
}
.copy-btn {
  flex: none;
  align-self: center;
  margin: 0 8px;
  min-width: 76px;
}
.copy-btn[hidden] { display: none; }
.copy-btn.is-done { border-color: var(--signal-dim); color: var(--signal); }

.install-note { color: var(--ink-2); font-size: 0.9375rem; max-width: 72ch; }
.install-note a { color: var(--ink); }
.install-note strong { color: var(--ink); font-weight: 600; }

/* ---------- assistants / privacy / support ---------- */

#assistants .lede { max-width: 66ch; }

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 62ch;
  display: grid;
  gap: 0;
}
.check-list li {
  position: relative;
  padding: 15px 0 15px 32px;
  border-top: 1px solid var(--rule);
  color: var(--ink-2);
}
.check-list li:last-child { border-bottom: 1px solid var(--rule); }
.check-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 21px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--signal);
  border-bottom: 2px solid var(--signal);
  transform: rotate(-45deg);
}

#support .lede { max-width: 62ch; margin-bottom: 14px; }
#support a { color: var(--ink); }
.support-mail { color: var(--ink-2); }

/* ---------- FAQ (native details: works without JS, keyboard-operable) ---------- */

.faq { max-width: 760px; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 40px 18px 0;
  font-size: 1.0625rem;
  font-weight: 550;
  letter-spacing: -0.01em;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--signal);
}
.faq details[open] summary::after { content: "−"; }
.faq summary:hover { color: var(--signal); }
.faq details p { color: var(--ink-2); font-size: 0.9375rem; padding: 0 40px 20px 0; }
.faq a { color: var(--ink); }

/* ---------- cross-link band ---------- */

.cross-band {
  border-top: 1px solid var(--rule);
  background: var(--panel);
  padding-block: 34px;
}
.cross-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
}
.cross-inner p { margin: 0; color: var(--ink-2); max-width: none; }
.cross-copy { display: grid; gap: 6px; }
.cross-line { font-size: 0.9375rem; color: var(--ink-3); }
.cross-inner strong { color: var(--ink); font-weight: 600; }
.cross-inner .btn { text-decoration: none; }

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .cards { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 620px) {
  .hero-actions .btn { flex: 1 1 100%; }
  .copy-btn { margin: 0 6px; min-width: 68px; }
  .code-pre { padding: 13px 12px; }
  .faq summary { font-size: 1rem; }
  .cross-inner .btn { width: 100%; }
}
