/* /extension landing page — mirrors the /browser layout for consistency
   but adds a trust grid (links to privacy / terms / security / source). */

.ext-page main { padding: 0 1.5rem 6rem; }
.ext-page main > section { max-width: 1100px; margin: 0 auto; }

.ext-hero {
  padding: clamp(4rem, 11vw, 7rem) 0 3rem;
  border-bottom: 1px solid var(--line-soft);
}
.ext-eyebrow {
  margin: 0 0 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--ink-soft);
  text-transform: lowercase;
}
.ext-title {
  margin: 0 0 1.25rem;
  font-family: var(--font-sans, system-ui, sans-serif);
  font-weight: 300;
  font-size: clamp(3rem, 9vw, 6.5rem);
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--ink);
}
.ext-tag {
  margin: 0 0 2rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink-soft);
  letter-spacing: -0.005em;
  max-width: 42rem;
}

.ext-cta { display: flex; flex-direction: column; gap: 0.85rem; align-items: flex-start; }
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
  border-radius: 0;
  border: 1px solid var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  color: var(--bg);
}
.store-btn-icon { display: flex; }
.store-btn-body { display: flex; flex-direction: column; align-items: flex-start; }
.store-btn-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: lowercase;
  opacity: 0.7;
}
.store-btn-os {
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  margin-top: 0.15rem;
}

.ext-cta-meta {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}
.ext-cta-meta a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.ext-cta-meta a:hover { border-bottom-color: var(--ink); }

.ext-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 3rem auto 0;
  border: 1px solid var(--line);
  background: var(--bg);
}
.ext-features .feat {
  padding: 1.5rem 1.5rem;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.ext-features .feat:nth-child(3n) { border-right: 0; }
.ext-features .feat:nth-last-child(-n+3) { border-bottom: 0; }
.ext-features h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
  text-transform: lowercase;
  font-weight: 500;
}
.ext-features p {
  margin: 0;
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.5;
  letter-spacing: -0.005em;
}

.ext-other {
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid var(--line-soft);
}
.ext-other h2 {
  margin: 0 0 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--ink-soft);
  text-transform: lowercase;
  font-weight: 500;
}
.ext-other-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
}
.ext-other-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.9rem;
}
.ext-other-list li:last-child { border-bottom: 0; }
.ext-other-list span { color: var(--ink); letter-spacing: -0.005em; }
.browser-row {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.browser-logo {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  display: block;
}
.ext-other-list a {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.ext-other-list a:hover { border-bottom-color: var(--ink); }
.ext-other-note {
  margin: 1.25rem 0 0;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}
.ext-other-note a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.ext-other-note a:hover { border-bottom-color: var(--ink); }
.ext-other-note .mono {
  font-family: var(--font-mono);
  background: var(--line-soft);
  padding: 0 0.3rem;
}

.ext-trust {
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid var(--line-soft);
}
.ext-trust h2 {
  margin: 0 0 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--ink-soft);
  text-transform: lowercase;
  font-weight: 500;
}
.ext-trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
}
.trust-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.5rem;
  text-decoration: none;
  color: var(--ink);
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  transition: background 0.15s ease;
}
.trust-card:hover { background: var(--line-soft); color: var(--ink); }
.trust-card:nth-child(2n) { border-right: 0; }
.trust-card:nth-last-child(-n+2) { border-bottom: 0; }
.trust-num {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: var(--ink-soft);
  text-transform: lowercase;
}
.trust-title {
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.trust-desc {
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.5;
  letter-spacing: -0.005em;
}

.footer-meta a {
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.footer-meta a:hover { color: var(--ink); border-bottom-color: var(--ink); }

@media (max-width: 760px) {
  .ext-features { grid-template-columns: 1fr; }
  .ext-features .feat { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .ext-features .feat:last-child { border-bottom: 0; }
  .ext-other-list li { flex-direction: column; align-items: flex-start; gap: 0.4rem; }
  .ext-trust-grid { grid-template-columns: 1fr; }
  .trust-card { border-right: 0; }
}
