/* unfoldground.com — Organic / Earth design tokens */

:root {
  --primary: #C4603C;
  --on-primary: #fff;
  --forest: #3D5A45;
  --dawn: #6B8CAE;

  --surface: #FAF8F5;
  --input-bg: #fff;
  --text-primary: #2E2926;
  --text-secondary: #7A756E;
  --text-tertiary: #B5ADA6;
  --divider: #E8E3DE;

  --radius-sm: 8px;
  --radius-md: 14px;

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --forest: #6B9978;
    --surface: #1A1A17;
    --input-bg: #262624;
    --text-primary: #F2EDE8;
    --text-secondary: #A6A199;
    --text-tertiary: #807A73;
    --divider: #403D3B;
  }
}

/* ── Reset ── */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── Base ── */

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  background: var(--surface);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

/* ── Layout ── */

.container {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px;
}

main {
  flex: 1;
  padding: 48px 0 80px;
}

/* ── Header ── */

header {
  padding: 20px 0;
  border-bottom: 1px solid var(--divider);
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-family: "Permanent Marker", cursive;
  font-size: 24px;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: 0.5px;
}

.brand:hover {
  color: var(--primary);
}

header nav {
  display: flex;
  gap: 24px;
}

header nav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

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

/* ── Footer ── */

footer {
  padding: 24px 0;
  border-top: 1px solid var(--divider);
}

footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

footer p {
  font-size: 12px;
  color: var(--text-tertiary);
}

footer nav {
  display: flex;
  gap: 20px;
}

footer nav a {
  font-size: 12px;
  color: var(--text-tertiary);
  text-decoration: none;
}

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

/* ── Privacy Page ── */

.page-header {
  margin-bottom: 48px;
}

.page-header h1 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  letter-spacing: -0.3px;
}

.page-header .meta {
  font-size: 13px;
  color: var(--text-tertiary);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.page-header .meta span::before {
  content: "\25C7\00a0";
  color: var(--primary);
}

.intro {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 48px;
}

/* ── Sections ── */

.section {
  margin-bottom: 48px;
}

.section h2 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--divider);
}

.section h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
  margin: 24px 0 12px;
}

.section p,
.section li {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.section ul {
  list-style: none;
  padding: 0;
}

.section ul li {
  padding-left: 20px;
  position: relative;
  margin-bottom: 6px;
}

.section ul li::before {
  content: "\25C7";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-size: 10px;
  top: 3px;
}

/* ── Tables ── */

.table-wrap {
  overflow-x: auto;
  margin: 12px 0 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--divider);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

thead {
  background: var(--input-bg);
}

th {
  text-align: left;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-tertiary);
  padding: 10px 16px;
}

td {
  padding: 10px 16px;
  color: var(--text-secondary);
  border-top: 1px solid var(--divider);
}

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

td a:hover {
  text-decoration: underline;
}

/* ── Landing Hero ── */

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 60vh;
  gap: 20px;
}

.hero-brand {
  font-family: "Permanent Marker", cursive;
  font-size: 64px;
  color: var(--text-primary);
  letter-spacing: 1px;
}

.hero-tagline {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 3px;
}

.hero-headline {
  max-width: 480px;
  font-size: 21px;
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.5;
  letter-spacing: -0.2px;
}

.hero-desc {
  max-width: 400px;
  font-size: 15px;
  color: var(--text-tertiary);
  line-height: 1.7;
}

.hero-cta-soon {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 8px 20px;
  border: 1px solid var(--divider);
  border-radius: 100px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 12px 28px;
  background: var(--primary);
  color: var(--on-primary);
  font-size: 14px;
  font-weight: 600;
  border-radius: 100px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.hero-cta:hover {
  opacity: 0.88;
}

.hero-cta svg {
  width: 18px;
  height: 18px;
}

/* ── Responsive ── */

@media (max-width: 480px) {
  .hero-brand {
    font-size: 48px;
  }

  .hero-headline {
    font-size: 18px;
  }

  .page-header h1 {
    font-size: 26px;
  }

  th, td {
    padding: 8px 12px;
    font-size: 13px;
  }
}
