/* Glass Skin USA — clean skincare education.
   Alabaster field, moss structure, one clay accent.
   Deliberately distinct from DewyIQ (champagne) and BreedFuel (amber). */

:root {
  --field: #faf8f4;
  --field-warm: #f3efe7;
  --surface: #ffffff;
  --ink: #14201a;
  --ink-soft: #253128;
  --muted: #5a6560;
  --faint: #8b948e;
  --moss: #2f4a3c;
  --moss-deep: #1d3227;
  --sage: #7d9483;
  --sage-wash: #edf1ec;
  --clay: #c4a28a;
  --clay-wash: #f5ede5;
  --hairline: #e4e0d8;
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1120px;
  --shadow: 0 18px 48px rgba(20, 32, 26, 0.07);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--field);
  color: var(--ink);
  font-family: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: Fraunces, Georgia, "Times New Roman", serif;
  font-weight: 650;
  letter-spacing: -0.015em;
  line-height: 1.12;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.18rem; line-height: 1.3; }

p { margin: 0 0 1em; }
a { color: var(--moss); text-underline-offset: 3px; }
img { max-width: 100%; display: block; }

.wrap { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }

.eyebrow {
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 700; color: var(--clay); margin: 0 0 0.9rem;
}
.lede { font-size: 1.16rem; color: var(--muted); max-width: 62ch; }
.small { font-size: 0.86rem; color: var(--faint); }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(250, 248, 244, 0.88);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--hairline);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding: 0.9rem 0;
}
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--ink); }
.brand-mark {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--moss); color: var(--field);
  display: grid; place-items: center;
  font-family: Fraunces, serif; font-size: 0.95rem; font-weight: 650;
}
.brand strong { display: block; font-size: 1rem; letter-spacing: -0.01em; }
.brand small { display: block; font-size: 0.72rem; color: var(--faint); letter-spacing: 0.04em; }
.nav { display: flex; gap: 1.6rem; align-items: center; }
.nav a { font-size: 0.92rem; font-weight: 600; text-decoration: none; color: var(--ink-soft); }
.nav a:hover { color: var(--moss); }
@media (max-width: 820px) { .nav { display: none; } }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.5rem; border-radius: 999px;
  font-weight: 700; font-size: 0.95rem; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; transition: transform 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--moss); color: var(--field); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--hairline); }
.btn-clay { background: var(--clay); color: var(--ink); }

/* hero */
.hero { padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(2.5rem, 5vw, 4rem); }
.hero h1 { max-width: 17ch; }
.hero .lede { margin-top: 1.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.hero-note { margin-top: 1.6rem; font-size: 0.86rem; color: var(--faint); }

/* decoder */
.decoder {
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: clamp(1.5rem, 3vw, 2.4rem); margin-top: 2rem;
}
.decoder-head {
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: baseline; justify-content: space-between;
  border-bottom: 1px solid var(--hairline); padding-bottom: 1rem; margin-bottom: 1.4rem;
}
.decoder-head h3 { margin: 0; }
.verdict {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.32rem 0.85rem; border-radius: 999px;
  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
}
.verdict-pass { background: var(--sage-wash); color: var(--moss-deep); }
.verdict-mixed { background: var(--clay-wash); color: #8a6034; }
.verdict-fail { background: #f7ebe9; color: #8f3a2e; }
.claim-row {
  display: grid; grid-template-columns: 1fr auto; gap: 1.2rem;
  padding: 0.95rem 0; border-bottom: 1px solid var(--hairline); align-items: start;
}
.claim-row:last-child { border-bottom: 0; }
.claim-row p { margin: 0.25rem 0 0; font-size: 0.93rem; color: var(--muted); }

/* sections */
.section { padding: clamp(3rem, 6vw, 5rem) 0; }
.section-head { max-width: 60ch; margin-bottom: 2.4rem; }
.grid { display: grid; gap: 1.2rem; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.card { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 1.5rem; }
.card h3 { margin-bottom: 0.4rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.card-tag {
  font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 700; color: var(--sage); display: block; margin-bottom: 0.7rem;
}

.band { background: var(--field-warm); }
.band-moss { background: var(--moss-deep); color: var(--field); }
.band-moss h1, .band-moss h2, .band-moss h3 { color: var(--field); }
.band-moss p, .band-moss .lede { color: rgba(250, 248, 244, 0.78); }
.band-moss .eyebrow { color: var(--clay); }
.band-moss .card { background: rgba(250, 248, 244, 0.06); border-color: rgba(250, 248, 244, 0.16); }

/* ingredient */
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 2.5rem; align-items: start; }
@media (max-width: 840px) { .split { grid-template-columns: 1fr; } }
.fact-list { list-style: none; margin: 0; padding: 0; }
.fact-list li { padding: 0.8rem 0; border-bottom: 1px solid var(--hairline); font-size: 0.95rem; }
.fact-list li:last-child { border-bottom: 0; }
.fact-list span {
  display: block; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--faint); margin-bottom: 0.2rem;
}

/* app pages */
.plan-table {
  width: 100%; border-collapse: collapse; background: var(--surface);
  border: 1px solid var(--hairline); border-radius: var(--radius); overflow: hidden;
}
.plan-table th, .plan-table td {
  padding: 0.95rem 1.1rem; text-align: left; border-bottom: 1px solid var(--hairline); font-size: 0.95rem;
}
.plan-table th {
  font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--faint); font-weight: 700;
}
.plan-table td:not(:first-child), .plan-table th:not(:first-child) { text-align: center; width: 26%; }
.plan-table tr:last-child td { border-bottom: 0; }
.plan-table .pro { color: var(--moss); font-weight: 700; }
.plan-table .free { color: var(--faint); }

.price-row { display: flex; flex-wrap: wrap; gap: 1rem; margin: 1.6rem 0; }
.price-card {
  flex: 1 1 200px; background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--radius-sm); padding: 1.2rem;
}
.price-card.featured { border-color: var(--clay); border-width: 2px; }
.price-card .amount { font-family: Fraunces, serif; font-size: 1.6rem; font-weight: 650; display: block; }
.price-card .term { font-size: 0.84rem; color: var(--faint); }

.disclosure {
  background: var(--clay-wash); border: 1px solid var(--clay);
  border-radius: var(--radius-sm); padding: 0.9rem 1.1rem;
  font-size: 0.9rem; color: var(--ink-soft); margin: 1.2rem 0;
}

/* footer */
.site-footer { border-top: 1px solid var(--hairline); padding: 3rem 0 4rem; margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 2rem; }
.footer-grid h4 {
  font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint);
  margin: 0 0 0.8rem; font-family: Manrope, sans-serif; font-weight: 700;
}
.footer-grid a { display: block; font-size: 0.92rem; text-decoration: none; color: var(--ink-soft); padding: 0.2rem 0; }
.footer-grid a:hover { color: var(--moss); }
.footer-legal { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--hairline); font-size: 0.84rem; color: var(--faint); }

/* prose */
.prose { max-width: 68ch; }
.prose h2 { margin-top: 2.2rem; }
.prose ul { padding-left: 1.2rem; color: var(--muted); }
.prose li { margin-bottom: 0.5rem; }
