/*
 * Corkboard marketing site stylesheet.
 *
 * Design system (2026-06-12 rebuild):
 *   Headlines  Playfair Display 700 (serif)   — Google Fonts
 *   Body / UI  Inter 400/500/600              — Google Fonts
 *   Fallbacks  Georgia (serif), system-ui (sans)
 *
 * No frameworks, no build step — plain HTML + CSS so the site deploys
 * cleanly to any static host (Vercel, Netlify, Cloudflare Pages, fly.io
 * static serve, S3 + CloudFront).
 */

:root {
  --cream: #faf7f0;
  --paper: #ffffff;
  --cork: #c8956a;
  --cork-dark: #8c5e35;
  --cork-light: #e8d4b8;
  --text: #1c1208;
  --text-mid: #4a3820;
  --text-soft: #7a6448;
  --rust: #b5461a;
  --rust-hover: #943a14;
  --divider: rgba(200, 175, 145, 0.4);
  --shadow: 0 1px 2px rgba(28, 18, 8, 0.05), 0 6px 20px rgba(28, 18, 8, 0.05);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 14px;
  --container-max: 1080px;
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-mid);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3 {
  font-family: var(--font-serif);
  color: var(--text);
  font-weight: 700;
}

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

a:hover,
a:focus {
  text-decoration: underline;
}

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

/* ---------------- Buttons ---------------- */

.btn {
  display: inline-block;
  padding: 16px 36px;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--rust);
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--rust-hover);
  color: #fff;
  text-decoration: none;
}

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

.btn-secondary:hover,
.btn-secondary:focus {
  border-color: var(--text-mid);
  text-decoration: none;
}

/* ---------------- Header / Nav ---------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 240, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--divider);
  padding: 14px 0;
}

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

.nav-brand {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 24px;
  color: var(--text);
  margin-right: auto;
  letter-spacing: -0.01em;
}

.nav-brand:hover {
  text-decoration: none;
}

.nav-brand span {
  color: var(--cork-dark);
}

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

.nav-links a {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 14px;
  color: var(--text-soft);
}

.nav-links a:hover,
.nav-links a:focus,
.nav-links a[aria-current="page"] {
  color: var(--text);
  text-decoration: none;
}

.nav-cta {
  background: var(--text);
  color: var(--cream);
  padding: 11px 20px;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
}

.nav-cta:hover,
.nav-cta:focus {
  background: #000;
  color: var(--cream);
  text-decoration: none;
}

@media (max-width: 680px) {
  .nav-links {
    display: none;
  }
}

/* ---------------- Eyebrow / section labels ---------------- */

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cork-dark);
  margin: 0 0 16px;
}

/* ---------------- Hero ---------------- */

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

.eyebrow-chip {
  display: inline-block;
  border: 1px solid var(--cork-light);
  color: var(--cork-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
}

.hero h1 {
  font-size: clamp(44px, 8vw, 80px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 22px auto 0;
  max-width: 14ch;
}

.hero-sub {
  max-width: 620px;
  margin: 26px auto 0;
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-mid);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 36px;
}

/* ---------------- Two-sided value cards ---------------- */

.value-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--cork-light);
  border-radius: var(--radius-lg);
  background: var(--cream);
  margin-top: 52px;
  overflow: hidden;
  text-align: left;
}

.value-card {
  padding: 32px;
}

.value-card + .value-card {
  border-left: 1px solid var(--cork-light);
}

.value-card-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--cork-dark);
  margin: 0 0 10px;
}

.value-card h3 {
  font-family: var(--font-serif);
  font-size: 23px;
  line-height: 1.2;
  margin: 0 0 12px;
}

.value-card p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-mid);
}

.value-card-link {
  font-weight: 600;
  font-size: 15px;
  color: var(--rust);
}

@media (max-width: 680px) {
  .value-cards {
    grid-template-columns: 1fr;
  }
  .value-card + .value-card {
    border-left: none;
    border-top: 1px solid var(--cork-light);
  }
}

/* ---------------- Editorial narrative (Why) ---------------- */

.narrative {
  padding: 76px 0;
}

.narrative-inner {
  max-width: 680px;
  margin: 0 auto;
}

.narrative h1,
.narrative h2 {
  font-size: clamp(28px, 4.5vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 28px;
}

.narrative p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-mid);
  margin: 0 0 20px;
}

.narrative p strong {
  color: var(--text);
  font-weight: 600;
}

.narrative .kicker {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text);
  font-weight: 600;
}

/* ---------------- Seven commitments (dark) ---------------- */

.commitments {
  background: var(--text);
  color: var(--cream);
  padding: 84px 0;
}

.commitments .eyebrow {
  color: var(--cork);
}

.commitments h2 {
  color: var(--cream);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.12;
  margin: 0 0 44px;
  max-width: 16ch;
}

.commitment-list {
  max-width: 760px;
}

.commitment {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 8px 18px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.commitment-num {
  color: var(--cork);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding-top: 3px;
}

.commitment h3 {
  font-family: var(--font-sans);
  color: var(--cream);
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 6px;
}

.commitment p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(250, 247, 240, 0.55);
}

@media (max-width: 680px) {
  .commitment {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* ---------------- For Workers CTA block ---------------- */

.workers-cta {
  background: var(--cream);
  text-align: center;
  padding: 84px 0;
}

.workers-cta .lead {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 4vw, 36px);
  line-height: 1.25;
  color: var(--text-mid);
  max-width: 760px;
  margin: 0 auto;
}

.workers-cta .lead-strong {
  display: block;
  font-style: normal;
  font-weight: 700;
  color: var(--text);
  margin-top: 6px;
}

.workers-cta .body {
  max-width: 520px;
  margin: 26px auto 34px;
  font-size: 17px;
  color: var(--text-mid);
}

/* ---------------- Download CTA ---------------- */

.download-cta {
  background: var(--cream);
  text-align: center;
  padding: 64px 0 88px;
  border-top: 1px solid var(--divider);
}

.download-cta h2 {
  font-size: clamp(26px, 3.5vw, 38px);
  line-height: 1.15;
  margin: 0;
}

.download-cta .sub {
  margin: 10px 0 0;
  font-size: 18px;
  color: var(--text-mid);
}

/* ---------------- App store badges ---------------- */

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 28px;
}

.store-badge-placeholder {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--text);
  color: var(--cream);
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  opacity: 0.6;
  cursor: not-allowed;
}

.store-badge-placeholder small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  opacity: 0.8;
}

/* ---------------- Generic page hero (sub-pages) ---------------- */

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

.page-hero h1 {
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0 auto;
  max-width: 16ch;
}

.page-hero .page-sub {
  max-width: 640px;
  margin: 24px auto 0;
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-mid);
}

/* ---------------- Prose sections (Why / For Workers) ---------------- */

.prose {
  padding: 56px 0;
}

.prose-inner {
  max-width: 680px;
  margin: 0 auto;
}

.prose h2 {
  font-size: clamp(24px, 3.5vw, 32px);
  line-height: 1.15;
  margin: 0 0 24px;
}

.prose h3 {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin: 28px 0 6px;
}

.prose p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-mid);
  margin: 0 0 18px;
}

.prose .footnote {
  font-size: 14px;
  color: var(--text-soft);
  border-top: 1px solid var(--divider);
  padding-top: 18px;
  margin-top: 32px;
}

.prose .cta-row {
  margin-top: 32px;
}

.section-alt {
  background: var(--paper);
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
}

/* ---------------- Footer ---------------- */

.site-footer {
  border-top: 1px solid var(--divider);
  padding: 36px 0;
  font-size: 13px;
  color: var(--text-soft);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}

.footer-brand {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
}

.footer-brand span {
  color: var(--cork-dark);
}

.footer-brand:hover {
  text-decoration: none;
}

.footer-links {
  display: flex;
  gap: 22px;
  margin: 0 auto;
}

.footer-links a {
  color: var(--text-soft);
  font-size: 13px;
}

.footer-links a:hover,
.footer-links a:focus {
  color: var(--text);
}

.footer-copy {
  color: var(--text-soft);
}

@media (max-width: 680px) {
  .footer-links {
    margin: 0;
    order: 3;
    width: 100%;
  }
}

/* ---------------- Long-form legal pages ---------------- */

.legal-wrap {
  background: var(--paper);
  padding: 56px 0 80px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
}

@media (max-width: 900px) {
  .legal-layout {
    grid-template-columns: 1fr;
  }
}

.legal-toc {
  position: sticky;
  top: 80px;
  align-self: start;
  font-size: 14px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  padding-right: 8px;
}

.legal-toc h2 {
  font-family: var(--font-sans);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-soft);
  margin: 0 0 12px;
}

.legal-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.legal-toc li {
  margin-bottom: 6px;
}

.legal-toc a {
  color: var(--text-soft);
  display: block;
  padding: 4px 0 4px 10px;
  border-left: 2px solid transparent;
}

.legal-toc a:hover,
.legal-toc a:focus {
  color: var(--text);
  border-left-color: var(--cork);
  text-decoration: none;
}

@media (max-width: 900px) {
  .legal-toc {
    position: static;
    max-height: none;
    margin-bottom: 24px;
    background: var(--cream);
    padding: 16px;
    border-radius: var(--radius-md);
  }
}

.legal-content h1 {
  font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}

.legal-content .effective {
  color: var(--text-soft);
  font-size: 14px;
  margin-bottom: 32px;
}

.legal-content h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 36px 0 12px;
  scroll-margin-top: 80px;
}

.legal-content h3 {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  margin: 24px 0 8px;
  color: var(--text);
}

.legal-content p {
  margin: 0 0 14px;
  line-height: 1.65;
}

.legal-content ul {
  padding-left: 22px;
  margin: 0 0 16px;
}

.legal-content li {
  margin-bottom: 8px;
  line-height: 1.55;
}

.legal-content hr {
  border: none;
  border-top: 1px solid var(--divider);
  margin: 48px 0;
}

.legal-content .uppercase-block {
  background: var(--cream);
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: 0.01em;
}

.legal-content .draft-note {
  background: #fff7e6;
  border-left: 3px solid #c98c1f;
  padding: 12px 16px;
  font-size: 14px;
  margin: 12px 0 20px;
  color: #6b4a14;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* ---------------- Support / FAQ ---------------- */

.support-hero {
  background: var(--paper);
  padding: 56px 0 24px;
  text-align: center;
  border-bottom: 1px solid var(--divider);
}

.support-hero h1 {
  font-size: clamp(32px, 5vw, 44px);
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}

.support-hero p {
  color: var(--text-mid);
  max-width: 520px;
  margin: 0 auto;
}

.faq-heading {
  text-align: center;
  font-size: clamp(24px, 3.5vw, 30px);
  margin: 36px 0 24px;
}

.contact-card {
  background: var(--cream);
  border: 1px solid var(--cork-light);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin: 32px auto 48px;
  max-width: 560px;
  text-align: center;
}

.contact-card h2 {
  font-size: 20px;
  margin: 0 0 8px;
}

.contact-card a {
  font-weight: 600;
  font-size: 17px;
}

.faq {
  max-width: 720px;
  margin: 0 auto;
}

.faq details {
  background: var(--paper);
  border: 1px solid var(--cork-light);
  border-radius: var(--radius-md);
  padding: 0;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 16px;
  list-style: none;
  position: relative;
  padding-right: 48px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--text-soft);
  font-weight: 400;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details[open] summary {
  border-bottom: 1px solid var(--cork-light);
}

.faq .answer {
  padding: 18px 22px 22px;
  color: var(--text-mid);
  font-size: 15px;
  line-height: 1.6;
}

.faq .answer p:first-child {
  margin-top: 0;
}

.faq .answer p:last-child {
  margin-bottom: 0;
}

/* ---------------- Skip link / a11y ---------------- */

.skip-link {
  position: absolute;
  top: -40px;
  left: 16px;
  background: var(--rust);
  color: #fff;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  z-index: 1000;
}

.skip-link:focus {
  top: 8px;
  text-decoration: none;
}
