/* FreeMcHosting v6: keep the original dark-green design. These sections are editorial, not a UI template. */
/* Hero heading and all actions use the same centre line on desktop and mobile. */
.home-page .hero .hero-content.hero-centered {
  width: min(1200px, calc(100% - 80px));
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.home-page .hero .hero-centered .eyebrow { justify-content: center; }
.home-page .hero .hero-centered h1 {
  text-align: center;
  max-width: 1020px;
  width: 100%;
  margin-inline: auto;
  letter-spacing: -.052em;
  text-wrap: balance;
}
.home-page .hero .hero-centered .hero-copy {
  width: 100%;
  max-width: 555px;
  margin-inline: auto;
  text-align: center;
  text-wrap: pretty;
}
.home-page .hero .hero-centered .hero-actions { justify-content: center; max-width: none; }
.home-page .hero .hero-centered .hero-notes { justify-content: center; flex-wrap: wrap; }

/* Resource pool, based on the layout that worked well in the earlier community version. */
.pool-section { padding: 114px 0; border-block: 1px solid #89c8a521; background: #0e2019; }
.pool-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items:center; gap:clamp(40px,7vw,110px); }
.pool-intro h2 { font-size:clamp(40px,4.5vw,69px); font-weight:600; letter-spacing:-.065em; line-height:1.12; margin: 14px 0 29px; text-wrap: balance; }
.pool-intro h2 em { font-weight:600; font-style:normal; color:var(--green); }
.pool-intro p:not(.eyebrow) { max-width:540px; font-size:15px; line-height:1.87; color:#aabfb1; margin: 0 0 18px; }
.pool-intro .text-link { margin-top:13px; }
.pool-example { position:relative; min-width:0; padding:29px 31px 25px; background:#142b23; border:1px solid #85bd9a55; border-radius:9px; box-shadow: 12px 12px 0 #0b1914; }
.pool-example-head { display:flex; justify-content:space-between; align-items:flex-start; gap:20px; }
.pool-example-head strong { max-width:240px; font-size:20px; letter-spacing:-.035em; line-height:1.28; color:#e2f3e7; }
.pool-example-head>span { font-size:10px; letter-spacing:.09em; color:#92bca3; white-space:nowrap; margin-top:4px; }
.pool-bars { display:flex; gap:4px; width:100%; margin:31px 0 12px; height:98px; overflow:hidden; }
.pool-segment { display:flex; align-items:center; justify-content:center; font-size:clamp(17px,2.3vw,27px); font-weight:700; letter-spacing:-.05em; color:#10251a; min-width:0; transition: filter .3s ease, transform .8s cubic-bezier(.2,.75,.2,1); transform-origin:left center; }
.pool-segment.pool-big { flex:2; background:#9be6b5; }
.pool-segment.pool-small { flex:1; background:#c5dca7; }
.pool-segment.pool-last { background:#8ccebd; }
.pool-segment:hover { filter:brightness(1.1); }
.pool-bar-labels { display:flex; gap:4px; color:#9ebcab; font-size:11px; line-height:1.3; }
.pool-bar-labels span { flex:1; }
.pool-bar-labels span:first-child { flex:2; }
.pool-example>p { font-size:12px; line-height:1.8; color:#9cb5a5; margin:30px 0 23px; }
.pool-example-footer { display:flex; justify-content:space-between; align-items:center; gap:12px; border-top:1px solid #85bd9a33; padding-top:18px; font-size:12px; color:#9fbbaa; }
.pool-example-footer strong { color:#def8e4; font-size:15px; }
.pool-caps { display:flex; flex-wrap:wrap; gap:8px; margin-top:20px; }
.pool-caps span { border:1px solid #86b89d3f; border-radius:100px; padding:7px 10px; color:#acc7b5; font-size:10px; }
/* Don't hide bars from visitors with JS disabled. Animate only when the enhancement script is active. */
@media (prefers-reduced-motion: no-preference) {
 .pool-example.is-prepared:not(.is-visible) .pool-segment { transform:scaleX(0); }
 .pool-example.is-visible .pool-segment:nth-child(2) { transition-delay:.14s; }
 .pool-example.is-visible .pool-segment:nth-child(3) { transition-delay:.28s; }
}

/* Scroll-linked story. The left introduction stays with the visitor as the story unfolds. */
.story-section { position:relative; background:#091a16; border-block:1px solid #90cdaa22; padding:119px 0 130px; }
.story-inner { display:grid; grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr); gap:clamp(42px,5vw,90px); align-items:start; }
.story-intro { position:sticky; top:120px; align-self:start; }
.story-intro h2 { color:#f0f6ec; font-size:clamp(49px,4.45vw,66px); letter-spacing:-.067em; line-height:1.08; font-weight:600; margin:20px 0 27px; text-wrap:balance; }
.story-intro h2 em { color:var(--green); font-style:italic; font-weight:550; }
.story-lead { color:#b2c9b9; font-size:17px; line-height:1.83; max-width:480px; }
.story-founders { color:#8fb29e; font-size:12px; letter-spacing:.02em; margin:30px 0 15px; }
.story-link { display:inline-flex; margin-top:10px; }
.story-timeline { position:relative; padding:4px 0 12px 39px; --line-progress:0%; }
.story-timeline:before,.story-timeline:after { content:''; position:absolute; top:6px; left:7px; width:2px; border-radius:2px; }
.story-timeline:before { bottom:15px; background:#47735a80; }
.story-timeline:after { height:var(--line-progress); max-height:calc(100% - 21px); background:#9ee9b7; transition:height .14s linear; }
.story-chapter { position:relative; padding-bottom:clamp(85px,10vw,150px); opacity:.84; transition:opacity .4s ease; }
.story-chapter:last-child { padding-bottom:0; }
.story-chapter:before { content:''; position:absolute; top:3px; left:-39px; transform:translateX(0); width:14px; height:14px; box-sizing:border-box; border:3px solid #618a70; border-radius:50%; background:#091a16; transition:background .25s ease, border .25s ease, box-shadow .25s ease; z-index:1; }
.story-chapter.is-current { opacity:1; }
.story-chapter.is-current:before { background:#9ee9b7; border-color:#9ee9b7; box-shadow:0 0 0 7px #9ee9b71a; }
.story-phase { font-size:11px; font-weight:700; letter-spacing:.11em; color:#8acba4; margin:0 0 18px; }
.story-chapter h3 { font-weight:600; font-size:clamp(27px,2.75vw,37px); letter-spacing:-.055em; line-height:1.19; max-width:480px; margin:0 0 17px; color:#ecf4e9; }
.story-chapter p:not(.story-phase) { font-size:15px; line-height:1.85; color:#a5bfad; margin:0; max-width:510px; }

@media(max-width:1000px) {
 .pool-layout { gap:35px; }
 .pool-example { padding:23px 21px 22px; }
 .story-inner { gap:40px; }
 .story-intro h2 { font-size:clamp(42px,5vw,58px); }
}
@media(max-width:800px) {
 .home-page .hero .hero-content.hero-centered { width:calc(100% - 40px); }
 .home-page .hero .hero-centered h1 { width:100%; font-size:clamp(48px,10.8vw,70px); letter-spacing:-.055em; line-height:1.08; }
 .home-page .hero .hero-centered .hero-copy { max-width:500px; }
 .home-page .hero .hero-centered .hero-actions { width:100%; }
 .pool-section { padding:76px 0; }
 .pool-layout { grid-template-columns:1fr; gap:38px; }
 .pool-intro h2 { font-size:clamp(39px,8.3vw,62px); }
 .story-section { padding:78px 0 91px; }
 .story-inner { grid-template-columns:1fr; gap:46px; }
 .story-intro { position:static; }
 .story-intro h2 { font-size:clamp(47px,8.8vw,70px); }
 .story-timeline { margin-left:3px; }
 .story-chapter { padding-bottom:72px; }
}
@media(max-width:480px) {
 .home-page .hero .hero-centered h1 { font-size:clamp(42px,12.2vw,57px); letter-spacing:-.055em; }
 .home-page .hero .hero-centered .hero-copy { font-size:15px; line-height:1.65; }
 .home-page .hero .hero-centered .hero-actions { width:100%; max-width:330px; }
 .home-page .hero .hero-centered .hero-notes { justify-content:center; gap:12px; font-size:11px; }
 .pool-example { padding:19px 14px 18px; }
 .pool-example-head { gap:8px; }
 .pool-example-head strong { font-size:17px; }
 .pool-example-head>span { font-size:9px; }
 .pool-bars { height:83px; gap:3px; }
 .pool-bar-labels { font-size:10px; }
 .pool-example-footer strong { font-size:13px; }
 .pool-caps span { padding:6px 8px; font-size:9px; }
 .story-intro h2 { font-size:clamp(44px,12vw,55px); }
 .story-chapter h3 { font-size:29px; }
 .story-lead { font-size:16px; }
}
@media(prefers-reduced-motion:reduce) {
 .story-chapter,.pool-segment,.story-timeline:after { transition:none !important; }
 .story-chapter { opacity:1; }
}

/* Keep the keyboard skip link available without letting it float over scrolled content. */
.home-page .skip-link:not(:focus-visible) { width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.home-page .skip-link:focus-visible { width:auto; height:auto; clip-path:none; padding:10px 18px; }
