:root {
  --bg: #0f1114;
  --bg-elev: #181b20;
  --bg-card: #1e2329;
  --ink: #f3f4f6;
  --muted: #9aa3af;
  --line: #2a3139;
  --gold: #f2b930;
  --gold-dim: #c9941a;
  --accent: #3b82f6;
  --ok: #22c55e;
  --radius: 14px;
  --max: 1320px;
  --page-gutter: 1.25rem;
  --font: "Segoe UI", "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(242, 185, 48, 0.14), transparent 55%),
    radial-gradient(900px 500px at 90% 0%, rgba(59, 130, 246, 0.12), transparent 50%),
    var(--bg);
  line-height: 1.55;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  width: min(var(--max), calc(100% - 2 * var(--page-gutter)));
  margin-inline: auto;
  box-sizing: border-box;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(15, 17, 20, 0.82);
  border-bottom: 1px solid var(--line);
}

/* Keep header and page body on the exact same horizontal track. */
.site-header .wrap,
.feature-page > .wrap,
main.feature-page > .wrap {
  width: min(var(--max), calc(100% - 2 * var(--page-gutter)));
  margin-inline: auto;
  padding-inline: 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.1rem;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.brand img {
  width: 36px;
  height: 36px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: nowrap;
  justify-content: flex-end;
  flex-shrink: 0;
}

.nav-links a {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-links a.active {
  color: var(--gold);
}

.nav-links .btn {
  padding: 0.65rem 1.15rem;
  font-size: 0.95rem;
  white-space: nowrap;
}

.lang-switch {
  display: inline-flex;
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.lang-switch button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  min-width: 3.4rem;
  padding: 0.4rem 0.75rem;
  cursor: pointer;
  font: inherit;
  font-size: 0.92rem;
  line-height: 1.2;
  white-space: nowrap;
}

.lang-switch button.active {
  background: var(--gold);
  color: #111;
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.75rem 1.25rem;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(180deg, var(--gold), var(--gold-dim));
  color: #14110a;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.hero {
  padding: 4.5rem 0 3rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-sub {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 0 1.5rem;
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.hero-note {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}

.hero-visual {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-elev);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.hero-visual img {
  width: 100%;
}

section {
  padding: 4rem 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.section-head.center {
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.4rem;
  text-align: center;
}

.section-head h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.kicker {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.trustbar {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.trust-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding: 1.1rem 0;
}

.trust-label {
  color: var(--muted);
  font-size: 0.88rem;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
}

.trust-item b {
  color: var(--gold);
  font-size: 1rem;
}

.card-bullets {
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.card-bullets li {
  margin: 0.35rem 0;
}

.card-bullets li::marker {
  color: var(--gold);
}

.usecases {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
  padding: 4rem 0;
}

.workflow {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: start;
}

.workflow h2 {
  margin: 0.35rem 0 0.9rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
}

.workflow .lead {
  margin: 0;
  color: var(--muted);
}

.benefit-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.benefit {
  display: flex;
  gap: 0.85rem;
}

.check {
  flex: 0 0 1.75rem;
  height: 1.75rem;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(242, 185, 48, 0.14);
  color: var(--gold);
  font-weight: 900;
  font-size: 0.85rem;
}

.benefit strong {
  display: block;
  margin-bottom: 0.2rem;
}

.benefit span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
}

.testpanel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  background: var(--bg-card);
}

.testpanel h3 {
  margin: 0 0 0.25rem;
}

.testpanel > p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.teststep {
  display: flex;
  gap: 0.85rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
}

.num {
  flex: 0 0 1.75rem;
  height: 1.75rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(242, 185, 48, 0.4);
  border-radius: 8px;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 800;
}

.teststep strong {
  font-size: 0.95rem;
}

.teststep p {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.pricing-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.license-note {
  margin: 1rem auto 0;
  max-width: 46rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

.final-cta {
  padding: 0 0 4rem;
}

.cta-panel {
  border: 1px solid rgba(242, 185, 48, 0.35);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  background:
    radial-gradient(ellipse at 90% 0%, rgba(242, 185, 48, 0.12), transparent 55%),
    var(--bg-card);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.cta-panel h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.35rem, 2.8vw, 1.9rem);
  letter-spacing: -0.03em;
}

.cta-panel p {
  margin: 0;
  color: var(--muted);
}

.spotlight {
  padding: 3.5rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(242, 185, 48, 0.06), transparent 60%);
}

.spotlight-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: center;
}

.spotlight-list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.spotlight-list li {
  margin: 0.55rem 0;
}

.spotlight-list li::marker {
  color: var(--gold);
}

.spotlight-visual {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #111;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
  border-bottom: 1px solid var(--line);
  background: #111;
}

.card-body {
  padding: 1.15rem 1.2rem 1.35rem;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.more-list {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.chip {
  border: 1px solid var(--line);
  background: var(--bg-elev);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  color: var(--ink);
  font-size: 0.92rem;
}

.chip strong {
  display: block;
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.step {
  padding: 1.35rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-elev);
}

.step-num {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(242, 185, 48, 0.16);
  color: var(--gold);
  font-weight: 800;
  margin-bottom: 0.85rem;
}

.step h3 {
  margin: 0 0 0.45rem;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.price-card {
  position: relative;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-card);
}

.price-card.featured {
  border-color: rgba(242, 185, 48, 0.55);
  box-shadow: 0 0 0 1px rgba(242, 185, 48, 0.15), 0 18px 40px rgba(0, 0, 0, 0.25);
}

.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(242, 185, 48, 0.16);
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.price-card h3 {
  margin: 0 0 0.35rem;
}

.price {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0.4rem 0 0.15rem;
}

.period {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 1rem;
}

.price-card ul {
  margin: 0 0 1.25rem;
  padding-left: 1.1rem;
  color: var(--muted);
}

.price-card li {
  margin: 0.35rem 0;
}

.note-box {
  margin-top: 1.25rem;
  padding: 1.2rem 1.3rem;
  border-radius: var(--radius);
  border: 1px dashed rgba(242, 185, 48, 0.45);
  background: rgba(242, 185, 48, 0.06);
}

.note-box h3 {
  margin: 0 0 0.45rem;
  color: var(--gold);
  font-size: 1rem;
}

.note-box p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.faq {
  display: grid;
  gap: 0.75rem;
}

details {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-elev);
  padding: 0.9rem 1.1rem;
}

summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

details[open] summary {
  margin-bottom: 0.5rem;
  color: var(--gold);
}

details p {
  margin: 0;
  color: var(--muted);
}

.download {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-elev);
}

.download-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.download-panel h2 {
  margin: 0 0 0.35rem;
}

.download-panel p {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  padding: 2.5rem 0 3rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.6rem;
  color: var(--ink);
  font-weight: 700;
}

.footer-brand img {
  width: 28px;
  height: 28px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.feature-page {
  padding-bottom: 3rem;
  font-size: 1.05rem;
}

.feature-hero {
  padding: 3.5rem 0 2rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.feature-hero h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.1rem);
  line-height: 1.15;
}

.feature-hero .hero-sub {
  font-size: 1.12rem;
  line-height: 1.65;
}

.feature-hook {
  margin: 0 0 1.4rem;
  padding: 0.9rem 1rem;
  border-left: 3px solid var(--gold);
  background: rgba(242, 185, 48, 0.08);
  color: var(--ink);
  font-size: 1.02rem;
}

.feature-block {
  padding: 2.4rem 0;
  border-top: 1px solid var(--line);
}

.feature-block.accent {
  padding: 2.4rem 1.4rem;
  /* vertical spacing + keep horizontal auto so .wrap still centers */
  margin: 0.5rem auto;
  border: 1px solid rgba(242, 185, 48, 0.28);
  border-radius: var(--radius);
  background: rgba(242, 185, 48, 0.05);
}

.feature-block h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  letter-spacing: -0.02em;
}

.feature-block .lead {
  margin: 0 0 1rem;
  color: var(--muted);
  max-width: 46rem;
}

.feature-bullets {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
  max-width: 46rem;
}

.feature-bullets li {
  margin: 0.45rem 0;
}

.feature-bullets li::marker {
  color: var(--gold);
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  margin-top: 1.1rem;
}

.detail-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-card);
  padding: 1.1rem 1.15rem;
}

.detail-card h3 {
  margin: 0 0 0.45rem;
  color: var(--gold);
  font-size: 1.02rem;
}

.detail-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.showcase > h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.85rem;
}

.showcase > .lead {
  font-size: clamp(1.08rem, 1.8vw, 1.22rem);
  line-height: 1.65;
  max-width: 48rem;
  color: var(--ink);
  opacity: 0.88;
}

.showcase-row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.95fr);
  gap: 2rem 2.25rem;
  align-items: center;
  margin-top: 2.75rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--line);
}

.showcase-row:first-of-type {
  border-top: none;
  padding-top: 1rem;
}

.showcase-row.reverse {
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.15fr);
}

.showcase-row.reverse .showcase-visual {
  order: 2;
}

.showcase-row.reverse .showcase-copy {
  order: 1;
}

.showcase-copy {
  max-width: none;
  padding: 0.35rem 0.15rem;
}

.showcase-visual {
  position: relative;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.feature-page .hero-visual {
  overflow: hidden;
}

.showcase-visual img,
.hero-visual img,
.card img {
  display: block;
  width: 100%;
  height: auto;
}

/* Prefer natural shot proportions so Poll/Slave/Script heroes share the same layout rhythm. */
.feature-page .hero-visual,
.feature-page .showcase-visual {
  max-height: none;
}

.feature-page .hero-visual img,
.feature-page .showcase-visual img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: left top;
}

[data-zoom] {
  cursor: zoom-in;
}

[data-zoom]::after {
  content: attr(data-zoom-hint);
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: rgba(15, 17, 20, 0.78);
  color: #f3f4f6;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  pointer-events: none;
  opacity: 0.92;
}

.hero-visual[data-zoom] {
  position: relative;
}

body.lightbox-open {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(8, 10, 12, 0.88);
  backdrop-filter: blur(6px);
}

.lightbox[hidden] {
  display: none !important;
}

.lightbox-stage {
  max-width: 96vw;
  max-height: 92vh;
  overflow: auto;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #111;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

.lightbox-stage img {
  display: block;
  width: auto;
  max-width: none;
  height: auto;
  margin: 0 auto;
}

.lightbox-close {
  position: fixed;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 81;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(30, 35, 41, 0.95);
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.showcase-tag {
  display: inline-block;
  margin: 0 0 0.7rem !important;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(242, 185, 48, 0.35);
  background: rgba(242, 185, 48, 0.1);
  color: var(--gold) !important;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.3;
}

.showcase-copy h3 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.55rem, 2.6vw, 2.05rem);
  line-height: 1.28;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.showcase-copy > p {
  margin: 0 0 1.15rem;
  color: var(--ink);
  font-size: clamp(1.05rem, 1.7vw, 1.18rem);
  line-height: 1.7;
  opacity: 0.9;
}

.showcase-copy .feature-bullets {
  list-style: none;
  max-width: none;
  margin: 0;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(30, 35, 41, 0.72);
}

.showcase-copy .feature-bullets li {
  position: relative;
  margin: 0;
  padding: 0.7rem 0 0.7rem 1.35rem;
  color: var(--ink);
  font-size: clamp(1.02rem, 1.5vw, 1.12rem);
  line-height: 1.55;
  border-top: 1px solid rgba(42, 49, 57, 0.9);
}

.showcase-copy .feature-bullets li:first-child {
  border-top: none;
  padding-top: 0.15rem;
}

.showcase-copy .feature-bullets li:last-child {
  padding-bottom: 0.15rem;
}

.showcase-copy .feature-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15em;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--gold);
  transform: translateY(-50%);
}

.showcase-copy .feature-bullets li::marker {
  content: "";
}

.feature-close {
  padding: 2.5rem 0 1rem;
  border-top: 1px solid var(--line);
}

.close-line {
  font-size: 1.2rem;
  line-height: 1.45;
  max-width: 40rem;
  margin: 0 0 1.25rem;
}

.related {
  padding: 1.5rem 0 2rem;
}

.related h2 {
  margin: 0 0 0.8rem;
  font-size: 1.1rem;
  color: var(--muted);
  font-weight: 600;
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.related-links a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  color: var(--ink);
  text-decoration: none;
}

.related-links a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.feedback-hero,
.download-hero {
  grid-template-columns: 1fr;
  max-width: 44rem;
}

.download-hero #dl-notes {
  white-space: pre-wrap;
}

.download-hero .badge {
  text-transform: none;
  letter-spacing: 0;
}

.feedback-form {
  max-width: 44rem;
  display: grid;
  gap: 1.1rem;
}

.feedback-form fieldset.fb-kind {
  margin: 0;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elev);
}

.feedback-form .fb-kind legend {
  padding: 0 0.35rem;
  font-weight: 700;
  color: var(--ink);
}

.fb-radio {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-right: 1.25rem;
  margin-top: 0.35rem;
  color: var(--ink);
  cursor: pointer;
}

.fb-radio input {
  accent-color: var(--gold);
}

.fb-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.fb-field {
  display: grid;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.fb-field input,
.fb-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-card);
  color: var(--ink);
  font: inherit;
  font-weight: 400;
  padding: 0.7rem 0.85rem;
}

.fb-field input:focus,
.fb-field textarea:focus {
  outline: 2px solid rgba(242, 185, 48, 0.45);
  border-color: var(--gold-dim);
}

.fb-field textarea {
  resize: vertical;
  min-height: 7rem;
}

.fb-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.fb-error {
  margin: 0;
  color: #f87171;
  font-weight: 600;
}

@media (max-width: 900px) {
  .fb-grid {
    grid-template-columns: 1fr;
  }
}

.card a.card-link {
  color: inherit;
  text-decoration: none;
  display: block;
}

.card .more {
  display: inline-block;
  margin-top: 0.75rem;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .hero,
  .feature-hero,
  .spotlight-grid,
  .feature-grid,
  .detail-grid,
  .showcase-row,
  .showcase-row.reverse,
  .workflow,
  .steps,
  .pricing-grid,
  .pricing-grid.three,
  .more-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .showcase-row.reverse .showcase-visual,
  .showcase-row.reverse .showcase-copy {
    order: unset;
  }

  .showcase-copy {
    padding: 0.15rem 0 0.4rem;
  }

  .showcase-copy h3 {
    font-size: clamp(1.45rem, 5.5vw, 1.85rem);
  }

  .showcase-copy > p,
  .showcase-copy .feature-bullets li {
    font-size: 1.08rem;
  }

  .nav-links {
    flex-wrap: wrap;
    row-gap: 0.45rem;
  }

  .nav-links a:not(.btn):not(.active) {
    display: none;
  }

  .trust-inner {
    justify-content: flex-start;
  }

  .cta-panel .btn {
    width: 100%;
  }
}

/* Legal documents (Terms / Privacy / Disclaimers) */
.legal-doc {
  max-width: 52rem;
  padding: 0 0 3.5rem;
  color: var(--muted);
}

.legal-doc h2 {
  color: var(--ink);
  font-size: 1.2rem;
  margin: 2rem 0 0.65rem;
}

.legal-doc h3 {
  color: var(--ink);
  font-size: 1.02rem;
  margin: 1.25rem 0 0.45rem;
}

.legal-doc p,
.legal-doc li {
  font-size: 0.98rem;
}

.legal-doc ul {
  padding-left: 1.25rem;
}

.legal-doc code {
  font-size: 0.9em;
  color: var(--ink);
  background: var(--bg-elev);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.75rem 0 1rem;
  font-size: 0.92rem;
}

.legal-table th,
.legal-table td {
  border: 1px solid var(--line);
  padding: 0.55rem 0.65rem;
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  color: var(--ink);
  background: var(--bg-elev);
}

.legal-nav {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.brand-home {
  padding: 4.5rem 0 5rem;
}

.brand-home h1 {
  margin: 0 0 0.8rem;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  letter-spacing: -0.03em;
}

.brand-lead {
  max-width: 36rem;
  margin: 0;
  color: var(--muted);
  font-size: 1.15rem;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 2.4rem;
}

a.card {
  color: inherit;
  text-decoration: none;
}

a.card:hover {
  text-decoration: none;
}

.tool-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.25rem 1.25rem 1.1rem;
}

.tool-card h2 {
  margin: 0.85rem 0 0.4rem;
  font-size: 1.25rem;
}

.tool-card p {
  margin: 0;
  color: var(--muted);
  flex: 1;
}

.tool-card .more {
  margin-top: 1rem;
}

.tool-slot {
  min-height: 12rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  display: flex;
  align-items: flex-end;
  padding: 1.2rem;
  color: var(--muted);
}
