/* Shared styles for standalone pages (terms, privacy, refunds, support, pricing).
   The main landing page has its own inline CSS tuned for hero-heavy layout;
   these pages use a denser reading layout. */

:root {
  --bg-top: #FDFCF9;
  --bg-bottom: #F1EEE8;
  --text: #151518;
  --text-muted: #555863;
  --text-subtle: #8B8E98;
  --accent: #F04E4E;
  --accent-soft: rgba(240, 78, 78, 0.12);
  --card: #FFFFFF;
  --border: rgba(21, 21, 24, 0.08);
  --success: #1FA865;
  --shadow: 0 12px 32px rgba(21, 21, 24, 0.06);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg-top), var(--bg-bottom));
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.container.wide { max-width: 1040px; }

nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px 0; max-width: 1040px; margin: 0 auto; padding-left: 24px; padding-right: 24px;
}
.wordmark { font-weight: 800; font-size: 22px; letter-spacing: -0.02em; color: var(--text); }
.wordmark .dot { color: var(--accent); }
nav .nav-links { display: flex; gap: 28px; font-weight: 500; color: var(--text-muted); font-size: 15px; }
nav .nav-links a { color: var(--text-muted); }
nav .nav-links a:hover { color: var(--text); text-decoration: none; }

h1 {
  font-size: clamp(34px, 5vw, 48px);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.1;
  margin: 32px 0 8px;
}
h1 + .subtitle {
  color: var(--text-muted); font-size: 17px; margin-bottom: 40px;
}
h2 {
  font-size: 22px; font-weight: 700; letter-spacing: -0.02em;
  margin: 40px 0 12px;
}
h3 {
  font-size: 17px; font-weight: 700; margin: 28px 0 8px;
}
p, ul, ol { margin-bottom: 14px; color: var(--text-muted); font-size: 16px; }
ul, ol { padding-left: 22px; }
ul li, ol li { margin-bottom: 6px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  background: var(--accent); color: #fff !important;
  border-radius: 999px; font-weight: 600; font-size: 15px;
  box-shadow: 0 6px 18px rgba(240, 78, 78, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(240, 78, 78, 0.36); text-decoration: none; }
.btn.secondary {
  background: var(--card); color: var(--text) !important;
  box-shadow: inset 0 0 0 1px var(--border);
}
.btn.secondary:hover { box-shadow: inset 0 0 0 1px rgba(0,0,0,0.22); }

.card {
  background: var(--card);
  border-radius: 16px; padding: 28px;
  box-shadow: var(--shadow), inset 0 0 0 1px var(--border);
  margin-bottom: 20px;
}
.eyebrow {
  color: var(--accent); font-weight: 700; font-size: 12px;
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 8px;
}

/* Form */
.field { margin-bottom: 18px; }
.field label {
  display: block; font-weight: 600; font-size: 14px; color: var(--text);
  margin-bottom: 6px;
}
.field input, .field textarea, .field select {
  width: 100%; padding: 11px 14px; font: inherit; font-size: 15px;
  background: var(--card); color: var(--text);
  border: 1px solid var(--border); border-radius: 10px;
  transition: border 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field textarea { min-height: 140px; resize: vertical; }

/* Footer */
footer {
  padding: 40px 0 48px; color: var(--text-subtle); font-size: 13px;
  margin-top: 80px; border-top: 1px solid var(--border);
}
footer .row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
footer a { color: var(--text-subtle); }
footer a:hover { color: var(--text); }

/* Legal prose */
.legal p, .legal li { font-size: 15px; line-height: 1.7; }
.legal h2 { margin-top: 36px; }
.legal h3 { margin-top: 22px; }
.meta {
  color: var(--text-subtle); font-size: 13px;
  padding: 12px 0; border-bottom: 1px solid var(--border); margin-bottom: 24px;
}
