/* Sthira Me &mdash; Brand 3.3 tokens.
   Georgia Bold (display) + Arial (body), web-safe OS fonts, no @font-face.
   Palette: Sandstone / Sunset / Ink + pillar colours. */

:root {
  --sandstone: #F5EFE6;
  --sunset:    #E85D2F;
  --ink:       #1F2428;
  --russet:    #B5583F;
  --teal:      #14B8A6;
  --lime:      #84CC16;
  --sky:       #4EA6C6;
  --marigold:  #F59E0B;
  --plum:      #6E3E6B;
  --stone:     #6B6B6B;
  --hairline:  rgba(31, 36, 40, 0.10);

  /* Spacing scale */
  --s-xs: .5rem;
  --s-s:  .875rem;
  --s-m:  1.25rem;
  --s-l:  2rem;
  --s-xl: 3rem;
  --s-xxl: 5rem;

  --container: 960px;
}

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

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

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--sandstone);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: bold;
  line-height: 1.2;
  color: var(--ink);
}

p { max-width: 62ch; }

a {
  color: var(--russet);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 120ms ease-out;
}
a:hover { color: var(--sunset); }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* Site header &mdash; mark top-left per Brand &sect;8.2 */
.site-header {
  padding: var(--s-m) var(--s-m) 0;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
}
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  text-decoration: none;
  color: var(--ink);
}
.brand-lockup:hover { color: var(--ink); }
.pebble-mark {
  display: block;
  height: 54px;
  width: auto;
  user-select: none;
}
.brand-wordmark {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: bold;
  font-size: 1.35rem;
  letter-spacing: 0.01em;
  color: var(--ink);
}

/* Main */
main {
  flex: 1;
  width: 100%;
}

/* ------------ HERO ------------ */
.hero {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--s-xl) var(--s-m) var(--s-xxl);
  text-align: center;
}

.wordmark {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: bold;
  color: var(--ink);
  font-size: clamp(2.5rem, 8vw, 4.25rem);
  line-height: 1;
  letter-spacing: 0.005em;
  margin: var(--s-l) 0 var(--s-s);
  display: inline-block;
}
/* Sunset dot over the dotless-i (&#305;) &mdash; the single typographic flourish. */
.wordmark-i {
  position: relative;
  display: inline-block;
}
.wordmark-i::before {
  content: '';
  position: absolute;
  left: 50%;
  top: -0.04em;
  width: 0.2em;
  height: 0.2em;
  background: var(--sunset);
  border-radius: 50%;
  transform: translateX(-50%);
}

.eyebrow {
  color: var(--russet);
  font-size: 1rem;
  margin: 0 auto var(--s-m);
}

.hero-headline {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: bold;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  color: var(--ink);
  margin: var(--s-m) auto var(--s-s);
  max-width: 22ch;
  letter-spacing: -0.005em;
}

.hero-sub {
  font-size: 1.0625rem;
  color: var(--ink);
  margin: 0 auto var(--s-l);
  max-width: 42ch;
}

.whisper {
  font-size: 0.9rem;
  color: var(--stone);
  margin-top: var(--s-m);
}

/* Waitlist form */
.waitlist-form {
  max-width: 520px;
  margin: 0 auto;
}
.waitlist-row {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.waitlist-form input[type="email"] {
  flex: 1 1 220px;
  min-width: 0;
  padding: .85rem 1rem;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  outline: none;
  transition: border-color 120ms ease-out, box-shadow 120ms ease-out;
}
.waitlist-form input[type="email"]::placeholder {
  color: var(--stone);
}
.waitlist-form input[type="email"]:focus {
  border-color: var(--sunset);
  box-shadow: 0 0 0 3px rgba(232, 93, 47, 0.18);
}

.btn-primary {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: bold;
  font-size: 1rem;
  color: #fff;
  background: var(--sunset);
  border: none;
  padding: .85rem 1.35rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 120ms ease-out, transform 120ms ease-out;
  letter-spacing: 0.01em;
}
.btn-primary:hover:not(:disabled)  { background: var(--russet); }
.btn-primary:active:not(:disabled) { transform: translateY(1px); }
.btn-primary:disabled              { opacity: .6; cursor: not-allowed; }

.form-status {
  min-height: 1.4em;
  margin-top: var(--s-s);
  font-size: .95rem;
  color: var(--stone);
  text-align: center;
}
.form-status.success { color: #1c7a4f; }
.form-status.error   { color: var(--russet); }

/* ------------ PILLARS BAND ------------ */
/* Sunset &rarr; Russet gradient per Logo Brief &sect;7 (the one allowed
   gradient, 135deg, backgrounds only, never on the logo mark). */
.pillars-band {
  background: linear-gradient(135deg, var(--sunset) 0%, var(--russet) 100%);
  padding: var(--s-xxl) var(--s-m);
  color: #fff;
}
.pillars-inner {
  max-width: var(--container);
  margin: 0 auto;
}
.pillars-title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  color: #fff;
  text-align: center;
  margin-bottom: var(--s-s);
}
.pillars-sub {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.92);
  text-align: center;
  margin: 0 auto var(--s-xl);
  max-width: 50ch;
}

.pillar-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--s-m);
}

.pillar-card {
  background: var(--sandstone);
  color: var(--ink);
  border-radius: 1rem;
  padding: var(--s-m);
  display: flex;
  flex-direction: column;
  gap: .6rem;
  position: relative;
  min-height: 180px;
  border-top: 6px solid transparent;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.pillar-badge {
  position: absolute;
  top: var(--s-m);
  right: var(--s-m);
  font-family: Arial, Helvetica, sans-serif;
  font-size: .7rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--stone);
  background: rgba(31, 36, 40, 0.06);
  padding: .2rem .55rem;
  border-radius: 999px;
}
.pillar-name {
  font-size: 1.5rem;
  margin-right: 4rem;   /* room for badge */
}
.pillar-blurb {
  font-size: 0.95rem;
  color: var(--ink);
  max-width: none;
}

/* Per-pillar accent colour &mdash; Brand &sect;2.1 */
.pillar--mobility   { border-top-color: var(--sunset); }
.pillar--yoga       { border-top-color: var(--teal); }
.pillar--strength   { border-top-color: var(--russet); }
.pillar--breath     { border-top-color: var(--sky); }
.pillar--meditation { border-top-color: var(--lime); }
.pillar--sleep      { border-top-color: var(--marigold); }
.pillar--hypnosis   { border-top-color: var(--plum); }

/* ------------ CONTACT ------------ */
.contact {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--s-xxl) var(--s-m) var(--s-xl);
  text-align: center;
}
.contact h2 {
  font-size: 1.5rem;
  margin-bottom: var(--s-s);
}
.contact-email {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: bold;
  font-size: 1.25rem;
  color: var(--sunset);
  text-decoration: none;
}
.contact-email:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  color: var(--sunset);
}

/* ------------ LEGAL PAGES ------------ */
.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: var(--s-xl) var(--s-m) var(--s-xxl);
}
.legal h1 {
  font-size: 2.25rem;
  margin-bottom: var(--s-xs);
}
.legal .updated {
  color: var(--stone);
  font-size: 0.9rem;
  margin-bottom: var(--s-l);
}
.legal h2 {
  font-size: 1.2rem;
  margin-top: var(--s-l);
  margin-bottom: var(--s-s);
  color: var(--sunset);
}
.legal p {
  margin-bottom: var(--s-m);
  max-width: 65ch;
}
.legal .note {
  margin-top: var(--s-xl);
  padding-top: var(--s-m);
  border-top: 1px solid var(--hairline);
  font-size: 0.9rem;
  color: var(--stone);
  font-style: italic;
}

/* ------------ FOOTER ------------ */
footer {
  padding: var(--s-l) var(--s-m);
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  border-top: 1px solid var(--hairline);
}
footer nav {
  display: flex;
  gap: 1.5rem;
  margin-bottom: var(--s-s);
  flex-wrap: wrap;
}
footer nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.9rem;
}
footer nav a:hover {
  color: var(--sunset);
  text-decoration: underline;
}
footer .copy {
  font-size: 0.85rem;
  color: var(--stone);
}

/* ------------ RESPONSIVE ------------ */
@media (max-width: 640px) {
  .site-header   { padding: var(--s-s) var(--s-s) 0; }
  .hero          { padding: var(--s-l) var(--s-s) var(--s-xl); }
  .pillars-band  { padding: var(--s-xl) var(--s-s); }
  .contact       { padding: var(--s-xl) var(--s-s) var(--s-l); }
  .legal         { padding: var(--s-l) var(--s-s) var(--s-xl); }
  footer         { padding: var(--s-m) var(--s-s); }
  .pebble-mark   { height: 44px; }
  .brand-wordmark { font-size: 1.15rem; }
  .waitlist-row  { flex-direction: column; }
  .waitlist-form input[type="email"],
  .waitlist-form .btn-primary { width: 100%; }
}

/* Dark mode &mdash; parked. Sandstone identity held across all surfaces
   per the app's default appearance. Full review in PARKED_WORK.md item A. */
