/* Information pages: FAQ, About and Contact (resources/views/faq.blade.php,
 * about.blade.php, contact.blade.php; the contact form's controls come from signup.css).
 *
 * Same quiet look as the home page's lower sections: a section title on the
 * left, its content ruled on the right, one ink block to sign up at the end.
 * Loaded after simple1.0.css and site.css: rules are scoped under .info so they
 * win over the legacy ones (`.content p`, global h2, links, lists...). */

.info {
    --info-ink: #1c2130;
    --info-teal: #2c7a63;
    --info-mint: #8fd8bf;
    --info-mint-bright: #b4ead8;
    --info-muted: #5b6170;
    --info-text: #3a404e;
    --info-guide: rgba(28, 33, 48, .15);

    padding: 30px 10px 12px;
    color: var(--info-ink);
    font: 16px/1.55 var(--site-font-ui);
}

.info p,
.info ul,
.info ol {
    margin: 0;
    padding: 0;
}

.info h1,
.info h2,
.info h3 {
    margin: 0;
    color: var(--info-ink);
}

.info a {
    color: var(--info-teal);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.info a:hover {
    color: var(--info-ink);
}

.info a:focus-visible {
    outline: 2px solid var(--info-teal);
    outline-offset: 2px;
    border-radius: 3px;
}

/* Intro ------------------------------------------------------------------------ */

.info-intro {
    padding-bottom: 40px;
    border-bottom: 1px solid var(--info-guide);
}

.info .info-title {
    margin-bottom: 12px;
    font-family: var(--site-font-display);
    font-stretch: condensed;
    font-weight: 700;
    font-size: 48px;
    line-height: 1.05;
    letter-spacing: .005em;
}

.info .info-intro p {
    max-width: 62ch;
    color: var(--info-muted);
}

/* The sections as chips, to jump to one. */
.info .info-toc ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
    list-style: none;
}

.info .info-toc a {
    display: inline-block;
    padding: 7px 14px;
    border: 1px solid var(--info-guide);
    border-radius: 999px;
    background: #fbfaf7;
    color: var(--info-ink);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color .15s ease, border-color .15s ease;
}

.info .info-toc a:hover {
    border-color: #6cc3a6;
    background: var(--info-mint-bright);
}

/* Sections --------------------------------------------------------------------- */

.info-section {
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 64px;
    padding: 48px 0;
    border-bottom: 1px solid var(--info-guide);
    scroll-margin-top: 16px;
}

.info .info-section-title {
    font-family: var(--site-font-display);
    font-stretch: condensed;
    font-weight: 700;
    font-size: 34px;
    line-height: 1.1;
}

.info-body {
    max-width: 68ch;
    color: var(--info-text);
}

.info .info-body > * + * {
    margin-top: 14px;
}

.info .info-body h3 {
    font: 600 17px/1.4 var(--site-font-ui);
}

.info kbd {
    display: inline-block;
    min-width: 26px;
    box-sizing: border-box;
    padding: 3px 7px 2px;
    border: 1px solid rgba(28, 33, 48, .25);
    border-bottom-width: 3px;
    border-radius: 6px;
    background: #fbfaf7;
    color: var(--info-ink);
    font: 600 12.5px/1.2 var(--site-font-ui);
    text-align: center;
}

/* FAQ: the questions of a section, ruled. */
.info .info-item {
    margin-top: 0;
    padding: 18px 0;
    border-bottom: 1px solid var(--info-guide);
}

.info .info-item:first-child {
    padding-top: 4px;
}

.info .info-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.info .info-item h3 {
    margin-bottom: 6px;
    scroll-margin-top: 16px;
}

/* About: the principles, numbered in the logo's mint boxes. */
.info .info-principles {
    list-style: none;
    counter-reset: principle;
}

.info .info-principles li {
    position: relative;
    padding-left: 44px;
    counter-increment: principle;
}

.info .info-principles li + li {
    margin-top: 14px;
}

.info .info-principles li::before {
    content: counter(principle);
    position: absolute;
    left: 0;
    top: 1px;
    width: 26px;
    height: 26px;
    border-radius: 7px;
    background: var(--info-mint);
    color: var(--info-ink);
    font: 700 14px/26px var(--site-font-ui);
    text-align: center;
}

.info .info-principles strong {
    color: var(--info-ink);
}

/* About: the history, hanging from a guide line like the home page's tree. */
.info .info-timeline {
    list-style: none;
    border-left: 2px solid var(--info-guide);
    margin-left: 6px;
}

.info .info-timeline li {
    position: relative;
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 16px;
    padding: 0 0 18px 26px;
}

.info .info-timeline li:last-child {
    padding-bottom: 0;
}

.info .info-timeline li::before {
    content: "";
    position: absolute;
    left: -7px;
    top: 6px;
    width: 12px;
    height: 12px;
    box-sizing: border-box;
    border: 2px solid #6cc3a6;
    border-radius: 4px;
    background: var(--site-paper);
}

.info .info-timeline li:last-child::before {
    background: var(--info-mint);
}

.info .info-timeline time {
    color: var(--info-ink);
    font-weight: 600;
    white-space: nowrap;
}

/* Contact: the form and its notes below the intro. */
.info .info-contact {
    margin-top: 40px;
}

.info .info-optional {
    margin-left: 4px;
    color: var(--info-muted);
    font-size: 12.5px;
    font-weight: 400;
}

/* The spam trap: off screen, out of the tab order (aria-hidden in the page). */
.info .info-trap {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Contact, once sent: where to go next. */
.info .info-intro .info-links {
    display: flex;
    gap: 20px;
    margin-top: 18px;
}

/* Call to action: the one ink block on the page, as on the home page. */
.info-start {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin-top: 48px;
    padding: 30px 32px;
    border-radius: 16px;
    background-color: var(--info-ink);
    background-image: var(--site-ink-texture);
    color: var(--site-on-ink);
}

.info .info-start-title {
    margin-bottom: 6px;
    font-family: var(--site-font-display);
    font-stretch: condensed;
    font-weight: 700;
    font-size: 30px;
    line-height: 1.1;
    color: #fff;
}

.info .info-start p {
    font-size: 15px;
    color: var(--site-on-ink-muted);
}

.info .info-button {
    flex: none;
    display: inline-flex;
    align-items: center;
    height: 44px;
    padding: 0 22px;
    border-radius: 10px;
    background: var(--info-mint);
    color: var(--info-ink);
    font: 600 15px/1 var(--site-font-ui);
    text-decoration: none;
    transition: background-color .15s ease;
}

.info .info-button:hover {
    background: var(--info-mint-bright);
    color: var(--info-ink);
}

.info .info-button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .info .info-toc a,
    .info .info-button {
        transition: none;
    }
}
