/* Allrounder · allrounderfit.com
   Layout: a circle of six. The hero puts the rosette of the six disciplines next to the promise,
   then each section answers one question in a single 1120px column. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/bricolage-grotesque-latin-standard-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/bricolage-grotesque-latin-ext-standard-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #F4EFE6;
  --surface: #EBE4D7;
  --line: #D9D1C3;
  --fg: #1A1814;
  --muted: #5B554C;
  --btn-bg: #1A1814;
  --btn-fg: #F4EFE6;
  --cal: #C4532F;
  --cross: #D69A1C;
  --func: #5F8B35;
  --post: #1F7F7A;
  --pil: #4657B8;
  --hyb: #8F3A7E;
  --font: "Bricolage Grotesque", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --step-0: 1.0625rem;
  --step-1: 1.375rem;
  --step-2: clamp(1.9rem, 1.2rem + 2.6vw, 3rem);
  --step-3: clamp(2.75rem, 1.4rem + 5.6vw, 5.5rem);
  --radius: 22px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #15130F;
    --surface: #221F1A;
    --line: #37332C;
    --fg: #F1EBDF;
    --muted: #B7AFA2;
    --btn-bg: #F1EBDF;
    --btn-fg: #15130F;
    --cal: #E0704B;
    --cross: #E6B040;
    --func: #7FAE52;
    --post: #3AA6A0;
    --pil: #7484DC;
    --hyb: #B65CA3;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #15130F;
  --surface: #221F1A;
  --line: #37332C;
  --fg: #F1EBDF;
  --muted: #B7AFA2;
  --btn-bg: #F1EBDF;
  --btn-fg: #15130F;
  --cal: #E0704B;
  --cross: #E6B040;
  --func: #7FAE52;
  --post: #3AA6A0;
  --pil: #7484DC;
  --hyb: #B65CA3;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.55;
  font-optical-sizing: auto;
}
img, svg { max-width: 100%; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--fg); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; text-wrap: balance; letter-spacing: -0.03em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: 20px; }
.eyebrow { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.lead { font-size: var(--step-1); line-height: 1.45; color: var(--muted); max-width: 34ch; }
.prose { max-width: 66ch; }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 16px; background: var(--bg); padding: 10px 14px; z-index: 10; }

/* Header */
.site-header { padding-block: 22px; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 1.5rem; letter-spacing: -0.035em; line-height: 1; }
.brand svg { width: 34px; height: 34px; flex-shrink: 0; }
.nav { display: flex; align-items: center; gap: 6px 22px; flex-wrap: wrap; font-weight: 600; font-size: 1rem; }
.nav a { text-decoration: none; padding-block: 10px; }
.nav a:hover { text-decoration: underline; }
.lang { display: inline-flex; gap: 4px; border: 1.5px solid var(--line); border-radius: 999px; padding: 3px; }
.lang a, .lang span { padding: 5px 11px; border-radius: 999px; font-size: 0.875rem; text-decoration: none; }
.lang span { background: var(--fg); color: var(--bg); }

/* Sector colours */
.c-cal { fill: var(--cal); color: var(--cal); }
.c-cross { fill: var(--cross); color: var(--cross); }
.c-func { fill: var(--func); color: var(--func); }
.c-post { fill: var(--post); color: var(--post); }
.c-pil { fill: var(--pil); color: var(--pil); }
.c-hyb { fill: var(--hyb); color: var(--hyb); }
.faint { fill: var(--line); }
.dim { opacity: 0.22; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Hero */
.hero { padding-block: 40px 72px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
.hero h1 { font-size: var(--step-3); font-weight: 800; line-height: 0.98; letter-spacing: -0.045em; }
.hero-copy { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.stores { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.store { display: inline-flex; flex-direction: column; justify-content: center; min-height: 52px; padding: 6px 18px; border-radius: 14px; background: var(--btn-bg); color: var(--btn-fg); line-height: 1.15; }
.store small { font-size: 0.75rem; opacity: 0.8; }
.store strong { font-size: 1.0625rem; }
.link-arrow { font-weight: 700; text-decoration: none; padding: 12px 4px; }
.link-arrow:hover { text-decoration: underline; }
.rosette-wrap { min-width: 0; }
.rosette { width: 100%; height: auto; display: block; overflow: visible; }
.rosette text { font-family: var(--font); font-size: 6.6px; font-weight: 700; letter-spacing: -0.01em; fill: var(--fg); }
.rosette-plain { display: none; width: 100%; max-width: 300px; height: auto; margin-inline: auto; }
.rosette .petal { transform-origin: 50px 50px; animation: bloom 0.7s cubic-bezier(.2,.8,.2,1) both; }
.rosette .petal:nth-of-type(2) { animation-delay: 0.08s; }
.rosette .petal:nth-of-type(3) { animation-delay: 0.16s; }
.rosette .petal:nth-of-type(4) { animation-delay: 0.24s; }
.rosette .petal:nth-of-type(5) { animation-delay: 0.32s; }
.rosette .petal:nth-of-type(6) { animation-delay: 0.40s; }
@keyframes bloom { from { opacity: 0.35; transform: scale(0.82) rotate(-8deg); } to { opacity: 1; transform: none; } }
.legend { display: none; flex-wrap: wrap; gap: 8px 16px; margin-top: 18px; font-weight: 600; font-size: 0.9375rem; }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 12px; height: 12px; border-radius: 999px; background: currentColor; flex-shrink: 0; }

/* Sections */
.section { padding-block: 72px; border-top: 1px solid var(--line); }
.section-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; max-width: 760px; }
.section h2 { font-size: var(--step-2); font-weight: 800; line-height: 1.05; }

/* Disciplines */
.disciplines { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.discipline { background: var(--surface); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.discipline svg { width: 56px; height: 56px; }
.discipline h3 { font-size: var(--step-1); font-weight: 800; }
.discipline p { color: var(--muted); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; counter-reset: step; }
.step { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.step::before { counter-increment: step; content: counter(step); font-size: 3.25rem; font-weight: 800; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.step h3 { font-size: var(--step-1); font-weight: 800; }
.step p { color: var(--muted); }

/* 28 days */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.split > * { min-width: 0; }
.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; max-width: 460px; }
.day { aspect-ratio: 1; border-radius: 12px; display: grid; place-items: center; font-size: 0.8125rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.day.done { background: currentColor; }
.day.done span { color: var(--bg); }
.day.next { border: 2.5px solid currentColor; }
.day.next span { color: var(--fg); }
.day.rest { background: var(--surface); color: var(--muted); }
.day.today { border: 3px solid var(--fg); color: var(--fg); }
.day-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 18px; font-size: 0.9375rem; color: var(--muted); }
.day-legend li { display: inline-flex; align-items: center; gap: 8px; }
.swatch { width: 14px; height: 14px; border-radius: 4px; flex-shrink: 0; }
.swatch.fill { background: currentColor; }
.swatch.outline { border: 2.5px solid currentColor; }
.swatch.rest { background: var(--surface); border: 1px solid var(--line); }
.swatch.today { border: 2.5px solid var(--fg); }
.bullets { display: flex; flex-direction: column; gap: 14px; margin-top: 22px; }
.bullets li { display: flex; gap: 12px; align-items: baseline; }
.bullets li::before { content: ""; width: 9px; height: 9px; border-radius: 3px; background: var(--fg); flex-shrink: 0; transform: translateY(-2px); }

/* Free training */
.picker { background: var(--surface); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 600; font-size: 0.9375rem; }
.chip.on { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.ex-list { display: flex; flex-direction: column; }
.ex { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-block: 12px; border-top: 1px solid var(--line); }
.ex strong { font-weight: 700; }
.ex .tag { display: inline-flex; align-items: center; gap: 8px; font-size: 0.875rem; font-weight: 600; white-space: nowrap; }
.tag-name { color: var(--muted); }

/* Widget */
.widget { background: var(--surface); border-radius: 28px; padding: 22px 24px; display: flex; align-items: center; gap: 22px; max-width: 460px; }
.widget svg { width: 112px; height: 112px; flex-shrink: 0; }
.widget-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.widget-text strong { font-size: 1.6rem; line-height: 1.05; letter-spacing: -0.02em; }
.widget-text .meta { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.9375rem; }
.pill { align-self: flex-start; margin-top: 8px; background: var(--btn-bg); color: var(--btn-fg); border-radius: 999px; padding: 9px 20px; font-weight: 800; }

/* Care & privacy */
.cards-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.card { background: var(--surface); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.card h3 { font-size: var(--step-1); font-weight: 800; }
.card .bullets { margin-top: 4px; }
.note { color: var(--muted); font-size: 0.9375rem; }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.plan { border: 1.5px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.plan strong { font-size: var(--step-1); letter-spacing: -0.02em; }
.plan p { color: var(--muted); font-size: 0.9375rem; }
.plan.free { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.plan.free p { color: var(--bg); opacity: 0.82; }

/* FAQ */
.faq { display: flex; flex-direction: column; max-width: 820px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding-block: 20px; font-size: var(--step-1); font-weight: 700; letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.75rem; font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 22px; color: var(--muted); max-width: 66ch; }

/* Plain pages */
.page { padding-block: 40px 88px; }
.page h1 { font-size: var(--step-2); font-weight: 800; line-height: 1.05; margin-bottom: 18px; }
.page h2 { font-size: var(--step-1); font-weight: 800; margin-top: 36px; margin-bottom: 10px; }
.page p, .page li { color: var(--fg); }
.page .prose > p + p { margin-top: 12px; }
.page ul.list { list-style: disc; padding-left: 1.25em; display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.updated { color: var(--muted); font-size: 0.9375rem; margin-bottom: 8px; }
.mail { font-weight: 700; user-select: all; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 40px 56px; color: var(--muted); font-size: 0.9375rem; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
.site-footer .brand { color: var(--fg); font-size: 1.25rem; }
.site-footer .brand svg { width: 28px; height: 28px; }
.foot-links { display: flex; gap: 8px 20px; flex-wrap: wrap; font-weight: 600; color: var(--fg); }
.foot-links a { text-decoration: none; padding-block: 8px; }
.foot-links a:hover { text-decoration: underline; }
.company { margin-top: 10px; max-width: 46ch; }

/* Responsive */
@media (max-width: 900px) {
  .hero .wrap, .split { grid-template-columns: minmax(0, 1fr); }
  .rosette-wrap { max-width: 520px; }
  .disciplines { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .rosette { display: none; }
  .rosette-plain { display: block; }
  .nav a.anchor { display: none; }
  .legend { display: flex; justify-content: center; }
  .disciplines, .cards-2 { grid-template-columns: minmax(0, 1fr); }
  .section { padding-block: 56px; }
  .widget { flex-direction: column; align-items: flex-start; }
  .widget svg { width: 88px; height: 88px; }
}
@media (max-width: 420px) {
  .plans { grid-template-columns: minmax(0, 1fr); }
  .ex { flex-direction: column; align-items: flex-start; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rosette .petal { animation: none; }
}
