/* ============================================================
   Inner pages (dark v2) — products, solutions, about, etc.
   ============================================================ */

/* Page hero */
.page-hero { padding-block: clamp(56px, 8vw, 112px) clamp(40px, 5vw, 70px); position: relative; overflow: hidden; }
.page-hero .ph-grid { position: absolute; inset: 0; z-index: 0; background-image: linear-gradient(oklch(0.4 0.05 264 / 0.18) 1px, transparent 1px), linear-gradient(90deg, oklch(0.4 0.05 264 / 0.18) 1px, transparent 1px); background-size: 60px 60px; -webkit-mask-image: radial-gradient(ellipse 80% 80% at 80% 0%, #000, transparent 65%); mask-image: radial-gradient(ellipse 80% 80% at 80% 0%, #000, transparent 65%); }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(50% 70% at 85% -10%, oklch(0.5 0.16 270 / 0.25), transparent 60%); }
.page-hero-inner { position: relative; z-index: 1; }
.breadcrumb { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.04em; color: var(--faint); margin-bottom: 22px; display: flex; gap: 8px; align-items: center; }
.breadcrumb a:hover { color: var(--blue-2); }
.breadcrumb .sep { opacity: 0.5; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: 22px; max-width: 17ch; }
.page-hero .lede { max-width: 60ch; }

/* Product hero */
.prod-hero { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 48px; align-items: center; }
.prod-badge { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.prod-badge .pb-mark { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; box-shadow: 0 10px 28px oklch(0.3 0.1 264 / 0.5); }
.prod-badge .pb-name { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.03em; color: var(--ink); }
.prod-badge .pb-domain { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* Feature rows */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 5vw, 72px); align-items: center; padding-block: clamp(40px, 5vw, 70px); }
.feature-row:nth-child(even) .fr-visual { order: -1; }
.fr-copy h2 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); margin: 16px 0; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 22px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.feature-list svg { width: 18px; height: 18px; flex: none; margin-top: 4px; color: var(--blue-2); }

/* Feature cards */
.feat-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feat-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--surface), oklch(0.175 0.02 264)); transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.3s; }
.feat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-bright); }
.feat-ico { width: 48px; height: 48px; border-radius: 13px; background: var(--grad-soft); border: 1px solid var(--line-bright); display: grid; place-items: center; color: var(--blue-2); margin-bottom: 18px; }
.feat-ico svg { width: 23px; height: 23px; }
.feat-card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.feat-card p { color: var(--muted); font-size: 0.95rem; }

/* Prose */
.prose { max-width: 720px; }
.prose p { color: var(--ink-2); margin-bottom: 20px; font-size: 1.06rem; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin: 44px 0 18px; }
.prose h3 { font-size: 1.3rem; margin: 32px 0 12px; }
.prose ul { padding-left: 0; list-style: none; margin-bottom: 22px; }
.prose ul li { position: relative; padding-left: 26px; margin-bottom: 12px; color: var(--ink-2); }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 7px; height: 7px; border-radius: 2px; background: var(--blue); }
.prose strong { color: var(--ink); font-weight: 600; }

/* Stat band */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-band .sb-item span { display: block; font-size: 0.9rem; color: var(--muted); margin-top: 8px; max-width: 20ch; }

/* CTA strip */
.cta-strip { border-radius: var(--radius-lg); padding: clamp(36px, 5vw, 64px); text-align: center; position: relative; overflow: hidden; border: 1px solid var(--line-bright); background: linear-gradient(180deg, oklch(0.22 0.03 266), oklch(0.17 0.022 266)); }
.cta-strip::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 100% at 50% 0%, oklch(0.5 0.17 270 / 0.3), transparent 65%); }
.cta-strip > * { position: relative; }
.cta-strip h2 { margin-bottom: 14px; }
.cta-strip p { color: var(--muted); max-width: 52ch; margin: 0 auto 26px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
.contact-aside h2 { margin-bottom: 18px; }
.contact-channels { display: flex; flex-direction: column; gap: 20px; margin-top: 36px; }
.cc-item { display: flex; gap: 15px; align-items: flex-start; }
.cc-ico { width: 46px; height: 46px; border-radius: 13px; background: var(--grad-soft); border: 1px solid var(--line-bright); display: grid; place-items: center; color: var(--blue-2); flex: none; }
.cc-ico svg { width: 21px; height: 21px; }
.cc-item strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1rem; letter-spacing: -0.02em; color: var(--ink); }
.cc-item a, .cc-item span { color: var(--muted); font-size: 0.95rem; }
.cc-item a:hover { color: var(--blue-2); }

.form-card { background: linear-gradient(180deg, var(--surface), oklch(0.175 0.02 264)); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow-lg); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 7px; color: var(--ink); }
.field label .req { color: var(--blue-2); }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 0.97rem; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  background: oklch(0.5 0.04 264 / 0.1); transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.field select option { background: var(--bg-2); color: var(--ink); }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: oklch(0.5 0.06 264 / 0.16); box-shadow: 0 0 0 3px oklch(0.62 0.17 256 / 0.18); }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.form-card .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form-status { margin-top: 14px; font-size: 0.9rem; min-height: 1em; text-align: center; color: var(--muted); }
.form-status.err { color: oklch(0.72 0.16 25); }
.form-note { font-size: 0.82rem; color: var(--faint); margin-top: 14px; text-align: center; }
.form-success { display: none; text-align: center; padding: 20px 0; }
.form-success .fs-ico { width: 64px; height: 64px; border-radius: 50%; background: oklch(0.72 0.17 155 / 0.16); display: grid; place-items: center; margin: 0 auto 20px; color: var(--green); }
.form-success .fs-ico svg { width: 32px; height: 32px; }
.form-success h3 { margin-bottom: 10px; }
.form-success p { color: var(--muted); }

/* Insights / blog */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(180deg, var(--surface), oklch(0.175 0.02 264)); transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.3s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-bright); }
.post-thumb { aspect-ratio: 16/10; border: none; border-bottom: 1px solid var(--line); border-radius: 0; }
.post-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue-2); margin-bottom: 12px; }
.post-card h3 { font-size: 1.2rem; margin-bottom: 10px; line-height: 1.2; }
.post-card p { color: var(--muted); font-size: 0.94rem; flex: 1; margin-bottom: 16px; }
.featured-post { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 4vw, 56px); align-items: center; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 48px); background: linear-gradient(180deg, var(--surface), oklch(0.175 0.02 264)); margin-bottom: 40px; }
.featured-post .fp-visual { aspect-ratio: 16/11; }

/* About / team */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.team-card { text-align: left; }
.team-photo { aspect-ratio: 1; border-radius: var(--radius); margin-bottom: 14px; }
.team-card strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; letter-spacing: -0.02em; color: var(--ink); }
.team-card span { font-size: 0.88rem; color: var(--muted); }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value { padding: 28px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), oklch(0.175 0.02 264)); }
.value .v-num { font-family: var(--font-mono); font-size: 0.78rem; color: var(--blue-2); margin-bottom: 14px; }
.value h3 { font-size: 1.2rem; margin-bottom: 10px; }
.value p { color: var(--muted); font-size: 0.95rem; }

/* Timeline */
.timeline { position: relative; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding-bottom: 32px; }
.tl-item::before { content: ""; position: absolute; left: -30px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 3px solid var(--blue); box-shadow: 0 0 12px oklch(0.62 0.17 256 / 0.5); }
.tl-item .tl-date { font-family: var(--font-mono); font-size: 0.75rem; color: var(--blue-2); letter-spacing: 0.06em; }
.tl-item h3 { font-size: 1.2rem; margin: 4px 0 8px; }
.tl-item p { color: var(--muted); font-size: 0.96rem; max-width: 60ch; }

/* Solutions page specifics */
.sol-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.use-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.use-card { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), oklch(0.175 0.02 264)); }
.use-card .uc-step { font-family: var(--font-mono); font-size: 0.7rem; color: var(--blue-2); letter-spacing: 0.08em; margin-bottom: 12px; }
.use-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.use-card p { color: var(--muted); font-size: 0.92rem; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price { display: flex; flex-direction: column; padding: 32px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), oklch(0.175 0.02 264)); }
.price.featured { border-color: var(--line-bright); background: linear-gradient(180deg, oklch(0.23 0.035 266), oklch(0.18 0.025 266)); box-shadow: var(--shadow-md); position: relative; }
.price.featured::before { content: "Most popular"; position: absolute; top: -11px; left: 50%; transform: translateX(-50%); font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 12px; border-radius: 99px; background: var(--grad); color: #fff; }
.price .p-name { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--ink); }
.price .p-desc { color: var(--muted); font-size: 0.9rem; margin: 6px 0 18px; min-height: 2.6em; }
.price .p-price { font-family: var(--font-display); font-weight: 700; font-size: 2.2rem; color: var(--ink); letter-spacing: -0.03em; }
.price .p-price small { font-family: var(--font-body); font-weight: 500; font-size: 0.85rem; color: var(--muted); }
.price ul { list-style: none; margin: 20px 0; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.price ul li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; color: var(--ink-2); }
.price ul svg { width: 17px; height: 17px; flex: none; margin-top: 3px; color: var(--green); }

@media (max-width: 900px) {
  .prod-hero { grid-template-columns: 1fr; }
  .prod-hero-visual { order: -1; }
  .feature-row { grid-template-columns: 1fr; }
  .feature-row:nth-child(even) .fr-visual { order: 0; }
  .feat-cards, .sol-grid, .price-grid { grid-template-columns: 1fr; }
  .stat-band, .use-row { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: 1fr; }
  .featured-post { grid-template-columns: 1fr; }
  .featured-post .fp-visual { order: -1; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .stat-band, .use-row { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
}
