/* NetSnap Survey site styles. Loaded after brand.css (shared). Hero, illustration, steps, plans. */

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

.hero {
  padding: clamp(40px, 7vw, 88px) 0 clamp(32px, 5vw, 64px);
  background:
    radial-gradient(900px 420px at 85% -10%, var(--hero-glow), transparent 70%),
    radial-gradient(700px 360px at 0% 0%, var(--hero-glow), transparent 65%);
}
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.02fr 1fr; gap: 56px; } }
.hero .fine { margin-top: 18px; }

/* ---- product illustration ---------------------------------------------------- */

.figure { margin: 0; }
.figure figcaption { font-size: 0.82rem; color: var(--muted); margin-top: 10px; text-align: center; }
.app {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; font-size: 0.86rem;
}
.app-bar {
  display: flex; align-items: center; gap: 7px; padding: 11px 14px;
  background: var(--surface-2); border-bottom: 1px solid var(--border);
}
.app-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--border); display: block; }
.app-title { margin-left: 8px; font-weight: 700; font-size: 0.82rem; color: var(--muted); }
.app-body { padding: 14px; }
.app-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.app-head strong { font-size: 0.98rem; }
.app-head span { color: var(--muted); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.chip { padding: 3px 10px; border-radius: 999px; border: 1px solid var(--border); font-size: 0.78rem; color: var(--muted); }
.chip.on { background: var(--accent-soft); color: var(--accent); border-color: transparent; font-weight: 700; }
.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); padding: 6px 8px; border-bottom: 1px solid var(--border); }
.table td { padding: 8px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.table tr:last-child td { border-bottom: 0; }
.table .ip { font-family: var(--mono); font-size: 0.8rem; }
.pill { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 0.74rem; font-weight: 700; }
.pill.high { background: var(--ok-bg); color: var(--ok-text); }
.pill.med { background: var(--mid-bg); color: var(--mid-text); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: step; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.steps li { counter-increment: step; position: relative; padding: 24px 24px 24px 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink); font-weight: 800; margin-bottom: 14px;
}
.steps h3 { margin-bottom: 0.4em; }
.steps p { color: var(--muted); margin: 0; }

.plan h3 { font-size: 1.3rem; }
.plan .tag { display: inline-block; font-size: 0.78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); margin-bottom: 12px; }
.plan ul { padding-left: 1.1em; color: var(--muted); }
.plan li { margin-bottom: 6px; }
.plan .btn { margin-top: 8px; }


.more { margin-top: 22px; }

/* Grid children may shrink below their content, so a wide table never stretches the page. */
.hero-grid { grid-template-columns: minmax(0, 1fr); }
.hero-grid > * { min-width: 0; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); } }
.app-body { overflow-x: auto; }
@media (max-width: 520px) {
  .table th:nth-child(2), .table td:nth-child(2) { display: none; }
  .app-body { padding: 10px; }
}

/* ---- inner pages ---------------------------------------------------------------- */

.page-hero { padding: clamp(36px, 6vw, 72px) 0 clamp(8px, 2vw, 24px); }
.prose { max-width: 46em; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }

/* A value that still has to be supplied. Visible on purpose. */

.price { font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 0.3em; color: var(--text); }
.price small { font-size: 1rem; font-weight: 600; color: var(--muted); }
.plan .actions { margin-top: 12px; }
.plan.soon-row { border-style: dashed; }

.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq details[open] summary { margin-bottom: 8px; }
.faq details p { margin: 0; color: var(--muted); }

.guide { list-style: none; counter-reset: g; margin: 0; padding: 0; display: grid; gap: 14px; max-width: 52em; }
.guide > li {
  counter-increment: g; position: relative; padding: 18px 20px 18px 66px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
}
.guide > li::before {
  content: counter(g); position: absolute; left: 18px; top: 18px; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-weight: 800;
}
.guide h3 { margin-bottom: 0.3em; }
.guide p { margin: 0 0 0.6em; color: var(--muted); }
.guide p:last-child { margin-bottom: 0; }
pre.cmd {
  margin: 0.4em 0 0.6em; padding: 12px 14px; background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 10px; overflow-x: auto; font-family: var(--mono); font-size: 0.9rem; color: var(--text);
}
.trouble { max-width: 52em; padding-left: 1.2em; }
.trouble li { margin-bottom: 0.8em; color: var(--muted); }
.trouble strong { color: var(--text); }

.dl dl, .dl .hash { margin: 0; }
.dl .hash { font-family: var(--mono); font-size: 0.85rem; word-break: break-all; color: var(--muted); }
.dl .label { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin: 14px 0 4px; }
.dl .btn { margin-top: 14px; }
.h3 { font-size: 1.12rem; font-weight: 700; letter-spacing: -0.01em; margin: 0 0 0.6em; line-height: 1.15; }

.draft-banner { background: var(--mid-bg); color: var(--mid-text); border-bottom: 2px dashed var(--mid-text); padding: 12px 0; }
.legal h2 { font-size: 1.3rem; margin-top: 1.8em; }
.legal h2:first-child { margin-top: 0; }
.legal p { color: var(--muted); }
.facts-list { padding-left: 1.2em; }
.facts-list li { margin-bottom: 0.5em; }

.callout { background: var(--accent-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 20px; max-width: 52em; }
.callout p { margin: 0; }
.more-top { margin-top: 36px; }
.dl-soon { color: var(--muted); }
.dl-soon .soon { margin-right: 6px; margin-bottom: 0; }
.dl .dl-file, .dl .dl-sha { margin: 0; }
