/* SeaHen (flat hen): pages.css. Home hero, page heads and page-specific layouts. */

/* ---------- Home hero: the talking hen ---------- */
.hero .wrap { display: grid; gap: 32px; padding-block: 48px 56px; align-items: center; }
@media (min-width: 980px) { .hero .wrap { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); padding-block: 72px; } }
.hero .wrap > * { min-width: 0; }
.hero h1 { margin-top: 18px; font-size: clamp(2.75rem, 1.4rem + 5.6vw, 6rem); letter-spacing: -0.05em; line-height: .95; max-width: 12ch; }
.hero .lead { margin-top: 26px; }
.hero .btn-row { margin-top: 34px; }
.stage { position: relative; display: grid; justify-items: center; padding-top: 104px; }
.bubble { position: absolute; top: 0; right: 2%; max-width: 280px; background: var(--surface); color: var(--ink); border-radius: 22px; padding: 16px 20px; font-weight: 600; font-size: 1.0625rem; line-height: 1.35; box-shadow: 0 0 0 2px var(--ink); }
.bubble::after { content: ""; position: absolute; left: 30px; bottom: -13px; width: 24px; height: 24px; background: var(--surface); box-shadow: 2px 2px 0 0 var(--ink); transform: rotate(45deg); border-radius: 0 0 6px 0; }
.hen-btn { border: 0; background: none; padding: 0; cursor: pointer; width: min(100%, 400px); border-radius: 24px; }
.hen-btn svg { width: 100%; height: auto; display: block; overflow: visible; transform-origin: 50% 100%; }
.hen-btn.hop svg { animation: hop .5s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes hop { 40% { transform: translateY(-20px) rotate(-3deg); } }
.stage .hint { margin-top: 8px; }
@media (max-width: 520px) { .stage { padding-top: 96px; } .bubble { left: 0; right: auto; font-size: 1rem; } }

/* ---------- Interior page head ---------- */
.page-head { border-bottom: 1px solid var(--line); }
.page-head .wrap { padding-block: 60px 68px; display: grid; gap: 20px; }
@media (min-width: 900px) { .page-head .wrap { padding-block: 92px 96px; } }
.page-head h1 { font-size: clamp(2.25rem, 1.2rem + 4.6vw, 5.25rem); letter-spacing: -0.045em; max-width: 14ch; overflow-wrap: break-word; }
.page-head .btn-row { margin-top: 10px; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin-top: 8px; }
.jump a { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 14px; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); color: var(--ink); text-decoration: none; font-size: .9375rem; font-weight: 500; }
.jump a:hover { box-shadow: inset 0 0 0 2px var(--hen); color: var(--hen-text); }

/* ---------- Audience sections (Who we work with) ---------- */
.audience { padding-block: 72px; border-bottom: 1px solid var(--line); }
.audience:last-of-type { border-bottom: 0; }
.audience-grid { display: grid; gap: 36px; }
@media (min-width: 980px) { .audience-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; } }
.audience-grid > * { min-width: 0; }
.audience h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.5rem); }
.audience h2 + p { margin-top: 18px; font-size: 1.125rem; color: var(--ink-2); max-width: 44ch; }
.audience .btn-row { margin-top: 28px; }

/* ---------- Detail ---------- */
.detail { display: grid; gap: 36px; align-items: center; }
@media (min-width: 980px) { .detail { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; } }
.detail > * { min-width: 0; }
.detail-copy .head { margin: 14px 0 0; }
.detail-copy .ticks { margin-top: 26px; }
.cap { margin-top: 12px; font-size: .875rem; color: var(--ink-2); }

/* ---------- Reseller band ---------- */
.band { background: var(--hen); color: #fff; }
.band .wrap { padding-block: 88px; display: grid; gap: 40px; }
@media (min-width: 980px) { .band .wrap { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); align-items: center; } }
.band .wrap > * { min-width: 0; }
.band h2, .band .hl-a, .band .hl-b { color: #fff; }
.band h2 { font-size: clamp(2.25rem, 1.5rem + 3vw, 4rem); }
.band .tracked { color: #fff; }
.band p { margin-top: 18px; font-size: 1.125rem; max-width: 46ch; }
.band .ticks li { background: rgba(13,26,74,.22); box-shadow: none; color: #fff; font-size: 1.0625rem; }
.band .ticks.alt li::before { background-color: var(--beak); }
.band .btn-row { margin-top: 28px; }
.band .btn-line { color: #fff; box-shadow: inset 0 0 0 2px #fff; }
.band .btn-line:hover { background: rgba(255,255,255,.12); color: #fff; }
.band :focus-visible { outline-color: var(--beak); }

/* ---------- Resellers flow ---------- */
.flow { list-style: none; padding: 0; display: grid; gap: 12px; counter-reset: f; }
.flow li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; align-items: start; padding: 18px; border-radius: 22px; background: var(--paper); counter-increment: f; }
.flow li::before { content: counter(f); width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; font-weight: 700; font-size: 1.375rem; background: var(--hen); color: #fff; }
.flow h3 { font-size: 1.1875rem; }
.flow p { margin-top: 4px; color: var(--ink-2); }

/* ---------- About ---------- */
.places { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.place { border-radius: var(--r-body); padding: 30px 28px; background: var(--bg, var(--hen)); color: var(--on, #fff); display: grid; gap: 4px; min-height: 180px; align-content: end; }
.place b { font-size: clamp(2.25rem, 1.6rem + 2vw, 3.25rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.place span { font-weight: 500; }
.prose { max-width: 66ch; display: grid; gap: 16px; }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); margin-top: 22px; }
.prose ul { padding-left: 1.2em; display: grid; gap: 8px; }
.prose b { color: var(--ink); }
.about-hen { display: grid; justify-items: center; }
.about-hen svg { width: min(100%, 360px); height: auto; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; gap: 40px; }
@media (min-width: 1024px) { .contact-layout { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 48px; } }
.contact-layout > * { min-width: 0; }
.aside { display: grid; gap: 26px; align-content: start; }
@media (min-width: 1024px) { .aside { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; } }
.aside section { display: grid; gap: 8px; }
.aside h2 { font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--comb-text); }
.aside p, .aside li { color: var(--ink-2); font-size: .9688rem; }
.aside ul { padding-left: 1.2em; display: grid; gap: 6px; margin: 0; }
.routes { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.route { border-radius: 22px; padding: 20px 22px; display: grid; gap: 6px; color: var(--ink); text-decoration: none; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); }
.route:hover { box-shadow: inset 0 0 0 2px var(--hen); color: var(--ink); }
.route.is-current { box-shadow: inset 0 0 0 3px var(--hen); }
.route b { font-size: 1.0625rem; }
.route span { color: var(--ink-2); font-size: .9375rem; }

/* ---------- 404 ---------- */
.lost .wrap { padding-block: 88px 112px; display: grid; gap: 22px; }
.lost .big { font-size: clamp(6rem, 4rem + 10vw, 12rem); font-weight: 700; letter-spacing: -0.06em; line-height: .8; }
.lost h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.5rem); }
.lost p { color: var(--ink-2); font-size: 1.125rem; max-width: 50ch; }
.lost ul { list-style: none; padding: 0; display: grid; gap: 8px; max-width: 560px; }
.lost li a { display: flex; align-items: center; min-height: 54px; padding-inline: 18px; border-radius: 16px; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); color: var(--ink); text-decoration: none; font-weight: 600; }
.lost li a:hover { box-shadow: inset 0 0 0 2px var(--hen); color: var(--hen-text); }
