/* ============================================================
   sitecake — shared site styles
   Built on the Simple CMS design system.
   Mobile-first · iPad ≥768 · Laptop ≥1200 (1200px container)
   ============================================================ */

/* ---- Tokens ---- */
:root {
    /* palette */
    --navy: #1f2a44;
    --lime: #e1ff7c;
    --lime-soft: #f0ffc2;
    --mint: #4ad1b0;
    --mint-deep: #38be9e;
    --sky: #0cb5e6;
    --sky-deep: #0a9dc8;
    --charcoal: #2e2e2e;
    --offwhite: #dbdbdb;
    /* neutral ramp */
    --n-0: #ffffff;
    --n-50: #f6f6f7;
    --n-100: #ececee;
    --n-200: #dbdbdb;
    --n-300: #b8b8bc;
    --n-400: #8a8a8f;
    --n-500: #5c5c61;
    --n-700: #2e2e2e;
    --n-900: #1f2a44;
    /* type */
    --font-display: "Fraunces", Georgia, "Times New Roman", serif;
    --font-ui:
        system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial,
        sans-serif;
    --font-mono:
        ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
        "Liberation Mono", monospace;
    /* type sizes (fluid) */
    --fs-display: clamp(36px, 7vw, 56px);
    --fs-h2: clamp(28px, 4vw, 40px);
    --fs-h3: 20px;
    --fs-lead: clamp(18px, 2.4vw, 21px);
    --fs-body: 17px;
    --fs-small: 15px;
    /* spacing */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 24px;
    --space-6: 32px;
    --space-7: 48px;
    --space-8: 64px;
    --space-9: 96px;
    --space-10: 128px;
    /* radius */
    --radius-sm: 8px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-pill: 999px;
    /* layout */
    --container: 1200px;
    --nav-h: 64px;
}

* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    background: var(--n-0);
    color: var(--charcoal);
    font-family: var(--font-ui);
    font-size: var(--fs-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img {
    max-width: 100%;
    display: block;
}

h1,
h2 {
    font-family: var(--font-display);
    font-optical-sizing: auto;
    font-variation-settings: "SOFT" 100;
    font-weight: 700;
    color: var(--navy);
    text-transform: lowercase;
    margin: 0;
    line-height: 1.05;
    letter-spacing: -0.015em;
}
h3,
h4 {
    font-family: var(--font-ui);
    color: var(--navy);
    font-weight: 600;
    margin: 0;
    line-height: 1.25;
}
p {
    margin: 0;
}
a {
    color: inherit;
    text-decoration: none;
}
code {
    font-family: var(--font-mono);
}

/* ---- Layout ---- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}
.eyebrow {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mint-deep);
    font-weight: 600;
}
.eyebrow a:hover {
    text-decoration: underline;
}
.section {
    padding: 64px 0;
}
.section-head {
    max-width: 60ch;
    margin-bottom: 40px;
}
.section-head .eyebrow {
    display: block;
    margin-bottom: 16px;
}
.section-head h2 {
    font-size: var(--fs-h2);
}
.section-head .lede {
    margin-top: 18px;
    font-size: var(--fs-lead);
    color: var(--n-500);
    line-height: 1.55;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-ui);
    font-weight: 600;
    font-size: 15px;
    background: var(--mint-deep);
    color: #fff;
    border: none;
    border-radius: var(--radius-pill);
    padding: 12px 22px;
    cursor: pointer;
    transition: background 0.15s;
    white-space: nowrap;
}
.btn:hover {
    background: var(--mint);
}
.btn.lg {
    font-size: 16px;
    padding: 15px 28px;
}
.btn.ghost {
    background: transparent;
    color: var(--navy);
    box-shadow: inset 0 0 0 1px var(--n-300);
}
.btn.ghost:hover {
    background: var(--n-50);
}
.btn.on-dark.ghost {
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}
.btn.on-dark.ghost:hover {
    background: rgba(255, 255, 255, 0.08);
}
.btn .ms {
    font-size: 20px;
}

/* Material symbol base */
.ms {
    font-family: "Material Symbols Outlined";
    font-weight: normal;
    font-style: normal;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    font-variation-settings:
        "FILL" 0,
        "wght" 400,
        "GRAD" 0,
        "opsz" 24;
    user-select: none;
}

/* ---- Navigation ---- */
.site-nav {
    position: relative;
    z-index: 50;
    background: #fff;
}
.site-nav .nav-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 28px;
    padding: 12px 0;
}
.nav-logo {
    font-family: var(--font-display);
    font-optical-sizing: auto;
    font-variation-settings: "SOFT" 100;
    font-weight: 700;
    text-transform: lowercase;
    color: var(--navy);
    font-size: 22px;
    letter-spacing: -0.02em;
    flex: none;
}
.nav-links {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 24px;
}
.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--n-500);
    transition: color 0.15s;
    white-space: nowrap;
}
.nav-links a:hover {
    color: var(--navy);
}

@media (min-width: 768px) {
    .site-nav .nav-inner {
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
    }
    .nav-links {
        margin-left: auto;
    }
}

/* ---- Hero (text left / media right) ---- */
.hero {
    padding: 56px 0 64px;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
    align-items: center;
}
.hero h1 {
    font-size: var(--fs-display);
    max-width: 16ch;
}
.hero .hero-sub {
    margin-top: 22px;
    font-size: var(--fs-lead);
    color: var(--n-500);
    max-width: 44ch;
    line-height: 1.5;
}
.hero .hero-actions {
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}
.hero .hero-note {
    margin-top: 18px;
    font-size: var(--fs-small);
    color: var(--n-400);
}
.hl {
    background: var(--lime-soft);
    padding: 0.04em 0.2em;
    border-radius: 3px;
}

/* hero centered variant (media below copy) */
.hero-center .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.hero-center .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hero-center h1 {
    max-width: 18ch;
}
.hero-center .hero-sub {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
.hero-center .hero-actions {
    justify-content: center;
}
.hero-center .media-box {
    margin-top: 40px;
    width: 100%;
    max-width: 880px;
}

/* media placeholder */
.media-box {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    background: var(--n-100);
    border: 1px solid var(--n-200);
    display: grid;
    place-items: center;
    overflow: hidden;
}
.media-box video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}
.media-box .play {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(31, 42, 68, 0.9);
    display: grid;
    place-items: center;
    color: #fff;
}
.media-box .play .ms {
    font-size: 32px;
    font-variation-settings: "FILL" 1;
    margin-left: 3px;
}
.media-box .media-tag {
    position: absolute;
    bottom: 12px;
    left: 12px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--n-400);
    background: #fff;
    border: 1px solid var(--n-200);
    border-radius: var(--radius-pill);
    padding: 4px 12px;
}

/* ---- Feature columns ---- */
.feature-cols {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}
.feature-card {
    border: 1px solid var(--n-200);
    border-radius: var(--radius-lg);
    padding: 32px;
}
.feature-card .fc-eyebrow {
    display: block;
    margin-bottom: 6px;
}
.feature-illus {
    margin: 0 0 20px;
    line-height: 0;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
}
.feature-illus img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.feature-illus.zoom img {
    transform: scale(1.12);
}
.feature-card h3 {
    font-size: 22px;
    margin-bottom: 22px;
}
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.feature-list .fi {
    position: relative;
    padding-left: 34px;
    font-size: 16px;
    line-height: 1.45;
}
.feature-list .fi .ms {
    position: absolute;
    left: 0;
    top: -1px;
    color: var(--mint-deep);
    font-size: 22px;
    font-variation-settings:
        "FILL" 0,
        "wght" 500;
}

/* ---- Steps ---- */
.steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
.step {
    border: none;
    border-radius: var(--radius-lg);
    padding: 20px;
    background: var(--n-50);
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.step .step-illus {
    width: 100%;
    min-height: 120px;
    background: #fff;
    border: 1px solid var(--n-200);
    display: grid;
    place-items: center;
    color: var(--n-300);
    padding: 16px;
}
.step .step-illus .ms {
    font-size: 30px;
}
.step .step-illus img {
    display: block;
    max-width: 100%;
    height: auto;
}
.step pre {
    position: relative;
    width: 100%;
    margin: 0;
    background: #fff;
    border: 1px solid var(--n-200);
    padding: 16px 44px 16px 18px;
    overflow-x: auto;
    line-height: 1.6;
}
.step pre code {
    font-family: var(--font-mono);
    font-size: 12.5px;
    color: var(--charcoal);
    white-space: pre;
}
.step pre .t { color: #0f8a6e; }
.step pre .s { color: #0a7ba3; }
.step pre .a { color: var(--navy); }

/* copy button — quiet, corner of the block (shared with docs.css) */
.code-copy {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 30px;
    height: 30px;
    border-radius: 7px;
    border: 1px solid var(--n-200);
    background: var(--n-0, #fff);
    color: var(--n-400);
    cursor: pointer;
    display: grid;
    place-items: center;
    opacity: 0.5;
    transition:
        opacity 0.15s,
        color 0.15s,
        border-color 0.15s,
        background 0.15s;
}
.code-copy:hover {
    opacity: 1;
    color: var(--charcoal);
    border-color: var(--n-300);
    background: var(--n-50);
}
.code-copy:focus-visible {
    opacity: 1;
}
.code-copy .ms {
    font-size: 16px;
}
.code-copy.copied {
    color: var(--mint-deep);
    border-color: var(--mint);
    opacity: 1;
}
.step p {
    font-size: 16px;
    line-height: 1.5;
    color: var(--charcoal);
    margin: 0 4px 4px;
}
.step code {
    font-size: 13.5px;
    background: #fff;
    border: 1px solid var(--n-200);
    border-radius: 6px;
    padding: 2px 7px;
    color: var(--navy);
}
.steps-note {
    margin-top: 24px;
    font-size: var(--fs-small);
    color: var(--n-500);
    font-style: italic;
}

/* ---- CTA band (dark) ---- */
/* ---- Info band (content block on gray strip) ---- */
.info-band {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: start;
    width: 75%;
    margin: 0;
    text-align: left;
}
.info-band h2 {
    font-size: var(--fs-h2);
    margin-bottom: 14px;
}
.info-band p {
    margin: 0;
    color: var(--charcoal);
    font-size: 17px;
    line-height: 1.6;
}
.info-band .ib-aside {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}
.info-band .price-line {
    margin: 0;
    font-size: 17px;
    color: var(--navy);
    font-weight: 600;
}
.info-band .price-line b {
    color: var(--mint-deep);
}
.info-band .cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}
.cta-band {
    background: var(--navy);
    color: #fff;
    border-radius: var(--radius-xl);
    padding: 56px 40px;
    text-align: center;
}
.cta-band h2 {
    color: #fff;
    font-size: var(--fs-h2);
    max-width: 22ch;
    margin: 0 auto;
}
.cta-band p {
    margin: 22px auto 0;
    color: rgba(255, 255, 255, 0.8);
    max-width: 56ch;
    font-size: 17px;
    line-height: 1.6;
}
.cta-band .price-line {
    margin-top: 24px;
    font-size: 17px;
    color: #fff;
    font-weight: 600;
}
.cta-band .price-line b {
    color: var(--mint);
}
.cta-band .cta-actions {
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

/* ---- Card grid (showcase) ---- */
.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
.shot {
    border: 1px solid var(--n-200);
    overflow: hidden;
    background: #fff;
}
.shot .shot-img {
    aspect-ratio: 4 / 3;
    background: var(--n-100);
    display: grid;
    place-items: center;
    color: var(--n-300);
}
.shot img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
.shot .shot-img .ms {
    font-size: 32px;
}
.shot .shot-cap {
    padding: 14px 16px;
    font-size: 14px;
    color: var(--n-500);
}
.center-cta {
    text-align: center;
    margin-top: 40px;
}

/* ---- Footer ---- */
.site-footer {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.72);
    padding: 64px 0 32px;
}
.footer-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px 24px;
}
.footer-col h4 {
    color: #fff;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
    font-weight: 700;
}
.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-col a {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.72);
    transition: color 0.15s;
}
.footer-col a:hover {
    color: var(--mint);
}
.footer-bottom {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
}
.footer-bottom .f-logo {
    font-family: var(--font-display);
    font-variation-settings: "SOFT" 100;
    font-weight: 700;
    text-transform: lowercase;
    color: #fff;
    font-size: 18px;
}
.footer-bottom .langs {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.footer-bottom .langs b {
    color: #fff;
    font-weight: 600;
}

/* ---- Pricing plans ---- */
.plans {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: start;
}
.plan {
    border: 1px solid var(--n-200);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    background: #fff;
    height: 100%;
}
.plan.featured {
    border-color: var(--mint);
    box-shadow: inset 0 0 0 1px var(--mint);
}
.plan .plan-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.plan .plan-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
}
.plan .badge {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--navy);
    background: var(--lime);
    border-radius: var(--radius-pill);
    padding: 4px 10px;
}
.plan .plan-price {
    font-family: var(--font-display);
    font-variation-settings: "SOFT" 100;
    font-weight: 700;
    color: var(--navy);
    font-size: 30px;
    line-height: 1;
}
.plan .plan-price .per {
    display: block;
    font-family: var(--font-ui);
    font-weight: 500;
    font-size: 13px;
    color: var(--n-400);
    margin-top: 8px;
    letter-spacing: 0;
}
.plan .plan-desc {
    font-size: 14.5px;
    color: var(--n-500);
    line-height: 1.5;
}
.plan .plan-feats {
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin: 4px 0;
}
.plan .plan-feats .fi {
    position: relative;
    padding-left: 28px;
    font-size: 14.5px;
    line-height: 1.45;
    color: var(--charcoal);
}
.plan .plan-feats .fi .ms {
    position: absolute;
    left: 0;
    top: 0;
    color: var(--mint-deep);
    font-size: 19px;
    font-variation-settings:
        "FILL" 0,
        "wght" 500;
}
.plan .btn {
    margin-top: auto;
    width: 100%;
}

/* ---- FAQ ---- */
.faq {
    max-width: 800px;
    margin: 0 auto;
    border-top: 1px solid var(--n-200);
}
.faq details {
    border-bottom: 1px solid var(--n-200);
}
.faq summary {
    list-style: none;
    cursor: pointer;
    padding: 22px 44px 22px 0;
    position: relative;
    font-size: 17px;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.4;
}
.faq summary::-webkit-details-marker {
    display: none;
}
.faq summary .ms {
    position: absolute;
    right: 0;
    top: 20px;
    color: var(--n-400);
    transition: transform 0.2s;
    font-size: 24px;
}
.faq details[open] summary .ms {
    transform: rotate(45deg);
    color: var(--mint-deep);
}
.faq .faq-body {
    padding: 0 44px 24px 0;
    font-size: 16px;
    line-height: 1.6;
    color: var(--n-500);
}
.faq .faq-body a {
    color: var(--sky-deep);
    border-bottom: 1px solid var(--sky);
}

/* page-intro for sub pages */
.page-intro {
    padding: 56px 0 8px;
    text-align: center;
}
.page-intro h1 {
    font-size: var(--fs-display);
    margin: 0 auto;
    max-width: 18ch;
}
.page-intro .lede {
    margin: 22px auto 0;
    font-size: var(--fs-lead);
    color: var(--n-500);
    max-width: 52ch;
    line-height: 1.5;
}

/* legal-page had no container at all — content sat flush under the header */
.legal-page {
    max-width: 760px;
    margin: 0 auto;
    padding: 56px 20px 96px;
}

/* ============ iPad ≥ 768 ============ */
@media (min-width: 768px) {
    .container {
        padding: 0 32px;
    }
    .section {
        padding: 80px 0;
    }
    .hero {
        padding: 72px 0 80px;
    }
    .feature-cols {
        grid-template-columns: 1fr 1fr;
    }
    .steps {
        grid-template-columns: repeat(3, 1fr);
    }
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .plans {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-cols {
        grid-template-columns: repeat(4, 1fr);
    }
    .footer-cols.cols-5 {
        grid-template-columns: repeat(5, 1fr);
    }
    .cta-band {
        padding: 72px 56px;
    }
}

/* ============ Laptop ≥ 1200 ============ */
@media (min-width: 1200px) {
    .container {
        padding: 0 40px;
    }
    .section {
        padding: 96px 0;
    }
    .hero {
        padding: 88px 0 96px;
    }
    .hero-grid {
        grid-template-columns: 1.05fr 0.95fr;
        gap: 56px;
    }
    .card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .plans {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-cols {
        grid-template-columns: 1.4fr 1fr 1fr 1fr;
        gap: 40px;
    }
    .footer-cols.cols-5 {
        grid-template-columns: repeat(5, 1fr);
        gap: 40px;
    }
}
