@import url("https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;700&display=swap");

:root {
    --bg: #f8eadf;
    --bg-soft: #fff9f5;
    --ink: #121723;
    --muted: #5d6578;
    --line: rgba(18, 23, 35, 0.09);
    --card: rgba(255, 250, 243, 0.78);
    --card-strong: rgba(255, 250, 243, 0.95);
    --accent: #c9542d;
    --accent-soft: rgba(239, 108, 36, 0.14);
    --cobalt: #7b4ed8;
    --mint: #12846e;
    --shadow: 0 22px 60px rgba(18, 23, 35, 0.08);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --shell: 1240px;
}

/* Batch differentiation layer: each Yono domain gets a distinct front-end skeleton. */
body.theme-plus .hero-shell,
body.theme-center .hero-shell,
body.theme-official .hero-shell {
    grid-template-columns: 1.05fr 0.95fr;
}

body.theme-lab {
    --bg: #f8eadf;
    --bg-soft: #fff9f5;
    --ink: #f7fbff;
    --muted: #b7c8d9;
    --card: rgba(22, 36, 49, 0.82);
    --card-strong: rgba(24, 41, 56, 0.96);
    --line: rgba(255, 255, 255, 0.12);
    background: radial-gradient(circle at 18% 12%, rgba(26, 188, 156, 0.2), transparent 26%), #0f1821;
}

body.theme-lab .site-bg {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 42px 42px;
}

body.theme-lab .site-header,
body.theme-lab .hero-panel-card,
body.theme-lab .app-card,
body.theme-lab .mini-collection,
body.theme-lab .content-card,
body.theme-lab .sidebar-card {
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
}

body.theme-my .site-header {
    top: 14px;
    width: min(calc(100% - 32px), var(--shell));
    margin: 0 auto;
    border-radius: 999px;
    border: 1px solid rgba(18, 23, 35, 0.08);
}

body.theme-my .hero-shell {
    grid-template-columns: 0.9fr 1.1fr;
}

body.theme-my .hero-panel {
    order: -1;
}

body.theme-my .category-card,
body.theme-my .reason-card,
body.theme-my .app-card {
    border-radius: 34px 12px 34px 12px;
}

body.theme-go .hero-section {
    position: relative;
    overflow: hidden;
}

body.theme-go .hero-section::before {
    content: "";
    position: absolute;
    inset: 12% -12% auto 48%;
    height: 72%;
    background: linear-gradient(135deg, rgba(239, 108, 36, 0.18), rgba(31, 86, 194, 0.12));
    transform: skewX(-14deg);
    pointer-events: none;
}

body.theme-go .hero-panel-card {
    border-radius: 12px;
}

body.theme-go .app-card {
    border-left: 5px solid var(--accent);
    border-radius: 18px;
}

body.theme-now .hero-shell {
    grid-template-columns: 1fr;
}

body.theme-now .hero-panel {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
}

body.theme-now .app-card {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    align-items: center;
}

body.theme-now .app-logo-link {
    grid-row: span 4;
}

body.theme-live {
    --radius-xl: 18px;
    --radius-lg: 16px;
    --radius-md: 12px;
}

body.theme-live .site-header {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 245, 237, 0.86));
}

body.theme-live .eyebrow::before {
    content: "LIVE";
    display: inline-flex;
    margin-right: 8px;
    padding: 2px 7px;
    border-radius: 999px;
    color: #fff;
    background: var(--accent);
    font-size: 10px;
    letter-spacing: 0.08em;
}

body.theme-live .mini-item,
body.theme-live .hero-keyword-link {
    border-left: 4px solid var(--accent);
}

body.theme-center .hero-panel {
    display: grid;
    grid-template-columns: 1fr;
}

body.theme-center .category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.theme-center .collection-layout {
    grid-template-columns: 1.3fr 0.85fr 0.85fr;
}

body.theme-studio {
    --radius-xl: 42px;
    --radius-lg: 30px;
}

body.theme-studio .hero-copy h1,
body.theme-studio .page-hero-shell h1 {
    letter-spacing: -0.07em;
}

body.theme-studio .hero-shell {
    grid-template-columns: 0.82fr 1.18fr;
}

body.theme-studio .app-card,
body.theme-studio .content-card,
body.theme-studio .category-card {
    transform: rotate(-0.4deg);
}

body.theme-studio .app-card:nth-child(even),
body.theme-studio .content-card:nth-child(even),
body.theme-studio .category-card:nth-child(even) {
    transform: rotate(0.4deg);
}

body.theme-online .site-bg {
    background:
        radial-gradient(circle at 50% -10%, rgba(17, 125, 115, 0.18), transparent 30%),
        linear-gradient(120deg, rgba(255, 255, 255, 0.46), transparent 42%);
}

body.theme-online .hero-shell,
body.theme-online .app-hero-shell {
    grid-template-columns: 1fr;
}

body.theme-online .hero-panel,
body.theme-online .stat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.theme-online .hero-panel-card-guide {
    grid-column: span 2;
}

body.theme-official .site-header {
    background: rgba(255, 255, 255, 0.9);
}

body.theme-official .hero-copy,
body.theme-official .page-hero-shell,
body.theme-official .app-hero-card,
body.theme-official .content-card {
    border: 1px solid rgba(18, 23, 35, 0.13);
}

body.theme-official .button-primary {
    border-radius: 8px;
}

body.theme-official .app-card {
    border-radius: 8px;
}

@media (max-width: 900px) {
    body.theme-now .hero-panel,
    body.theme-center .category-grid,
    body.theme-center .collection-layout,
    body.theme-online .hero-panel,
    body.theme-online .stat-grid {
        grid-template-columns: 1fr;
    }

    body.theme-my .site-header {
        top: 0;
        width: 100%;
        border-radius: 0;
    }

    body.theme-now .app-card {
        grid-template-columns: 1fr;
    }
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: "Instrument Sans", "Segoe UI", sans-serif;
    background: linear-gradient(180deg, #f8f1e6 0%, #f4ebdf 100%);
}

body.nav-open {
    overflow: hidden;
}

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

img {
    max-width: 100%;
}

.site-bg {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(31, 86, 194, 0.14), transparent 28%),
        radial-gradient(circle at 85% 10%, rgba(239, 108, 36, 0.16), transparent 20%),
        linear-gradient(transparent 96%, rgba(18, 23, 35, 0.035) 100%);
    background-size: auto, auto, 100% 32px;
    pointer-events: none;
    z-index: -1;
}

.shell {
    width: min(calc(100% - 32px), var(--shell));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(18px);
    background: rgba(247, 239, 226, 0.82);
    border-bottom: 1px solid rgba(18, 23, 35, 0.06);
}

.header-shell {
    display: grid;
    grid-template-columns: minmax(240px, 320px) minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    min-height: 84px;
    padding: 10px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    max-width: 320px;
}

.brand-logo {
    width: 58px;
    height: 58px;
    object-fit: contain;
    filter: drop-shadow(0 10px 22px rgba(8, 38, 28, 0.18));
}

.brand-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.brand-copy strong,
h1,
h2,
h3 {
    font-family: "Space Grotesk", sans-serif;
}

.brand-copy span {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.25;
    max-width: 250px;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    margin-left: 0;
    min-width: 0;
    flex-wrap: nowrap;
}

.site-nav a {
    display: inline-flex;
    align-items: center;
    position: relative;
    color: var(--muted);
    font-weight: 600;
    font-size: 0.98rem;
    line-height: 1.1;
    white-space: nowrap;
}

.site-nav a.is-active,
.site-nav a:hover {
    color: var(--ink);
}

.site-nav a.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--cobalt), var(--accent));
}

.header-cta,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 999px;
    border: 1px solid transparent;
    min-height: 48px;
    padding: 0 22px;
    font-weight: 700;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.header-cta {
    flex-shrink: 0;
    white-space: nowrap;
}

.header-cta,
.button-primary {
    background: var(--ink);
    color: #fff;
    box-shadow: 0 16px 35px rgba(18, 23, 35, 0.18);
}

.button-secondary {
    background: rgba(255, 255, 255, 0.55);
    border-color: rgba(18, 23, 35, 0.12);
}

.button-muted {
    background: rgba(18, 23, 35, 0.08);
    border-color: rgba(18, 23, 35, 0.08);
    color: var(--muted);
    box-shadow: none;
}

.button:hover,
.header-cta:hover {
    transform: translateY(-2px);
}

.is-disabled {
    cursor: not-allowed;
    pointer-events: none;
    transform: none !important;
}

.full {
    width: 100%;
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    margin-left: auto;
    border: 1px solid rgba(18, 23, 35, 0.1);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.55);
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 5px auto;
    background: var(--ink);
    transition: transform 180ms ease, opacity 180ms ease;
}

body.nav-open .menu-toggle span:first-child {
    transform: translateY(7px) rotate(45deg);
}

body.nav-open .menu-toggle span:last-child {
    transform: translateY(-7px) rotate(-45deg);
}

.hero-section,
.page-hero {
    padding: 42px 0 24px;
}

.hero-shell,
.page-hero-shell {
    display: grid;
    gap: 26px;
    align-items: stretch;
}

.hero-shell {
    grid-template-columns: 1.3fr 0.9fr;
}

.hero-copy,
.hero-panel,
.page-hero-shell,
.app-hero-copy,
.app-hero-card,
.content-card,
.sidebar-card,
.reason-card,
.contact-card,
.mini-collection,
.category-card,
.app-card,
.cta-band {
    border: 1px solid rgba(18, 23, 35, 0.08);
    background: var(--card);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.hero-copy,
.page-hero-shell,
.app-hero-copy {
    border-radius: var(--radius-xl);
    padding: 34px;
}

.hero-copy h1,
.page-hero h1,
.app-hero-copy h1 {
    margin: 10px 0 16px;
    font-size: clamp(2.35rem, 4vw, 4.5rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
}

.hero-text,
.page-hero p,
.app-hero-copy p {
    margin: 0;
    max-width: 64ch;
    color: var(--muted);
    font-size: 1.06rem;
    line-height: 1.7;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--cobalt);
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-actions,
.cta-band-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 30px;
}

.hero-stats div,
.hero-panel-card,
.app-hero-card,
.search-bar,
.stat-grid,
.sidebar-card,
.content-card,
.reason-card,
.contact-card,
.faq-item,
.mini-item {
    border-radius: var(--radius-lg);
}

.hero-stats div {
    padding: 18px;
    background: rgba(255, 255, 255, 0.56);
    border: 1px solid rgba(18, 23, 35, 0.06);
}

.hero-stats strong {
    display: block;
    margin-bottom: 4px;
    font-size: 1.6rem;
}

.hero-stats span {
    color: var(--muted);
    font-size: 0.95rem;
}

.hero-panel {
    display: grid;
    gap: 18px;
}

.hero-panel-card {
    padding: 28px;
}

.hero-panel-card.tinted {
    background: linear-gradient(135deg, rgba(31, 86, 194, 0.09), rgba(15, 127, 107, 0.12));
}

.panel-kicker {
    margin: 0;
    color: var(--muted);
    font-weight: 700;
}

.panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.panel-head a,
.panel-head-note {
    color: var(--cobalt);
    font-size: 0.88rem;
    font-weight: 700;
    white-space: nowrap;
}

.hero-link-list,
.hero-guide-list {
    display: grid;
    gap: 12px;
}

.hero-keyword-link,
.hero-guide-item {
    min-height: 0;
    padding: 14px 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(18, 23, 35, 0.06);
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.hero-keyword-link:hover,
.hero-guide-item:hover {
    transform: translateY(-2px);
    border-color: rgba(31, 86, 194, 0.14);
    background: rgba(255, 255, 255, 0.72);
}

.hero-keyword-link {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
}

.hero-keyword-logo {
    width: 58px;
    height: 58px;
    object-fit: contain;
    filter: drop-shadow(0 10px 18px rgba(8, 38, 28, 0.14));
}

.hero-keyword-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.hero-keyword-copy strong,
.hero-guide-copy strong {
    font-size: 1.02rem;
    line-height: 1.2;
}

.hero-keyword-copy span,
.hero-guide-copy span {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.45;
}

.hero-keyword-meta {
    display: grid;
    gap: 4px;
    justify-items: end;
    text-align: right;
}

.hero-keyword-meta span {
    color: var(--muted);
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-keyword-meta strong {
    color: var(--accent);
    white-space: nowrap;
}

.hero-guide-item {
    display: grid;
    grid-template-columns: 12px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
}

.hero-guide-dot {
    width: 10px;
    height: 10px;
    margin-top: 7px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cobalt), var(--accent));
}

.section {
    padding: 28px 0;
}

.section-head {
    display: grid;
    gap: 12px;
    margin-bottom: 24px;
}

.section-head.split {
    grid-template-columns: 0.95fr 1fr;
    align-items: end;
}

.section-head h2 {
    margin: 0;
    font-size: clamp(1.8rem, 3vw, 3rem);
    line-height: 1.02;
    letter-spacing: -0.03em;
}

.section-head p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.category-grid,
.card-grid,
.reason-grid,
.contact-grid {
    display: grid;
    gap: 18px;
}

.category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.reason-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.category-card,
.app-card,
.reason-card,
.contact-card,
.mini-collection,
.content-card,
.sidebar-card,
.cta-band {
    padding: 24px;
}

.category-card strong,
.app-card h3,
.mini-collection h3,
.reason-card h3,
.contact-card h2,
.content-card h2,
.sidebar-card h3,
.cta-band h2 {
    margin: 0;
}

.category-card p,
.app-card p,
.mini-collection p,
.reason-card p,
.contact-card p,
.content-card p,
.sidebar-card p,
.cta-band p {
    color: var(--muted);
    line-height: 1.7;
}

.category-card:hover,
.app-card:hover {
    transform: translateY(-4px);
}

.app-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
    height: 100%;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.app-logo-link {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px 0 2px;
}

.app-logo {
    width: 124px;
    height: 124px;
    object-fit: contain;
    filter: drop-shadow(0 14px 24px rgba(8, 38, 28, 0.18));
}

.app-card-top,
.mini-collection-head,
.card-actions,
.tag-row,
.footer-shell,
.breadcrumbs,
.app-layout,
.collection-layout {
    display: flex;
    gap: 12px;
}

.app-card-top,
.mini-collection-head {
    justify-content: space-between;
    align-items: center;
}

.pill,
.card-badge,
.tag-row span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.64);
    border: 1px solid rgba(18, 23, 35, 0.08);
    font-size: 0.84rem;
    font-weight: 700;
}

.card-badge {
    color: var(--accent);
}

.app-card h3 {
    font-size: 1.35rem;
    letter-spacing: -0.02em;
}

.app-card-copy {
    display: grid;
    gap: 14px;
}

.app-card-copy h3 {
    margin: 0;
    line-height: 1.2;
}

.app-card-copy p {
    margin: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    align-items: stretch;
}

.app-meta {
    display: grid;
    gap: 0;
    margin-top: auto;
    padding-top: 2px;
    border-top: 1px solid rgba(18, 23, 35, 0.08);
}

.app-meta-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(18, 23, 35, 0.06);
}

.app-meta-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.stat-grid div {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 118px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(18, 23, 35, 0.07);
    border-radius: 18px;
}

.app-meta-row span,
.stat-grid span {
    display: block;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.2;
}

.stat-grid span {
    margin-bottom: 4px;
}

.app-meta-row strong,
.stat-grid strong {
    font-size: 1.05rem;
    white-space: nowrap;
}

.tag-row {
    flex-wrap: wrap;
}

.tag-row.compact span {
    background: transparent;
}

.card-actions {
    justify-content: space-between;
    align-items: center;
    margin-top: 2px;
}

.text-link {
    color: var(--muted);
    font-weight: 700;
}

.text-link-button {
    padding: 0;
    border: none;
    background: transparent;
    font: inherit;
    cursor: pointer;
}

.text-link.strong {
    color: var(--cobalt);
}

.text-link.disabled {
    color: rgba(93, 101, 120, 0.75);
}

.section-link {
    margin-top: 18px;
}

.section-link a,
.mini-collection-head a {
    color: var(--cobalt);
    font-weight: 700;
}

.collection-layout {
    align-items: stretch;
    flex-wrap: wrap;
}

.collection-layout > div {
    flex: 1 1 280px;
}

.mini-list {
    display: grid;
    gap: 12px;
    margin-top: 20px;
}

.mini-item {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.56);
    border: 1px solid rgba(18, 23, 35, 0.06);
}

.mini-logo {
    width: 74px;
    height: 74px;
    flex: 0 0 auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 16px rgba(8, 38, 28, 0.14));
}

.mini-copy {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.mini-item strong {
    display: block;
}

.mini-copy span {
    display: block;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.mini-score {
    display: grid;
    gap: 4px;
    min-width: 92px;
    padding: 12px 14px;
    border-radius: 18px;
    border: 1px solid rgba(18, 23, 35, 0.08);
    background: linear-gradient(135deg, rgba(239, 108, 36, 0.08), rgba(31, 86, 194, 0.04));
    justify-items: end;
    text-align: right;
}

.mini-score span {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.1;
}

.mini-score strong {
    color: var(--accent);
    font-weight: 700;
    white-space: nowrap;
    font-size: 1.08rem;
    line-height: 1.1;
}

.search-bar {
    padding: 16px;
    margin-top: 18px;
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(18, 23, 35, 0.08);
}

.search-bar input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    font: inherit;
    color: var(--ink);
}

.search-bar input::placeholder {
    color: rgba(93, 101, 120, 0.88);
}

.faq-shell {
    display: grid;
    gap: 24px;
}

.faq-list {
    display: grid;
    gap: 14px;
}

.faq-item {
    padding: 0 22px;
    background: rgba(255, 255, 255, 0.56);
    border: 1px solid rgba(18, 23, 35, 0.06);
}

.faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 22px 0;
    font-weight: 700;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item p {
    margin: 0 0 22px;
    color: var(--muted);
    line-height: 1.7;
}

.cta-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, rgba(31, 86, 194, 0.1), rgba(239, 108, 36, 0.11));
}

.page-hero-shell {
    max-width: 860px;
}

.app-hero-shell {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 18px;
    align-items: start;
    --hero-mx: 0.5;
    --hero-my: 0.5;
}

.app-hero-copy {
    position: relative;
    overflow: hidden;
}

.app-hero-copy::before,
.app-hero-card::before {
    content: "";
    position: absolute;
    pointer-events: none;
}

.app-hero-copy::before {
    inset: auto auto -90px -50px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(31, 86, 194, 0.15), transparent 70%);
}

.app-hero-card::before {
    top: -90px;
    right: -56px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(239, 108, 36, 0.18), transparent 68%);
    transform: translate3d(calc((var(--hero-mx) - 0.5) * 24px), calc((var(--hero-my) - 0.5) * 24px), 0);
    transition: transform 180ms ease;
}

.app-hero-copy > *,
.app-hero-card > * {
    position: relative;
    z-index: 1;
}

.app-hero-top {
    display: grid;
    grid-template-columns: 168px minmax(0, 1fr);
    gap: 24px;
    align-items: center;
}

.app-hero-intro {
    display: grid;
    gap: 14px;
}

.detail-logo-shell {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 178px;
    padding: 14px;
    border-radius: 30px;
    background:
        radial-gradient(circle at 26% 22%, rgba(255, 255, 255, 0.74), transparent 34%),
        linear-gradient(145deg, rgba(12, 92, 72, 0.16), rgba(31, 86, 194, 0.1));
    border: 1px solid rgba(18, 23, 35, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42);
    overflow: hidden;
}

.detail-logo-shell::before,
.detail-logo-shell::after {
    content: "";
    position: absolute;
    inset: auto;
    border-radius: 50%;
    pointer-events: none;
}

.detail-logo-shell::before {
    width: 156px;
    height: 156px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.34), transparent 70%);
    animation: pulseGlow 4.8s ease-in-out infinite;
}

.detail-logo-shell::after {
    width: 130%;
    height: 18px;
    bottom: 18px;
    left: -15%;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.58), transparent);
    opacity: 0.58;
    animation: shimmerSweep 5.8s linear infinite;
}

.detail-logo {
    width: 152px;
    height: 152px;
    margin: 0;
    object-fit: contain;
    filter: drop-shadow(0 18px 30px rgba(8, 38, 28, 0.18));
    animation: floatLogo 5.4s ease-in-out infinite;
}

.breadcrumbs {
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 0.92rem;
}

.hero-note {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
    align-items: center;
    margin-top: 22px;
    padding: 16px 18px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(31, 86, 194, 0.08), rgba(239, 108, 36, 0.1));
    border: 1px solid rgba(18, 23, 35, 0.07);
}

.hero-note span {
    color: var(--cobalt);
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.hero-note strong {
    font-size: 1rem;
    line-height: 1.5;
}

.app-hero-card {
    display: grid;
    gap: 16px;
    align-self: start;
    position: relative;
    overflow: hidden;
    padding: 24px;
}

.app-hero-panel-head {
    display: grid;
    gap: 6px;
}

.app-hero-panel-head h2 {
    margin: 0;
    font-size: 1.35rem;
    line-height: 1.15;
}

.app-hero-card .stat-grid {
    gap: 14px;
}

.app-hero-card .stat-grid div {
    min-height: 90px;
    padding: 15px 16px;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.app-hero-card .stat-grid div:hover {
    transform: translateY(-3px);
    border-color: rgba(31, 86, 194, 0.15);
    background: rgba(255, 255, 255, 0.7);
}

.hero-cta-stack {
    display: grid;
    gap: 10px;
    padding: 14px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(31, 86, 194, 0.08), rgba(239, 108, 36, 0.1));
    border: 1px solid rgba(18, 23, 35, 0.07);
}

.hero-cta-stack .button {
    min-height: 52px;
}

.hero-cta-note {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.45;
    text-align: center;
}

.signal-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.signal-pill {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.64);
    border: 1px solid rgba(18, 23, 35, 0.08);
    font-size: 0.84rem;
    font-weight: 700;
}

.hero-mini-grid,
.sidebar-note-list {
    display: grid;
    gap: 12px;
}

.hero-signal-list {
    display: grid;
    gap: 10px;
}

.hero-signal-item,
.hero-mini-card,
.sidebar-note-item {
    padding: 14px 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.56);
    border: 1px solid rgba(18, 23, 35, 0.07);
}

.hero-signal-item {
    position: relative;
    padding-left: 18px;
}

.hero-signal-item::before {
    content: "";
    position: absolute;
    top: 18px;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cobalt), var(--accent));
}

.hero-signal-item span,
.hero-mini-card span,
.sidebar-note-item span {
    display: block;
    color: var(--muted);
    font-size: 0.84rem;
    margin-bottom: 6px;
}

.hero-signal-item strong,
.hero-mini-card strong,
.sidebar-note-item strong {
    display: block;
    line-height: 1.45;
    font-size: 0.97rem;
}

.app-layout {
    align-items: flex-start;
}

.app-main {
    flex: 1 1 0;
    display: grid;
    gap: 18px;
}

.app-sidebar {
    width: min(360px, 100%);
}

.sidebar-card {
    position: sticky;
    top: 104px;
    display: grid;
    gap: 18px;
}

.bullet-list {
    display: grid;
    gap: 12px;
    margin-top: 20px;
}

.bullet-item {
    min-height: 56px;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.56);
    border: 1px solid rgba(18, 23, 35, 0.06);
    line-height: 1.6;
}

.compact .faq-item {
    background: rgba(255, 255, 255, 0.46);
}

.content-card-accent {
    background:
        radial-gradient(circle at top right, rgba(239, 108, 36, 0.12), transparent 30%),
        radial-gradient(circle at bottom left, rgba(31, 86, 194, 0.1), transparent 28%),
        var(--card);
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 20px;
}

.promo-tile {
    min-height: 100%;
    padding: 18px;
    border-radius: 24px;
    border: 1px solid rgba(18, 23, 35, 0.07);
    background: rgba(255, 255, 255, 0.58);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.promo-tile:hover {
    transform: translateY(-4px);
    border-color: rgba(239, 108, 36, 0.16);
    box-shadow: 0 18px 36px rgba(18, 23, 35, 0.08);
}

.promo-tile-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}

.promo-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(8, 38, 28, 0.16));
}

.promo-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 32px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(31, 86, 194, 0.08);
    color: var(--cobalt);
    font-size: 0.85rem;
    font-weight: 700;
}

.promo-tile strong {
    display: block;
    margin-bottom: 10px;
    font-size: 1.04rem;
}

.promo-tile p {
    margin: 0;
}

@keyframes floatLogo {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes pulseGlow {
    0%,
    100% {
        transform: scale(0.94);
        opacity: 0.72;
    }

    50% {
        transform: scale(1.08);
        opacity: 1;
    }
}

@keyframes shimmerSweep {
    0% {
        transform: translateX(-24%);
    }

    100% {
        transform: translateX(24%);
    }
}

.site-footer {
    padding: 32px 0 48px;
}

.footer-shell {
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px 24px;
    padding: 24px 0 0;
    border-top: 1px solid rgba(18, 23, 35, 0.08);
}

.footer-title {
    margin: 0 0 8px;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
}

.footer-copy {
    margin: 0;
    max-width: 56ch;
    color: var(--muted);
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    color: var(--muted);
    font-weight: 600;
}

.footer-meta {
    display: grid;
    gap: 6px;
    color: var(--muted);
    text-align: right;
}

[data-search-card].is-hidden {
    display: none;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1080px) {
    .hero-shell,
    .app-hero-shell,
    .section-head.split,
    .category-grid,
    .card-grid,
    .reason-grid,
    .contact-grid,
    .app-layout {
        grid-template-columns: 1fr;
    }

    .app-layout {
        display: grid;
    }

    .app-hero-top,
    .promo-grid {
        grid-template-columns: 1fr;
    }

    .app-sidebar {
        width: 100%;
    }

    .sidebar-card {
        position: static;
    }
}

@media (max-width: 1220px) {
    .header-shell {
        grid-template-columns: minmax(220px, 276px) minmax(0, 1fr) auto;
        gap: 14px;
    }

    .brand {
        max-width: 276px;
    }

    .brand-copy span {
        display: none;
    }

    .site-nav {
        gap: 10px;
    }

    .site-nav a {
        font-size: 0.94rem;
    }

    .header-cta {
        min-height: 44px;
        padding: 0 18px;
        font-size: 0.96rem;
    }
}

@media (max-width: 920px) {
    .header-shell {
        display: flex;
        gap: 12px;
        padding: 10px 0;
    }

    .menu-toggle {
        display: inline-block;
    }

    .header-cta {
        display: none;
    }

    .site-nav {
        position: fixed;
        inset: 84px 16px auto;
        flex-direction: column;
        align-items: stretch;
        padding: 18px;
        border-radius: 24px;
        border: 1px solid rgba(18, 23, 35, 0.08);
        background: rgba(255, 250, 243, 0.97);
        box-shadow: var(--shadow);
        transform: translateY(-12px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 180ms ease, transform 180ms ease;
    }

    body.nav-open .site-nav {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .site-nav a.is-active::after {
        display: none;
    }

    .hero-stats,
    .app-stats,
    .stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .hero-section,
    .page-hero,
    .section {
        padding: 20px 0;
    }

    .hero-copy,
    .page-hero-shell,
    .app-hero-copy,
    .app-hero-card,
    .category-card,
    .app-card,
    .mini-collection,
    .reason-card,
    .contact-card,
    .content-card,
    .sidebar-card,
    .cta-band {
        padding: 22px;
    }

    .app-hero-top {
        gap: 18px;
    }

    .detail-logo-shell {
        min-height: 156px;
    }

    .brand-copy span {
        display: none;
    }

    .brand-logo {
        width: 52px;
        height: 52px;
    }

    .hero-stats,
    .stat-grid {
        grid-template-columns: 1fr;
    }

    .panel-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero-keyword-link {
        grid-template-columns: 58px minmax(0, 1fr);
        align-items: start;
    }

    .hero-keyword-meta {
        grid-column: 2;
        justify-items: start;
        text-align: left;
    }

    .cta-band,
    .card-actions,
    .footer-shell {
        flex-direction: column;
        align-items: flex-start;
    }

    .mini-logo {
        width: 68px;
        height: 68px;
    }

    .mini-item {
        grid-template-columns: 68px minmax(0, 1fr);
        align-items: start;
    }

    .mini-score {
        grid-column: 2;
        justify-items: start;
        text-align: left;
        min-width: 0;
        width: fit-content;
    }
}
