:root {
    color-scheme: light dark;
    --color-primary: #ae2f34;
    --color-heading: #191c1d;
    --color-text: #584140;
    --color-background: #f8f9fa;
    --color-surface: #fff;
    --color-mint: #90f4e6;
    --color-teal: #006a61;
    --color-border: #e1e3e4;
    --shadow-card: 0 10px 30px rgb(0 0 0 / 4%);
    --radius-card: 32px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 32px;
}

body {
    margin: 0;
    min-width: 280px;
    background: var(--color-background);
    color: var(--color-text);
    font-family: Outfit, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

h1,
h2,
h3,
h4 {
    color: var(--color-heading);
    font-weight: 600;
}

h1 {
    font-size: 48px;
    line-height: 1.17;
    letter-spacing: -.96px;
}

h2 {
    font-size: 32px;
    line-height: 1.25;
    letter-spacing: -.32px;
}

h3 {
    font-size: 20px;
    line-height: 1.4;
    font-weight: 500;
}

img {
    max-width: 100%;
    height: auto;
}

a,
button,
input,
textarea {
    -webkit-tap-highlight-color: transparent;
}

a {
    text-underline-offset: 5px;
}

a:hover {
    color: var(--color-primary);
}

button,
input,
textarea {
    font: inherit;
}

button,
a {
    touch-action: manipulation;
}

:focus-visible {
    outline: 3px solid var(--color-teal);
    outline-offset: 5px;
}

[hidden] {
    display: none !important;
}

.page-container {
    width: 100%;
    max-width: 1280px;
    padding-inline: 64px;
    margin-inline: auto;
}

.section {
    padding-block: 80px;
}

.section-heading {
    max-width: 768px;
    margin: 0 auto 48px;
    text-align: center;
}

.section-heading p {
    margin-top: 16px;
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 48px;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-copy > p {
    font-size: 18px;
    line-height: 28px;
}

.text-accent {
    color: var(--color-primary);
}

.badge {
    display: inline-flex;
    width: fit-content;
    gap: 8px;
    align-items: center;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgb(144 244 230 / 20%);
    color: #007167;
    font-size: 13px;
    line-height: 16px;
    font-weight: 600;
    letter-spacing: .65px;
}

.badge-coral {
    background: rgb(255 107 107 / 12%);
    color: var(--color-primary);
}

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: var(--color-primary);
    color: #fff;
    font-weight: 500;
    font-size: 20px;
    line-height: 28px;
    text-align: center;
    text-decoration: none;
    transition: background-color .15s, box-shadow .15s;
    cursor: pointer;
}

.button:hover {
    background: #93252a;
    color: white;
    box-shadow: 0 5px 18px rgb(174 47 52 / 14%);
}

.button-outline {
    background: transparent;
    color: var(--color-primary);
    border-color: #eac4c5;
}

.button-outline:hover {
    background: #fceeed;
    color: var(--color-primary);
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.card {
    background: #fff;
    padding: 32px;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    min-width: 0;
}

.card p {
    margin-top: 8px;
}

.icon-circle {
    display: inline-flex;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgb(144 244 230 / 20%);
}

.icon {
    display: inline-block;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.icon-circle img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.cta-panel {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 48px;
    border-radius: 48px;
    background: linear-gradient(165deg, #fff, #fff3f3);
    box-shadow: 0 20px 50px rgb(255 107 107 / 8%);
    text-align: center;
}

.cta-panel::before,
.cta-panel::after {
    content: '';
    position: absolute;
    z-index: -1;
    width: 256px;
    height: 256px;
    border-radius: 50%;
    opacity: .3;
    filter: blur(32px);
}

.cta-panel::before {
    top: -96px;
    right: -96px;
    background: #ff6b6b;
}

.cta-panel::after {
    bottom: -96px;
    left: -96px;
    background: #90f4e6;
}

.cta-panel p {
    max-width: 512px;
    margin: 24px auto 32px;
    font-size: 18px;
}

.brand {
    display: inline-flex;
    flex: 0 0 auto;
    width: 190px;
    text-decoration: none;
}

.brand picture {
    display: block;
    width: 100%;
}

.brand img {
    display: block;
    width: 100%;
    height: auto;
}

.site-header {
    position: relative;
    z-index: 10;
    background: rgb(248 249 250 / 90%);
    backdrop-filter: blur(6px);
}

.header-inner {
    display: flex;
    gap: 36px;
    justify-content: space-between;
    align-items: center;
    min-height: 104px;
    padding-block: 24px;
}

.site-navigation {
    display: flex;
    flex: 1;
    justify-content: flex-end;
    align-items: center;
    gap: 24px;
}

.site-navigation > a:not(.button) {
    padding-block: 8px;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
}

.site-navigation a[aria-current] {
    color: var(--color-primary);
    font-weight: 700;
    border-bottom-color: var(--color-primary);
}

.site-navigation .nav-quote {
    margin-left: auto;
    padding: 10px 24px;
    white-space: nowrap;
}

.menu-toggle {
    display: none;
    border-radius: 50%;
    padding: 10px;
}

.menu-toggle img {
    width: 24px;
    height: 24px;
}

.site-footer {
    border-radius: 48px 48px 0 0;
    background: white;
}

.footer-inner {
    display: flex;
    gap: 32px;
    align-items: center;
    justify-content: space-between;
    padding-block: 48px;
}

.footer-brand {
    width: 170px;
}

.copyright,
.site-footer nav {
    font-size: 13px;
    font-weight: 500;
}

.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.site-footer nav a {
    padding-block: 10px;
}

.app-store-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.app-store-link {
    background: white;
    border: 1px solid #eac4c5;
    color: var(--color-primary);
    font-size: 15px;
    line-height: 22px;
    padding: 10px 16px;
}

.app-store-link:hover {
    background: #fff1f0;
    color: var(--color-primary);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    top: -100px;
    left: 20px;
    z-index: 100;
    padding: 12px 24px;
    background: #fff;
    color: var(--color-primary);
    border-radius: 12px;
}

.skip-link:focus {
    top: 12px;
}

@media (min-width: 1051px) and (max-width: 1250px) {
    .header-inner {
        gap: 24px;
    }

    .header-inner .brand {
        width: 170px;
    }

    .site-navigation {
        gap: 16px;
    }

    .site-navigation .nav-quote {
        padding-inline: 18px;
        font-size: 16px;
    }
}

@media (max-width: 1050px) {
    .header-inner {
        flex-wrap: wrap;
        gap: 0;
        min-height: 72px;
        padding-block: 16px;
    }

    .header-inner .brand {
        width: 150px;
    }

    .site-navigation {
        flex-basis: 100%;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 12px 24px;
        padding-top: 16px;
    }

    .site-navigation .nav-quote {
        margin-left: 0;
    }

    .navigation-ready .menu-toggle {
        display: flex;
        margin-left: auto;
    }

    .navigation-ready .site-navigation {
        display: none;
    }

    .navigation-ready .site-navigation.is-open {
        display: flex;
    }

    .footer-inner {
        flex-wrap: wrap;
    }
}

@media (max-width: 767px) {
    .page-container {
        padding-inline: 20px;
    }

    .section {
        padding-block: 48px;
    }

    h1 {
        font-size: 32px;
        line-height: 1.2;
        letter-spacing: -.4px;
    }

    h2 {
        font-size: 28px;
        line-height: 1.28;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .hero-copy {
        align-items: center;
        text-align: center;
    }

    .hero-copy > p {
        font-size: 16px;
        line-height: 24px;
    }

    .section-heading {
        margin-bottom: 32px;
    }

    .feature-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .card {
        padding: 24px;
    }

    .button-row {
        width: 100%;
        max-width: 360px;
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
        margin-inline: auto;
    }

    .button-row .button {
        width: 100%;
        min-height: 52px;
        padding-inline: 24px;
    }

    .cta-panel > .button,
    .hero-copy > .button {
        width: 100%;
        max-width: 360px;
    }

    .cta-panel {
        border-radius: 32px;
    }

    .site-footer {
        margin-top: 48px;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .copyright {
        order: 3;
    }

    .site-footer nav {
        justify-content: center;
        gap: 12px 24px;
    }

    .site-navigation.is-open {
        flex-direction: column;
        align-items: stretch;
        padding-bottom: 8px;
    }

    .site-navigation > a {
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }
}

@media (prefers-color-scheme: dark) {
    :root {
        --color-primary: #f1aaa5;
        --color-heading: #f4efe8;
        --color-text: #c5bfba;
        --color-background: #201e1d;
        --color-surface: #2b2826;
        --color-border: #49433e;
        --color-teal: #a2d7cc;
        --shadow-card: none;
    }

    .site-header {
        background: rgb(32 30 29 / 96%);
    }

    .site-footer,
    .card,
    .skip-link {
        background: var(--color-surface);
    }

    .site-footer {
        background: #252220;
    }

    .text-accent {
        color: var(--color-heading);
    }

    .badge {
        background: #2d3934;
        color: #b8d9cc;
    }

    .badge-coral {
        background: #3b302c;
        color: var(--color-primary);
    }

    .button {
        background: #b53b3e;
        color: #fff;
    }

    .button:hover {
        background: #c14649;
        color: #fff;
    }

    .button-outline {
        background: transparent;
        border-color: #8f746c;
        color: #f1c0b5;
    }

    .button-outline:hover {
        background: #3b302c;
        color: #f1c0b5;
    }

    .cta-panel {
        background: #302925;
        box-shadow: var(--shadow-card);
    }

    .cta-panel::before,
    .cta-panel::after {
        opacity: .08;
    }

    .icon-circle {
        background: #b4ded8;
    }

    .app-store-link {
        background: #fff;
        color: #ae2f34;
        border-color: #eac4c5;
    }

    .app-store-link:hover {
        background: #fff1f0;
        color: #93252a;
    }

    .menu-toggle {
        background: #e7dacb;
    }
}

.ink-link {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: .2em;
}
