/* ============================================================
   CLEOM OS — inner content pages (features, pricing, company,
   developers, support, explore). Loads alongside cleom-os.css.
   ============================================================ */

/* ---- Page hero ---- */
.pg-hero { padding: clamp(3rem, 7vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem); }
.pg-hero-eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-mono); font-size: 0.74rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent-deep); margin-bottom: 1.25rem; }
.pg-hero-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.pg-hero h1 { font-family: var(--font-display); font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1.0; max-width: 16ch; }
.pg-hero h1 .it { color: var(--accent-deep); }
.pg-hero .lead { color: var(--ink-1); font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.5; max-width: 56ch; margin: 1.5rem 0 2rem; }
.pg-hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* feature page hero media */
.pg-hero-media { margin-top: clamp(2rem, 4vw, 3.5rem); border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 16/8; background: var(--dark); position: relative; box-shadow: var(--shadow-2); }
.pg-hero-media video, .pg-hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.92; }
.pg-hero-media::after { content: ''; position: absolute; inset: 0; background: radial-gradient(50% 70% at 50% 0%, rgba(158,255,0,0.14), transparent 60%); }

/* ---- Feature rows (alternating) ---- */
.feat-rows { display: flex; flex-direction: column; gap: clamp(3rem, 6vw, 5.5rem); }
.feat-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.feat-row:nth-child(even) .feat-text { order: 2; }
.feat-num { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.1em; color: var(--accent-deep); margin-bottom: 0.85rem; }
.feat-text h2 { font-family: var(--font-display); font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 1rem; }
.feat-text p { color: var(--ink-1); font-size: 1.05rem; line-height: 1.6; }
.feat-text ul { margin-top: 1.1rem; display: flex; flex-direction: column; gap: 0.55rem; }
.feat-text ul li { position: relative; padding-left: 1.5rem; color: var(--ink-1); font-size: 0.98rem; line-height: 1.5; }
.feat-text ul li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.feat-media { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/3; background: var(--bg-2); border: 1px solid var(--line); position: relative; }
.feat-media.dark { background: var(--dark); }
.feat-media video, .feat-media img { width: 100%; height: 100%; object-fit: cover; }
.feat-media.dark::after { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 60% at 50% 40%, rgba(158,255,0,0.16), transparent 70%); }

/* ---- Use cases ---- */
.usecase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.usecase { background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem; }
.usecase .uc-ico { width: 38px; height: 38px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-deep); display: flex; align-items: center; justify-content: center; margin-bottom: 0.85rem; }
.usecase .uc-ico svg { width: 19px; height: 19px; }
.usecase h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.4rem; }
.usecase p { font-size: 0.9rem; color: var(--ink-1); line-height: 1.5; }

/* ---- section title (centered) reuse ---- */
.pg-sec { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.pg-sec.alt { background: var(--bg-2); }
.pg-sec-head { text-align: center; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.pg-sec-head .eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent-deep); margin-bottom: 1rem; }
.pg-sec-head h2 { font-family: var(--font-display); font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 600; letter-spacing: -0.035em; }
.pg-sec-head p { color: var(--ink-1); margin-top: 0.75rem; font-size: 1.05rem; max-width: 56ch; margin-left: auto; margin-right: auto; }

/* ---- CTA band ---- */
.pg-cta { text-align: center; padding: clamp(4rem, 9vw, 8rem) 0; }
.pg-cta h2 { font-family: var(--font-display); font-size: clamp(2.4rem, 6vw, 4.5rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1.0; margin-bottom: 1.25rem; }
.pg-cta .lead { color: var(--ink-1); max-width: 48ch; margin: 0 auto 2rem; font-size: 1.1rem; }

/* ============================================================
   PRICING
   ============================================================ */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.price-card { background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.9rem; display: flex; flex-direction: column; }
.price-card.featured { border-color: var(--accent); box-shadow: var(--shadow-1); position: relative; }
.price-card.featured .pc-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent); color: var(--accent-ink); font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 0.3rem 0.9rem; border-radius: var(--r-full); }
.price-card h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 0.3rem; }
.price-card .pc-sub { font-size: 0.85rem; color: var(--ink-1); margin-bottom: 1.25rem; }
.price-card .pc-amt { font-family: var(--font-display); font-size: 2.4rem; font-weight: 600; letter-spacing: -0.03em; }
.price-card .pc-amt small { font-size: 0.95rem; color: var(--ink-2); font-weight: 500; }
.price-card ul { margin: 1.25rem 0; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.price-card ul li { position: relative; padding-left: 1.6rem; font-size: 0.92rem; color: var(--ink-1); }
.price-card ul li svg { position: absolute; left: 0; top: 0.15em; width: 15px; height: 15px; color: var(--accent-deep); }
.price-table { width: 100%; border-collapse: collapse; margin-top: 1rem; }
.price-table th, .price-table td { text-align: left; padding: 0.85rem 1rem; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
.price-table th { font-family: var(--font-mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-2); font-weight: 500; }
.price-table td:last-child { text-align: right; font-weight: 600; }
.enterprise { background: var(--dark); color: var(--on-dark-0); border-radius: var(--r-xl); padding: clamp(2rem, 4vw, 3.25rem); display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.enterprise h3 { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 600; color: var(--on-dark-0); }
.enterprise p { color: var(--on-dark-1); margin-top: 0.5rem; max-width: 44ch; }

/* ============================================================
   COMPANY
   ============================================================ */
.about-lead { font-family: var(--font-display); font-size: clamp(1.5rem, 3.4vw, 2.4rem); font-weight: 500; line-height: 1.25; letter-spacing: -0.02em; max-width: 22ch; }
.story p { font-size: 1.1rem; line-height: 1.7; color: var(--ink-1); margin-bottom: 1.25rem; max-width: 64ch; }
.story p strong { color: var(--ink-0); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.team-card { text-align: center; }
.team-avatar { width: 100%; aspect-ratio: 1; border-radius: var(--r-lg); background: var(--bg-2); margin-bottom: 0.85rem; overflow: hidden; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 2rem; font-weight: 600; color: var(--ink-2); }
.team-card h3 { font-size: 1.02rem; font-weight: 600; }
.team-card .role { font-size: 0.82rem; color: var(--accent-deep); font-weight: 600; }
.role-list { display: flex; flex-direction: column; gap: 0.85rem; }
.role-item { background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.4rem 1.6rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; transition: border-color 0.2s; }
.role-item:hover { border-color: var(--line-2); }
.role-item .ri-main h3 { font-size: 1.1rem; font-weight: 600; }
.role-item .ri-main p { font-size: 0.88rem; color: var(--ink-1); margin-top: 0.2rem; }
.role-item .ri-meta { font-family: var(--font-mono); font-size: 0.75rem; color: var(--ink-2); display: flex; gap: 1rem; }
.contact-card { background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 2rem; }
.contact-row { display: flex; align-items: center; gap: 0.85rem; padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
.contact-row:last-child { border-bottom: none; }
.contact-row .ci { width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-deep); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-row .ci svg { width: 19px; height: 19px; }
.contact-row .cl { font-size: 0.78rem; color: var(--ink-2); }
.contact-row .cv { font-weight: 600; }
.contact-row .cv a { color: var(--accent-deep); }

/* ============================================================
   DEVELOPERS (coming soon)
   ============================================================ */
.soon-banner { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--dark); color: var(--accent); font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; padding: 0.5rem 1rem; border-radius: var(--r-full); margin-bottom: 1.5rem; }
.soon-banner .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.code-block { background: var(--dark); color: var(--on-dark-0); border-radius: var(--r-lg); padding: 1.5rem 1.75rem; font-family: var(--font-mono); font-size: 0.85rem; line-height: 1.8; overflow-x: auto; }
.code-block .mut { color: var(--on-dark-1); }
.code-block .grn { color: var(--accent); }
.dev-list { display: flex; flex-direction: column; gap: 0.85rem; }
.dev-item { display: flex; gap: 0.9rem; align-items: flex-start; }
.dev-item .di { width: 34px; height: 34px; border-radius: 9px; background: var(--accent-soft); color: var(--accent-deep); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.dev-item .di svg { width: 17px; height: 17px; }
.dev-item h3 { font-size: 1rem; font-weight: 600; }
.dev-item p { font-size: 0.9rem; color: var(--ink-1); margin-top: 0.15rem; }
.notify-form { display: flex; gap: 0.5rem; max-width: 420px; margin-top: 1.5rem; }
.notify-form input { flex: 1; padding: 0.85rem 1rem; border-radius: var(--r-full); border: 1px solid var(--line); background: var(--bg-1); font-size: 0.95rem; }
.notify-form input:focus { outline: none; border-color: var(--accent-deep); }

/* ============================================================
   EXPLORE
   ============================================================ */
.explore-filters { display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center; margin-bottom: 2.5rem; }
.explore-filter { padding: 0.55rem 1.1rem; border-radius: var(--r-full); border: 1px solid var(--line); background: var(--bg-1); font-size: 0.88rem; font-weight: 500; color: var(--ink-1); }
.explore-filter.on { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-deep); font-weight: 600; }
.explore-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; }
.explore-card { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--bg-1); transition: transform 0.25s var(--ease), box-shadow 0.25s; }
.explore-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-1); }
.explore-media { aspect-ratio: 16/10; background: var(--bg-2); position: relative; }
.explore-media video, .explore-media img { width: 100%; height: 100%; object-fit: cover; }
.explore-body { padding: 1.1rem 1.25rem; }
.explore-body .et { font-size: 0.62rem; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent-deep); font-weight: 600; }
.explore-body h3 { font-size: 1.05rem; font-weight: 600; margin: 0.3rem 0; }
.explore-body p { font-size: 0.85rem; color: var(--ink-1); }

/* ---- support ---- */
.support-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-bottom: 3rem; }
.support-card { background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.6rem; }
.support-card .si { width: 40px; height: 40px; border-radius: 11px; background: var(--accent-soft); color: var(--accent-deep); display: flex; align-items: center; justify-content: center; margin-bottom: 0.85rem; }
.support-card .si svg { width: 20px; height: 20px; }
.support-card h3 { font-size: 1.08rem; font-weight: 600; margin-bottom: 0.35rem; }
.support-card p { font-size: 0.9rem; color: var(--ink-1); line-height: 1.5; }

/* ============================================================
   ARTICLE (blog posts)
   ============================================================ */
.article { max-width: 740px; margin: 0 auto; padding: clamp(3rem, 6vw, 5rem) var(--px) clamp(3rem, 6vw, 5rem); }
.article-meta { display: flex; gap: 1rem; font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-2); margin-bottom: 1.25rem; flex-wrap: wrap; }
.article-meta .tag { color: var(--accent-deep); font-weight: 600; }
.article h1 { font-family: var(--font-display); font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 600; line-height: 1.05; letter-spacing: -0.035em; margin-bottom: 1.1rem; }
.article-lead { font-size: clamp(1.1rem, 1.5vw, 1.25rem); line-height: 1.55; color: var(--ink-1); margin-bottom: 2.25rem; }
.article-hero { aspect-ratio: 16/9; border-radius: var(--r-lg); overflow: hidden; margin-bottom: 2.75rem; background: var(--dark); border: 1px solid var(--line); }
.article-hero video, .article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-body p { font-size: 1.08rem; line-height: 1.8; color: var(--ink-1); margin-bottom: 1.4rem; }
.article-body h2 { font-family: var(--font-display); font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 600; letter-spacing: -0.02em; margin: 2.5rem 0 1rem; color: var(--ink-0); }
.article-body ul { margin: 0 0 1.5rem; display: flex; flex-direction: column; gap: 0.55rem; }
.article-body ul li { position: relative; padding-left: 1.5rem; font-size: 1.05rem; line-height: 1.6; color: var(--ink-1); }
.article-body ul li::before { content: ''; position: absolute; left: 0; top: 0.6em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.article-body blockquote { border-left: 3px solid var(--accent); padding-left: 1.6rem; margin: 2.25rem 0; font-family: var(--font-display); font-style: normal; font-size: 1.35rem; font-weight: 500; line-height: 1.4; color: var(--ink-0); letter-spacing: -0.01em; }
.article-end { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 0.78rem; color: var(--ink-2); }
.article-end a { color: var(--accent-deep); font-weight: 600; }

/* ============================================================
   GUIDE
   ============================================================ */
.guide-layout { display: grid; grid-template-columns: 220px 1fr; gap: 3rem; align-items: start; }
.guide-toc { position: sticky; top: calc(var(--nav-h) + 1rem); display: flex; flex-direction: column; gap: 0.2rem; }
.guide-toc a { padding: 0.5rem 0.75rem; border-radius: var(--r-sm); font-size: 0.9rem; color: var(--ink-1); transition: background 0.15s, color 0.15s; }
.guide-toc a:hover, .guide-toc a.active { background: var(--bg-2); color: var(--ink-0); }
.guide-content h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 600; letter-spacing: -0.025em; margin: 2.5rem 0 1rem; scroll-margin-top: calc(var(--nav-h) + 1rem); }
.guide-content h2:first-child { margin-top: 0; }
.guide-content h3 { font-size: 1.15rem; font-weight: 600; margin: 1.75rem 0 0.6rem; }
.guide-content p { font-size: 1.02rem; line-height: 1.7; color: var(--ink-1); margin-bottom: 1.1rem; max-width: 64ch; }
.guide-content ul { margin: 0 0 1.3rem; display: flex; flex-direction: column; gap: 0.5rem; }
.guide-content ul li { position: relative; padding-left: 1.4rem; color: var(--ink-1); line-height: 1.6; }
.guide-content ul li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.guide-step { background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.25rem 1.5rem; margin-bottom: 0.85rem; }
.guide-step .gs-num { font-family: var(--font-mono); font-size: 0.72rem; color: var(--accent-deep); font-weight: 600; }
.guide-step h4 { font-size: 1.05rem; font-weight: 600; margin: 0.25rem 0 0.35rem; }
.guide-step p { font-size: 0.92rem; margin-bottom: 0; }
@media (max-width: 900px) { .guide-layout { grid-template-columns: 1fr; } .guide-toc { position: static; flex-direction: row; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.5rem; } .guide-toc a { background: var(--bg-2); } }

/* ============================================================
   UPDATES (changelog)
   ============================================================ */
.upd-entry { display: grid; grid-template-columns: 160px 1fr; gap: 2.5rem; padding: 2.5rem 0; border-bottom: 1px solid var(--line); }
.upd-entry:last-child { border-bottom: none; }
.upd-meta .ver { display: inline-block; font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent-deep); background: var(--accent-soft); border: 1px solid var(--accent); border-radius: var(--r-full); padding: 0.25rem 0.7rem; margin-bottom: 0.6rem; }
.upd-meta .date { display: block; font-size: 0.85rem; color: var(--ink-1); font-weight: 500; }
.upd-content h3 { font-family: var(--font-display); font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-weight: 600; letter-spacing: -0.02em; margin-bottom: 0.85rem; }
.upd-content p { color: var(--ink-1); line-height: 1.65; margin-bottom: 1rem; max-width: 60ch; }
.upd-content ul { display: flex; flex-direction: column; gap: 0.55rem; }
.upd-content ul li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.95rem; color: var(--ink-1); }
.upd-tag { flex-shrink: 0; font-family: var(--font-mono); font-size: 0.6rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; padding: 0.15rem 0.5rem; border-radius: var(--r-full); margin-top: 0.1rem; }
.upd-tag.new { background: var(--accent-soft); color: var(--accent-deep); }
.upd-tag.fix { background: #DBEAFE; color: #1D4ED8; }
.upd-tag.imp { background: #FEF3C7; color: #92660B; }
@media (max-width: 760px) { .upd-entry { grid-template-columns: 1fr; gap: 1rem; } }

/* reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; } .reveal.d2 { transition-delay: 0.16s; } .reveal.d3 { transition-delay: 0.24s; }

/* ---- responsive ---- */
@media (max-width: 900px) {
    .feat-row { grid-template-columns: 1fr; gap: 1.5rem; }
    .feat-row:nth-child(even) .feat-text { order: 0; }
    .usecase-grid, .price-grid, .support-cards { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr 1fr; }
    .enterprise { flex-direction: column; align-items: flex-start; }
    .price-table { display: block; overflow-x: auto; white-space: nowrap; }
}
@media (max-width: 560px) {
    .team-grid { grid-template-columns: 1fr; }
    .notify-form { flex-direction: column; }
    .notify-form .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; } }
