/*
 * TUgether – web 1.2, vzhled „skládačka“.
 * Celá stránka je postavená z dílů loga: šestiúhelník tam, kde je něco „dílem“ (kroky, profese, fotky lidí),
 * a šikmý proužek (jeden díl loga) místo odrážek. Zelená patří jen dílu „ty“.
 * Nadpisy Unbounded, text Inter. Obě písma jsou uložená u webu, nic se nenačítá odjinud.
 */
@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(fonts/Inter-Regular.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 500; font-display: swap; src: url(fonts/Inter-Medium.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 600 700; font-display: swap; src: url(fonts/Inter-SemiBold.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 800 900; font-display: swap; src: url(fonts/Inter-ExtraBold.woff2) format("woff2"); }
@font-face { font-family: Unbounded; font-weight: 700 900; font-display: swap; src: url(fonts/Unbounded-latin-ext.woff2) format("woff2"); unicode-range: U+0100-017F; }
@font-face { font-family: Unbounded; font-weight: 700 900; font-display: swap; src: url(fonts/Unbounded-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2013-2014, U+2018-201E, U+2022, U+2026, U+20AC; }

:root {
  --petrol: #0A6E93; --petrol-hover: #085B79; --petrol-on-dark: #2C9CC6;
  --green: #94C83D; --green-text: #4E7E16;
  --ink: #0E2530; --dark: #0C1B22; --grey: #4F5F67; --grey-on-dark: #B9C7CD;
  --light: #E7F2F6; --line: #D6E2E7;
  --display: Unbounded, Inter, system-ui, sans-serif;
  --hex: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  --gutter: clamp(16px, 5vw, 24px);
}

/* ---------- Základ ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
@supports (overflow: clip) { body { overflow-x: clip; } }
img { max-width: 100%; }
a { color: var(--petrol); text-underline-offset: .15em; }
a:hover { color: var(--petrol-hover); }
:focus-visible { outline: 3px solid var(--petrol); outline-offset: 3px; border-radius: 4px; }
p { margin: 0 0 16px; max-width: 60ch; }
h2 { margin: 0 0 18px; max-width: 20ch; font: 700 clamp(26px, 3.6vw, 40px)/1.15 var(--display); letter-spacing: -0.02em; text-wrap: balance; }
h3 { margin: 0 0 6px; font-size: 19px; font-weight: 800; line-height: 1.25; }
.wrap { width: min(1080px, 100% - 2 * var(--gutter)); margin-inline: auto; }
section { padding: 56px 0; scroll-margin-top: 8px; }
.two { display: grid; gap: 28px; }
@media (min-width: 900px) {
  body { font-size: 18px; }
  section { padding: 96px 0; }
  .two { grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
}

/* ---------- Tlačítka: konce do špičky jako strany šestiúhelníku ---------- */
.btn {
  --h: 50px; --pt: calc(var(--h) * .2887);
  display: inline-flex; align-items: center; justify-content: center; min-height: var(--h); padding: 6px calc(var(--pt) + 14px);
  clip-path: polygon(var(--pt) 0, calc(100% - var(--pt)) 0, 100% 50%, calc(100% - var(--pt)) 100%, var(--pt) 100%, 0 50%);
  background: var(--petrol); color: #fff; border: 0; border-radius: 0; cursor: pointer; text-decoration: none; text-align: center;
  font: 700 16px/1.2 Inter, system-ui, sans-serif; transition: background-color .15s;
}
.btn:hover { background: var(--petrol-hover); color: #fff; }
.btn:focus-visible { outline: 0; background: var(--ink); color: #fff; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.btn.big { --h: 54px; font-family: var(--display); padding-inline: calc(var(--pt) + 16px); }
.btn.small { --h: 44px; font-size: 15px; padding-inline: calc(var(--pt) + 10px); }
.btn.ghost { background: var(--light); color: var(--petrol); }
.btn.ghost:hover { background: #D5E6EC; color: var(--petrol-hover); }
.btn.ghost:focus-visible { background: var(--petrol); color: #fff; }
.btn.inv { background: #fff; color: var(--ink); }
.btn.inv:hover { background: var(--light); color: var(--ink); }
.btn.inv:focus-visible { background: var(--ink); color: #fff; }
.tlink { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; font-size: 16px; }
.tbtn { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; cursor: pointer; font: 700 16px/1.2 Inter, system-ui, sans-serif; color: var(--petrol); text-decoration: underline; text-underline-offset: .15em; }
.tbtn:hover { color: var(--petrol-hover); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 22px; }

/* Odrážky = malý díl loga */
.bands { list-style: none; margin: 16px 0 20px; padding: 0; display: grid; gap: 10px; max-width: 60ch; }
.bands li { position: relative; padding-left: 34px; }
.bands li::before { content: ""; position: absolute; left: 0; top: .5em; width: 22px; height: 9px; border-radius: 5px; background: var(--petrol); transform: rotate(-30deg); }

/* ---------- Hlavička ---------- */
header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; }
header .mark { display: flex; align-items: center; text-decoration: none; }
header .mark svg { height: 44px; width: auto; display: block; }
header nav { display: flex; align-items: center; gap: 26px; }
header nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 16px; }
header nav a { white-space: nowrap; }
header nav a:not(.btn):hover { color: var(--petrol); }
@media (max-width: 860px) {
  header nav { gap: 14px; }
  header nav .nav-l, header nav .hide-m { display: none; }
  header nav a:not(.btn) { font-size: 15px; }
}

/* ---------- Úvod ---------- */
.hero { background: var(--light); overflow: hidden; }
.hero-in { display: flex; flex-direction: column; padding: 4px 0 48px; }
.hero-sym { width: min(68vw, 36vh, 440px); height: min(68vw, 36vh, 440px); align-self: center; margin: 14px 0 10px; overflow: visible; } /* velké a uprostřed; na nízkém displeji menší, ať se vejde i tlačítko */
.hero h1 { margin: 10px 0 0; font: 900 clamp(44px, 8.6vw, 96px)/1.02 var(--display); letter-spacing: -0.03em; }
.hero .lead { margin: 16px 0 0; font-size: 18px; line-height: 1.5; max-width: 36ch; }
.hero-next { margin: 18px 0 0; font-weight: 700; max-width: none; }
.hero-next a { color: var(--ink); text-decoration-color: var(--petrol); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.missing { display: flex; align-items: center; gap: 10px; margin: 18px 0 0; font-size: 15px; font-weight: 700; line-height: 1.35; }
.band-ico { width: 34px; height: 14px; flex: none; }
.band-ico rect { fill: var(--green); }
@media (min-width: 900px) {
  .hero-in { flex-direction: row-reverse; align-items: center; justify-content: space-between; gap: 40px; padding: 24px 0 104px; }
  .hero-sym { width: min(40vw, 460px); height: auto; aspect-ratio: 1; margin: 0; align-self: center; flex: none; }
  .hero-text { max-width: 620px; }
  .hero h1 { margin-top: 0; }
  .hero .lead { font-size: 22px; margin-top: 24px; }
  .missing { font-size: 17px; }
}
/* Jediný pohyb, který se spustí sám: díly loga přiletí a poskládají se, zelený poslední. */
.pc { transform-box: fill-box; transform-origin: center; animation: tg-fly 950ms cubic-bezier(.2, .9, .25, 1.15) both; }
@keyframes tg-fly { from { transform: translate(var(--dx), var(--dy)) rotate(var(--r)); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Jak to funguje ---------- */
.steps { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 20px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; }
.hexnum { width: 56px; height: 64px; flex: none; display: grid; place-items: center; clip-path: var(--hex); background: var(--petrol); color: #fff; font: 900 22px/1 var(--display); }
.hexnum.green { background: var(--green); color: var(--ink); }
.steps h3 { margin: 6px 0 0; font-size: 18px; }
.steps p { margin: 4px 0 0; font-size: 15px; line-height: 1.45; color: var(--grey); }
.steps-side p:last-child { font-weight: 700; margin-bottom: 0; }
@media (min-width: 900px) {
  .steps-side { align-self: end; font-size: 20px; }
  .steps h3 { font-size: 20px; }
  .steps p { font-size: 17px; }
}

/* ---------- Kdo už je ve skládačce: plástev profesí ---------- */
.s-comb { background: var(--ink); color: #fff; }
.s-comb p { color: #D2DCE0; }
.s-comb p:last-of-type { color: #fff; font-weight: 700; }
.comb { --gap: 6px; --cw: min(78px, (100vw - 2 * var(--gutter) - 3 * var(--gap) - 10px) / 4); --ch: calc(var(--cw) * 1.1547); padding-left: 10px; }
.comb-row { display: flex; gap: var(--gap); }
.comb-row + .comb-row { margin-top: calc(var(--ch) * -.25 + var(--gap) * .87); }
.comb-row:nth-child(even) { margin-left: calc((var(--cw) + var(--gap)) / 2); }
.cell { width: var(--cw); height: var(--ch); flex: none; display: flex; align-items: center; justify-content: center; padding: 0 7px; clip-path: var(--hex); font-size: clamp(10px, calc(var(--cw) * .154), 15px); font-weight: 700; line-height: 1.2; text-align: center; hyphens: auto; overflow-wrap: anywhere; }
.cell.c-p { background: var(--petrol); color: #fff; }
.cell.c-l { background: var(--light); color: var(--ink); }
.cell.c-s { background: var(--petrol-on-dark); color: var(--dark); }
.cell.you { background: var(--green); color: var(--ink); font-family: var(--display); font-weight: 900; }
@media (min-width: 900px) {
  .s-comb .two { align-items: center; }
  .comb { --cw: 104px; --gap: 8px; padding-left: 0; justify-self: end; }
}

/* ---------- Proč ---------- */
.s-why h2 { max-width: 16ch; font-size: clamp(30px, 5vw, 56px); font-weight: 900; }
.why-sub { font-size: clamp(19px, 2.4vw, 26px); font-weight: 700; line-height: 1.3; max-width: 30ch; margin-bottom: 28px; }
.why-strong { font-size: 20px; font-weight: 800; line-height: 1.3; }
@media (min-width: 900px) { .s-why .two { margin-top: 44px; } }

/* ---------- Jaké to bylo: fotky a hodnocení ---------- */
.s-recap { padding-top: 0; }
.photos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.photos figure { margin: 0; aspect-ratio: 1; overflow: hidden; border-radius: 6px; background: var(--light); }
.photos figure:first-child { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
.photos-n figure:nth-child(8):last-child { grid-column: span 2; aspect-ratio: 2 / 1; } /* osm fotek: poslední doplní řadu */
.photos img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photos-cap { margin: 10px 0 0; font-size: 14px; color: var(--grey); max-width: none; }
.rating { display: flex; align-items: center; gap: 20px; margin-top: 36px; }
.rating-hex { width: 140px; height: 162px; flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; clip-path: var(--hex); background: var(--petrol); color: #fff; }
.rating-hex strong { font: 900 40px/1 var(--display); letter-spacing: -0.03em; }
.rating-hex span { margin-top: 4px; font-size: 13px; font-weight: 800; }
.rating figure { margin: 0 0 8px; }
.rating blockquote { margin: 0; font-size: 20px; font-weight: 800; line-height: 1.3; letter-spacing: -0.01em; }
.rating figcaption, .rating-note { margin: 6px 0 0; font-size: 14px; line-height: 1.45; color: var(--grey); }
.rating-text.solo .rating-note { font-size: 19px; font-weight: 700; color: var(--ink); max-width: 24ch; }
@media (min-width: 900px) {
  .photos { grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .photos-n figure:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
  .photos-1 figure:first-child { aspect-ratio: 16 / 7; }
  .rating { gap: 32px; margin-top: 56px; }
  .rating-hex { width: 176px; height: 203px; }
  .rating-hex strong { font-size: 52px; }
  .rating blockquote { font-size: 28px; }
}

/* ---------- Příběh loga a skládačka ---------- */
.s-story { background: var(--light); }
.story { display: grid; gap: 8px; }
.story-lead { font-size: 19px; font-weight: 700; margin-bottom: 0; }
@media (min-width: 900px) {
  /* na počítači text vlevo, skládačka vpravo; na mobilu je skládačka hned pod nadpisem */
  .story { grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr; column-gap: 72px; row-gap: 0; }
  .story-head { grid-column: 1; grid-row: 1; }
  .story .beats { grid-column: 1; grid-row: 2; }
  .story .pz-box { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
}
.beats { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 14px; max-width: 46ch; align-content: start; }
.beats li { position: relative; padding-left: 38px; line-height: 1.45; }
.beats li::before { content: ""; position: absolute; left: 0; top: .1em; width: 22px; height: 25px; clip-path: var(--hex); background: var(--petrol); transition: background-color .3s; }
.beats li.you { font-weight: 700; }
.beats li.you::before { background: var(--green); }
.pz-live .beats li:not(.on)::before { background: #BFD6DF; } /* značka se vybarví, až díl zapadne */

.pz-box { width: 100%; max-width: 440px; margin-inline: auto; }
.pz-svg { display: block; width: 100%; height: auto; overflow: visible; }
.pz-slot { fill: none; }
.pz-tu, .pz { fill: var(--petrol); }
.pz.green { fill: var(--green); }
.pz { transform-box: fill-box; transform-origin: center; }
.pz-box.on .pz-slot { fill: rgba(10, 110, 147, .14); }
.pz-box.on .pz-slot.green { fill: rgba(148, 200, 61, .34); }
.pz-box.on .pz-tu { opacity: .16; transition: opacity .5s; }
.pz-box.on.complete .pz-tu { opacity: 1; }
.pz-box.on .pz { cursor: grab; stroke: transparent; stroke-width: 16px; pointer-events: all; touch-action: none; transition: transform .38s cubic-bezier(.2, .9, .25, 1.2); }
.pz-box.on .pz.drag { cursor: grabbing; transition: none; }
.pz-box.on .pz.in { cursor: default; pointer-events: none; }
.pz-box.on .pz:focus-visible { outline: 0; stroke: var(--ink); stroke-width: 3px; }
.pz.shake { animation: pz-shake .4s; }
@keyframes pz-shake { 0%, 100% { translate: 0 0; } 25% { translate: -5px 0; } 75% { translate: 5px 0; } }
.pz-status { min-height: 3.1em; margin: 6px auto 0; text-align: center; font-weight: 600; max-width: 30ch; }
.pz-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 20px; margin: 4px 0 0; max-width: none; }
.pz-status[hidden], .pz-actions[hidden], .pz-actions [hidden] { display: none; }
/* Skládačka: na telefonu žádné označování textu ani nabídka Kopírovat/Vložit */
.pz-box svg, .pz-box .pz-status { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }

/* ---------- Přidej svůj díl: termín a formulář ---------- */
.when { display: grid; gap: 2px; margin: 0 0 18px; }
.when span { font-size: 15px; font-weight: 700; color: var(--petrol); }
.when strong { font: 700 clamp(22px, 2.6vw, 30px)/1.2 var(--display); letter-spacing: -0.02em; }
.when em { font-style: normal; font-size: 18px; }
.when-none { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.signup { padding: 22px 20px; border-radius: 22px; background: var(--light); }
.signup label { display: block; margin: 0 0 6px; font-weight: 600; font-size: 16px; }
.signup label .opt { font-weight: 400; color: var(--grey); }
.signup input, .signup textarea { width: 100%; min-height: 50px; margin-bottom: 16px; padding: 12px 14px; border: 1.5px solid #C3D2D9; border-radius: 10px; background: #fff; color: var(--ink); font: inherit; font-size: 18px; resize: vertical; -webkit-appearance: none; appearance: none; }
.signup input:focus, .signup textarea:focus { border-color: var(--petrol); outline: 3px solid rgba(10, 110, 147, .2); outline-offset: 0; }
.signup input::placeholder, .signup textarea::placeholder { color: #8A9AA1; }
.signup .btn { width: 100%; }
.signup .tgc-check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; margin: 2px 0 18px; font-weight: 400; font-size: 15px; line-height: 1.45; }
.signup .tgc-check input { width: 20px; height: 20px; min-height: 0; margin: 2px 0 0; padding: 0; accent-color: var(--petrol); -webkit-appearance: auto; appearance: auto; }
.s-signup .tgc-msg { max-width: none; margin: 0 0 18px; padding: 12px 16px; border-radius: 10px; background: #FBEDEA; color: #7A2415; font-weight: 600; font-size: 17px; }
.s-signup .tgc-msg-ok { background: var(--light); color: var(--ink); }
.signup small { display: block; margin-top: 12px; color: var(--grey); font-size: 14px; line-height: 1.5; }
.signup-short { max-width: 760px; }
.signup-short .when { margin-top: 4px; }
.signup-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin: 22px 0 0; max-width: none; }
@media (max-width: 600px) { .signup-cta .btn { width: 100%; } }
.hp { position: absolute !important; left: -9999px; width: 1px !important; height: 1px; min-height: 0 !important; opacity: 0; }
@media (min-width: 900px) { .signup { padding: 32px; } }

/* ---------- Kdo to skládá ---------- */
.s-founders { background: var(--light); }
.founders-lead { font-size: 19px; font-weight: 700; }
.founders { display: grid; gap: 48px; margin-top: 28px; }
.founder h3 { margin: 14px 0 2px; font: 700 22px/1.2 var(--display); letter-spacing: -0.02em; }
.founder .who { margin: 0 0 14px; font-size: 16px; color: var(--grey); }
.founder blockquote { margin: 0 0 16px; font-size: 20px; font-weight: 700; line-height: 1.35; max-width: 34ch; }
.hexphoto { position: relative; width: 150px; aspect-ratio: 1; margin-left: -8px; }
.hexphoto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: polygon(50% 8.9%, 85.6% 29.45%, 85.6% 70.55%, 50% 91.1%, 14.4% 70.55%, 14.4% 29.45%); }
.hexphoto svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.founders-cta { margin: 44px 0 0; }
@media (min-width: 900px) {
  .founders { grid-template-columns: 1fr 1fr; gap: 72px; }
  .hexphoto { width: 190px; margin-left: -12px; }
}

/* ---------- Partner ---------- */
.partner-logo { display: block; padding: 28px 22px; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .15s; }
.partner-logo:hover { border-color: var(--petrol); }
.partner-logo img { display: block; width: 100%; height: auto; }
@media (min-width: 900px) { .s-partner .two { align-items: center; } .partner-logo { padding: 40px 32px; } }

/* ---------- Pro členy + lidé, kteří chtějí být vidět (poskládaní jako logo) ---------- */
.s-members { background: var(--petrol); color: #fff; }
.s-members h2 { max-width: none; }
.s-members p { font-size: 19px; max-width: 40ch; }
.s-members .tlink, .s-members a { color: #fff; }
.s-members :focus-visible { outline-color: #fff; }
.flower-box { justify-self: center; }
/* Šestiúhelníková mřížka: --q a --r jsou souřadnice políčka, --n počet kruhů kolem středu. */
.flower { --g: 6px; --w: min(104px, (100vw - 2 * var(--gutter) - 2 * var(--g)) / 3); --h: calc(var(--w) * 1.1547); --v: calc(var(--h) * .75 + var(--g) * .866);
  position: relative; margin-inline: auto; width: calc(var(--w) * (1 + 2 * var(--n)) + var(--g) * 2 * var(--n)); height: calc(var(--h) + 2 * var(--n) * var(--v)); }
.flower[style*="--n:2"] { --w: min(84px, (100vw - 2 * var(--gutter) - 4 * var(--g)) / 5); }
.fl-cell { position: absolute; left: calc(50% + (var(--q) + var(--r) / 2) * (var(--w) + var(--g)) - var(--w) / 2); top: calc(50% + var(--r) * var(--v) - var(--h) / 2);
  width: var(--w); height: var(--h); display: grid; place-items: center; clip-path: var(--hex); text-decoration: none; }
.fl-person { background: #fff; }
.fl-person img, .fl-person .fl-ini { position: absolute; inset: 3px; width: calc(100% - 6px); height: calc(100% - 6px); clip-path: var(--hex); }
.fl-person img { object-fit: cover; }
.fl-person .fl-ini { display: grid; place-items: center; background: var(--light); color: var(--petrol); font: 900 calc(var(--w) * .28)/1 var(--display); letter-spacing: -0.03em; }
.fl-person:hover { background: var(--green); }
.fl-person:focus-visible { outline: 0; background: var(--ink); }
.fl-empty { background: rgba(255, 255, 255, .13); }
.fl-tu { background: var(--ink); }
.fl-tu svg { width: 54%; height: auto; }
.fl-tu path { fill: #fff; }
.fl-cell.fl-you { background: var(--green); color: var(--ink); font: 900 calc(var(--w) * .17)/1 var(--display); }
.fl-cell.fl-you:hover { background: #A6D455; color: var(--ink); }
.fl-cell.fl-you:focus-visible { outline: 0; background: #fff; }
.flower-cap { min-height: 2.9em; margin: 16px auto 0; text-align: center; font-size: 16px !important; font-weight: 600; max-width: 32ch !important; }
.flower-all { margin: 2px auto 0; text-align: center; font-size: 16px !important; }
.flower-all a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
@media (min-width: 900px) {
  .s-members .two { align-items: center; }
  .flower { --w: 112px; --g: 8px; }
  .flower[style*="--n:2"] { --w: 88px; }
}

/* ---------- Patička ---------- */
.foot { position: relative; overflow: hidden; padding: 56px 0 36px; background: var(--dark); color: #fff; }
.foot .wrap { position: relative; }
/* Tři díly = pravá polovina velkého šestiúhelníku. Zelený je vpravo dole, stejně jako v logu. */
.foot-bands { --R: 130px; position: absolute; right: 0; top: 34px; width: calc(var(--R) * 2); height: calc(var(--R) * 2); }
.foot-bands i { position: absolute; left: 50%; top: 50%; display: block; width: calc(var(--R) * .78); height: calc(var(--R) * .2); margin: calc(var(--R) * -.1) 0 0 calc(var(--R) * -.39); border-radius: calc(var(--R) * .065); background: #132A33; }
.foot-bands i:nth-child(1) { transform: translate(calc(var(--R) * .433), calc(var(--R) * -.75)) rotate(30deg); }
.foot-bands i:nth-child(2) { transform: translate(calc(var(--R) * .866), 0) rotate(90deg); }
.foot-bands i:nth-child(3) { transform: translate(calc(var(--R) * .433), calc(var(--R) * .75)) rotate(-30deg); background: var(--green); }
.foot-big { margin: 0; max-width: 9ch; font: 900 clamp(30px, 6vw, 64px)/1.08 var(--display); letter-spacing: -0.03em; }
.foot-links { display: grid; justify-items: start; gap: 0; margin: 20px 0 0; max-width: none; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; color: #fff; font-weight: 700; font-size: 18px; text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 2px; text-underline-offset: 5px; overflow-wrap: anywhere; }
.foot-brand { margin: 36px 0 14px; }
.foot-brand .lockup { display: block; width: 170px; height: auto; overflow: visible; }
.foot-small { margin: 0 0 8px; max-width: 62ch; font-size: 13px; line-height: 1.5; color: var(--grey-on-dark); }
.foot-small a { color: #fff; }
.foot :focus-visible { outline-color: var(--green); }
@media (min-width: 900px) {
  .foot { padding: 96px 0 64px; }
  .foot-bands { --R: 230px; right: max(24px, calc(50% - 540px)); top: 70px; }
  .foot-links a { font-size: 20px; }
}

/* Plovoucí tlačítko na mobilu: jen když není vidět jiné „Přidej svůj díl“ ani formulář */
.sticky { display: none; }
@media (max-width: 760px) {
  .sticky { display: flex; position: fixed; left: var(--gutter); right: var(--gutter); bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 10; filter: drop-shadow(0 8px 14px rgba(12, 27, 34, .3)); transition: transform .25s ease, opacity .25s ease; }
  .sticky.off { transform: translateY(160%); opacity: 0; pointer-events: none; }
}

/* ---------- Vnitřní stránky (členská sekce, texty) ---------- */
.inner-head { background: var(--light); }
.inner-main { padding: 36px 0 64px; min-height: 60vh; }
.inner-main > .wrap > h1 { margin: 0 0 24px; font: 900 clamp(30px, 5vw, 52px)/1.06 var(--display); letter-spacing: -0.03em; text-wrap: balance; }
.inner-main h2 { margin: 36px 0 12px; max-width: none; font-size: clamp(21px, 2.6vw, 26px); }
.inner-main h3 { margin: 28px 0 8px; font-size: 20px; }
.inner-main ul, .inner-main ol { max-width: 60ch; padding-left: 22px; margin: 0 0 16px; }
.inner-main li { margin-bottom: 6px; }
@media (min-width: 900px) { .inner-main { padding: 56px 0 96px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pc, .pz.shake { animation: none; }
  .pz-box.on .pz, .beats li::before, .sticky { transition: none; }
}
