/* QuietCheck — shared site stylesheet.
   Simple and legible on purpose — this is prepared as hosting-ready material for
   Firebase Hosting, not a real design pass. Colors match the app's actual brand gradient
   (see QuietCheck/Core/BrandGradient.swift: #4F46E5 -> #FF3D68), sourced from the same app
   icon SVG as everywhere else in this project, not picked arbitrarily for the web. */

:root {
  --indigo: #4F46E5;
  --pink: #FF3D68;
  --text: #1a1a1f;
  --text-secondary: #55555f;
  --text-tertiary: #85858f;
  --bg: #ffffff;
  --bg-subtle: #f7f7fb;
  --border: #e5e5ec;
  --warning-bg: #fff4e5;
  --warning-border: #f5c265;
  --warning-text: #7a4a00;
  --max-width: 780px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
}

.site-header {
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
}

.site-header nav {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.site-header .brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 20px;
  text-decoration: none;
  color: var(--text);
  margin-right: auto;
}

.site-header .brand img {
  height: 28px;
  width: auto;
  display: block;
}

.site-header a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 15px;
}

.site-header a:hover {
  color: var(--indigo);
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 24px 96px;
}

h1 {
  font-size: 2.2em;
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 16px;
}

h2 {
  font-size: 1.4em;
  font-weight: 700;
  margin: 40px 0 12px;
}

h3 {
  font-size: 1.1em;
  font-weight: 700;
  margin: 28px 0 8px;
}

p {
  margin: 0 0 16px;
  color: var(--text);
}

.lede {
  font-size: 1.15em;
  color: var(--text-secondary);
}

a {
  color: var(--indigo);
}

.gradient-text {
  background: linear-gradient(135deg, var(--indigo), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.button {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--indigo), var(--pink));
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  font-size: 16px;
}

.button.secondary {
  background: var(--bg-subtle);
  color: var(--text);
  border: 1px solid var(--border);
}

.button[aria-disabled="true"] {
  opacity: 0.6;
  cursor: default;
  pointer-events: none;
}

.hero {
  text-align: center;
  padding: 32px 0 16px;
}

.hero img.lockup {
  max-width: 100%;
  width: 480px;
  height: auto;
  margin-bottom: 24px;
}

.hero .actions {
  margin-top: 28px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.placeholder-note {
  font-size: 0.85em;
  color: var(--text-tertiary);
  margin-top: 8px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin: 32px 0;
}

.feature-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  background: var(--bg-subtle);
}

.feature-card h3 {
  margin-top: 0;
  font-size: 1.05em;
}

.feature-card p {
  font-size: 0.95em;
  color: var(--text-secondary);
  margin-bottom: 0;
}

.callout {
  border: 1px solid var(--warning-border);
  background: var(--warning-bg);
  color: var(--warning-text);
  border-radius: 10px;
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 0.95em;
}

.callout strong {
  display: block;
  margin-bottom: 4px;
}

.legal-notice {
  border: 1px solid var(--warning-border);
  background: var(--warning-bg);
  color: var(--warning-text);
  border-radius: 10px;
  padding: 20px 24px;
  margin: 0 0 32px;
  font-size: 0.95em;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h3 {
  margin-top: 0;
}

.faq-item p {
  color: var(--text-secondary);
  margin-bottom: 0;
}

pre.legal-text {
  white-space: pre-wrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.85em;
  line-height: 1.5;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
  color: var(--text);
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
  color: var(--text-tertiary);
  font-size: 0.85em;
}

.site-footer a {
  color: var(--text-tertiary);
}

.site-footer nav {
  margin-bottom: 12px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
