/* Plates — shared stylesheet for the product landing page, FAQ and comparison
   pages (web/index.html, web/faq.html, web/compare.html). No external fonts,
   no scripts, no trackers — static only. */

:root {
  --color-bg: #fbf7f2;
  --color-bg-alt: #f2e8da;
  --color-bg-deep: #e8d8c4;
  --color-accent: #cd7734;
  --color-accent-dark: #a95f26;
  --color-text: #312f2c;
  --color-text-muted: #78716c;
  --color-border: #e8d8c4;
  --color-surface: #ffffff;
  --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  --max-width: 760px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--font-stack);
  color: var(--color-text);
  background: linear-gradient(
    170deg,
    var(--color-bg),
    var(--color-bg-alt) 60%,
    var(--color-bg-deep)
  );
  background-attachment: fixed;
  line-height: 1.6;
}

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

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

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

/* Header / nav */

.site-header {
  padding: 20px 0;
}

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

.brand {
  font-weight: 700;
  font-size: 18px;
  color: var(--color-text);
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 15px;
}

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

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

/* Buttons */

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--color-accent);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
  border: none;
}

.btn:hover {
  background: var(--color-accent-dark);
  color: #fff;
}

.btn-outline {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent-dark);
}

/* Hero */

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

.hero h1 {
  font-size: 34px;
  line-height: 1.25;
  margin: 0 0 12px;
}

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

.hero p.lead {
  font-size: 18px;
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto 24px;
}

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

/* Sections */

section {
  padding: 32px 0;
}

section h2 {
  font-size: 24px;
  margin: 0 0 16px;
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 640px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 28px;
  }
}

/* Feature list ("What's free") */

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
}

@media (max-width: 640px) {
  .feature-list {
    grid-template-columns: 1fr;
  }
}

.feature-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.feature-list li::before {
  content: "\2713";
  color: var(--color-accent-dark);
  font-weight: 700;
  flex: none;
}

/* How it works steps */

.steps {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.step {
  flex: 1 1 200px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 18px;
}

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

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

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

/* Teasers (FAQ / Compare) */

.teaser {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 22px;
}

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

.teaser p {
  color: var(--color-text-muted);
  margin: 0 0 12px;
}

/* FAQ page */

.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 4px 20px;
  margin-bottom: 12px;
}

.faq-item summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 600;
  font-size: 16px;
  list-style: none;
}

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

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--color-accent-dark);
  font-weight: 700;
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-item .answer {
  padding-bottom: 16px;
  color: var(--color-text);
}

.faq-item .answer p {
  margin: 0 0 10px;
}

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

/* Comparison table */

.table-scroll {
  overflow-x: auto;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 14px;
}

table.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 640px;
}

table.compare caption {
  caption-side: top;
  text-align: left;
  padding: 16px 16px 0;
  color: var(--color-text-muted);
}

table.compare th,
table.compare td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}

table.compare th {
  color: var(--color-text-muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

table.compare tr.plates-row td {
  background: var(--color-bg-alt);
  font-weight: 600;
}

table.compare tr:last-child td {
  border-bottom: none;
}

.note {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-top: 16px;
}

/* Footer */

.site-footer {
  padding: 32px 0 48px;
  border-top: 1px solid var(--color-border);
  margin-top: 24px;
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--color-text-muted);
}

.site-footer a {
  color: var(--color-text-muted);
  margin-right: 14px;
}

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

.back-link {
  display: inline-block;
  margin-top: 24px;
  font-size: 14px;
}
