/* kwirlab.com - one stylesheet, no build step. Palette and type from the
   brand sheet: Manrope, Mist/Mint/Sage/Fern/Moss grey/Forest ink. Every
   text/background pair meets WCAG AA. */

@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-display: swap;
    font-weight: 200 800;
    src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-display: swap;
    font-weight: 200 800;
    src: url("../fonts/manrope-latin-ext-wght-normal.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-display: swap;
    font-weight: 200 800;
    src: url("../fonts/manrope-cyrillic-wght-normal.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
    --mist: #f4f9f4;
    --mint: #e4f1e6;
    --sage: #cde5d2;
    --fern: #2f6b4f;
    --fern-dark: #1f4f39;
    --moss: #4b6159;
    --moss-deep: #3f554d;
    --ink: #15302a;
    --line: #d5e5d8;
    --dash: #9dbfa6;
    --white: #ffffff;
    --wrap: 1200px;
    --gutter: clamp(20px, 4vw, 32px);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

body {
    margin: 0;
    background: var(--mist);
    color: var(--ink);
    font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 17px;
    line-height: 1.6;
}

img,
svg {
    display: block;
    max-width: 100%;
}

a {
    color: var(--fern);
}

a:hover {
    color: var(--fern-dark);
}

a:focus-visible,
.btn:focus-visible {
    outline: 3px solid var(--fern);
    outline-offset: 3px;
    border-radius: 8px;
}

h1,
h2,
h3 {
    margin: 0;
    font-weight: 800;
    letter-spacing: -0.02em;
}

p {
    margin: 0;
}

.skip-link {
    position: absolute;
    inset-inline-start: 16px;
    top: -100px;
    z-index: 10;
    padding: 12px 18px;
    background: var(--fern);
    color: var(--white);
    font-weight: 700;
    border-radius: 999px;
    text-decoration: none;
}

.skip-link:focus {
    top: 16px;
    color: var(--white);
}

.wrap {
    max-width: var(--wrap);
    margin: 0 auto;
    padding-inline: var(--gutter);
}

/* Header */

.site-header .wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-block: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    text-decoration: none;
}

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

.wordmark {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.wordmark span {
    color: var(--fern);
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
}

.site-nav a {
    padding: 12px 14px;
    color: var(--ink);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
}

.site-nav a:hover {
    color: var(--fern);
}

.site-nav .nav-cta {
    margin-inline-start: 8px;
    padding-inline: 20px;
    background: var(--fern);
    color: var(--white);
    font-weight: 700;
    border-radius: 999px;
}

.site-nav .nav-cta:hover {
    background: var(--fern-dark);
    color: var(--white);
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    min-height: 52px;
    padding: 0 26px;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 999px;
    border: 2px solid var(--fern);
}

.btn-primary {
    background: var(--fern);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--fern-dark);
    border-color: var(--fern-dark);
    color: var(--white);
}

.btn-secondary {
    background: var(--white);
    color: var(--fern);
}

.btn-secondary:hover {
    background: var(--mint);
}

/* Hero */

.hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 56px;
    padding-block: 48px 80px;
}

.hero-text {
    flex: 999 1 520px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.badge {
    align-self: flex-start;
    padding: 8px 14px;
    background: var(--mint);
    color: var(--fern);
    font-size: 14px;
    font-weight: 700;
    border-radius: 999px;
}

.hero h1 {
    font-size: clamp(40px, 6vw, 68px);
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.lead {
    max-width: 560px;
    color: var(--moss);
    font-size: 20px;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 8px;
}

.hero-art {
    flex: 1 1 340px;
    min-width: 0;
    display: flex;
    justify-content: center;
}

.hero-tile {
    position: relative;
    width: 100%;
    max-width: 440px;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mint);
    border-radius: 48px;
}

.hero-tile::before {
    content: "";
    position: absolute;
    inset: 36px;
    background: var(--sage);
    border-radius: 36px;
}

.hero-tile svg {
    position: relative;
    width: 56%;
    height: auto;
}

/* Sections */

.band {
    background: var(--white);
    border-block: 1px solid var(--line);
}

.band-mint {
    background: var(--mint);
}

.section {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-block: 88px;
}

.section-head {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 720px;
}

.section-head h2 {
    font-size: clamp(32px, 4vw, 40px);
    line-height: 1.15;
}

.section-head p {
    color: var(--moss);
    font-size: 18px;
}

.band-mint .section-head p {
    color: var(--moss-deep);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 24px;
}

.card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 28px;
}

.card h3 {
    font-size: 21px;
}

.card p {
    color: var(--moss);
    font-size: 16px;
}

.band .card {
    background: var(--mist);
}

.card-dashed {
    justify-content: center;
    background: var(--white);
    border: 2px dashed var(--dash);
}

.band .card-dashed {
    background: var(--white);
}

.app-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
}

.card-link {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-weight: 700;
}

.status {
    align-self: flex-start;
    padding: 4px 12px;
    background: var(--mint);
    color: var(--fern);
    font-size: 13px;
    font-weight: 700;
    border-radius: 999px;
}

/* The address is an outline image, not text, so scrapers find no string
   to harvest. Sized in em to sit on the surrounding text's baseline. */
.email {
    display: inline-block;
    height: 1.37em;
    width: auto;
    vertical-align: -0.33em;
}

.email-pill {
    display: inline-flex;
    align-items: center;
    min-height: 56px;
    padding-inline: 30px;
    background: var(--white);
    border-radius: 999px;
    font-size: 18px;
}

/* Developer details */

.developer {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    padding-block: 88px;
}

.developer .section-head {
    flex: 1 1 300px;
    min-width: 0;
}

.details {
    flex: 999 1 520px;
    min-width: 0;
    margin: 0;
    padding: 12px 32px;
    display: grid;
    grid-template-columns: minmax(140px, 220px) minmax(0, 1fr);
    column-gap: 24px;
    background: var(--white);
    border-radius: 28px;
}

.details dt,
.details dd {
    padding-block: 18px;
    border-bottom: 1px solid var(--line);
}

.details dt {
    color: var(--moss);
    font-size: 15px;
    font-weight: 700;
}

.details dd {
    margin: 0;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.details dt:last-of-type,
.details dd:last-of-type {
    border-bottom: 0;
}

@media (max-width: 560px) {
    .details {
        grid-template-columns: 1fr;
        padding-inline: 22px;
    }

    .details dt {
        padding-bottom: 0;
        border-bottom: 0;
    }

    .details dd {
        padding-top: 4px;
    }
}

/* Contact */

.contact {
    padding-block: 88px;
}

.contact-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: clamp(32px, 6vw, 56px) clamp(24px, 5vw, 48px);
    background: var(--fern);
    border-radius: 40px;
}

.contact-box div {
    flex: 999 1 420px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-box h2 {
    color: var(--white);
    font-size: clamp(30px, 4vw, 40px);
    line-height: 1.15;
}

.contact-box p {
    color: var(--mint);
    font-size: 18px;
}

.btn-light {
    min-height: 56px;
    padding-inline: 30px;
    background: var(--white);
    border-color: var(--white);
    color: var(--ink);
    font-size: 18px;
    font-weight: 800;
}

.btn-light:hover {
    background: var(--mint);
    color: var(--ink);
}

.btn-light:focus-visible {
    outline-color: var(--white);
}

/* Footer */

.site-footer {
    border-top: 1px solid var(--line);
}

.site-footer .wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-block: 32px;
    color: var(--moss);
    font-size: 15px;
}

.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.site-footer nav a {
    padding: 12px 10px;
    font-weight: 600;
}

/* Legal pages */

.legal {
    max-width: 760px;
    margin: 0 auto;
    padding: 40px var(--gutter) 88px;
}

.legal h1 {
    font-size: clamp(34px, 5vw, 48px);
    line-height: 1.1;
}

.legal .updated {
    margin-top: 12px;
    color: var(--moss);
    font-size: 15px;
}

.legal h2 {
    margin-top: 40px;
    font-size: 24px;
}

.legal p,
.legal ul {
    margin-top: 14px;
    color: var(--moss-deep);
}

.legal ul {
    padding-inline-start: 22px;
}

.legal li + li {
    margin-top: 6px;
}

/* 404 */

.not-found {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding-block: 96px 120px;
}

.not-found h1 {
    font-size: clamp(36px, 5vw, 56px);
}

.not-found p {
    color: var(--moss);
    font-size: 19px;
}
