:root {
  color-scheme: light;
  --paper: #F7F2E6;
  --surface: #FBF9F4;
  --ink: #3A3530;
  --ink-fixed: #3A3530;
  --line: #E2DBC9;
  /* Seaglass pair (blue/teal): secondary from "Seaglass Deep", primary a brighter/more saturated
     step up from "Seaglass Soft" ("Vivid") — see .ai/PROGRESS.md's rebrand-palette entry. Named by
     UI role, not hue: accent-secondary is the higher-contrast of the two (links, outlines, success
     text), accent-primary is the bolder fill color (primary buttons, step numbers). */
  --accent-secondary: #4A7A96;
  --accent-primary: #87DBCA;
  --text-secondary: #5C5346;
  --text-muted: #8A8071;
  --error: #B3261E;
}

* {
  box-sizing: border-box;
}

html, body, #root {
  margin: 0;
  padding: 0;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Public Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1040px;
  margin: 0 auto;
  padding: 24px 20px;
}

.brand {
  display: flex;
  align-items: center;
}

.brand-mark {
  display: block;
}

.site-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

.site-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  font-size: 1.1rem;
  padding: 6px 12px;
  cursor: pointer;
}

main {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px 80px;
}

.hero {
  text-align: center;
  padding: 60px 0 40px;
}

.hero h1 {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 600;
  font-size: 3rem;
  margin: 0 0 16px;
  line-height: 1.15;
}

.hero p.lede {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 32px;
}

.cta-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  background: var(--accent-primary);
  color: var(--ink-fixed);
}

.btn-secondary {
  background: transparent;
  color: var(--accent-secondary);
  border: 1.5px solid var(--accent-secondary);
}

.callout {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 16px;
}

.section {
  padding: 48px 0;
}

.section h2 {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 600;
  font-size: 2rem;
  margin: 0 0 32px;
  text-align: center;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
}

.card h3 {
  margin-top: 0;
  font-size: 1.1rem;
}

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

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}

.step img {
  width: 100%;
  display: block;
  border-bottom: 1px solid var(--line);
}

.step-body {
  padding: 20px 24px 24px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent-secondary);
  color: var(--paper);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.step h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.step p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.page-header {
  padding: 56px 0 24px;
  text-align: center;
}

.page-header h1 {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 600;
  font-size: 2.4rem;
  margin: 0 0 12px;
}

.page-header p {
  color: var(--text-secondary);
}

.policy h2 {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 600;
  font-size: 1.4rem;
  margin: 40px 0 12px;
  text-align: left;
}

.policy h3 {
  font-size: 1.05rem;
  margin: 24px 0 8px;
}

.policy p, .policy li {
  color: var(--text-secondary);
}

.policy table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}

.policy th, .policy td {
  text-align: left;
  padding: 10px 12px;
  border: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.policy th {
  background: var(--surface);
  color: var(--ink);
}

.policy-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px;
  max-width: 560px;
  margin: 0 auto;
}

.form-field {
  margin-bottom: 18px;
  text-align: left;
}

.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.95rem;
}

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

.form-status {
  margin-top: 14px;
  font-size: 0.9rem;
}

.form-status.success {
  color: var(--accent-secondary);
}

.form-status.error {
  color: var(--error);
}

.direct-email {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 16px;
}

footer {
  text-align: center;
  padding: 32px 20px;
  color: var(--text-muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--line);
}

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

@media (max-width: 640px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 68px;
    right: 20px;
    left: 20px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 16px;
    flex-direction: column;
    gap: 12px;
    z-index: 10;
  }

  .site-nav.open {
    display: flex;
  }

  .hero h1 {
    font-size: 2.2rem;
  }
}
