/* page-specific styles */
.hero { padding: 56px 0 80px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(900px 500px at 85% 5%, rgba(255,91,52,0.06), transparent 60%), radial-gradient(700px 400px at 5% 60%, rgba(10,31,61,0.04), transparent 60%); pointer-events: none; }
[data-theme="dark"] .hero::before { background: radial-gradient(900px 500px at 85% 5%, rgba(255,91,52,0.10), transparent 60%), radial-gradient(700px 400px at 5% 60%, rgba(244,184,96,0.05), transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center; position: relative; }
.kicker .dot { display: inline-block; width: 6px; height: 6px; border-radius: 999px; background: var(--accent); margin-right: 8px; vertical-align: middle; box-shadow: 0 0 0 4px rgba(255,91,52,0.15); }
.hero-title { margin-top: 28px; font-weight: 600; line-height: 0.98; }
.serif-italic { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; color: var(--accent); letter-spacing: -0.01em; }
.underline-accent { position: relative; white-space: nowrap; }
.underline-accent::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0.06em; height: 0.18em; background: var(--accent-warm); opacity: 0.45; z-index: -1; }
.hero-lead { margin-top: 28px; max-width: 540px; font-size: 18px; line-height: 1.55; color: var(--muted); }
.hero-ctas { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual { position: relative; height: 540px; }
.visual-grid { position: absolute; inset: 0; background-image: linear-gradient(to right, var(--line-2) 1px, transparent 1px), linear-gradient(to bottom, var(--line-2) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask: radial-gradient(circle at 50% 50%, black 0%, transparent 70%); mask: radial-gradient(circle at 50% 50%, black 0%, transparent 70%); opacity: 0.7; pointer-events: none; }
.visual-card { position: absolute; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 24px; box-shadow: 0 1px 0 rgba(10,31,61,0.04), 0 30px 80px -30px rgba(10,31,61,0.25); }
.visual-card--main { top: 30px; left: 0; right: 60px; z-index: 2; }
.vc-head { display: flex; align-items: center; gap: 8px; padding-bottom: 16px; border-bottom: 1px solid var(--line-2); }
.vc-dot { width: 8px; height: 8px; border-radius: 999px; background: #21C97A; box-shadow: 0 0 0 4px rgba(33,201,122,0.15); }
.vc-tag { margin-left: auto; font-size: 11px; font-weight: 500; background: rgba(255,91,52,0.1); color: var(--accent); padding: 4px 10px; border-radius: 999px; letter-spacing: 0.04em; }
.vc-headline { margin-top: 20px; font-size: 13px; color: var(--muted); }
.vc-stat { display: flex; align-items: baseline; gap: 12px; margin-top: 4px; }
.vc-num { font-family: var(--display); font-size: 46px; font-weight: 600; letter-spacing: -0.03em; }
.vc-delta { font-family: var(--mono); font-size: 12px; color: #21C97A; background: rgba(33,201,122,0.1); padding: 3px 8px; border-radius: 6px; }
.vc-chart { margin-top: 16px; height: 90px; }
.vc-chart svg { width: 100%; height: 100%; }
.vc-rows { margin-top: 8px; border-top: 1px solid var(--line-2); }
.vc-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; font-size: 13px; color: var(--muted); border-bottom: 1px solid var(--line-2); }
.vc-row b { color: var(--ink); font-family: var(--mono); font-weight: 500; }
.vc-row:last-child { border-bottom: none; }
.visual-card--side { bottom: 0; right: 0; width: 280px; z-index: 3; background: var(--navy); color: var(--on-navy); border-color: rgba(255,255,255,0.08); }
.vs-head { display: flex; align-items: center; gap: 8px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.vs-pill { background: var(--accent); color: white; font-family: var(--display); font-weight: 600; font-size: 12px; padding: 4px 10px; border-radius: 6px; letter-spacing: 0.04em; }
.vs-head .kicker { color: rgba(233,226,210,0.6) !important; margin-left: auto; }
.vs-rows { margin-top: 16px; display: flex; flex-direction: column; gap: 14px; }
.vs-row { position: relative; display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; background: rgba(255,255,255,0.04); border-radius: 8px; font-size: 12px; overflow: hidden; }
.vs-bar { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(90deg, rgba(244,184,96,0.25), rgba(244,184,96,0.05)); }
.vs-row span, .vs-row b { position: relative; z-index: 1; }
.vs-row b { font-family: var(--mono); font-weight: 500; }
.vs-foot { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.08); }
.vs-status { font-size: 12px; color: rgba(233,226,210,0.7); display: flex; align-items: center; gap: 8px; }
.vs-led { width: 6px; height: 6px; border-radius: 999px; background: #4ADE80; box-shadow: 0 0 0 4px rgba(74,222,128,0.2); }
.stats-strip { margin-top: 100px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 36px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; }
.stats-strip::before, .stats-strip::after { content: ''; position: absolute; left: 25%; top: 0; bottom: 0; width: 1px; background: var(--line); }
.stats-strip::after { left: 50%; }
.stats-strip .stat:nth-child(3) { border-left: 1px solid var(--line); padding-left: 32px; }
.stat-num { font-size: 56px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.stat-num span { color: var(--accent); font-weight: 500; }
.stat-label { margin-top: 10px; font-size: 13px; color: var(--muted); }
.products { background: var(--bg-alt); }
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.product-card { display: block; background: var(--bg); border: 1px solid var(--line); border-radius: 24px; padding: 36px; transition: transform .25s, box-shadow .25s, border-color .25s; position: relative; overflow: hidden; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -25px rgba(10,31,61,0.18); border-color: var(--ink); }
.product-card--esop { background: linear-gradient(135deg, var(--bg) 0%, rgba(255,91,52,0.04) 100%); }
.product-card--ess { background: linear-gradient(135deg, var(--bg) 0%, rgba(10,31,61,0.04) 100%); }
.pc-head { display: flex; align-items: center; gap: 16px; margin-bottom: 32px; }
.pc-mark { width: 56px; height: 56px; border-radius: 12px; background: var(--accent); color: white; font-family: var(--display); font-weight: 700; font-size: 20px; display: grid; place-items: center; letter-spacing: -0.02em; }
.pc-mark--alt { background: var(--navy); }
.pc-name { font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: -0.02em; }
.pc-tag { font-size: 12px; color: var(--muted); margin-top: 2px; letter-spacing: 0.04em; }
.pc-arrow { margin-left: auto; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 999px; display: grid; place-items: center; transition: all .2s; }
.pc-arrow svg { width: 14px; height: 14px; color: var(--ink); }
.product-card:hover .pc-arrow { background: var(--ink); border-color: var(--ink); }
.product-card:hover .pc-arrow svg { color: var(--bg); }
.pc-title { font-size: 30px; line-height: 1.1; margin-bottom: 16px; text-wrap: balance; }
.pc-body { color: var(--muted); font-size: 15px; line-height: 1.6; margin-bottom: 28px; max-width: 460px; }
.pc-list { list-style: none; padding: 0; margin: 0 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pc-list li { font-size: 14px; color: var(--ink-2); padding-left: 22px; position: relative; }
.pc-list li::before { content: ''; position: absolute; left: 0; top: 8px; width: 12px; height: 1px; background: var(--accent); }
.pc-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 24px; border-top: 1px solid var(--line); }
.pc-foot .kicker { color: var(--ink); font-weight: 500; }
.pc-foot svg { width: 14px; height: 14px; color: var(--ink); }
.why { padding: 120px 0; }
.why-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 100px; align-items: start; }
.why-left { position: sticky; top: 100px; }
.why .display .muted { color: var(--muted); font-style: italic; font-family: "Instrument Serif", Georgia, serif; font-weight: 400; }
.why-lead { margin-top: 24px; font-size: 17px; color: var(--muted); max-width: 460px; }
.why-ctas { margin-top: 32px; display: flex; gap: 12px; }
.why-right { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.why-item { display: grid; grid-template-columns: 80px 1fr; gap: 24px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.why-num { font-family: var(--mono); font-size: 13px; color: var(--accent); font-weight: 500; padding-top: 4px; }
.why-item h4 { font-size: 22px; margin-bottom: 8px; }
.why-item p { color: var(--muted); font-size: 15px; }
.resources { background: var(--bg-alt); }
.res-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; }
.res-card { display: block; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 28px; transition: all .2s; }
.res-card:hover { transform: translateY(-2px); border-color: var(--ink); }
.res-card--feature { padding: 0; display: flex; flex-direction: column; overflow: hidden; }
.res-img { height: 280px; display: grid; place-items: center; position: relative; overflow: hidden; }
.res-img--1 { background: repeating-linear-gradient(135deg, rgba(255,91,52,0.06), rgba(255,91,52,0.06) 2px, transparent 2px, transparent 14px), linear-gradient(135deg, var(--navy), var(--navy-2)); color: white; }
.res-glyph { font-family: var(--display); font-weight: 700; font-size: 96px; letter-spacing: -0.04em; background: linear-gradient(135deg, var(--accent-warm), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.res-body { padding: 28px; }
.res-body h3 { font-size: 28px; margin: 12px 0 12px; line-height: 1.15; }
.res-body p { color: var(--muted); }
.res-col { display: flex; flex-direction: column; gap: 24px; }
.res-col .res-card { display: flex; flex-direction: column; gap: 12px; }
.res-col .res-card h4 { font-size: 18px; line-height: 1.3; }
.res-link { font-family: var(--mono); font-size: 12px; color: var(--accent); margin-top: auto; letter-spacing: 0.04em; }
.cta-section { padding: 80px 0 120px; }
.cta-card { position: relative; border-radius: 28px; background: var(--navy); color: var(--on-navy); overflow: hidden; isolation: isolate; }
.cta-bg { position: absolute; inset: 0; background: radial-gradient(600px 300px at 90% 20%, rgba(255,91,52,0.3), transparent 60%), radial-gradient(500px 280px at 10% 80%, rgba(244,184,96,0.18), transparent 60%); z-index: 0; }
.cta-bg::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px); background-size: 56px 56px; }
.cta-inner { position: relative; z-index: 1; padding: 88px 64px; max-width: 720px; }
.cta-title { font-size: clamp(36px, 4.4vw, 60px); margin: 16px 0 24px; color: white; text-wrap: balance; }
.cta-lead { font-size: 18px; color: rgba(233,226,210,0.75); max-width: 540px; margin-bottom: 36px; }
.cta-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-ghost { background: transparent; color: white; border: 1px solid rgba(255,255,255,0.2); }
.cta-ghost:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.35); }
/* sub-pages */
.sub-hero { padding: 96px 0 64px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.sub-hero::before { content: ''; position: absolute; top: 0; right: 0; width: 60%; height: 100%; background: radial-gradient(600px 400px at 80% 30%, rgba(255,91,52,0.05), transparent 70%); pointer-events: none; }
.sub-hero .eyebrow { margin-bottom: 16px; }
.sub-hero h1 { font-size: clamp(40px, 5vw, 72px); max-width: 900px; text-wrap: balance; }
.sub-hero .lead { margin-top: 24px; max-width: 640px; font-size: 19px; color: var(--muted); }
.about-mission { padding: 100px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: start; }
.about-grid .eyebrow { margin-bottom: 16px; }
.about-grid h2 { font-size: clamp(28px, 3vw, 42px); }
.about-grid .body p { font-size: 17px; line-height: 1.65; color: var(--ink-2); margin-bottom: 20px; }
.about-grid .body p:first-child::first-letter { font-family: "Instrument Serif", Georgia, serif; font-size: 4em; float: left; line-height: 0.9; margin-right: 12px; margin-top: 6px; color: var(--accent); }
.timeline { background: var(--bg-alt); padding: 100px 0; }
.timeline-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 48px; border-top: 1px solid var(--line); padding-top: 40px; }
.timeline-item h3 { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--accent); margin-bottom: 12px; }
.timeline-item h4 { font-size: 22px; margin-bottom: 10px; }
.timeline-item p { color: var(--muted); font-size: 14px; }
.values { padding: 100px 0; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.value-card { border: 1px solid var(--line); border-radius: 16px; padding: 36px; background: var(--bg); }
.value-num { font-family: var(--display); font-weight: 600; font-size: 32px; color: var(--accent); margin-bottom: 16px; }
.value-card h4 { font-size: 22px; margin-bottom: 12px; }
.value-card p { color: var(--muted); }
.product-hero { padding: 80px 0 64px; }
.product-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.product-tag { display: inline-flex; align-items: center; gap: 10px; background: var(--bg-alt); padding: 8px 14px; border-radius: 999px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--ink); }
.product-tag .pc-mark { width: 24px; height: 24px; font-size: 11px; border-radius: 6px; }
.product-hero h1 { font-size: clamp(44px, 5vw, 72px); margin-top: 24px; }
.product-hero .lead { font-size: 19px; color: var(--muted); margin-top: 24px; max-width: 520px; }
.product-hero .ctas { margin-top: 36px; display: flex; gap: 12px; }
.product-mock { background: var(--bg-alt); border-radius: 20px; padding: 24px; border: 1px solid var(--line); }
.mock-bar { display: flex; align-items: center; gap: 8px; padding: 0 8px 16px; border-bottom: 1px solid var(--line); }
.mock-bar .dot { width: 10px; height: 10px; border-radius: 999px; }
.mock-bar .d1 { background: #ff5f57; } .mock-bar .d2 { background: #febc2e; } .mock-bar .d3 { background: #28c840; }
.mock-bar .url { margin-left: 16px; font-family: var(--mono); font-size: 12px; color: var(--muted); background: var(--bg); padding: 4px 12px; border-radius: 6px; }
.features { padding: 100px 0; background: var(--bg-alt); }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.feat-card { background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 32px; }
.feat-icon { width: 44px; height: 44px; background: var(--bg-alt); border-radius: 10px; display: grid; place-items: center; margin-bottom: 20px; font-family: var(--display); font-weight: 600; color: var(--accent); }
.feat-card h4 { font-size: 19px; margin-bottom: 10px; }
.feat-card p { color: var(--muted); font-size: 15px; }
.res-page-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 80px 0 100px; }
.res-page-card { background: var(--bg); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: all .2s; }
.res-page-card:hover { transform: translateY(-2px); border-color: var(--ink); }
.res-page-img { height: 200px; display: grid; place-items: center; font-family: var(--display); font-size: 64px; font-weight: 700; letter-spacing: -0.04em; background: var(--navy); color: white; }
.res-page-img.gold { background: linear-gradient(135deg, #1A3160, #0A1F3D); color: var(--accent-warm); }
.res-page-img.orange { background: linear-gradient(135deg, var(--accent), #FF7A4A); color: white; }
.res-page-img.cream { background: var(--bg-alt); color: var(--navy); }
.res-page-body { padding: 24px; flex: 1; display: flex; flex-direction: column; gap: 12px; }
.res-page-body h3 { font-size: 20px; line-height: 1.25; }
.res-page-body p { color: var(--muted); font-size: 14px; }
.res-page-body .res-link { margin-top: auto; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; padding: 64px 0 120px; }
.contact-info h2 { font-size: clamp(32px, 3.5vw, 48px); }
.contact-block { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.contact-block h4 { font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 12px; }
.contact-block p { font-size: 17px; }
.contact-block a { color: var(--accent); }
.form-card { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 20px; padding: 40px; }
.form-card h3 { font-size: 22px; margin-bottom: 24px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 8px; color: var(--ink); }
.field input, .field textarea, .field select { width: 100%; padding: 12px 14px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; font-family: inherit; font-size: 15px; color: var(--ink); transition: border-color .15s; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); }
.field textarea { min-height: 100px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.demo-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; padding: 64px 0 120px; align-items: start; }
.demo-pitch h2 { font-size: clamp(36px, 4vw, 56px); margin-bottom: 24px; text-wrap: balance; }
.demo-pitch p { color: var(--muted); font-size: 17px; max-width: 480px; }
.demo-bullets { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-direction: column; gap: 16px; }
.demo-bullets li { display: flex; gap: 14px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.demo-bullets .num { font-family: var(--mono); font-size: 12px; color: var(--accent); font-weight: 500; flex-shrink: 0; padding-top: 4px; }
.demo-bullets b { display: block; margin-bottom: 4px; font-family: var(--display); font-weight: 600; font-size: 16px; }
.demo-bullets span { color: var(--muted); font-size: 14px; }
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 480px; margin-top: 24px; }
  .why-grid { grid-template-columns: 1fr; gap: 48px; }
  .why-left { position: static; }
  .product-grid { grid-template-columns: 1fr; }
  .res-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .about-grid, .product-hero-grid, .contact-grid, .demo-grid { grid-template-columns: 1fr; gap: 48px; }
  .timeline-list, .values-grid, .feat-grid, .res-page-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .stats-strip { grid-template-columns: 1fr 1fr; gap: 24px; }
  .stats-strip::before, .stats-strip::after { display: none; }
  .stats-strip .stat:nth-child(3) { border-left: none; padding-left: 0; }
  .pc-list { grid-template-columns: 1fr; }
  .cta-inner { padding: 56px 28px; }
  .visual-card--main { right: 24px; }
  .visual-card--side { width: 240px; right: 0; }
}

/* Required by Ghost's Koenig editor so wide/full-bleed images in post/page content render correctly */
.kg-width-wide { width: 100%; max-width: 1040px; margin-left: auto; margin-right: auto; }
.kg-width-full { width: 100%; max-width: none; }
