/* SSS Fit — shared styles for every page on the domain ("Performance" look: near-black, lime accent) */
:root {
  --bg: #0F100E; --card: #191A17; --card-2: #1F201C; --raise: #24261F; --line: #2A2B26; --line-2: #3A3C34;
  --ink: #F3F2EC; --ink-2: #D4D2C9; --muted: #9C9A92;
  --lime: #C8F169; --lime-2: #E2FFA0; --on-lime: #0F100E; --lime-bg: #283516;
  --input: #1E2433; --input-line: #34405C; --done: #283516; --done-ink: #C8F169;
  --amber: #E7C062; --amber-bg: #3A3018; --amber-ink: #F2D27A; --brick: #FF8A75; --brick-solid: #E0583F; --brick-bg: #3A1E19; --brick-ink: #FFB4A8;
  --oat: var(--bg); --sage: var(--lime); --sage-dark: var(--lime);
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif; --body: Manrope, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.5; }
a { color: var(--lime); }
a:hover { color: var(--lime-2); }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1; margin: 0; letter-spacing: .3px; }
h1 { font-size: 40px; text-transform: uppercase; }
h2 { font-size: 28px; text-transform: uppercase; }
h3 { font-size: 22px; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: 560px; margin: 0 auto; padding: 20px 16px 120px; display: flex; flex-direction: column; gap: 20px; }
.wrap.wide { max-width: 960px; }
.brandbar { display: flex; justify-content: space-between; align-items: center; font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 1.4px; font-weight: 700; gap: 12px; }
.brandbar a { color: var(--muted); text-decoration: none; }
.brandbar b { color: var(--ink); font-family: var(--display); font-size: 24px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; display: inline-flex; align-items: center; gap: 10px; }
.brandbar b::before { content: 'S'; width: 32px; height: 32px; border-radius: 10px; background: var(--lime); color: var(--on-lime); display: inline-flex; align-items: center; justify-content: center; font-size: 17px; letter-spacing: 0; }
.lead { color: var(--ink-2); }
.muted { color: var(--muted); font-size: 14px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 16px; }

.progress { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.progress > div { height: 6px; background: var(--lime); transition: width .25s; }

.q { display: flex; flex-direction: column; gap: 8px; }
.q > .label, .q > label.label { font-weight: 700; font-size: 15px; }
.q .help { font-size: 13px; color: var(--muted); font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card-2); font-size: 15px; font-weight: 600; color: var(--ink-2); }
.chip[aria-pressed="true"] { background: var(--lime); border-color: var(--lime); color: var(--on-lime); font-weight: 800; }
.yn { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.yn > span { flex: 1; font-size: 15px; }
.yn button { width: 64px; height: 44px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card-2); font-size: 15px; font-weight: 600; }
.yn button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); font-weight: 800; }
.yn button.yes[aria-pressed="true"] { background: var(--lime); border-color: var(--lime); color: var(--on-lime); }
.more { padding: 0 0 10px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--muted); }

input[type=text], input[type=email], input[type=tel], input[type=number], input[type=date], input[type=search], select, textarea {
  width: 100%; min-height: 48px; border-radius: 12px; border: 1px solid var(--input-line); background: var(--input); padding: 10px 14px; font-size: 16px; color: var(--ink);
}
::placeholder { color: #7E8496; }
textarea { min-height: 96px; resize: vertical; }
input[aria-invalid="true"], textarea[aria-invalid="true"], select[aria-invalid="true"] { border: 2px solid var(--brick); }
.row { display: flex; gap: 10px; }
.row > * { flex: 1; min-width: 0; }
.dob { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 8px; }
.tick { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid var(--line-2); border-radius: 16px; background: var(--card-2); cursor: pointer; }
.tick input { width: 22px; height: 22px; margin: 1px 0 0; flex-shrink: 0; accent-color: var(--lime); }
.tick.req strong { color: var(--ink); }
.tick .opt { color: var(--muted); }
.declaration { background: var(--card-2); border: 1px solid var(--line); border-radius: 14px; padding: 14px; font-size: 14px; color: var(--ink-2); }

.grid-slots { width: 100%; border-collapse: separate; border-spacing: 4px; font-size: 13px; }
.grid-slots th { font-weight: 600; color: var(--muted); font-size: 12px; text-align: center; padding: 0 0 2px; }
.grid-slots th.day { text-align: left; color: var(--ink); font-size: 14px; font-weight: 700; width: 48px; }
.slot { width: 100%; height: 44px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--card-2); }
.slot[aria-pressed="true"] { background: var(--lime); border-color: var(--lime); }
.scale { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; }
.scale button { height: 44px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--card-2); font-size: 15px; font-weight: 600; padding: 0; }
.scale button[aria-pressed="true"] { background: var(--lime); color: var(--on-lime); border-color: var(--lime); font-weight: 800; }
.scale-ends { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }

.actions { position: fixed; left: 0; right: 0; bottom: 0; background: rgba(15, 16, 14, .94); border-top: 1px solid var(--line); padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); backdrop-filter: blur(8px); }
.actions .inner { max-width: 560px; margin: 0 auto; display: flex; gap: 10px; }
.btn { min-height: 52px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; font-size: 16px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; color: var(--ink); }
.btn:hover { border-color: var(--ink-2); color: var(--ink); }
.btn.primary { flex: 1; background: var(--lime); border-color: var(--lime); color: var(--on-lime); font-weight: 800; }
.btn.primary:hover { background: var(--lime-2); border-color: var(--lime-2); color: var(--on-lime); }
.btn.sage { background: var(--lime); border-color: var(--lime); color: var(--on-lime); font-weight: 800; }
.btn:disabled { opacity: .5; cursor: default; }

.errors { border: 1px solid #5A2A22; background: var(--brick-bg); color: var(--brick-ink); border-radius: 16px; padding: 12px 14px; font-size: 15px; }
.errors ul { margin: 6px 0 0; padding-left: 20px; }
.notice { border-radius: 16px; padding: 12px 14px; font-size: 15px; background: var(--amber-bg); color: var(--amber-ink); }
.notice.good { background: var(--lime-bg); color: var(--lime); }
.notice.bad { background: var(--brick-bg); color: var(--brick-ink); border: 1px solid #5A2A22; }
.notice.bad a, .errors a, .notice a { color: inherit; font-weight: 700; }
.steps { display: flex; flex-direction: column; gap: 14px; }
.steps div { display: flex; gap: 12px; }
.steps b { color: var(--lime); font-family: var(--display); font-size: 26px; font-weight: 800; line-height: 1; }
.bar { height: 10px; border-radius: 5px; background: var(--line); overflow: hidden; }
.bar > div { height: 10px; background: var(--lime); width: 0; transition: width .2s; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.photo-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.photo-slot { display: flex; flex-direction: column; gap: 6px; align-items: stretch; text-align: center; font-size: 14px; font-weight: 700; }
.photo-slot .frame { aspect-ratio: 3/4; border-radius: 16px; border: 2px dashed var(--line-2); background: var(--card-2); display: flex; align-items: center; justify-content: center; overflow: hidden; color: var(--muted); font-weight: 500; font-size: 13px; padding: 6px; cursor: pointer; }
.photo-slot .frame img { width: 100%; height: 100%; object-fit: cover; }
.photo-slot input { position: absolute; opacity: 0; width: 1px; height: 1px; }

footer.site { font-size: 13px; color: var(--muted); display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; padding-top: 8px; }
footer.site a { color: var(--muted); }

/* Daily Systems */
.filters { display: grid; grid-template-columns: 1fr 200px; gap: 10px; }
.guides { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.guide { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 18px; display: flex; flex-direction: column; gap: 8px; text-align: left; color: var(--ink); }
.guide .cat { font-size: 12px; text-transform: uppercase; letter-spacing: 1.4px; color: var(--lime); font-weight: 800; }
.guide h3 { font-size: 24px; }
.guide p { font-size: 15px; color: var(--ink-2); }
.guide button { align-self: flex-start; }
.article { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.article ul, .article ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.placeholder { background: var(--amber-bg); color: var(--amber-ink); border-radius: 6px; padding: 1px 6px; font-size: 13px; font-weight: 700; }

/* Legal pages */
.legal { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 24px; color: var(--ink-2); }
.legal h1, .legal h2, .legal h3 { color: var(--ink); }
.legal h2 { margin: 26px 0 8px; }
.legal h3 { margin: 16px 0 6px; }
.legal p, .legal li { font-size: 15px; margin: 0 0 10px; }
.legal strong { color: var(--ink); }
.legal table { border-collapse: collapse; width: 100%; font-size: 14px; margin: 0 0 12px; }
.legal td, .legal th { border: 1px solid var(--line-2); padding: 8px; text-align: left; vertical-align: top; }
.legal th { color: var(--ink); background: var(--card-2); }
.legal blockquote { margin: 0 0 12px; padding: 12px 14px; border-radius: 14px; background: var(--card-2); }

/* My SSS Fit (client's own page) */
.stack { display: flex; flex-direction: column; gap: 16px; }
.skel { height: 16px; border-radius: 8px; background: linear-gradient(90deg, #1F201C, #2A2B26, #1F201C); background-size: 200% 100%; animation: skel 1.2s infinite linear; }
@keyframes skel { from { background-position: 200% 0; } to { background-position: 0 0; } }
.me-hero { gap: 10px; }
.me-hero .sub { color: var(--muted); font-size: 15px; }
.next { background: #1A1C17; border-color: var(--line); }
.next .eyebrow, .eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: 1.6px; color: var(--muted); font-weight: 800; }
.next .eyebrow { color: var(--lime); }
.next h2 { font-size: 40px; }
.next .btn { background: var(--lime); border-color: var(--lime); color: var(--on-lime); font-weight: 800; }
.week-dots { display: flex; gap: 8px; flex-wrap: wrap; }
.week-dots span { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--line-2); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: var(--muted); }
.week-dots span.done { background: var(--lime); border-color: var(--lime); color: var(--on-lime); }
.list { display: flex; flex-direction: column; }
.list > div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 15px; }
.list > div:first-child { border-top: 0; }
.list .r { color: var(--muted); text-align: right; flex-shrink: 0; }
.pb-tag { display: inline-block; background: var(--amber-bg); color: var(--amber-ink); border-radius: 999px; padding: 0 8px; font-size: 12px; font-weight: 800; margin-left: 6px; }
details.day { border: 1px solid var(--line); border-radius: 16px; background: var(--card-2); }
details.day + details.day { margin-top: 8px; }
details.day summary { list-style: none; cursor: pointer; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; gap: 10px; font-weight: 700; min-height: 52px; }
details.day summary::-webkit-details-marker { display: none; }
details.day summary::after { content: '+'; font-size: 22px; color: var(--muted); font-weight: 400; }
details.day[open] summary::after { content: '–'; }
details.day .tag { font-size: 11.5px; font-weight: 800; color: var(--on-lime); background: var(--lime); border-radius: 999px; padding: 2px 9px; margin-left: 8px; }
.ex { padding: 12px 16px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.ex b { font-weight: 700; }
.ex .meta { font-size: 14px; color: var(--ink-2); }
.ex .note { font-size: 13px; color: var(--muted); }
.lift { display: flex; flex-direction: column; gap: 6px; }
.lift + .lift { border-top: 1px solid var(--line); padding-top: 14px; }
.lift .top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.lift .big { font-family: var(--display); font-size: 32px; font-weight: 800; }
.chart { width: 100%; height: auto; display: block; }
.chart .ln { fill: none; stroke: var(--lime); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.chart .dot { fill: var(--lime); }
.chart .tg { stroke: var(--amber); stroke-dasharray: 4 4; stroke-width: 1.5; }
.chart text { font-size: 11px; fill: var(--muted); font-family: var(--body); }
.note-card { background: var(--lime-bg); border-radius: 16px; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
.note-card .meta { font-size: 12px; color: var(--lime); font-weight: 700; }
.quick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quick .btn { min-height: 56px; font-size: 15px; text-align: center; padding: 0 12px; border-radius: 18px; }
.quick .btn.hurt { border-color: #5A2A22; background: var(--brick-bg); color: var(--brick-ink); font-weight: 800; }

/* Homepage */
.home { background: var(--bg); }
html:has(body.home) { scroll-behavior: smooth; }
.home main > section { scroll-margin-top: 72px; }
.topnav { position: sticky; top: 0; z-index: 20; background: rgba(15, 16, 14, .9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.topnav .inner { max-width: 1120px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; gap: 20px; }
.topnav .brandbar { text-decoration: none; }
.topnav nav { display: flex; gap: 22px; margin-left: auto; }
.topnav nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 14px; }
.topnav nav a:hover { color: var(--lime); }
.btn.small { min-height: 42px; padding: 0 18px; font-size: 14px; }
.topnav .btn.primary { flex: 0 0 auto; }
.home .inner { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.home .inner.narrow { max-width: 720px; }
.home h1 { font-size: 64px; line-height: .95; }
.home h2 { font-size: 40px; margin-bottom: 22px; }
.lime { color: var(--lime); }
.hero-home { padding: 56px 0 40px; }
.hero-home .inner { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.hero-home .copy { flex: 1 1 460px; display: flex; flex-direction: column; gap: 18px; }
.hero-home .eyebrow { color: var(--lime); }
.hero-home .lead { font-size: 18px; max-width: 560px; }
.cta { display: flex; gap: 10px; flex-wrap: wrap; }
.cta .btn.primary { flex: 0 0 auto; }
.ticks { list-style: none; padding: 0; margin: 0; display: flex; gap: 18px; flex-wrap: wrap; color: var(--ink-2); font-size: 14px; font-weight: 600; }
.ticks li::before, .list-ticks li::before { content: '✓'; color: var(--lime); font-weight: 800; margin-right: 8px; }
.preview { flex: 1 1 320px; max-width: 420px; display: flex; flex-direction: column; gap: 12px; }
.ph-card { background: #1A1C17; border: 1px solid var(--line); border-radius: 26px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.ph-card .big { font-family: var(--display); font-size: 40px; font-weight: 800; line-height: 1; }
.ph-row { display: flex; justify-content: space-between; padding: 9px 0; border-top: 1px solid var(--line); font-size: 15px; }
.ph-row span:last-child { color: var(--muted); }
.ph-pb { align-self: flex-start; background: var(--amber-bg); color: var(--amber-ink); border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 800; }
.ph-btn { height: 48px; border-radius: 999px; background: var(--lime); color: var(--on-lime); display: flex; align-items: center; justify-content: center; font-weight: 800; }
.ph-note { background: var(--lime-bg); border-radius: 18px; padding: 12px 16px; font-size: 14px; display: flex; flex-direction: column; gap: 2px; }
.ph-note span { color: var(--lime); font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: 1.2px; }
.band { padding: 56px 0; border-top: 1px solid var(--line); }
.info3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.info { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.info .eyebrow { color: var(--lime); }
.info p { color: var(--ink-2); font-size: 16px; line-height: 1.6; }
.steps4 { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.steps4 li { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.steps4 b { font-family: var(--display); font-size: 44px; font-weight: 800; color: var(--lime); line-height: 1; }
.steps4 p, .feature p { color: var(--ink-2); font-size: 15px; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.features.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.price-row { display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; }
.price-card { max-width: 640px; margin: 0 auto; background: #1A1C17; border: 1px solid #3D5220; border-radius: 26px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.price-card h2 { margin: 0; font-size: 32px; }
.price-card .amount { font-size: 72px; color: var(--lime); }
.list-ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; color: var(--ink-2); }
.price-card .btn.primary { flex: 0 0 auto; }
.addon { background: var(--card-2); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; font-size: 14px; color: var(--ink-2); }
.addon b { color: var(--lime); }
.about { background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: 28px; display: flex; flex-wrap: wrap; gap: 28px; align-items: center; }
.about-text { flex: 1 1 320px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.about h2 { margin: 0; }
.about-photo { flex: 0 1 380px; width: 100%; aspect-ratio: 4/3; border-radius: 18px; background: var(--raise); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 14px; font-weight: 600; }
details.faq { border-top: 1px solid var(--line); }
details.faq:last-of-type { border-bottom: 1px solid var(--line); }
details.faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; gap: 12px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: '+'; color: var(--lime); font-size: 22px; font-weight: 400; }
details.faq[open] summary::after { content: '–'; }
details.faq p { padding: 0 0 18px; color: var(--ink-2); }
.contact-band .lead { margin: -10px 0 18px; }
.home .row.two { flex-wrap: wrap; }
.home .row.two > * { min-width: 220px; }
.thanks { align-items: flex-start; }
.home-foot { padding: 30px 20px 40px; border-top: 1px solid var(--line); }
@media (max-width: 1000px) {
  .features.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topnav nav { gap: 16px; }
}
@media (max-width: 760px) {
  .features.four { grid-template-columns: 1fr; }
  .topnav nav { display: none; }
  .topnav .btn.primary { margin-left: auto; }
  .home h1 { font-size: 46px; }
  .home h2 { font-size: 32px; }
  .hero-home { padding-top: 32px; }
  .band { padding: 40px 0; }
  .price-card .amount { font-size: 60px; }
}

@media (min-width: 700px) {
  h1 { font-size: 52px; }
  .wrap { padding-top: 36px; }
}
@media (max-width: 420px) {
  .filters { grid-template-columns: 1fr; }
  .scale { grid-template-columns: repeat(5, 1fr); }
}

/* My SSS Fit sign-in */
.code-input { font-size: 24px; letter-spacing: 6px; text-align: center; }
.linkish { background: none; border: 0; padding: 0; color: var(--muted); font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.linkish:hover { color: var(--ink); }

/* Daily Systems: unlock box */
.gate { margin-bottom: 20px; border-color: #3D5220; }
.gate .eyebrow { color: var(--lime); }
.gate .row.two { flex-wrap: wrap; }
.gate .row.two > * { min-width: 220px; }
