/* Corka public site. Same navy and raspberry as the partner portal (Corka.Partners/wwwroot/css/app.css). */
:root {
    --navy: #1E2447;
    --navy-2: #272E58;
    --bg: #F4F3F8;
    --card: #FFFFFF;
    --text: #1B2042;
    --sub: #4E5275;
    --line: #E3E2EC;
    --pink: #E23D6D;
    --pink-hover: #CF2E5E;
    --serif: "Playfair Display", Georgia, "Times New Roman", serif;
    --sans: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    --caps: "Cinzel", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0; background: var(--bg); color: var(--text);
    font-family: var(--sans); font-size: 17px; line-height: 1.55;
}
a { color: var(--pink); }
h1, h2, h3 { margin: 0; line-height: 1.05; font-family: var(--serif); font-weight: 800; letter-spacing: -.02em; }
h1 em, h2 em { color: var(--pink); font-style: normal; display: block; }
.rule { width: 72px; height: 4px; border-radius: 2px; background: var(--pink); }

/* ---- Brand, buttons ---- */
.wordmark { display: inline-flex; align-items: center; gap: 14px; color: #fff; text-decoration: none; }
.wordmark img { width: 34px; height: 38px; }
.wordmark span { font-family: var(--caps); font-weight: 500; font-size: 30px; letter-spacing: .2em; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; padding: 12px 26px; border-radius: 99px;
    font-weight: 600; font-size: 15px; text-decoration: none; border: 1.5px solid transparent;
}
.btn.primary { background: var(--pink); color: #fff; }
.btn.primary:hover { background: var(--pink-hover); }
.btn.outline { color: var(--pink); border-color: var(--pink); }
.btn.outline:hover { background: rgba(226, 61, 109, .08); }

.stores { display: flex; gap: 20px; flex-wrap: wrap; }
.store {
    display: inline-flex; align-items: center; gap: 12px; background: #000; color: #fff; text-decoration: none;
    border: 1.5px solid #A6A6A6; border-radius: 10px; padding: 8px 22px 8px 16px; line-height: 1.1;
}
.store:hover { border-color: #fff; }
.store small { display: block; font-size: 13px; }
.store b { display: block; font-size: 24px; font-weight: 600; letter-spacing: -.01em; }
.stores.small { gap: 14px; }
.stores.small .store { padding: 6px 16px 6px 12px; gap: 8px; }
.stores.small .store small { font-size: 10px; }
.stores.small .store b { font-size: 18px; }

/* ---- Header ---- */
.nav {
    background: var(--navy); color: #fff; min-height: 84px; padding: 0 clamp(16px, 5vw, 52px);
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.nav nav { display: flex; align-items: center; gap: 48px; }
.nav nav a:not(.btn) { color: #fff; text-decoration: none; font-size: 14px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.nav nav a:not(.btn):hover { color: #FFB3C8; }
.nav .sep { width: 1px; height: 32px; background: rgba(255, 255, 255, .3); margin: 0 -18px; }
.nav .btn { text-transform: uppercase; letter-spacing: .14em; font-size: 14px; }

/* ---- Hero ---- */
.hero { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; min-height: 600px; background: #EDECF3; overflow: hidden; }
.hero-text {
    position: relative; z-index: 1; background: var(--navy); color: #fff;
    padding: 64px clamp(20px, 4vw, 44px) 190px; display: flex; flex-direction: column; gap: 26px;
    clip-path: polygon(0 0, 100% 0, 86% 100%, 0 100%);
}
.hero-text::after {
    content: ""; position: absolute; left: -10%; right: -6%; bottom: -20px; height: 220px;
    background: url("/img/swirl.svg") center / 100% 100% no-repeat; z-index: -1;
}
.hero h1 { font-size: clamp(54px, 7.4vw, 104px); line-height: .98; letter-spacing: -.03em; }
.lede { font-size: 22px; line-height: 1.45; max-width: 460px; margin: 0; color: rgba(255, 255, 255, .94); }
.hero .stores { margin-top: 6px; }

.hero-art { position: relative; display: flex; align-items: center; justify-content: center; padding: 36px 0; }
.bottle { position: absolute; right: 2%; bottom: 26px; height: 78%; filter: drop-shadow(18px 20px 26px rgba(30, 36, 71, .25)); }

/* A real screenshot of the app (store/apple/screenshots/iphone-69-02-cellar.png, scaled to 600px wide) in a phone frame. */
.phone {
    position: relative; z-index: 1; width: 272px; margin-right: 120px; padding: 10px;
    background: linear-gradient(145deg, #3B3F4A, #0F1014 40%, #2E3139); border-radius: 46px;
    box-shadow: 0 30px 60px rgba(30, 36, 71, .3), inset 0 0 0 2px #50545E;
}
.phone-screen { position: relative; background: #fff; border-radius: 37px; overflow: hidden; padding-top: 34px; }
.phone-screen img { display: block; width: 100%; height: auto; }
.island { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 80px; height: 22px; background: #000; border-radius: 99px; }

/* ---- Sections ---- */
.band { max-width: 1180px; margin: 0 auto; padding: 56px 24px 64px; text-align: center; }
.lined { display: flex; align-items: center; justify-content: center; gap: 40px; font-size: clamp(44px, 6vw, 76px); }
.lined::before, .lined::after { content: ""; width: 120px; height: 2px; background: var(--pink); flex: none; }
.intro { font-size: 20px; max-width: 680px; margin: 18px auto 44px; color: var(--text); }

.features { display: grid; gap: 22px; grid-template-columns: repeat(4, 1fr); text-align: left; }
.features article {
    background: var(--card); border-radius: 18px; padding: 28px 30px 32px;
    box-shadow: 0 1px 2px rgba(30, 36, 71, .04), 0 10px 30px rgba(30, 36, 71, .06);
}
.features svg { color: var(--pink); height: 64px; display: block; margin: 0 0 22px; }
.features h3 { font-size: 34px; line-height: 1; margin-bottom: 16px; }
.features p { margin: 0; font-size: 16px; }

.community {
    max-width: 1180px; margin: 0 auto 64px; display: grid; grid-template-columns: 1.15fr 1fr;
    border-radius: 22px; overflow: hidden; background: var(--navy); color: #fff;
}
.community-art svg { width: 100%; height: 100%; min-height: 250px; display: block; }
.community-text { padding: 36px 40px; display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.community-text h2 { font-size: clamp(36px, 4.4vw, 56px); }
.community-text p { margin: 0; font-size: 20px; color: rgba(255, 255, 255, .92); }

.partner-grid { display: grid; gap: 22px; grid-template-columns: repeat(4, 1fr); text-align: left; }
.partner-grid article { background: var(--card); border-radius: 18px; padding: 24px 26px; border-top: 4px solid var(--pink); box-shadow: 0 10px 30px rgba(30, 36, 71, .06); }
.partner-grid b { font-size: 18px; }
.partner-grid p { margin: 8px 0 0; font-size: 15px; color: var(--sub); }
.partner-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.note { color: var(--sub); font-size: 14px; margin-top: 20px; }

/* ---- Footer ---- */
.footer {
    background: var(--navy); color: #fff; padding: 22px clamp(16px, 5vw, 52px);
    display: flex; align-items: center; gap: 40px; flex-wrap: wrap;
}
.footer .sep { width: 1px; height: 36px; background: rgba(255, 255, 255, .3); }
.footer nav { display: flex; gap: 48px; flex-wrap: wrap; }
.footer nav a { color: #fff; text-decoration: none; font-size: 14px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.footer nav a:hover { color: #FFB3C8; }
.footer .stores { margin-left: auto; }

@media (max-width: 1080px) {
    .features, .partner-grid { grid-template-columns: 1fr 1fr; }
    .nav nav { gap: 28px; }
    .nav .sep { margin: 0 -8px; }
    .phone { margin-right: 80px; }
}

@media (max-width: 860px) {
    .nav nav a:not(.btn), .nav .sep { display: none; }
    .hero { grid-template-columns: 1fr; }
    .hero-text { clip-path: none; padding-bottom: 170px; }
    .hero-art { padding: 40px 16px; }
    .phone { margin-right: 90px; }
    .bottle { right: max(4%, calc(50% - 230px)); height: 72%; }
    .community { grid-template-columns: 1fr; margin: 0 16px 48px; }
    .footer .stores { margin-left: 0; }
    .footer .sep { display: none; }
}

@media (max-width: 560px) {
    .wordmark span { font-size: 24px; }
    .nav .btn { padding: 10px 16px; font-size: 12px; }
    .hero-text { padding: 40px 16px 150px; }
    .lede { font-size: 19px; }
    .stores { gap: 12px; }
    .store b { font-size: 20px; }
    .phone { width: 230px; margin-right: 60px; }
    .bottle { height: 62%; right: 2%; }
    .band { padding: 44px 16px 48px; }
    .lined { gap: 16px; }
    .lined::before, .lined::after { width: 32px; }
    .features, .partner-grid { grid-template-columns: 1fr; }
    .features h3 { font-size: 30px; }
    .community-text { padding: 28px 22px; }
    .footer { gap: 20px; }
    .footer nav { gap: 22px; }
}
