/* ============================================================
   Info pages (contact, faq, how-it-works, use-cases, education,
   developers, careers, changelog, status). 2026 redesign in the
   About page's language: a peach hero band with a big heading,
   two-column editorial sections (uppercase heading left, content
   right), peach squircle cards and a ruled accordion. The coral band
   and tool catalogue come from /css/site-sections.css.
   ============================================================ */

.info-page {
    padding: 0 0 104px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    color: #2b2523;
}
.info-page *, .info-page *::before, .info-page *::after { box-sizing: border-box; }
.in-wrap { max-width: 1080px; margin: 0 auto; padding: 0 40px; box-sizing: content-box !important; }
.in-two { display: grid; grid-template-columns: 360px 1fr; gap: 72px; }

/* hero band */
.in-hero { background: linear-gradient(180deg, #fff6f1 0%, #ffece4 100%); padding: 64px 0 60px; }
.in-hero .in-two { align-items: center; }
.info-page h1 {
    margin: 0; padding: 0;
    font-size: 46px; line-height: 1.04; font-weight: 700; letter-spacing: -1.6px;
    color: #15100f; text-align: left; text-wrap: balance;
}
.info-page .info-lead {
    margin: 0; font-size: 21px; line-height: 1.45; letter-spacing: -0.2px;
    color: #15100f; max-width: 600px; text-wrap: pretty;
}

/* editorial sections: heading left, content right */
.info-section {
    display: grid; grid-template-columns: 360px 1fr; column-gap: 72px;
    padding-top: 88px;
}
.info-section > * { grid-column: 2; min-width: 0; }
.info-section > h2 { grid-column: 1; grid-row: 1 / span 40; align-self: start; }
.info-section:not(:has(> h2)) { display: block; }
.in-body > .info-section:first-child { padding-top: 80px; }

.info-page h2 {
    margin: 0 0 18px; padding: 0;
    font-size: 2.2rem; line-height: 1.04; font-weight: 800; letter-spacing: -1.1px;
    text-transform: uppercase; color: #0a0a0a; text-align: left; text-wrap: balance;
}
.info-page h3 {
    margin: 26px 0 8px; padding: 0;
    font-size: 20px; line-height: 1.3; font-weight: 700; letter-spacing: -0.3px;
    color: #15100f; text-align: left;
}
.info-section > h3:first-of-type { margin-top: 0; }
.info-page p { margin: 0 0 18px; font-size: 16.5px; line-height: 1.65; color: #2b2523; text-wrap: pretty; }
.info-page ul, .info-page ol { margin: 0 0 18px; padding-left: 22px; }
.info-page li { margin-bottom: 8px; font-size: 16.5px; line-height: 1.6; color: #2b2523; }
.info-page li::marker { color: #ff6154; }
.info-page li { text-wrap: pretty; }
/* top-level lists in a section read as ruled rows */
.info-section > ul { list-style: none; padding: 0; border-top: 1px solid #ecd9d3; }
.info-section > ul > li { margin: 0; padding: 16px 4px; border-bottom: 1px solid #ecd9d3; }
.info-page strong { color: #15100f; font-weight: 700; }
.info-page a { color: #ff6154; font-weight: 600; text-decoration: none; }
.info-page a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* cards */
.info-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 4px 0 18px; }
.info-card { background: #fff0ea; border-radius: 14px; padding: 26px 26px 24px; }
.info-card h3 { margin-top: 0; }
.info-card p:last-child { margin-bottom: 0; }

/* accordion (ruled, like the About page) */
.info-faq { border-top: 1px solid #b9aaa6; margin: 0 0 18px; interpolate-size: allow-keywords; }
.info-faq details { border-bottom: 1px solid #b9aaa6; }
.info-faq summary {
    position: relative; list-style: none; cursor: pointer;
    padding: 22px 56px 22px 4px;
    font-size: 19px; line-height: 1.35; font-weight: 500; letter-spacing: -0.3px; color: #15100f;
    transition: color .15s ease;
}
.info-faq summary::-webkit-details-marker { display: none; }
.info-faq summary::before, .info-faq summary::after {
    content: ""; position: absolute; right: 8px; top: 50%;
    width: 18px; height: 2px; margin-top: -1px; background: #15100f;
    transition: transform .25s ease;
}
.info-faq summary::after { transform: rotate(90deg); }
.info-faq details[open] summary::after { transform: rotate(0deg); }
.info-faq summary:hover { color: #ff6154; }
.info-faq summary:focus-visible { outline: 2px solid #ff6154; outline-offset: -2px; border-radius: 8px; }
.info-faq details::details-content {
    block-size: 0; overflow: hidden;
    transition: block-size .32s cubic-bezier(.2,.7,.2,1), content-visibility .32s allow-discrete;
}
.info-faq details[open]::details-content { block-size: auto; }
.info-faq .info-faq-a { padding: 0 56px 22px 4px; }
.info-faq .info-faq-a p:last-child { margin-bottom: 0; }

/* status page */
.status-banner {
    display: flex; align-items: center; gap: 14px;
    padding: 24px 26px; margin-bottom: 16px; border-radius: 14px;
    background: #fff0ea;
    font-size: 19px; font-weight: 700; letter-spacing: -0.3px; color: #15100f;
}
.status-dot { width: 12px; height: 12px; flex: 0 0 12px; border-radius: 50%; background: #b5b0ae; }
.status-banner[data-state="ok"]   { background: #ecf8f0; }
.status-banner[data-state="ok"] .status-dot { background: #1fa65a; box-shadow: 0 0 0 5px rgba(31, 166, 90, .16); }
.status-banner[data-state="down"] { background: #ffece8; }
.status-banner[data-state="down"] .status-dot { background: #ff3b2f; box-shadow: 0 0 0 5px rgba(255, 59, 47, .16); }
.status-rows { border-top: 1px solid #b9aaa6; }
.status-row {
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    padding: 18px 4px; border-bottom: 1px solid #b9aaa6;
    font-size: 17px; font-weight: 500; color: #15100f;
}
.status-pill {
    padding: 5px 12px; border-radius: 999px; white-space: nowrap;
    font-size: 13px; font-weight: 600; background: #f2efee; color: #6b6563;
}
.status-pill[data-state="ok"]   { background: #e6f6ec; color: #157a43; }
.status-pill[data-state="down"] { background: #ffe9e6; color: #c4271d; }
.status-meta { margin-top: 14px; font-size: 14px; color: #7a6e6b; }

/* changelog: date left, entry right, ruled */
.changelog-entry {
    display: grid; grid-template-columns: 360px 1fr; column-gap: 72px;
    padding: 30px 0; border-top: 1px solid #ecd9d3;
}
.changelog-entry:last-child { border-bottom: 1px solid #ecd9d3; }
.changelog-date {
    padding-top: 6px;
    font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #ff6154;
}
.info-page .changelog-entry h2 {
    margin: 0 0 10px; font-size: 24px; line-height: 1.2; font-weight: 700; letter-spacing: -0.5px;
    text-transform: none;
}
.changelog-entry p:last-child { margin-bottom: 0; }

/* button */
.info-btn {
    display: inline-flex; align-items: center; height: 44px; padding: 0 22px;
    border-radius: 12px; background: #15100f;
    color: #fff !important; font-size: 16px; font-weight: 600 !important; text-decoration: none !important;
    transition: background .2s ease;
}
.info-btn:hover { background: #ff6154; }

@supports (corner-shape: squircle) {
    .info-card, .status-banner { border-radius: 20px; corner-shape: squircle; }
    html body .info-btn { border-radius: 18px; corner-shape: squircle; }
}

@media (max-width: 960px) {
    .in-two, .in-hero .in-two, .info-section { grid-template-columns: 1fr; gap: 20px; }
    .info-section { row-gap: 0; padding-top: 64px; }
    .info-section > *, .info-section > h2 { grid-column: 1; grid-row: auto; }
    .in-body > .info-section:first-child { padding-top: 56px; }
    .info-page h1 { font-size: 44px; }
    .info-page .info-lead { font-size: 19px; }
    .info-page h2 { font-size: 1.8rem; letter-spacing: -0.8px; }
    .changelog-entry { grid-template-columns: 200px 1fr; column-gap: 32px; }
}
@media (max-width: 600px) {
    .info-page { padding-bottom: 72px; }
    .in-wrap { padding: 0 16px; }
    .in-hero { padding: 48px 0 44px; }
    .info-page h1 { font-size: 36px; letter-spacing: -1.2px; }
    .info-page .info-lead { font-size: 17px; }
    .info-section { padding-top: 52px; }
    .in-body > .info-section:first-child { padding-top: 44px; }
    .info-page h2 { font-size: 1.5rem; letter-spacing: -0.5px; }
    .info-page p, .info-page li { font-size: 16px; }
    .info-cards { grid-template-columns: 1fr; gap: 12px; }
    .info-card { padding: 22px; }
    .info-faq summary { font-size: 17px; padding: 18px 44px 18px 2px; }
    .info-faq summary::before, .info-faq summary::after { right: 4px; width: 16px; }
    .info-faq .info-faq-a { padding: 0 8px 18px 2px; }
    .changelog-entry { grid-template-columns: 1fr; row-gap: 8px; padding: 24px 0; }
    .info-page .changelog-entry h2 { font-size: 20px; }
    .status-row { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    .info-faq details::details-content, .info-faq summary::before, .info-faq summary::after, .info-btn { transition: none; }
}
