/* Pare marketing site — design tokens locked to match the Pare iOS app.
   Black and white, no brand accent color. See CLAUDE.md in the app repo. */

:root {
  --bg: #000000;
  --surface: #1c1c1c;
  --border: #2a2a2a;
  --text-primary: #ffffff;
  --text-secondary: #8a8a8a;

  --container-width: 1100px;
  --content-width: 720px;

  --radius-sm: 10px;
  --radius-md: 16px;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  margin: 0 0 16px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

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

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

a:hover {
  color: var(--text-secondary);
}

ul {
  margin: 0 0 16px;
  padding-left: 20px;
  color: var(--text-secondary);
}

li {
  margin-bottom: 8px;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */

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

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

.logo {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.logo:hover {
  color: var(--text-primary);
  opacity: 0.7;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

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

/* Hero */

.hero {
  padding: 96px 0 72px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.hero .pitch {
  font-size: 1.125rem;
  max-width: 560px;
  margin: 0 auto 40px;
}

.hero-cta {
  display: flex;
  justify-content: center;
}

/* App Store badge (placeholder — app not yet live) */

.app-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 20px;
  cursor: default;
  user-select: none;
}

.app-store-badge svg {
  flex-shrink: 0;
}

.app-store-badge .badge-text {
  text-align: left;
  line-height: 1.2;
}

.app-store-badge .badge-eyebrow {
  display: block;
  font-size: 0.6875rem;
  color: var(--text-secondary);
}

.app-store-badge .badge-title {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* Sections */

.section {
  padding: 64px 0;
  border-top: 1px solid var(--border);
}

.section-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  text-align: center;
}

.section h2 {
  font-size: 1.75rem;
}

.section-lede {
  font-size: 1.0625rem;
  max-width: 560px;
  margin: 0 auto 40px;
}

/* Pricing */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 560px;
  margin: 0 auto;
  text-align: left;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
}

.price-card .price-period {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.price-card .price-amount {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.price-card .price-note {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin: 0;
}

.pricing-trial-note {
  margin-top: 24px;
  font-size: 0.9375rem;
}

/* Trust list */

.trust-list {
  list-style: none;
  padding: 0;
  max-width: 560px;
  margin: 0 auto;
  text-align: left;
}

.trust-list li {
  display: flex;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
}

.trust-list li:first-child {
  border-top: none;
}

.trust-list strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--text-primary);
  color: #000000;
}

.btn-primary:hover {
  background: var(--text-secondary);
  color: #000000;
}

.btn-secondary {
  background: transparent;
  border-color: var(--border);
  color: var(--text-primary);
}

.btn-secondary:hover {
  border-color: var(--text-secondary);
  color: var(--text-primary);
  background: var(--surface);
}

/* Page header (non-home pages) */

.page-header {
  padding: 64px 0 32px;
  text-align: center;
}

.page-header h1 {
  font-size: 2.25rem;
}

.page-header .page-lede {
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.0625rem;
}

/* Legal content (Termly embeds) */

.legal-content {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 24px 96px;
}

/* Support / contact */

.support-block {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 24px 96px;
}

.support-email {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 40px;
}

.support-email h3 {
  font-size: 1.0625rem;
  margin-bottom: 4px;
}

.support-email a {
  font-size: 1.0625rem;
  font-weight: 600;
}

.form-field {
  margin-bottom: 20px;
}

.form-field label {
  display: block;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--text-secondary);
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  font-size: 0.8125rem;
  margin-top: 12px;
}

/* Manage subscription */

.subscription-block {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 24px 96px;
  text-align: center;
}

.subscription-actions {
  margin: 32px 0;
}

.subscription-fallback {
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 32px;
}

.subscription-fallback h3 {
  font-size: 1rem;
}

.subscription-fallback ol {
  color: var(--text-secondary);
  padding-left: 20px;
  margin: 0;
}

.subscription-fallback li {
  margin-bottom: 6px;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  padding: 56px 24px 32px;
}

.footer-brand .logo {
  display: inline-block;
  margin-bottom: 8px;
}

.footer-tagline {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin: 0;
}

.footer-col h4 {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.footer-col a {
  display: block;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin-bottom: 10px;
}

.footer-col a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 24px;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

/* Responsive */

@media (max-width: 640px) {
  .hero {
    padding: 64px 0 48px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 48px 24px 24px;
  }
}
