/* AI Sticker Maker — Neura dark theme + motion */
:root {
    --bg: #050508;
    --bg-secondary: #0c0e14;
    --card: #10131c;
    --elevated: #161b28;
    --stroke: #2a3148;
    --text: #f8fafc;
    --text-secondary: #94a3b8;
    --muted: #64748b;
    --accent: #60a5fa;
    --accent-strong: #7c3aed;
    --accent-glow: #22d3ee;
    --success: #34d399;
    --emoji-warm: #fbbf24;
    --radius-card: 24px;
    --radius-control: 16px;
    --font: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --header-h: 64px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.55;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Animated atmosphere */
.page-bg {
    position: fixed;
    inset: 0;
    z-index: -2;
    background: var(--bg);
    pointer-events: none;
}

.page-bg__mesh {
    position: absolute;
    inset: -40%;
    background:
            radial-gradient(ellipse 50% 40% at 20% 10%, rgba(124, 58, 237, 0.22), transparent 55%),
            radial-gradient(ellipse 45% 35% at 85% 15%, rgba(34, 211, 238, 0.14), transparent 50%),
            radial-gradient(ellipse 60% 50% at 50% 100%, rgba(96, 165, 250, 0.08), transparent 45%),
            linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg) 50%);
    animation: mesh-shift 18s ease-in-out infinite alternate;
}

.page-bg__grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(42, 49, 72, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 49, 72, 0.35) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 20%, black 20%, transparent 75%);
    opacity: 0.5;
}

.page-bg__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.55;
    animation: orb-float 14s ease-in-out infinite;
}
.page-bg__orb--1 {
    width: 340px;
    height: 340px;
    background: var(--accent-strong);
    top: -80px;
    right: -60px;
    animation-delay: 0s;
}
.page-bg__orb--2 {
    width: 280px;
    height: 280px;
    background: var(--accent-glow);
    bottom: 10%;
    left: -100px;
    animation-delay: -4s;
    animation-duration: 18s;
}
.page-bg__orb--3 {
    width: 200px;
    height: 200px;
    background: var(--accent);
    top: 45%;
    right: 15%;
    animation-delay: -7s;
    animation-duration: 16s;
}

@keyframes mesh-shift {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    100% {
        transform: translate(-3%, 2%) rotate(2deg);
    }
}

@keyframes orb-float {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(24px, -30px) scale(1.05);
    }
    66% {
        transform: translate(-20px, 16px) scale(0.96);
    }
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes sticker-bob {
    0%,
    100% {
        transform: translateY(0) rotate(var(--r, 0deg));
    }
    50% {
        transform: translateY(-10px) rotate(calc(var(--r, 0deg) + 3deg));
    }
}

@keyframes shimmer-border {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

@keyframes pulse-soft {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.35);
    }
    50% {
        box-shadow: 0 0 0 12px rgba(124, 58, 237, 0);
    }
}

a {
    color: var(--accent);
    text-decoration: none;
}
.prose a:hover {
    color: var(--accent-glow);
    text-decoration: underline;
}

.skip-link {
    position: absolute;
    left: -9999px;
    z-index: 999;
    padding: 0.75rem 1rem;
    background: var(--accent-strong);
    color: var(--text);
    border-radius: var(--radius-control);
}
.skip-link:focus {
    left: 1rem;
    top: 1rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    height: var(--header-h);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    background: rgba(5, 5, 8, 0.78);
    border-bottom: 1px solid rgba(42, 49, 72, 0.85);
}

.site-header__inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.25rem;
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.brand:hover {
    color: var(--text);
    text-decoration: none;
}
.brand:hover .brand__mark {
    transform: scale(1.06) rotate(-4deg);
}

.brand__mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 1.35rem;
    line-height: 1;
    box-shadow: 0 8px 32px rgba(124, 58, 237, 0.35);
    transition: transform 0.35s var(--ease-out-expo);
}

.brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}
.brand__title {
    font-size: 0.95rem;
    font-weight: 800;
}
.brand__tag {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--accent-glow);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

@media (min-width: 480px) {
    .brand__title {
        font-size: 1.05rem;
    }
}

.nav-main {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav-main a:not(.btn-appstore) {
    color: var(--text-secondary);
    padding: 0.45rem 0.7rem;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    transition: color 0.2s, background 0.2s;
}
.nav-main a:not(.btn-appstore):hover {
    color: var(--text);
    background: rgba(96, 165, 250, 0.12);
    text-decoration: none;
}

.nav-main a[aria-current="page"] {
    color: var(--text);
    background: rgba(124, 58, 237, 0.2);
}

.btn-appstore {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-control);
    font-weight: 700;
    font-size: 0.82rem;
    color: var(--text) !important;
    background: linear-gradient(135deg, var(--accent-glow), var(--accent), var(--accent-strong));
    box-shadow: 0 4px 24px rgba(124, 58, 237, 0.4);
    text-decoration: none !important;
    border: 1px;
    transition: transform 0.25s var(--ease-out-expo), box-shadow 0.25s, filter 0.2s;
}
.btn-appstore:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
    box-shadow: 0 12px 40px rgba(124, 58, 237, 0.45);
}

.btn-appstore svg {
    flex-shrink: 0;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.2rem;
    border-radius: var(--radius-control);
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--text);
    background: rgba(20, 24, 36, 0.9);
    border: 1px solid var(--stroke);
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s, transform 0.2s var(--ease-out-expo);
}
.btn-secondary:hover {
    border-color: rgba(96, 165, 250, 0.5);
    background: rgba(22, 27, 40, 0.95);
    transform: translateY(-2px);
    text-decoration: none;
    color: var(--text);
}

.layout {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.25rem 4rem;
}

@media (min-width: 720px) {
    .layout--about .about-grid {
        gap: 1.85rem;
        grid-template-columns: 1fr 1fr;
    }
}
@media (min-width: 1000px) {
    .layout--about .about-grid {
        gap: 2rem 2.25rem;
    }
}
.layout--about .about-card {
    padding: 2rem 1.9rem;
    min-height: 155px;
}
.layout--about .about-card h2 {
    font-size: 1.22rem;
    margin-bottom: 0.75rem;
}
.layout--about .about-card p {
    font-size: 1.05rem;
    line-height: 1.62;
}

.about-lead {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 2.75rem;
    color: var(--text-secondary);
    font-size: 1.09rem;
    line-height: 1.72;
}
.about-panel {
    margin-top: 2.5rem;
    padding: 2rem clamp(1.25rem, 3vw, 2.25rem);
    border-radius: var(--radius-card);
    background: rgba(16, 19, 28, 0.65);
    border: 1px solid var(--stroke);
}
.about-panel__title {
    margin: 0 0 1rem;
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--text);
}
.about-panel__title--center {
    text-align: center;
    margin-bottom: 1.35rem;
}

/* -- Home hero -- */
.hero-home {
    padding: 2.5rem 0 1rem;
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 900px) {
    .hero-home {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        padding: 3rem 0 2rem;
        min-height: calc(100vh - var(--header-h) - 80px);
    }
}

.hero-home__copy {
    text-align: center;
}

@media (min-width: 900px) {
    .hero-home__copy {
        text-align: left;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent-glow);
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.25);
    margin-bottom: 1.25rem;
    animation: fade-up 0.8s var(--ease-out-expo) both;
}
.hero-badge span.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--success);
    animation: pulse-soft 2.5s ease-in-out infinite;
}

.hero-home h1 {
    margin: 0 0 1rem;
    font-size: clamp(2.1rem, 5vw, 3.15rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.08;
    animation: fade-up 0.85s var(--ease-out-expo) 0.06s both;
}

.hero-home h1 .gradient-text {
    background: linear-gradient(135deg, #f8fafc 0%, #94a3b8 40%, #60a5fa 70%, #22d3ee 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shimmer-text 5s ease infinite alternate;
}

@keyframes shimmer-text {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

.hero-lede {
    margin: 0 auto 1.75rem;
    max-width: 520px;
    color: var(--text-secondary);
    font-size: 1.13rem;
    line-height: 1.6;
    animation: fade-up 0.88s var(--ease-out-expo) 0.1s both;
}

@media (min-width: 900px) {
    .hero-lede {
        margin-left: 0;
        margin-right: 0;
    }
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.75rem;
    animation: fade-up 0.9s var(--ease-out-expo) 0.14s both;
}

@media (min-width: 900px) {
    .hero-actions {
        justify-content: flex-start;
    }
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    justify-content: center;
    animation: fade-up 0.95s var(--ease-out-expo) 0.18s both;
}

@media (min-width: 900px) {
    .hero-stats {
        justify-content: flex-start;
    }
}

.stat-pill {
    padding: 0.65rem 1rem;
    border-radius: 14px;
    background: rgba(16, 19, 28, 0.85);
    border: 1px solid var(--stroke);
    min-width: 120px;
}
.stat-pill strong {
    display: block;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text);
    background: linear-gradient(90deg, var(--accent-glow), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.stat-pill span {
    font-size: 0.78rem;
    color: var(--muted);
    font-weight: 600;
}

/* Phone showcase */
.hero-showcase {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 340px;
    animation: fade-up 1s var(--ease-out-expo) 0.2s both;
}

.phone-frame {
    position: relative;
    width: min(280px, 78vw);
    aspect-ratio: 9 / 18.5;
    border-radius: 36px;
    padding: 10px;
    background: linear-gradient(145deg, rgba(96, 165, 250, 0.35), rgba(124, 58, 237, 0.4));
    box-shadow:
            0 0 0 1px rgba(255, 255, 255, 0.08),
            0 40px 80px -20px rgba(0, 0, 0, 0.65),
            0 0 60px rgba(124, 58, 237, 0.25);
    animation: fade-in 1.2s ease 0.3s both;
}

.phone-frame__inner {
    width: 100%;
    height: 100%;
    border-radius: 28px;
    background: linear-gradient(165deg, #161b28 0%, #0c0e14 50%, #050508 100%);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--stroke);
}

.phone-frame__notch {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 26px;
    background: #050508;
    border-radius: 20px;
    z-index: 2;
}

.phone-frame__content {
    padding: 3.2rem 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    height: 100%;
}

.phone-prompt {
    font-size: 0.72rem;
    color: var(--muted);
    font-weight: 600;
}
.phone-prompt-box {
    padding: 0.65rem 0.75rem;
    border-radius: 12px;
    background: var(--elevated);
    border: 1px solid var(--stroke);
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.35;
    min-height: 2.85em;
}

.prompt-cursor {
    display: inline;
    color: var(--accent-glow);
    font-weight: 300;
    animation: blink-cursor 0.95s step-end infinite;
}

@keyframes blink-cursor {
    50% {
        opacity: 0;
    }
}

.phone-sticker-preview {
    margin-top: auto;
    aspect-ratio: 1;
    border-radius: 20px;
    radial-gradient(circle at 70% 70%, rgba(34, 211, 238, 0.15), transparent 45%), var(--card);
    border: 1px dashed rgba(96, 165, 250, 0.35);
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
}

.phone-sticker-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.4rem;
    box-sizing: border-box;
}

.phone-preview-loading {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: rgba(5, 5, 8, 0.78);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--accent-glow);
    text-align: center;
    padding: 0.65rem;
    line-height: 1.35;
}

.phone-preview-loading.loading-circle {
    animation: loading-panel-in 0.28s var(--ease-out-expo) both;
}
@keyframes loading-panel-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.phone-spinner {
    width: 30px;
    height: 30px;
    border: 3px solid var(--stroke);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: phone-spin 0.7s linear infinite;
}

.phone-preview-fallback {
    font-size: 3.25rem;
    line-height: 1;
    user-select: none;
}

@keyframes phone-spin {
    to {
        transform: rotate(360deg);
    }
}

.floating-emoji {
    position: absolute;
    font-size: 2.35rem;
    line-height: 1;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.45));
    animation: sticker-bob 4.5s ease-in-out infinite;
    pointer-events: none;
}
.floating-emoji--1 {
    --r: -14deg;
    top: 6%;
    left: 4%;
    animation-delay: 0s;
}
.floating-emoji--2 {
    --r: 12deg;
    top: 18%;
    right: 2%;
    font-size: 2rem;
    animation-delay: -1s;
}
.floating-emoji--3 {
    --r: 8deg;
    bottom: 12%;
    left: 0;
    font-size: 2.2rem;
    animation-delay: -2s;
}
.floating-emoji--4 {
    --r: -10deg;
    bottom: 8%;
    right: 6%;
    animation-delay: -0.5s;
}

/* Sections */
.section {
    padding: 3rem 0;
}

.section__head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 2.5rem;
}

.section__eyebrow {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.65rem;
}

.section__title {
    margin: 0;
    font-size: clamp(1.65rem, 3.5vw, 2.2rem);
    font-weight: 900;
    letter-spacing: -0.03em;
}

.section__sub {
    margin: 0.75rem 0 0;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.steps {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 720px) {
    .steps {
        grid-template-columns: repeat(3, 1fr);
    }
}

.step-card {
    position: relative;
    padding: 1.5rem 1.35rem;
    border-radius: var(--radius-card);
    background: var(--card);
    border: 1px solid var(--stroke);
    transition: transform 0.35s var(--ease-out-expo), border-color 0.25s, box-shadow 0.35s;
    animation: fade-up 0.7s var(--ease-out-expo) both;
}
.step-card:nth-child(1) {
    animation-delay: 0.05s;
}
.step-card:nth-child(2) {
    animation-delay: 0.12s;
}
.step-card:nth-child(3) {
    animation-delay: 0.19s;
}
.step-card:hover {
    transform: translateY(-6px);
    border-color: rgba(96, 165, 250, 0.45);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.step-card__num {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 0.95rem;
    background: linear-gradient(135deg, var(--accent-glow), var(--accent-strong));
    color: white;
    margin-bottom: 1rem;
}

.step-card h3 {
    margin: 0 0 0.45rem;
    font-size: 1.08rem;
    font-weight: 800;
}

.step-card p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.feature-grid {
    display: grid;
    gap: 1.1rem;
}

@media (min-width: 640px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 960px) {
    .feature-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-card {
    padding: 1.35rem;
    border-radius: var(--radius-card);
    background: rgba(16, 19, 28, 0.65);
    border: 1px solid var(--stroke);
    transition: transform 0.3s var(--ease-out-expo), border-color 0.25s;
}
.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(124, 58, 237, 0.4);
}

.feature-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 1.35rem;
    margin-bottom: 0.85rem;
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.2), rgba(124, 58, 237, 0.25));
    border: 1px solid rgba(96, 165, 250, 0.25);
}

.feature-card h3 {
    margin: 0 0 0.35rem;
    font-size: 0.98rem;
    font-weight: 800;
}

.feature-card p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.cta-band {
    margin: 2rem 0 0;
    padding: 2.25rem 1.5rem;
    border-radius: var(--radius-card);
    text-align: center;
    position: relative;
    overflow: hidden;
    background: var(--card);
    border: 1px solid var(--stroke);
}

.cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: inherit;
    background: linear-gradient(120deg, var(--accent-glow), var(--accent-strong), var(--accent-glow));
    background-size: 200% 200%;
    animation: shimmer-border 4s linear infinite;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.cta-band h2 {
    position: relative;
    margin: 0 0 0.5rem;
    font-size: 1.5rem;
    font-weight: 900;
}
.cta-band p {
    position: relative;
    margin: 0 0 1.25rem;
    color: var(--text-secondary);
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}
.cta-band .btn-appstore {
    position: relative;
}

/* Inner pages */
.page-hero {
    padding: 2.25rem 0 1.5rem;
    text-align: center;
    animation: fade-up 0.75s var(--ease-out-expo) both;
}

.page-hero h1 {
    margin: 0 0 0.65rem;
    font-size: clamp(1.85rem, 4vw, 2.5rem);
    font-weight: 900;
    letter-spacing: -0.03em;
}

.page-hero p {
    margin: 0 auto;
    max-width: 560px;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.prose-wrap {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 0 3rem;
}

.glass-panel {
    background: rgba(16, 19, 28, 0.72);
    border: 1px solid var(--stroke);
    border-radius: var(--radius-card);
    padding: 2rem 1.5rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    animation: fade-up 0.8s var(--ease-out-expo) 0.1s both;
}

.about-grid {
    display: grid;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

@media (min-width: 720px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.about-card {
    padding: 1.5rem;
    border-radius: var(--radius-card);
    background: var(--card);
    border: 1px solid var(--stroke);
    transition: border-color 0.25s, transform 0.3s var(--ease-out-expo);
}
.about-card:hover {
    border-color: rgba(96, 165, 250, 0.35);
    transform: translateY(-3px);
}

.about-card h2 {
    margin: 0 0 0.65rem;
    font-size: 1.05rem;
    font-weight: 800;
}

.about-card p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.about-contact-panel {
    margin-top: 40px;
}

.page-title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.65rem, 3.5vw, 2rem);
    font-weight: 900;
    letter-spacing: -0.03em;
}

.page-meta {
    color: var(--muted);
    font-size: 0.88rem;
    margin-bottom: 1.5rem;
}

.prose {
    max-width: 720px;
}
.prose h2 {
    margin: 2rem 0 0.75rem;
    font-size: 1.15rem;
    font-weight: 800;
}
.prose h2:first-child {
    margin-top: 0;
}
.prose p,
.prose li {
    color: var(--text-secondary);
    font-size: 0.97rem;
}
.prose ul {
    padding-left: 1.25rem;
}
.prose strong {
    color: var(--text);
}

.site-footer {
    margin-top: 2rem;
    padding: 2.25rem 1.25rem;
    border-top: 1px solid var(--stroke);
    background: rgba(8, 10, 15, 0.88);
    position: relative;
}

.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.35), transparent);
}

.site-footer__inner {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
    color: var(--muted);
    font-size: 0.85rem;
}

.footer-brand {
    font-weight: 700;
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.15rem;
}
.footer-links a {
    color: var(--text-secondary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-links a:hover {
    color: var(--accent-glow);
}

@media (max-width: 560px) {
    :root {
        --header-h: auto;
    }

    .site-header {
        height: auto;
        padding: 0.6rem 0;
    }

    .site-header__inner {
        height: auto;
        flex-direction: column;
        align-items: stretch;
        gap: 0.8rem;
    }

    .brand {
        width: 100%;
    }

    .nav-main {
        width: calc(100% - 40px);
        margin-left: 20px;
        margin-right: 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .nav-main a:not(.btn-appstore) {
        padding: 0.45rem 0;
    }
}