/* Self & Season: the public pages (home, about, contact, legal, not found).
   The page takes the colour of the season it is today: frost in winter, blossom
   in spring, ripe wheat in summer, dry leaf in autumn. Deep forest for the
   evening bands. Kokum red for actions, turmeric for marks. Anek Latin for
   headings, Atkinson Hyperlegible for reading. Every text colour pair meets
   WCAG 2.1 AA; the browser tests run axe on every page. */

body.page {
  --ink: #1f1a17;
  --ink-2: #4b423c;
  --base: #ece6dc;
  --base-2: #e0d8cc;
  --line: rgba(31, 26, 23, 0.16);
  --deep: #1d2a26;
  --deep-ink: #f1ece4;
  --deep-ink-2: #c9d3cd;
  --kokum: #9c3418;
  --kokum-dark: #7d2810;
  --haldi: #e4a11b;
  --vata: #3a6a92;
  --pitta: #b4451b;
  --kapha: #2e6b4f;
  background: var(--base);
  color: var(--ink);
  font-size: 1.0625rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
html[data-season='winter'] body.page { --base: #e3e9ed; --base-2: #d3dde3; }
html[data-season='spring'] body.page { --base: #f0e4df; --base-2: #e5d3cc; }
html[data-season='summer'] body.page { --base: #f0e3c4; --base-2: #e5d3aa; }
html[data-season='autumn'], html[data-season='rains'] { }
html[data-season='autumn'] body.page { --base: #ecdccb; --base-2: #dfc9b3; }
body.page main { flex: 1; }
body.page :focus-visible { outline: 3px solid var(--kokum); outline-offset: 3px; }
body.page h1, body.page h2, body.page .h2 { font-family: var(--serif); font-weight: 700; letter-spacing: -0.02em; }
body.page a { text-underline-offset: 0.2em; }

/* ---------- header ---------- */
.ss-head { width: min(100% - 2.5rem, 80rem); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.ss-mark { display: inline-flex; align-items: center; gap: 0.55rem; text-decoration: none; font-family: var(--serif); font-weight: 700; font-size: 1.35rem; letter-spacing: -0.02em; }
.ss-dot { width: 0.8rem; height: 0.8rem; border-radius: 50%; background: var(--haldi); box-shadow: inset -3px -2px 0 rgba(0, 0, 0, 0.18); }
html[data-season='winter'] .ss-dot { background: #8fb1c9; }
html[data-season='spring'] .ss-dot { background: #e48aa6; }
html[data-season='autumn'] .ss-dot { background: #c96a2b; }
.ss-nav { display: flex; align-items: center; gap: 0.3rem 1.4rem; flex-wrap: wrap; }
.ss-nav a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; font-weight: 700; }
.ss-nav a:hover, .ss-nav a[aria-current='page'] { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--kokum); }
.ss-nav .ss-nav-go { padding: 0 1.1rem; border: 2px solid var(--ink); border-radius: 0.4rem; }
.ss-nav .ss-nav-go:hover { background: var(--ink); color: var(--base); text-decoration: none; }

/* ---------- shared ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0.8rem 1.7rem; background: var(--kokum); color: #fff; border: 0; border-radius: 0.4rem; font: inherit; font-weight: 700; font-size: 1.05rem; text-decoration: none; cursor: pointer; transition: background 0.15s; }
.btn:hover { background: var(--kokum-dark); }
.btn[disabled] { opacity: 0.6; cursor: default; }
.link { font-weight: 700; color: var(--kokum); text-decoration-thickness: 2px; }
.kicker { font-weight: 700; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--kokum); margin-bottom: 0.9rem; }
.lede { font-size: 1.2rem; color: var(--ink-2); max-width: 38rem; margin-top: 1.2rem; }
.h2 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); line-height: 1.02; }
.aside { font-size: 0.95rem; color: var(--ink-2); border-left: 3px solid var(--haldi); padding-left: 0.9rem; margin-top: 1.2rem; }
.ico { width: 1.3rem; height: 1.3rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico.big { width: 2rem; height: 2rem; }
.ico-v { color: var(--vata); } .ico-p { color: var(--pitta); } .ico-k { color: var(--kapha); }

/* ---------- home: hero ---------- */
.hero { width: min(100% - 2.5rem, 80rem); margin: 0 auto; display: grid; gap: 2.5rem; padding: 3rem 0 4rem; }
@media (min-width: 60rem) { .hero { grid-template-columns: 1.15fr 1fr; gap: 4rem; align-items: center; padding: 4rem 0 5rem; } }
.hero h1 { font-size: clamp(2.6rem, 1.4rem + 4.4vw, 5.2rem); line-height: 0.98; max-width: 14ch; }
.hero-go { margin-top: 2rem; display: flex; align-items: center; gap: 0.8rem 1.4rem; flex-wrap: wrap; }
.hero-note { color: var(--ink-2); font-size: 0.95rem; }
.hero-world { margin: 0; }
.hero-frame { height: clamp(22rem, 58vh, 38rem); border-radius: 0.6rem; overflow: hidden; background: #cfe3f2; box-shadow: 0 0 0 1px var(--line); }
@media (min-width: 60rem) { .hero-frame { height: min(72vh, 42rem); margin-right: calc((100vw - min(100vw - 2.5rem, 80rem)) / -2); border-radius: 0.6rem 0 0 0.6rem; } }
.hero-frame canvas { width: 100%; height: 100%; cursor: pointer; }
.hero-world figcaption { margin-top: 1rem; display: grid; gap: 0.7rem; justify-items: start; }
.live { font-size: 0.9rem; font-weight: 700; color: var(--ink-2); display: flex; align-items: center; gap: 0.5rem; }
.live::before { content: ''; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--kapha); }
.shapes { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.shape { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 44px; padding: 0.4rem 1rem 0.4rem 0.75rem; border: 2px solid var(--ink); border-radius: 0.4rem; background: transparent; color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; }
.shape[aria-pressed='true'] { background: var(--ink); color: var(--base); }
.shape[aria-pressed='true'] .ico { color: var(--haldi); }
.shape-line { color: var(--ink-2); min-height: 1.6em; }

/* ---------- home: right now ---------- */
.now { background: var(--deep); color: var(--deep-ink); }
.now-in { width: min(100% - 2.5rem, 80rem); margin: 0 auto; padding: 4rem 0 3.5rem; }
.now-label { font-family: var(--sans) !important; font-size: 0.85rem; font-weight: 700 !important; letter-spacing: 0.12em !important; text-transform: uppercase; color: var(--haldi); }
.now-big { font-family: var(--serif); font-weight: 700; font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3.2rem); line-height: 1.05; letter-spacing: -0.02em; margin-top: 0.9rem; max-width: 22ch; }
.now-line { margin-top: 1rem; color: var(--deep-ink-2); max-width: 40rem; font-size: 1.1rem; }
.ribbon { position: relative; display: grid; grid-template-columns: 2fr 4fr 4fr 4fr 4fr 4fr 2fr; margin-top: 2.6rem; height: 3rem; border-radius: 0.4rem; overflow: hidden; }
.rb { display: flex; align-items: center; padding-left: 0.6rem; font-size: 0.8rem; font-weight: 700; color: #fff; }
.rb:first-child { padding-left: 0.35rem; font-size: 0; }
.rb-v { background: var(--vata); } .rb-p { background: var(--pitta); } .rb-k { background: var(--kapha); }
.rb-half { font-size: 0; }
.rb-now { position: absolute; top: -0.35rem; bottom: -0.35rem; width: 4px; margin-left: -2px; background: var(--haldi); border-radius: 2px; box-shadow: 0 0 0 3px var(--deep); left: 50%; }
.ribbon-scale { display: flex; justify-content: space-between; margin-top: 0.5rem; font-size: 0.8rem; color: var(--deep-ink-2); }
@media (max-width: 40rem) { .rb { font-size: 0; } }

/* ---------- home: how it works ---------- */
.how, .doshas, .promise { width: min(100% - 2.5rem, 80rem); margin: 0 auto; padding: 5rem 0 1rem; }
.how-list { list-style: none; padding: 0; margin: 2.5rem 0 0; border-top: 2px solid var(--ink); }
.how-list li { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 50rem) { .how-list li { grid-template-columns: 9rem 1fr 1fr; } .how-list li > div { display: contents; } .how-list h3 { align-self: start; } }
.how-n { font-family: var(--serif); font-weight: 700; font-size: 3.4rem; line-height: 0.9; color: var(--kokum); }
.how-list h3 { font-family: var(--serif); font-size: 1.6rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.1; }
.how-list p { color: var(--ink-2); max-width: 32rem; }

/* ---------- home: doshas ---------- */
.doshas { display: grid; gap: 2.5rem; }
@media (min-width: 60rem) { .doshas { grid-template-columns: 1fr 1.3fr; gap: 5rem; align-items: start; } .doshas-head { position: sticky; top: 2rem; } }
.doshas-head p { margin-top: 1.1rem; color: var(--ink-2); font-size: 1.1rem; }
.dosha-rows { margin: 0; display: grid; }
.dosha-row { padding: 1.6rem 0; border-top: 1px solid var(--line); display: grid; gap: 0.5rem; }
.dosha-row:last-child { border-bottom: 1px solid var(--line); }
.dosha-row dt { display: flex; align-items: center; gap: 0.7rem; }
.dn { font-family: var(--serif); font-weight: 700; font-size: 1.9rem; letter-spacing: -0.02em; }
.deva { font-family: "Tiro Devanagari Sanskrit", serif; font-size: 1.4rem; color: var(--ink-2); }
.dosha-row dd { margin: 0; color: var(--ink-2); max-width: 34rem; }
.dosha-row dd strong { color: var(--ink); }
.dr-v .dn { color: var(--vata); } .dr-p .dn { color: var(--pitta); } .dr-k .dn { color: var(--kapha); }

/* ---------- home: promises ---------- */
.promise-list { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; gap: 0; border-top: 2px solid var(--ink); }
@media (min-width: 50rem) { .promise-list { grid-template-columns: 1fr 1fr; column-gap: 3rem; } }
.promise-list li { padding: 1.2rem 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.promise-list strong { display: block; color: var(--ink); font-size: 1.15rem; margin-bottom: 0.2rem; }
.promise-more { margin-top: 1.5rem; }

/* ---------- home: closing ---------- */
.closing { width: min(100% - 2.5rem, 80rem); margin: 0 auto; padding: 5rem 0 6rem; display: grid; gap: 2rem; justify-items: start; }
.closing-q { margin: 0; border-left: 6px solid var(--haldi); padding-left: 1.5rem; }
.closing-q p { font-family: var(--serif); font-weight: 600; font-size: clamp(1.6rem, 1.1rem + 2vw, 2.7rem); line-height: 1.12; letter-spacing: -0.015em; max-width: 30ch; }

/* ---------- about, contact, legal ---------- */
.page-top { width: min(100% - 2.5rem, 80rem); margin: 0 auto; padding: 3.5rem 0 2.5rem; border-bottom: 2px solid var(--ink); }
.page-top h1 { font-size: clamp(2.6rem, 1.6rem + 3.6vw, 4.6rem); line-height: 0.98; }
.updated { margin-top: 1rem; color: var(--ink-2); font-size: 0.95rem; }
.about { width: min(100% - 2.5rem, 80rem); margin: 0 auto 4rem; }
.about-row { display: grid; gap: 0.8rem; padding: 2.4rem 0; border-bottom: 1px solid var(--line); scroll-margin-top: 1rem; }
@media (min-width: 56rem) { .about-row { grid-template-columns: 16rem 1fr; gap: 3rem; } }
.about-row h2 { font-size: 1.6rem; line-height: 1.1; }
.about-row > div { max-width: 44rem; }
.pull { margin: 0; }
.pull p { font-family: var(--serif); font-weight: 600; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); line-height: 1.2; letter-spacing: -0.01em; }
.beliefs { margin: 0; display: grid; gap: 1.1rem; }
.beliefs dt { font-weight: 700; font-size: 1.1rem; }
.beliefs dd { margin: 0.15rem 0 0; color: var(--ink-2); }

.contact { width: min(100% - 2.5rem, 80rem); margin: 0 auto 5rem; display: grid; gap: 3rem; padding-top: 2.5rem; }
@media (min-width: 56rem) { .contact { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.contact h2 { font-size: 1.8rem; margin-bottom: 0.8rem; }
.contact-write > p { color: var(--ink-2); margin-top: 0.8rem; }
.mail { font-family: var(--serif); font-weight: 700; font-size: clamp(1.3rem, 1rem + 1.4vw, 1.9rem); color: var(--kokum); overflow-wrap: anywhere; text-decoration-thickness: 2px; }
.topics { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.topics a { display: inline-flex; align-items: center; min-height: 44px; padding: 0.4rem 1rem; border: 2px solid var(--ink); border-radius: 0.4rem; text-decoration: none; font-weight: 700; }
.topics a:hover { background: var(--ink); color: var(--base); }
.contact-wait { background: var(--deep); color: var(--deep-ink); padding: 2rem; border-radius: 0.6rem; }
.contact-wait > p { color: var(--deep-ink-2); margin-bottom: 1.4rem; }
.contact-wait :focus-visible { outline-color: var(--haldi); }
.contact-wait a { color: var(--deep-ink); }
body.page .waitlist-form { display: grid; gap: 1rem; }
body.page .field { display: grid; gap: 0.35rem; }
body.page .field label { font-weight: 700; }
body.page .optional { font-weight: 400; color: var(--deep-ink-2); }
body.page .field input { font: inherit; padding: 0.75rem 0.9rem; border: 2px solid var(--deep-ink-2); border-radius: 0.4rem; background: #fff; color: var(--ink); min-height: 50px; }
body.page .field input[aria-invalid='true'] { border-color: #ffb4a0; }
body.page .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
body.page .form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1rem; }
body.page .contact-wait .btn { background: var(--haldi); color: var(--ink); }
body.page .contact-wait .btn:hover { background: #f2b53a; }
body.page .form-status { font-weight: 700; }
body.page .form-status.is-error { color: #ffc2b0; }
body.page .form-status.is-ok { color: #bfe8cf; }
body.page .notice { font-size: 0.9rem; color: var(--deep-ink-2); }

.legal { width: min(100% - 2.5rem, 80rem); margin: 0 auto 5rem; display: grid; gap: 2rem; padding-top: 2.5rem; }
@media (min-width: 60rem) { .legal { grid-template-columns: 17rem 1fr; gap: 4rem; } .legal-toc ol { position: sticky; top: 1.5rem; } }
.legal-toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.1rem; border-left: 3px solid var(--haldi); padding-left: 1rem; }
.legal-toc a { display: inline-flex; align-items: center; min-height: 40px; text-decoration: none; font-weight: 700; color: var(--ink-2); font-size: 0.95rem; }
.legal-toc a:hover { color: var(--ink); text-decoration: underline; }
.legal-body { max-width: 44rem; }
.legal-body section { padding: 0 0 2rem; scroll-margin-top: 1rem; }
.legal-body h2 { font-size: 1.5rem; margin-bottom: 0.7rem; }
.legal-body p, .legal-body li { color: var(--ink-2); }
.legal-body p + p { margin-top: 0.8rem; }
.legal-body ul { padding-left: 1.2rem; margin: 0.6rem 0 0; }
.legal-body li + li { margin-top: 0.5rem; }
.legal-body strong { color: var(--ink); }
.legal-body a { color: var(--kokum); font-weight: 700; }

/* ---------- not found ---------- */
.lost { width: min(100% - 2.5rem, 40rem); margin: 0 auto; padding: 5rem 0 6rem; }
.lost h1 { font-size: clamp(2.4rem, 1.6rem + 3vw, 4rem); line-height: 1; }
.lost .lede { margin-bottom: 2rem; }
.lost p:last-child { display: flex; gap: 1.4rem; align-items: center; flex-wrap: wrap; }

/* ---------- footer ---------- */
.ss-foot { background: var(--deep); color: var(--deep-ink); margin-top: 0; padding: 3.5rem max(1.25rem, calc((100% - 80rem) / 2)) 2.5rem; display: grid; gap: 2rem; }
@media (min-width: 56rem) { .ss-foot { grid-template-columns: 2fr 1fr 1.4fr; column-gap: 3rem; } .ss-fine { grid-column: 1 / -1; } }
.ss-foot-mark { font-family: var(--serif); font-weight: 700; font-size: 1.8rem; letter-spacing: -0.02em; }
.ss-foot-brand p:last-child { color: var(--deep-ink-2); margin-top: 0.3rem; max-width: 26rem; }
.ss-foot nav { display: grid; gap: 0.1rem; align-content: start; }
.ss-foot nav a { min-height: 40px; display: inline-flex; align-items: center; font-weight: 700; color: var(--deep-ink); }
.ss-foot-legal a { font-weight: 400 !important; color: var(--deep-ink-2) !important; }
.ss-fine { font-size: 0.85rem; color: var(--deep-ink-2); border-top: 1px solid rgba(241, 236, 228, 0.18); padding-top: 1.5rem; max-width: none; }
.ss-foot :focus-visible { outline-color: var(--haldi); }

@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }
.promise-list li { display: block; }

/* ---- Our approach: the terms, one for one ---- */
.how-more { margin-top: 1.6rem; }
.approach-steps { margin: 0; padding-left: 1.3rem; display: grid; gap: 0.9rem; }
.approach-steps li::marker { font-family: var(--serif); font-weight: 700; color: var(--kokum); }
.approach-src { margin: 0.6rem 0 0; padding-left: 1.2rem; display: grid; gap: 0.6rem; color: var(--ink-2); }
.approach-src strong { color: var(--ink); }
.approach .about-row > div > p + p, .approach .about-row > div > .term-wrap + p { margin-top: 0.9rem; }
.term-wrap { margin: 1rem 0 0; overflow-x: auto; border: 2px solid var(--ink); border-radius: 0.6rem; background: rgba(255, 255, 255, 0.55); }
.term-wrap:focus-visible { outline: 3px solid var(--kokum); outline-offset: 2px; }
.terms { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
.terms caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.terms th, .terms td { padding: 0.65rem 0.85rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.terms tbody tr:last-child th, .terms tbody tr:last-child td { border-bottom: 0; }
.terms thead th { font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); border-bottom: 2px solid var(--ink); white-space: nowrap; }
.terms tbody th { font-weight: 700; }
.terms td { color: var(--ink-2); }
.terms i { font-style: italic; color: var(--ink); }
.terms .deva { margin-left: 0.35rem; }
.two-way { padding: 0.9rem 1rem; border-left: 4px solid var(--haldi); background: rgba(255, 255, 255, 0.55); }
.two-way + .two-way { border-left-color: var(--kokum); }
@media (max-width: 34rem) { .terms { font-size: 0.9rem; } .terms th, .terms td { padding: 0.55rem 0.6rem; } }
.approach .about-row > div { min-width: 0; }
.term-wrap { max-width: 100%; }
@media (max-width: 34rem) { .terms thead th { white-space: normal; } }
