/* ScreenReps — shared styles (Kiln palette) */

:root {
  --bg: #F5F2EC;
  --card: #FFFFFF;
  --line: #E5DFD2;
  --dim: #C8C0B0;
  --fg: #1A1410;
  --muted: #7A6B58;
  --accent: #D44A18;
  --accent-soft: rgba(212, 74, 24, 0.08);
  --warning: #B88A1C;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

a:hover {
  border-bottom-color: var(--accent);
}

/* Layout container */
.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

.container--wide {
  max-width: 880px;
}

/* Header (shared between pages) */
.site-header {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

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

.logo {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg);
  border-bottom: none;
}

.logo:hover {
  border-bottom: none;
  color: var(--fg);
}

.tag-coming-soon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.tag-coming-soon::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* Hero (landing page) */
.hero {
  padding: 80px 0 64px;
  text-align: left;
}

.hero h1 {
  font-size: 48px;
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--fg);
}

.hero h1 .accent {
  color: var(--accent);
}

.hero .lede {
  font-size: 19px;
  color: var(--muted);
  max-width: 540px;
  line-height: 1.55;
  margin-bottom: 28px;
}

/* Content sections (landing page) */
section.content {
  padding: 48px 0;
  border-top: 1px solid var(--line);
}

section.content h2 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 24px;
}

section.content p {
  font-size: 17px;
  color: var(--fg);
  line-height: 1.65;
  max-width: 600px;
  margin-bottom: 16px;
}

/* Three-column feature grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}

.feature-block {
  padding: 24px 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.feature-block .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  font-size: 13px;
  font-weight: 700;
  font-family: "SF Mono", ui-monospace, Menlo, monospace;
  margin-bottom: 14px;
}

.feature-block h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  color: var(--fg);
}

.feature-block p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

/* Privacy-emphasis section */
.privacy-emphasis {
  padding: 56px 0;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.privacy-emphasis .pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.privacy-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  color: var(--fg);
  font-weight: 500;
}

.privacy-pill::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
}

/* Footer */
.site-footer {
  margin-top: 80px;
  padding: 40px 0 56px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

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

.site-footer .footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

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

.site-footer a:hover {
  color: var(--accent);
}

/* === Privacy policy page === */
.policy-header {
  padding: 56px 0 32px;
}

.policy-header h1 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
  color: var(--fg);
}

.policy-header .updated {
  font-size: 14px;
  color: var(--muted);
  font-family: "SF Mono", ui-monospace, Menlo, monospace;
}

.policy-content {
  padding-bottom: 60px;
}

.policy-content h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 48px 0 16px;
  color: var(--fg);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.policy-content h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 28px 0 10px;
  color: var(--fg);
}

.policy-content p {
  font-size: 16px;
  color: var(--fg);
  line-height: 1.7;
  margin-bottom: 14px;
}

.policy-content ul {
  margin-bottom: 16px;
  padding-left: 22px;
}

.policy-content li {
  font-size: 16px;
  color: var(--fg);
  line-height: 1.7;
  margin-bottom: 6px;
}

.policy-content .summary-block {
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  padding: 14px 18px;
  margin-bottom: 16px;
  border-radius: 0 8px 8px 0;
  font-size: 15px;
  color: var(--fg);
}

.policy-content .summary-block strong {
  color: var(--accent);
}

.policy-content .toc {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 26px;
  margin: 24px 0;
}

.policy-content .toc ol {
  padding-left: 22px;
  margin: 0;
}

.policy-content .toc li {
  margin-bottom: 4px;
}

.policy-content .contact-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 26px;
  margin: 16px 0;
  font-size: 15px;
}

.policy-content .contact-card strong {
  display: block;
  margin-bottom: 6px;
}

.policy-content .contact-card .address-line {
  font-style: normal;
  line-height: 1.7;
  color: var(--fg);
}

.policy-content ul.changelog {
  list-style: none;
  padding-left: 0;
  margin-top: 16px;
}

.policy-content ul.changelog li {
  padding: 12px 16px;
  margin-bottom: 8px;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
  font-size: 15px;
  color: var(--fg);
  line-height: 1.55;
}

.policy-content ul.changelog li strong {
  font-family: "SF Mono", ui-monospace, Menlo, monospace;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  display: inline-block;
  margin-right: 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 15px;
}

th, td {
  padding: 12px 14px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--card);
  font-weight: 600;
  color: var(--fg);
}

td {
  background: var(--bg);
}

.collected-yes {
  color: #2E7D32;
  font-weight: 700;
  text-align: center;
}

.collected-no {
  color: var(--muted);
  font-weight: 500;
  text-align: center;
}

/* Mobile responsive */
@media (max-width: 720px) {
  .hero {
    padding: 56px 0 40px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero .lede {
    font-size: 17px;
  }

  section.content {
    padding: 36px 0;
  }

  .grid-3 {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .policy-header h1 {
    font-size: 28px;
  }

  .site-footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  table {
    font-size: 13px;
  }

  th, td {
    padding: 8px 10px;
  }
}
