:root {
    --ink: #203151;
    --red: #e15554;
    --green: #3bb273;
    --blue: #4d9de0;
    --yellow: #e1bc29;
    --softred: #ffd7d4;
    --softgreen: #cff0dd;
    --softblue: #cfe9ff;
    --paper: #fff9ee;
    --skypaper: #eaf4ff;
    --white: #fff;
    --black: #000;
    --body: #526078;
    --orbit-line: #aab3c0;
    --cabin: "Cabin", sans-serif;
    --sniglet: "Sniglet", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font-family: var(--cabin); margin: 0; min-height: 100vh; overflow-x: hidden; }
h1, h2, h3, h4, h5, h6 { font-weight: 400; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.icon { flex-shrink: 0; height: 20px; width: 20px; }
.btn.red .icon, .btn.green .icon, .btn.blue .icon { filter: brightness(0) invert(1); }

.btn {
    align-items: center;
    background: var(--paper);
    border: 2px solid var(--ink);
    border-radius: 999px;
    box-shadow: 4px 4px 0 var(--ink);
    color: var(--ink);
    display: inline-flex;
    font-size: 15px;
    font-weight: 600;
    gap: 9px;
    padding: 13px 20px;
    transition: box-shadow .15s, transform .15s;
}
.btn:hover { box-shadow: 2px 2px 0 var(--ink); transform: translate(2px, 2px); }
.btn.red { background: var(--red); color: var(--white); }
.btn.green { background: var(--green); color: var(--white); }
.btn.blue { background: var(--blue); color: var(--white); }
.btn.yellow { background: var(--yellow); color: var(--ink); }

.clickable { cursor: pointer; transition: box-shadow .15s, transform .15s; }
.clickable:hover { box-shadow: 3px 3px 0 var(--ink); transform: translate(4px, 4px); }

.bubble { border: 3px solid var(--ink); box-shadow: 7px 7px 0 var(--ink); display: grid; min-height: 350px; padding: 28px; text-decoration: none; }
.bubble-closing { align-items: center; align-self: end; display: inline-flex; font-weight: 600; gap: 8px; line-height: 1.55; margin-top: 28px; }
.bubble.red { background: var(--softred); border-radius: 35px 90px 35px 35px; }
.bubble.green { background: var(--softgreen); border-radius: 90px 35px 35px 35px; }
.bubble.blue { background: var(--softblue); border-radius: 35px 35px 90px 35px; }
.bubble-icon { align-items: center; background: var(--paper); border: 2px solid var(--ink); border-radius: 50%; display: flex; height: 70px; justify-content: center; width: 70px; }
.bubble h3 { font-family: var(--sniglet); font-size: 32px; margin: 52px 0 12px; }
.bubble p { line-height: 1.55; }

.site-header { align-items: center; display: flex; gap: 40px; justify-content: space-between; margin: auto; max-width: 1200px; padding: 22px 28px; position: relative; }
.site-header img { height: 46px; width: auto; }
.site-nav { display: flex; flex-wrap: wrap; gap: 12px; margin-left: auto; }
.site-nav-toggle { display: none; margin-left: auto; padding: 12px; }
.icon-menu { background: currentColor; display: block; height: 2px; position: relative; width: 18px; }
.icon-menu::before, .icon-menu::after { background: currentColor; content: ""; height: 2px; left: 0; position: absolute; width: 18px; }
.icon-menu::before { top: -6px; }
.icon-menu::after { top: 6px; }
.site-header.is-open .icon-menu { background: transparent; }
.site-header.is-open .icon-menu::before { top: 0; transform: rotate(45deg); }
.site-header.is-open .icon-menu::after { top: 0; transform: rotate(-45deg); }

.site-footer { align-items: center; background: var(--ink); color: var(--white); display: grid; gap: 40px; grid-template-columns: 1fr auto 1fr; padding: 48px max(28px, calc((100vw - 1144px)/2)); }
.site-footer-logo { justify-self: start; }
.site-footer-logo img { height: 42px; width: auto; }
.site-footer-copyright { font-size: 13px; opacity: .75; white-space: nowrap; }
.site-footer-company { align-items: flex-end; display: flex; flex-direction: column; font-size: 13px; font-style: normal; gap: 5px; justify-self: end; line-height: 1.4; text-align: right; }
.site-footer-company strong { font-size: 15px; }
.site-footer-company a { color: var(--softblue); }
.site-footer-company a:hover { text-decoration: underline; }

.section-label { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.section-title { font-family: var(--sniglet); font-size: clamp(48px, 5vw, 72px); letter-spacing: -.04em; line-height: .95; margin: 0; }
em.red { color: var(--red); font-style: normal; }
em.green { color: var(--green); font-style: normal; }
em.blue { color: var(--blue); font-style: normal; }
em.yellow { color: var(--yellow); font-style: normal; }
.section-heading { align-items: end; display: flex; justify-content: space-between; margin-bottom: 50px; }

@media (max-width: 900px) {
    .site-nav-toggle { display: inline-flex; }
    .site-nav { background: var(--paper); border: 2px solid var(--ink); border-radius: 24px; box-shadow: 4px 4px 0 var(--ink); display: none; flex-direction: column; gap: 8px; left: 28px; padding: 12px; position: absolute; right: 28px; top: calc(100% + 8px); z-index: 100; }
    .site-header.is-open .site-nav { display: flex; }
    .site-nav .btn { justify-content: space-between; width: 100%; }
    .section-heading { align-items: start; flex-direction: column; gap: 25px; }
}

@media (max-width: 620px) {
    .site-header { padding-inline: 18px; }
    .site-nav { left: 18px; right: 18px; }
    .site-footer { gap: 26px; grid-template-columns: 1fr; justify-items: center; text-align: center; }
    .site-footer-logo, .site-footer-company { justify-self: center; }
    .site-footer-company { align-items: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}
