/* 75 Glow Up — Neumorphic design system (mirrors app's NeoPalette).
   Tokens measured with Digital Color Meter on Screen09 reference.
   See DESIGN_SYSTEM.md at the app repo root for the full rules. */

:root {
    /* Neumorphic palette */
    --bg:        rgb(238, 238, 243);
    --highlight: rgb(248, 249, 251);
    --shadow:    rgb(209, 213, 224);
    --accent:    rgb(152, 179, 202);   /* italic blue emphasis */
    --ink:       #14171F;
    --ink-2:     #2A2E38;
    --muted:     #6B6F7A;
    --soft:      #A0A4AE;

    --serif: ui-serif, "New York", "Iowan Old Style", "Charter", Georgia, "Times New Roman", serif;
    --sans:  -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif;

    /* Reusable neumorphic shadows. Offset > radius (rule from design system) */
    --neo-out:    -5px -5px 14px var(--highlight),  5px  5px 14px var(--shadow);
    --neo-out-sm: -3px -3px 8px var(--highlight),   3px  3px 8px var(--shadow);
    --neo-in:     inset -4px -4px 10px var(--highlight), inset  4px  4px 10px var(--shadow);
    --neo-in-sm:  inset -2px -2px 6px var(--highlight),  inset  2px  2px 6px var(--shadow);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    font-family: var(--sans);
    font-weight: 500;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* ---------- Typography ---------- */

h1, h2, h3 {
    font-family: var(--serif);
    font-weight: 300;
    letter-spacing: -0.02em;
    color: var(--ink);
}

em {
    font-style: italic;
    font-weight: 300;
    color: var(--accent);
}

a { color: var(--ink); text-decoration: none; }
p { color: var(--ink-2); }
img { display: block; max-width: 100%; height: auto; }

/* ---------- Neumorphic primitives ---------- */

/* Raised container — the default container of the system.
   Background = page background. Shape comes from shadows only. */
.neo {
    background: var(--bg);
    border-radius: 22px;
    box-shadow: var(--neo-out);
    position: relative;
    isolation: isolate;
}
/* Fading white border (linearGradient topLeading -> bottomTrailing).
   Bright on the NW rim, fades to clear by ~70% travel. */
.neo::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.85) 0%,
        rgba(255, 255, 255, 0.45) 35%,
        rgba(255, 255, 255, 0)    70%);
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
}

/* Pressed-in / inset container */
.neo-in {
    background: var(--bg);
    border-radius: 22px;
    box-shadow: var(--neo-in);
}

/* ---------- Layout ---------- */

main { width: 100%; overflow-x: clip; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 28px; }
section { padding: 96px 0; }

.eyebrow {
    display: inline-block;
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 18px;
}

.section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}
.section-head h2 { font-size: 46px; line-height: 1.06; }
.section-head p { margin-top: 16px; font-size: 17px; color: var(--muted); line-height: 1.55; }

/* ---------- Top nav ---------- */

nav.top {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(238, 238, 243, 0.78);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
}
nav.top .row {
    max-width: 1100px;
    margin: 0 auto;
    padding: 14px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
nav.top .brand {
    font-family: var(--serif);
    font-size: 19px;
    font-weight: 400;
    letter-spacing: -0.01em;
}
nav.top .links { display: flex; gap: 22px; align-items: center; }
nav.top .links a { font-size: 14px; color: var(--muted); }
nav.top .links a:hover { color: var(--ink); }
nav.top .pill {
    background: var(--bg);
    color: var(--ink);
    padding: 10px 18px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: var(--neo-out-sm);
    transition: box-shadow 0.18s;
}
nav.top .pill:hover {
    box-shadow: -2px -2px 6px var(--highlight), 2px 2px 6px var(--shadow);
}
nav.top .pill:active { box-shadow: var(--neo-in-sm); }

/* ---------- Hero ---------- */

.hero { padding: 80px 0 72px; position: relative; }
.hero .wrap {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Capsule eyebrow — neumorphic raised pill */
.eyebrow-pill {
    display: inline-block;
    padding: 11px 18px;
    border-radius: 9999px;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    box-shadow: var(--neo-out-sm);
    margin-bottom: 30px;
    position: relative;
}
/* Angular bright rim on the upper-left of the capsule (per design system §3D Badge Rim) */
.eyebrow-pill::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    padding: 1px;
    background: conic-gradient(from 270deg,
        rgba(255, 255, 255, 0.85)  0deg,
        rgba(255, 255, 255, 0.85) 28deg,
        rgba(255, 255, 255, 0.2)  47deg,
        rgba(209, 213, 224, 0.6)  65deg,
        rgba(209, 213, 224, 0.6) 260deg,
        rgba(255, 255, 255, 0.2) 280deg,
        rgba(255, 255, 255, 0.85) 305deg,
        rgba(255, 255, 255, 0.85) 360deg);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}

.hero-copy h1 {
    font-family: var(--serif);
    font-weight: 300;
    font-size: 76px;
    line-height: 1.02;
    letter-spacing: -0.03em;
    margin-bottom: 26px;
}
.hero-copy .tag {
    font-size: 19px;
    color: var(--muted);
    max-width: 460px;
    line-height: 1.55;
    margin-bottom: 38px;
}

/* CTA — raised neumorphic button */
.cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--bg);
    color: var(--ink);
    padding: 18px 28px;
    border-radius: 18px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.005em;
    box-shadow: var(--neo-out);
    transition: box-shadow 0.18s, transform 0.18s;
    position: relative;
}
.cta::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg,
        rgba(255,255,255,0.85) 0%,
        rgba(255,255,255,0.4) 40%,
        rgba(255,255,255,0) 70%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}
.cta:hover {
    box-shadow: -3px -3px 10px var(--highlight), 3px 3px 10px var(--shadow);
}
.cta:active { box-shadow: var(--neo-in); }
.cta svg { width: 18px; height: 18px; }

.trust {
    margin-top: 22px;
    font-size: 13px;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 10px;
}
.trust .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 3px rgba(152, 179, 202, 0.18);
}

/* Hero phones (scattered, neumorphic raised) */
.hero-visual { position: relative; height: 600px; }
.hero-visual .phone {
    position: absolute;
    border-radius: 36px;
    background: var(--bg);
    padding: 6px;
    box-shadow: var(--neo-out);
}
.hero-visual .phone img {
    width: 100%;
    border-radius: 30px;
    display: block;
}
.hero-visual .p1 { top: 0;    left: 6%;  width: 56%; z-index: 2; transform: rotate(-4deg); }
.hero-visual .p2 { top: 40px; right: 0;  width: 60%; z-index: 3; transform: rotate(5deg); }
.hero-visual .p3 { bottom: 0; left: 22%; width: 56%; z-index: 1; transform: rotate(-2deg); }

/* Soft accent glow behind phones (italic blue) */
.hero::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(152, 179, 202, 0.30), transparent 65%);
    top: 10%;
    right: -100px;
    pointer-events: none;
    z-index: 0;
}

/* ---------- Showcase row (3 phones aligned) ---------- */

.showcase { padding: 48px 0 64px; }
.phones-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: end;
}
.phones-row .phone-card { text-align: center; }
.phones-row .phone-frame {
    background: var(--bg);
    padding: 8px;
    border-radius: 36px;
    box-shadow: var(--neo-out);
    position: relative;
}
.phones-row .phone-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg,
        rgba(255,255,255,0.8) 0%,
        rgba(255,255,255,0.35) 40%,
        rgba(255,255,255,0) 70%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}
.phones-row .phone-frame img {
    width: 100%;
    border-radius: 30px;
    display: block;
}
.phones-row .phone-card.lift .phone-frame { transform: translateY(-18px); }
.phones-row h3 {
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 600;
    margin-top: 28px;
    letter-spacing: -0.005em;
    color: var(--ink);
}
.phones-row p {
    font-size: 14px;
    color: var(--muted);
    margin-top: 6px;
    line-height: 1.55;
}

/* ---------- Split sections (image + copy) ---------- */

.split { padding: 96px 0; }
.split .wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}
.split.reverse .wrap > .split-copy { order: 2; }
.split.reverse .wrap > .split-media { order: 1; }
.split-copy h2 {
    font-size: 46px;
    line-height: 1.05;
    margin-bottom: 22px;
}
.split-copy .lead {
    font-size: 17px;
    color: var(--muted);
    margin-bottom: 26px;
    line-height: 1.6;
}
.split-copy ul { list-style: none; margin-top: 8px; }
.split-copy ul li {
    padding-left: 28px;
    position: relative;
    margin-bottom: 14px;
    font-size: 15px;
    color: var(--ink-2);
}
.split-copy ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--bg);
    box-shadow: var(--neo-in-sm);
}
.split-copy ul li::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 11px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}
.split-media .phone-frame {
    background: var(--bg);
    padding: 8px;
    border-radius: 38px;
    box-shadow: var(--neo-out);
    max-width: 320px;
    margin: 0 auto;
    position: relative;
}
.split-media .phone-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg,
        rgba(255,255,255,0.8) 0%,
        rgba(255,255,255,0.35) 40%,
        rgba(255,255,255,0) 70%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}
.split-media img { width: 100%; border-radius: 30px; }

/* ---------- Features grid ---------- */

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.feature {
    background: var(--bg);
    border-radius: 22px;
    padding: 28px 24px;
    box-shadow: var(--neo-out);
    position: relative;
}
.feature::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg,
        rgba(255,255,255,0.8) 0%,
        rgba(255,255,255,0.35) 40%,
        rgba(255,255,255,0) 70%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}
.feature .ico {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 22px;
    box-shadow: var(--neo-in-sm);
}
.feature h3 {
    font-family: var(--sans);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: -0.005em;
}
.feature p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ---------- Pricing ---------- */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    max-width: 900px;
    margin: 0 auto;
}
.plan {
    background: var(--bg);
    border-radius: 22px;
    padding: 34px 26px 28px;
    box-shadow: var(--neo-out);
    text-align: center;
    position: relative;
}
.plan::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg,
        rgba(255,255,255,0.8) 0%,
        rgba(255,255,255,0.4) 40%,
        rgba(255,255,255,0) 70%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}
.plan .label {
    font-size: 12px;
    color: var(--muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}
.plan .price {
    font-family: var(--serif);
    font-weight: 300;
    font-size: 46px;
    display: block;
    margin: 16px 0 6px;
    letter-spacing: -0.025em;
    color: var(--ink);
}
.plan .per { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.plan .trial { font-size: 13px; color: var(--accent); font-weight: 600; font-style: italic; font-family: var(--serif); }

/* Featured plan = inset (pressed-in) treatment — visually distinct, same palette */
.plan.featured {
    background: var(--bg);
    box-shadow: var(--neo-in);
}
.plan.featured::before { display: none; }
.plan.featured .price { color: var(--ink); }
.plan.featured .badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg);
    color: var(--accent);
    font-family: var(--sans);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 9999px;
    box-shadow: var(--neo-out-sm);
    white-space: nowrap;
}
.plan.featured .badge::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    padding: 1px;
    background: conic-gradient(from 270deg,
        rgba(255,255,255,0.85) 0deg,
        rgba(255,255,255,0.85) 30deg,
        rgba(255,255,255,0.2)  50deg,
        rgba(209,213,224,0.6)  70deg,
        rgba(209,213,224,0.6) 260deg,
        rgba(255,255,255,0.2) 285deg,
        rgba(255,255,255,0.85) 310deg,
        rgba(255,255,255,0.85) 360deg);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}

/* ---------- CTA band ---------- */

.cta-band {
    text-align: center;
    padding: 112px 0;
}
.cta-band h2 {
    font-family: var(--serif);
    font-weight: 300;
    font-size: 58px;
    line-height: 1.04;
    margin-bottom: 20px;
    letter-spacing: -0.025em;
}
.cta-band p {
    color: var(--muted);
    font-size: 17px;
    margin-bottom: 36px;
}

/* ---------- Footer ---------- */

footer { padding: 56px 0 64px; }
footer .row {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
}
footer .brand {
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 400;
}
footer nav a {
    color: var(--muted);
    font-size: 14px;
    margin-right: 22px;
}
footer nav a:hover { color: var(--ink); }
footer .copyright {
    font-size: 13px;
    color: var(--soft);
    width: 100%;
    margin-top: 22px;
    padding-top: 22px;
    box-shadow: inset 0 1px 0 rgba(209, 213, 224, 0.5),
                inset 0 2px 0 rgba(248, 249, 251, 0.6);
}

/* ---------- Article (privacy / terms / support) ---------- */

.article-wrap { max-width: 720px; margin: 0 auto; padding: 80px 28px 96px; }
.article-wrap h1 {
    font-size: 58px;
    line-height: 1.05;
    margin-bottom: 16px;
}
.article-wrap .meta {
    display: inline-block;
    background: var(--bg);
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 8px 14px;
    border-radius: 9999px;
    margin-bottom: 40px;
    box-shadow: var(--neo-in-sm);
}
.article-wrap h2 {
    font-size: 26px;
    margin-top: 48px;
    margin-bottom: 14px;
}
.article-wrap p, .article-wrap li {
    font-size: 15px;
    color: var(--ink-2);
    line-height: 1.75;
    margin-bottom: 14px;
}
.article-wrap ul { padding-left: 22px; margin-bottom: 14px; }
.article-wrap a {
    text-decoration: underline;
    text-decoration-color: var(--accent);
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
}

.article-wrap .card {
    background: var(--bg);
    border-radius: 22px;
    padding: 24px 26px;
    margin: 28px 0;
    box-shadow: var(--neo-out);
    position: relative;
}
.article-wrap .card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg,
        rgba(255,255,255,0.8) 0%,
        rgba(255,255,255,0.35) 40%,
        rgba(255,255,255,0) 70%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}
.article-wrap .card p { margin-bottom: 8px; }
.article-wrap .card p:last-child { margin-bottom: 0; }

.faq { display: grid; gap: 16px; margin-top: 12px; }
.faq .q {
    background: var(--bg);
    border-radius: 18px;
    padding: 22px 24px;
    box-shadow: var(--neo-out);
    position: relative;
}
.faq .q::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg,
        rgba(255,255,255,0.75) 0%,
        rgba(255,255,255,0.3)  40%,
        rgba(255,255,255,0)    70%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}
.faq .q h3 {
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
}
.faq .q p { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 0; }

/* ---------- Mobile ---------- */

@media (max-width: 900px) {
    section { padding: 64px 0; }
    .hero { padding: 48px 0; }
    .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
    .hero-copy h1 { font-size: 48px; }
    .hero-copy .tag { font-size: 17px; max-width: 100%; }
    .hero-visual { height: 480px; max-width: 380px; margin: 0 auto; }

    nav.top .links a:not(.pill) { display: none; }

    .section-head h2 { font-size: 32px; }
    .section-head p { font-size: 16px; }

    .phones-row { grid-template-columns: 1fr; gap: 36px; max-width: 320px; margin: 0 auto; }
    .phones-row .phone-card.lift .phone-frame { transform: none; }

    .split { padding: 64px 0; }
    .split .wrap { grid-template-columns: 1fr; gap: 36px; }
    .split.reverse .wrap > .split-copy { order: 1; }
    .split.reverse .wrap > .split-media { order: 2; }
    .split-copy h2 { font-size: 32px; }

    .features-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .feature { padding: 22px 20px; }

    .pricing-grid { grid-template-columns: 1fr; max-width: 360px; gap: 28px; }

    .cta-band { padding: 72px 0; }
    .cta-band h2 { font-size: 38px; }

    footer .row { flex-direction: column; align-items: flex-start; gap: 14px; }

    .article-wrap { padding: 56px 24px 72px; }
    .article-wrap h1 { font-size: 40px; }
    .article-wrap h2 { font-size: 22px; margin-top: 36px; }
}

@media (max-width: 480px) {
    .hero-copy h1 { font-size: 40px; }
    .features-grid { grid-template-columns: 1fr; }
}
