/* Vela web — minimal static pages.
   Palette mirrors the iOS app's "Bone & Gold" theme so the website and app
   feel like the same product. Light surface, warm text, gold accent. */

:root {
  --bg: #F5EDE2;
  --surface: #EDE2D3;
  --surface-soft: #F0E6D8;
  --text: #2A211A;
  --text-muted: #6B5E50;
  --accent: #C9A961;
  --accent-deep: #A8872F;
  --link: #A8872F;
  --border: rgba(42, 33, 26, 0.08);
  --max-width: 720px;
}

* {
  box-sizing: border-box;
}

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

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

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

nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
}

nav a.brand {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  font-size: 26px;
  color: var(--text);
  text-decoration: none;
}

nav .links {
  display: flex;
  gap: 20px;
}

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

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

h1 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 600;
  font-size: 38px;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
  line-height: 1.15;
  color: var(--text);
}

h2 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 600;
  font-size: 24px;
  margin: 48px 0 12px;
  line-height: 1.25;
  color: var(--text);
}

h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 28px 0 8px;
  color: var(--text);
}

p {
  margin: 12px 0;
}

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

a:hover {
  text-decoration: underline;
}

ul, ol {
  padding-left: 24px;
}

li {
  margin: 6px 0;
}

strong {
  color: var(--text);
}

code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.92em;
  background: var(--surface);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--accent-deep);
}

.meta {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 32px;
}

.callout {
  background: var(--surface);
  border-left: 3px solid var(--accent);
  padding: 16px 20px;
  margin: 20px 0;
  border-radius: 6px;
}

footer {
  border-top: 1px solid var(--border);
  margin-top: 96px;
  padding: 32px 0;
  color: var(--text-muted);
  font-size: 14px;
  text-align: center;
}

footer a {
  color: var(--text-muted);
  text-decoration: none;
  margin: 0 12px;
}

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

.hero {
  text-align: center;
  padding: 88px 0 56px;
}

.hero .wordmark {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: 64px;
  line-height: 1;
  color: var(--text);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 38px;
  margin-bottom: 18px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.hero p {
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto;
  font-size: 19px;
}

.hero .cta {
  margin-top: 36px;
}

.app-store-badge {
  display: inline-block;
  padding: 14px 28px;
  background: var(--text);
  color: var(--bg);
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.app-store-badge:hover {
  text-decoration: none;
  background: #1A130D;
}

.app-store-badge .small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  opacity: 0.7;
  margin-bottom: 2px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.value-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin: 64px 0 32px;
}

@media (max-width: 640px) {
  .value-grid {
    grid-template-columns: 1fr;
  }
  .hero .wordmark {
    font-size: 52px;
  }
  .hero h1 {
    font-size: 30px;
  }
}

.value {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
}

.value h3 {
  margin: 0 0 8px;
  color: var(--accent-deep);
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 600;
  font-size: 18px;
}

.value p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.5;
}

.card-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 48px 0;
}

@media (max-width: 560px) {
  .card-row {
    grid-template-columns: 1fr;
  }
}

.card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.card:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
  text-decoration: none;
}

.card h3 {
  margin: 0 0 6px;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
}
