:root {
  --club-red: #a32638;
  --charcoal: #282828;
  --muted: #60717d;
  --line: #dce4e8;
  --surface: #ffffff;
  --background: #f4f7f8;
  --blue: #a32638;
  --blue-soft: #f7e9eb;
  --green: #21845a;
  --green-soft: #eaf7f0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #172530;
  background: var(--background);
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: var(--background); }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
.skip-link { position: fixed; left: 1rem; top: -4rem; background: white; padding: .8rem 1rem; border-radius: 8px; }
.skip-link:focus { top: 1rem; }
.site-header { height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0 clamp(1rem, 5vw, 4.5rem); background: white; border-top: 5px solid var(--club-red); border-bottom: 1px solid #e5d4d7; position: sticky; top: 0; z-index: 20; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; overflow: hidden; background: white; border: 2px solid var(--club-red); }
.brand-mark img { width: 72%; height: 72%; object-fit: contain; }
.brand strong { display: block; color: var(--charcoal); letter-spacing: .04em; }
.brand small { display: block; color: var(--muted); font-size: .73rem; }
.header-actions { display: flex; align-items: center; gap: 1rem; }
.language-toggle { border: 0; background: transparent; cursor: pointer; }
.language-option.is-active { color: var(--charcoal); font-weight: 800; }
.help-link { display: flex; align-items: center; gap: .45rem; color: var(--charcoal); font-weight: 650; }
.hero { background: linear-gradient(135deg, var(--charcoal), #3a3031); color: white; padding: clamp(3.5rem, 7vw, 6.5rem) 1rem; text-align: center; }
.hero h1 { margin: 0; font-size: clamp(2.2rem, 6vw, 4.2rem); line-height: 1.02; }
.hero p { color: #cfdae2; }
.content-shell { width: min(1160px, calc(100% - 2rem)); margin: 0 auto; padding: 1.5rem 0 5rem; }
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.category-card { min-height: 185px; display: flex; flex-direction: column; align-items: flex-start; border: 1px solid var(--line); border-radius: 18px; padding: 1.4rem; background: var(--surface); box-shadow: 0 4px 14px rgb(8 42 69 / 4%); cursor: pointer; text-align: left; text-decoration: none; }
.category-card:hover, .category-card:focus-visible { transform: translateY(-4px); box-shadow: 0 14px 40px rgb(8 42 69 / 9%); border-left: 4px solid var(--club-red); outline: none; }
.category-icon { display: grid; place-items: center; width: 45px; height: 45px; border-radius: 12px; margin-bottom: 1.2rem; background: #edf1f3; color: var(--club-red); font-size: .92rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.category-icon--plus { position: relative; overflow: hidden; font-size: 0; }
.category-icon--plus::before, .category-icon--plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 23px; height: 4px; border-radius: 999px; background: var(--blue); translate: -50% -50%; }
.category-icon--plus::after { rotate: 90deg; }
.category-card--new { border-style: dashed; background: linear-gradient(180deg, #fff, #fbf4f5); }
.category-card h3 { margin: 0; color: var(--charcoal); }
.category-card p { color: var(--muted); line-height: 1.5; }
.category-meta { margin-top: auto; color: var(--blue); font-size: .78rem; font-weight: 800; }
.breadcrumbs { display: flex; gap: .55rem; margin: 1rem 0 2rem; color: var(--muted); }
.breadcrumbs a { color: var(--blue); text-decoration: none; }
.flow-header { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.icon-button { border: 1px solid var(--line); border-radius: 10px; background: white; color: var(--charcoal); padding: .65rem .8rem; text-decoration: none; }
.flow-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 1.5rem; align-items: start; }
.flow-panel, .flow-sidebar { background: white; border: 1px solid var(--line); border-radius: 18px; padding: 1.5rem; }
.flow-node { margin: 0 auto 1rem; width: min(420px, 100%); min-height: 72px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: .9rem 1.1rem; border: 2px solid #aaa; border-radius: 12px; background: white; text-align: center; }
.flow-node.start, .flow-node.end { border-radius: 999px; border-color: var(--club-red); background: var(--blue-soft); }
.flow-node.end { border-color: var(--green); background: var(--green-soft); }
.flow-node.decision { width: 150px; height: 150px; border-color: var(--club-red); transform: rotate(45deg); }
.flow-node.decision strong { transform: rotate(-45deg); }
.flow-node small { margin-top: .35rem; color: var(--muted); }
.branches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.branches section { border: 1px solid #e4d2d5; border-radius: 14px; background: #fcf8f9; padding: 1rem; }
.branches b { color: var(--club-red); text-transform: uppercase; font-size: .75rem; }
footer { padding: 1.5rem; background: var(--charcoal); color: #b9cad5; text-align: center; font-size: .78rem; }
footer p { max-width: 860px; margin: .35rem auto; line-height: 1.5; }
@media (max-width: 850px) { .category-grid, .flow-layout, .branches { grid-template-columns: 1fr; } }
