:root {
    --navy: #0b1726;
    --navy-light: #13243a;
    --navy-card: #101f32;

    --blue: #22a7e8;
    --blue-dark: #115e9b;
    --blue-soft: #78cef5;

    --white: #f5f7fa;
    --gray: #a7b0b8;
    --gray-dark: #74808c;

    --max-width: 1180px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--navy);
    color: var(--white);

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Helvetica Neue",
        Arial,
        sans-serif;

    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

header {
    width: min(calc(100% - 48px), var(--max-width));
    min-height: 88px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand strong {
    font-size: 1.15rem;
    letter-spacing: 0.18em;
}

.brand span {
    margin-top: 7px;

    color: var(--gray);

    font-size: 0.61rem;
    font-weight: 600;
    letter-spacing: 0.46em;
}

nav {
    display: flex;
    gap: 38px;
}

nav a {
    color: var(--gray);
    font-size: 0.9rem;
    font-weight: 500;
}

nav a:hover {
    color: var(--white);
}

.hero {
    width: min(calc(100% - 48px), var(--max-width));
    min-height: 680px;
    margin: 0 auto;

    display: flex;
    align-items: center;

    position: relative;
}

.hero::after {
    content: "";

    position: absolute;
    right: 2%;
    top: 100px;

    width: 430px;
    height: 430px;

    background:
        radial-gradient(
            circle,
            rgba(34, 167, 232, 0.15),
            rgba(34, 167, 232, 0.03) 48%,
            transparent 70%
        );

    pointer-events: none;
}

.hero-content {
    width: 58%;
    max-width: 720px;

    position: relative;
    z-index: 2;
}

.hero-visual {
    position: absolute;

    right: 20px;
    top: 46%;

    width: 38%;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: translateY(-50%);
}

.hero-icon {
    position: relative;
    z-index: 2;

    display: block;

    width: min(100%, 340px);
    height: auto;

    border-radius: 22%;

    filter:
        drop-shadow(0 30px 55px rgba(0, 0, 0, 0.40));

    transition:
        transform 250ms ease,
        filter 250ms ease;
}

.hero-icon:hover {
    transform: translateY(-5px);

    filter:
        drop-shadow(0 38px 65px rgba(0, 0, 0, 0.50));
}

.hero-glow {
    position: absolute;

    width: 115%;
    aspect-ratio: 1;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(34, 167, 232, 0.20) 0%,
            rgba(34, 167, 232, 0.09) 35%,
            transparent 70%
        );

    filter: blur(18px);

    z-index: 1;
}

.eyebrow,
.section-label {
    color: var(--blue);

    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.28em;
}

.hero h1 {
    margin-top: 22px;

    font-size: clamp(4rem, 9vw, 7.3rem);
    line-height: 0.91;
    letter-spacing: -0.055em;
}

.hero h1 span {
    color: var(--blue);
}

.hero-description {
    max-width: 650px;
    margin-top: 32px;

    color: var(--gray);

    font-size: 1.18rem;
    line-height: 1.75;
}

.hero-button {
    display: inline-flex;
    align-items: center;

    margin-top: 38px;
    padding: 14px 22px;

    background: var(--blue);
    color: var(--navy);

    border-radius: 9px;

    font-size: 0.9rem;
    font-weight: 700;
}

.hero-button:hover {
    background: var(--blue-soft);
}

.section {
    width: min(calc(100% - 48px), var(--max-width));
    margin: 0 auto;
    padding: 140px 0;
}

.section + .section {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.section h2 {
    max-width: 820px;

    margin-top: 14px;
    margin-bottom: 48px;

    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}


/* COOKBOOKED CARD */

.app-card {
    position: relative;
    overflow: hidden;

    max-width: 100%;

    margin-top: 20px;
    padding: 60px;
    
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 70px;

    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 24px;

    background:
        linear-gradient(
            135deg,
            rgba(34, 167, 232, 0.08),
            transparent 45%
        ),
        var(--navy-card);

    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.22);
}

.app-content {
    position: relative;
    z-index: 1;

    max-width: 670px;
}

.app-visual {
    flex: 0 0 300px;

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;
    z-index: 1;
}

.cookbooked-icon {
    display: block;

    width: 280px;
    height: 280px;

    object-fit: cover;

    border-radius: 24%;

    filter:
        drop-shadow(0 28px 45px rgba(0, 0, 0, 0.35));

    transition:
        transform 250ms ease,
        filter 250ms ease;
}

.cookbooked-icon:hover {
    transform: translateY(-5px) scale(1.015);

    filter:
        drop-shadow(0 34px 55px rgba(0, 0, 0, 0.45));
}

.status {
    display: inline-block;

    padding: 7px 11px;

    color: var(--blue);

    border: 1px solid rgba(34, 167, 232, 0.32);
    border-radius: 100px;

    background: rgba(34, 167, 232, 0.08);

    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.app-card h3 {
    margin-top: 24px;

    font-size: clamp(2.6rem, 5vw, 4.5rem);
    line-height: 1;
    letter-spacing: -0.04em;
}

.app-tagline {
    margin-top: 18px;

    color: var(--white);

    font-size: 1.15rem;
    font-weight: 600;
}

.app-card p:not(.app-tagline) {
    margin-top: 22px;

    color: var(--gray);

    line-height: 1.75;
}

.platforms {
    margin-top: 30px;

    color: var(--blue-soft);

    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
}


/* HOW WE BUILD */

.principles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 26px;
}

.principles > div {
    padding: 34px;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;

    background: rgba(255, 255, 255, 0.025);
}

.principle-number {
    display: inline-block;

    margin-bottom: 28px;

    color: var(--blue);

    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.principles > div {
    position: relative;
    overflow: hidden;
}

.principles > div::after {
    content: "";

    position: absolute;

    width: 120px;
    height: 120px;

    right: -50px;
    top: -50px;

    border-radius: 50%;

    background: rgba(34, 167, 232, 0.055);

    pointer-events: none;
}

.principles h3 {
    color: var(--blue);
    font-size: 1.2rem;
}

.principles p {
    margin-top: 12px;

    color: var(--gray);

    font-size: 0.95rem;
    line-height: 1.7;
}


/* ABOUT */

.about {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 90px;
    align-items: start;
}

.about-heading h2 {
    margin-bottom: 0;
}

.about-content {
    padding-top: 34px;
}

.about .large-copy {
    max-width: 680px;

    color: var(--white);

    font-size: 1.4rem;
    line-height: 1.65;
}

.about-content > p:nth-child(2) {
    max-width: 650px;

    margin-top: 30px;

    color: var(--gray);

    line-height: 1.8;
}

.about-content strong {
    color: var(--white);
    font-weight: 650;
}

.about-meta {
    margin-top: 42px;

    color: var(--blue);

    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.about-meta span {
    margin: 0 10px;

    color: var(--gray-dark);
}


/* CONTACT */

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 24px;
}


/* FOOTER */

footer {
    width: min(calc(100% - 48px), var(--max-width));
    margin: 0 auto;

    padding: 50px 0;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-top: 1px solid rgba(255, 255, 255, 0.08);

    color: var(--gray-dark);

    font-size: 0.76rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-brand strong {
    color: var(--white);

    letter-spacing: 0.12em;
}

.footer-brand span {
    margin-top: 4px;

    color: var(--blue);

    font-size: 0.58rem;
    font-weight: 600;

    letter-spacing: 0.15em;
}


/* RESPONSIVE */

@media (max-width: 760px) {

    header {
        min-height: 76px;
    }

    nav {
        gap: 17px;
    }

    nav a {
        font-size: 0.78rem;
    }

    .hero {
        min-height: 600px;
    }
    
    .hero-content {
        width: 100%;
    }

    .hero-visual {
        display: none;
    }

    .hero h1 {
        font-size: clamp(3.4rem, 17vw, 5.7rem);
    }

    .hero-description {
        font-size: 1rem;
    }
    
    .app-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
    }

    .app-visual {
        width: 100%;
        flex: none;
    }

    .cookbooked-icon {
        width: min(240px, 70vw);
        height: auto;

        margin: 0 auto;
    }

    .section {
        padding: 80px 0;
    }

    .app-card {
        padding: 36px 28px;
    }
    
    .about {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .about-content {
        padding-top: 0;
    }
    
    .principles {
        gap: 18px;
    }
    
    .contact-grid {
        gap: 34px;
    }

    .principles,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    footer {
        align-items: flex-start;
        flex-direction: column;

        gap: 24px;
    }
}

@media (max-width: 520px) {

    header,
    .hero,
    .section,
    footer {
        width: min(calc(100% - 32px), var(--max-width));
    }

    .brand span {
        display: none;
    }

    nav {
        gap: 14px;
    }

    .hero {
        min-height: 570px;
    }
    
    .hero h1 {
        font-size: clamp(3rem, 15vw, 4.6rem);
        line-height: 0.95;
    }

    .hero-button {
        width: 100%;
        justify-content: center;
    }
}


/* =========================================
   SUPPORT PAGE
   ========================================= */

.support-hero {
    width: min(calc(100% - 48px), var(--max-width));
    margin: 0 auto;

    padding: 130px 0 90px;
}

.support-hero h1 {
    max-width: 850px;

    margin-top: 16px;

    font-size: clamp(3.5rem, 7vw, 6.5rem);
    line-height: 0.96;
    letter-spacing: -0.055em;
}

.support-intro {
    max-width: 650px;

    margin-top: 32px;

    color: var(--gray);

    font-size: 1.15rem;
    line-height: 1.75;
}


.support-section {
    width: min(calc(100% - 48px), var(--max-width));
    margin: 0 auto;

    padding: 100px 0;

    border-top: 1px solid rgba(255, 255, 255, 0.08);
}


.support-product {
    padding: 60px;

    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 24px;

    background:
        linear-gradient(
            135deg,
            rgba(34, 167, 232, 0.07),
            transparent 50%
        ),
        var(--navy-card);
}


.support-product-heading {
    display: flex;
    align-items: center;

    gap: 28px;
}


.support-app-icon {
    width: 110px;
    height: 110px;

    object-fit: cover;

    border-radius: 24%;

    filter:
        drop-shadow(
            0 18px 30px rgba(0, 0, 0, 0.30)
        );
}


.support-product h2 {
    margin-top: 12px;

    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1;
    letter-spacing: -0.035em;
}


.support-product > p {
    max-width: 700px;

    margin-top: 34px;

    color: var(--gray);

    line-height: 1.8;
}


.support-email-button {
    display: inline-flex;

    margin-top: 34px;
    padding: 14px 20px;

    border-radius: 9px;

    background: var(--blue);
    color: var(--navy);

    font-size: 0.86rem;
    font-weight: 700;

    transition:
        background 180ms ease,
        transform 180ms ease;
}


.support-email-button:hover {
    background: var(--blue-soft);

    transform: translateY(-2px);
}


.support-options h2 {
    margin-top: 14px;
    margin-bottom: 48px;

    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1;
    letter-spacing: -0.04em;
}


.support-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 24px;
}


.support-contact {
    padding: 28px;

    border-top: 1px solid rgba(255, 255, 255, 0.12);

    transition:
        border-color 180ms ease,
        transform 180ms ease;
}


.support-contact:hover {
    border-color: var(--blue);

    transform: translateY(-3px);
}


.support-contact span {
    display: block;

    color: var(--blue);

    font-size: 0.62rem;
    font-weight: 700;

    letter-spacing: 0.17em;
}


.support-contact strong {
    display: block;

    margin-top: 14px;

    color: var(--white);

    font-size: 0.92rem;
    font-weight: 600;
}


/* Support page mobile */

@media (max-width: 760px) {

    .support-hero {
        width: min(calc(100% - 32px), var(--max-width));

        padding: 90px 0 70px;
    }

    .support-hero h1 {
        font-size: clamp(3rem, 14vw, 4.5rem);
    }

    .support-section {
        width: min(calc(100% - 32px), var(--max-width));

        padding: 75px 0;
    }

    .support-product {
        padding: 32px 26px;
    }

    .support-product-heading {
        align-items: flex-start;

        gap: 20px;
    }

    .support-app-icon {
        width: 78px;
        height: 78px;
    }

    .support-contact-grid {
        grid-template-columns: 1fr;

        gap: 22px;
    }

}


/* =========================================
   PRIVACY PAGE
   ========================================= */

.privacy-hero {
    width: min(calc(100% - 48px), var(--max-width));
    margin: 0 auto;

    padding: 130px 0 100px;
}

.privacy-hero h1 {
    max-width: 850px;

    margin-top: 16px;

    font-size: clamp(3.5rem, 7vw, 6.5rem);
    line-height: 0.96;
    letter-spacing: -0.055em;
}

.privacy-intro {
    max-width: 680px;

    margin-top: 32px;

    color: var(--gray);

    font-size: 1.15rem;
    line-height: 1.75;
}

.privacy-updated {
    margin-top: 28px;

    color: var(--gray-dark);

    font-size: 0.75rem;
}


.privacy-content {
    width: min(calc(100% - 48px), 930px);
    margin: 0 auto;

    padding-bottom: 120px;
}


.privacy-section {
    display: grid;
    grid-template-columns: 70px 1fr;

    gap: 28px;

    padding: 58px 0;

    border-top: 1px solid rgba(255, 255, 255, 0.08);
}


.privacy-number {
    padding-top: 7px;

    color: var(--blue);

    font-size: 0.67rem;
    font-weight: 700;

    letter-spacing: 0.18em;
}


.privacy-section h2 {
    font-size: clamp(1.6rem, 3vw, 2.25rem);

    line-height: 1.15;
    letter-spacing: -0.025em;
}


.privacy-section p {
    max-width: 720px;

    margin-top: 20px;

    color: var(--gray);

    line-height: 1.8;
}


.privacy-contact a {
    display: inline-block;

    margin-top: 24px;

    color: var(--blue);

    font-size: 1rem;
    font-weight: 600;
}


.privacy-contact a:hover {
    color: var(--blue-soft);
}


/* Privacy page mobile */

@media (max-width: 760px) {

    .privacy-hero {
        width: min(calc(100% - 32px), var(--max-width));

        padding: 90px 0 70px;
    }

    .privacy-hero h1 {
        font-size: clamp(3rem, 14vw, 4.5rem);
    }

    .privacy-content {
        width: min(calc(100% - 32px), 930px);

        padding-bottom: 80px;
    }

    .privacy-section {
        grid-template-columns: 1fr;

        gap: 12px;

        padding: 42px 0;
    }

    .privacy-number {
        padding-top: 0;
    }

}
