/* Five-Second Test — shared app stylesheet on the 5sec.io design system.
   Consumers: index.html, audit.html, free-audit.html, privacy.html.
   Marketing pages (pricing, deep-audit, agencies, extension, order) are self-contained. */

@import url("https://fonts.googleapis.com/css2?family=Figtree:wght@400;600;700;800&display=swap");

:root {
  --background: #FAFAF9;
  --foreground: #0F172A;
  --muted: #64748B;
  --line: #E2E8F0;
  --accent: #00E98B;
  --accent-hover: #00CC7A;
  --accent-light: #D6FBEB;
  --accent-dark: #00794A;
  --accent-foreground: #053926;

  --fail: #DC2626;
  --fail-bg: rgba(220, 38, 38, 0.06);

  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-pill: 999px;

  --shadow-card: 0 16px 40px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  background: var(--background);
  color: var(--foreground);
  font-family: "Figtree", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  position: relative;
  overflow-x: hidden;
}

::selection {
  background: var(--accent-light);
  color: var(--accent-foreground);
}

a {
  color: var(--accent-dark);
}

[hidden] {
  display: none !important;
}

.grid-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 520px;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(15, 23, 42, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
}

main {
  max-width: 1088px;
  margin: 0 auto;
  padding: 0 32px 96px;
  position: relative;
}

/* --- Top navigation (all app pages) --- */
.site-nav {
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 249, 0.75);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.site-nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.025em;
  color: var(--foreground);
}

.site-logo svg {
  display: block;
}

.site-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  flex-wrap: wrap;
}

.site-links a {
  color: var(--muted);
  text-decoration: none;
}

.site-links a:hover,
.site-links a[aria-current="page"] {
  color: var(--foreground);
}

/* --- Account header (signed-in state) --- */
.account {
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: relative;
}

.account-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--muted);
}

.account-email {
  font-weight: 600;
  color: var(--foreground);
}

.account-quota {
  color: var(--muted);
}

.account-link {
  margin-left: auto;
  color: var(--accent-dark);
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
}

.account-link:hover {
  text-decoration: underline;
}

.account-signout {
  background: transparent;
  border: 0;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.account-signout:hover {
  color: var(--foreground);
}

.account-signin {
  margin-left: auto;
}

/* --- Hero (generic: privacy, free-audit; index overrides with .hero-home) --- */
.hero {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  padding: 88px 0 56px;
}

.hero h1 {
  font-size: clamp(38px, 5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin-bottom: 18px;
}

.grad {
  background: linear-gradient(to right, var(--accent), var(--accent-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  font-size: 19px;
  line-height: 1.65;
  color: var(--muted);
}

.trust-line {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
}

/* --- URL form --- */
.form {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 6px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  transition: border-color 0.2s ease-out, box-shadow 0.2s ease-out;
}

.form:focus-within {
  border-color: rgba(0, 233, 139, 0.5);
  box-shadow: 0 0 0 3px rgba(0, 233, 139, 0.2);
}

.form input[type="url"] {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  padding: 12px 16px;
  font: inherit;
  font-size: 16px;
  background: transparent;
  color: var(--foreground);
}

.form input[type="url"]::placeholder {
  color: var(--muted);
  opacity: 0.7;
}

.form button {
  border: 0;
  border-radius: var(--radius-md);
  background: var(--accent);
  color: var(--accent-foreground);
  padding: 12px 24px;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease-out, transform 0.1s ease-out;
}

.form button:hover:not(:disabled) {
  background: var(--accent-hover);
}

.form button:active:not(:disabled) {
  transform: scale(0.98);
}

.form button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.error {
  margin: 14px 0 0;
  padding: 12px 16px;
  background: var(--fail-bg);
  border: 1px solid rgba(220, 38, 38, 0.25);
  border-radius: var(--radius-lg);
  color: var(--fail);
  font-size: 14px;
  text-align: left;
}

/* --- Loading --- */
.loading {
  margin: 48px auto 0;
  max-width: 760px;
  padding: 32px 0;
  text-align: center;
  color: var(--muted);
}

.loading .hint {
  font-size: 13px;
  margin-top: 4px;
  opacity: 0.75;
}

.spinner {
  width: 22px;
  height: 22px;
  margin: 0 auto 14px;
  border: 2px solid var(--line);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* --- Results --- */
.results {
  margin: 48px auto 0;
  max-width: 760px;
}

.results-summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.results-summary-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.results-summary-score {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--foreground);
}

.results-url-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.results-url {
  font-size: 18px;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 24px;
  word-break: break-all;
}

.results-compare {
  margin: -8px 0 16px;
  font-size: 14px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.results-compare-delta {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  padding: 2px 10px;
  border: 1px solid currentColor;
  border-radius: var(--radius-pill);
  font-size: 13px;
}

.results-compare.improved {
  color: var(--accent-dark);
}

.results-compare.regressed {
  color: var(--fail);
}

.results-compare.flat {
  color: var(--muted);
}

/* --- Check cards --- */
.check {
  padding: 22px 24px;
  margin-bottom: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color 0.25s ease-out;
}

.check:hover {
  border-color: rgba(0, 233, 139, 0.25);
}

.check:last-child {
  margin-bottom: 0;
}

.check-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 6px;
}

.check-icon {
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
  width: 18px;
}

.check-icon.pass {
  color: var(--accent-dark);
}

.check-icon.fail {
  color: var(--fail);
}

.check-name {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.014em;
  color: var(--foreground);
  flex: 1;
}

.check-id {
  color: var(--muted);
  font-weight: 500;
}

.check-diff {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid currentColor;
  margin-left: auto;
  white-space: nowrap;
}

.check-diff.improved {
  color: var(--accent-dark);
}

.check-diff.regressed {
  color: var(--fail);
}

.check-body {
  margin-left: 32px;
  color: var(--muted);
  font-size: 15px;
}

.check-fix {
  margin: 12px 0 0 32px;
  padding: 14px 18px;
  background: var(--fail-bg);
  border-left: 3px solid var(--fail);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--foreground);
  font-size: 15px;
}

.check-fix b {
  font-weight: 700;
  margin-right: 6px;
}

.check-source {
  margin: 10px 0 0 32px;
  font-size: 12px;
  color: var(--muted);
  font-style: italic;
}

.check-citations {
  display: block;
  margin-top: 4px;
  font-style: normal;
}

.check-citations a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.check-citations a:hover {
  color: var(--accent-foreground);
}

/* --- Simulated five-second verdict --- */
.verdict {
  margin-bottom: 28px;
  padding: 24px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
}

.verdict-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 14px;
}

.verdict-grid {
  display: grid;
  gap: 10px;
}

.verdict-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: baseline;
}

.verdict-row dt {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.verdict-row dd {
  font-size: 16px;
  font-weight: 500;
  color: var(--foreground);
}

.verdict-unclear {
  color: var(--fail);
}

/* --- Deep audit teaser (mint gradient emphasis card) --- */
.deep-teaser {
  margin: 28px 0;
  padding: 28px 32px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: 20px;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  overflow: hidden;
}

.deep-teaser::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.deep-teaser > * {
  position: relative;
  z-index: 1;
}

.deep-teaser-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 10px;
}

.deep-teaser-lead {
  margin-bottom: 6px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}

.deep-teaser-body {
  margin-bottom: 18px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
}

.deep-teaser-cta {
  display: inline-block;
  background: #fff;
  color: var(--accent-dark);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: var(--radius-lg);
  transition: transform 0.1s ease-out, box-shadow 0.2s ease-out;
}

.deep-teaser-cta:hover {
  box-shadow: 0 8px 20px rgba(5, 57, 38, 0.25);
}

.deep-teaser-cta:active {
  transform: scale(0.98);
}

.deep-teaser-alt {
  margin-top: 12px;
  font-size: 13px;
}

.deep-teaser-alt a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.deep-teaser-alt a:hover {
  color: #fff;
}

/* --- Model strip (upsell nudge) --- */
.model-strip {
  margin-top: 24px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  font-size: 14px;
  color: var(--foreground);
}

.model-strip a {
  color: var(--accent-dark);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.model-strip a:hover {
  text-decoration: underline;
}

/* --- Share bar --- */
.share-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 5px;
  margin: 16px 0 24px;
}

.share-input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 13px;
  padding: 8px 14px;
  outline: none;
  color: var(--muted);
}

.share-copy {
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--foreground);
  color: #fff;
  font: inherit;
  font-weight: 600;
  font-size: 13px;
  padding: 9px 18px;
  cursor: pointer;
  transition: background 0.2s ease-out, transform 0.1s ease-out;
}

.share-copy:hover {
  background: #24334d;
}

.share-copy:active {
  transform: scale(0.98);
}

/* --- Shared-audit page --- */
.audit-state {
  padding: 40px 0;
  color: var(--muted);
}

.audit-cta {
  margin: 48px auto 0;
  max-width: 760px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.audit-cta p {
  color: var(--muted);
  flex: 1;
}

.back-link {
  display: inline-block;
  margin-top: 24px;
  color: var(--muted);
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.back-link:hover {
  color: var(--foreground);
}

/* --- History --- */
.history {
  margin: 56px auto 96px;
  max-width: 760px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.history-title {
  margin-bottom: 16px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--foreground);
}

.history-list {
  list-style: none;
}

.history-item {
  border-bottom: 1px solid var(--line);
}

.history-link {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 16px;
  align-items: baseline;
  padding: 12px 0;
  color: inherit;
  text-decoration: none;
}

.history-link:hover .history-host {
  color: var(--accent-dark);
}

.history-host {
  font-weight: 600;
  color: var(--foreground);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.15s ease-out;
}

.history-score {
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}

.history-date {
  color: var(--muted);
  opacity: 0.75;
  font-size: 13px;
  min-width: 80px;
  text-align: right;
}

/* --- Gate (email + paid wall) --- */
.gate {
  margin: 32px auto 64px;
  max-width: 520px;
  scroll-margin-top: 96px;
}

.gate-card {
  background: linear-gradient(180deg, #fff 0%, #F1F5F9 100%);
  border: 1px solid var(--accent);
  border-radius: var(--radius-xl);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  padding: 28px;
  text-align: center;
}

.gate-card h2 {
  margin-bottom: 8px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--foreground);
}

.gate-card p {
  margin-bottom: 18px;
  font-size: 14px;
  color: var(--muted);
}

.gate-form {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 5px;
  transition: border-color 0.2s ease-out, box-shadow 0.2s ease-out;
}

.gate-form:focus-within {
  border-color: var(--foreground);
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
}

.gate-form input[type="email"] {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font: inherit;
  padding: 10px 14px;
  outline: none;
  color: var(--foreground);
}

.gate-form button {
  border: 0;
  border-radius: 10px;
  background: var(--foreground);
  color: #fff;
  font: inherit;
  font-weight: 700;
  padding: 10px 18px;
  cursor: pointer;
  transition: background 0.2s ease-out, transform 0.1s ease-out;
}

.gate-form button:hover:not(:disabled) {
  background: #1e293b;
}

.gate-form button:active:not(:disabled) {
  transform: scale(0.98);
}

.gate-form button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.gate-feedback {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
}

.gate-cta {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-foreground);
  text-decoration: none;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: var(--radius-lg);
  transition: background 0.2s ease-out, transform 0.1s ease-out;
}

.gate-cta:hover {
  background: var(--accent-hover);
}

.gate-cta:active {
  transform: scale(0.98);
}

/* --- Free deep-audit survey --- */
.survey {
  margin: 8px auto 0;
  max-width: 760px;
}

.survey-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  padding: 28px;
  text-align: left;
}

.survey-progress {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 10px;
}

.survey-title {
  margin-bottom: 20px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--foreground);
}

.survey-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin: 16px 0 6px;
}

.survey-label:first-of-type {
  margin-top: 0;
}

.survey-input,
.survey-textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  font: inherit;
  padding: 12px 14px;
  outline: none;
  color: var(--foreground);
  transition: border-color 0.2s ease-out, box-shadow 0.2s ease-out;
}

.survey-input:focus,
.survey-textarea:focus {
  border-color: rgba(0, 233, 139, 0.5);
  box-shadow: 0 0 0 3px rgba(0, 233, 139, 0.2);
}

.survey-competitor {
  margin-bottom: 10px;
}

.survey-other {
  margin-top: 10px;
}

.survey-textarea {
  resize: vertical;
}

.survey-hint {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
  opacity: 0.85;
}

.survey-intro {
  margin-bottom: 14px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
}

.survey-options {
  display: grid;
  gap: 8px;
}

.survey-option {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  padding: 12px 14px;
  cursor: pointer;
  font-size: 15px;
  transition: border-color 0.15s ease-out, background 0.15s ease-out;
}

.survey-option:hover {
  border-color: rgba(0, 233, 139, 0.35);
  background: var(--background);
}

.survey-option.selected {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
  background: rgba(214, 251, 235, 0.4);
  font-weight: 600;
  color: var(--foreground);
}

.survey-option input {
  accent-color: var(--accent-dark);
  flex-shrink: 0;
}

.survey-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
}

.survey-back {
  border: 0;
  background: none;
  font: inherit;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
}

.survey-back:hover {
  color: var(--foreground);
}

.survey-next {
  border: 0;
  border-radius: var(--radius-md);
  background: var(--accent);
  color: var(--accent-foreground);
  font: inherit;
  font-weight: 700;
  padding: 12px 26px;
  cursor: pointer;
  transition: background 0.2s ease-out, transform 0.1s ease-out;
}

.survey-next:hover:not(:disabled) {
  background: var(--accent-hover);
}

.survey-next:active:not(:disabled) {
  transform: scale(0.98);
}

.survey-next:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* --- Text pages (privacy) --- */
.home-section {
  margin: 0 auto;
  max-width: 760px;
  padding: 40px 0 0;
  text-align: left;
}

.home-section h2 {
  margin-bottom: 14px;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--foreground);
}

.home-section p {
  color: var(--muted);
  margin-bottom: 12px;
}

.deep-list {
  list-style: none;
}

.deep-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
}

.deep-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 15px;
  height: 15px;
  background-color: var(--accent-dark);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2l2.2 7.8L22 12l-7.8 2.2L12 22l-2.2-7.8L2 12l7.8-2.2L12 2z"/></svg>') center / contain no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2l2.2 7.8L22 12l-7.8 2.2L12 22l-2.2-7.8L2 12l7.8-2.2L12 2z"/></svg>') center / contain no-repeat;
}

.deep-list b {
  color: var(--foreground);
}

/* --- Footer --- */
footer {
  border-top: 1px solid var(--line);
  max-width: 1088px;
  margin: 0 auto;
  padding: 24px 32px;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--foreground);
}

/* --- Responsive --- */
@media (max-width: 880px) {
  main {
    padding: 0 20px 72px;
  }
  .hero {
    padding-top: 48px;
  }
  .hero h1 {
    font-size: 38px;
  }
}

@media (max-width: 540px) {
  .site-links {
    gap: 12px;
    font-size: 13px;
  }
  .form,
  .gate-form {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 8px;
  }
  .form input[type="url"],
  .gate-form input[type="email"] {
    padding: 12px 14px;
  }
  .form button,
  .gate-form button {
    padding: 14px;
  }
  .check {
    padding: 18px 16px;
  }
  .check-body,
  .check-fix,
  .check-source {
    margin-left: 0;
  }
}
