/* Canyon Insights , site styles. Brand tokens live in tokens.css. */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-sans); color: var(--text); background: var(--paper); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--ember); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 12px; }
h1 { font-size: clamp(38px, 5vw, 56px); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(28px, 3.4vw, 38px); font-weight: 800; }
h3 { font-size: 21px; font-weight: 700; }
p { margin: 0 0 16px; }
.lede { font-size: 19px; line-height: 1.6; color: #3A4757; max-width: 62ch; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ember); margin-bottom: 12px; }
section { padding: 72px 0; }
section.tint { background: var(--sand); }
section.dark { background: var(--ink); color: var(--on-dark); }
section.dark h2, section.dark h3 { color: #fff; }
section.dark p, section.dark li { color: var(--on-dark-dim); }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

/* Header: 68px sticky ink bar, per brand guidelines */
header.site { position: sticky; top: 0; z-index: 50; background: var(--ink); border-bottom: 1px solid var(--ink-soft); }
header.site .wrap { display: flex; align-items: center; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; margin-right: 20px; }
.brand svg { display: block; }
.wordmark { font-weight: 800; font-size: 19px; letter-spacing: -0.04em; color: #fff; white-space: nowrap; line-height: 1; }
.wordmark .wm-e { color: var(--ember); }
.nav-links { display: flex; margin-left: auto; margin-right: 20px; flex-shrink: 0; }
.nav-links a { color: #fff; text-decoration: none; font-size: 15px; font-weight: 500; white-space: nowrap; margin-right: 22px; }
.nav-links a:last-child { margin-right: 0; }
.nav-links a:hover { color: var(--ember); }
.nav-links a.active { color: var(--ember); }
.btn { display: inline-block; padding: 13px 26px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; border: none; line-height: 1.2; }
.btn-ember { background: var(--ember); color: #fff; }
.btn-ember:hover { background: var(--ember-dark); color: #fff; }
.btn-outline { border: 2px solid var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--ink); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--sand); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-block { display: block; text-align: center; }
header.site .btn { flex-shrink: 0; }

/* Hero */
.hero { background: var(--ink); color: #fff; padding: 76px 0 84px; }
.hero h1 { color: #fff; }
.hero h1 .hl { color: var(--ember); }
.hero .lede { color: var(--on-dark-dim); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.hero-ctas { display: flex; flex-wrap: wrap; margin: 26px 0 14px; }
.hero-ctas .btn { margin: 0 14px 10px 0; }
.hero-micro { font-size: 14px; color: var(--on-dark-faint); margin: 0; }
.hero-micro b { color: var(--on-dark-dim); }

/* Browser-frame dashboard shot */
.browser-frame { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,0.35); }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #EDF0F4; }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #C6CEDA; display: block; }
.browser-bar i:first-child { background: #E4572E; }
.browser-bar span { font-size: 12px; color: var(--muted); margin-left: 8px; font-family: var(--font-mono); }
.browser-frame img { display: block; width: 100%; }

/* Sample briefing card */
.brief { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-card); padding: 22px 24px; margin-top: 20px; color: var(--text); }
.brief-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.brief-head h3 { margin: 0; font-size: 17px; }
.brief-tag { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ember); background: var(--ember-soft); border-radius: 999px; padding: 4px 10px; }
.brief-rows { margin-top: 14px; border-top: 1px solid var(--line); }
.brief-row { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.brief-row:last-child { border-bottom: none; }
.brief-row .k { color: var(--muted); }
.brief-row .v { font-weight: 700; color: var(--ink); white-space: nowrap; }
.brief-row .v .up { color: #1E7A4C; font-weight: 700; }
.brief-note { font-size: 14px; color: var(--muted); margin: 12px 0 0; }
.brief-note b { color: var(--ink); }

/* Stat band */
.stats { background: var(--sand); padding: 44px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat b { display: block; font-size: 34px; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.stat span { font-size: 14px; color: var(--muted); }

/* Gateway row */
.gateways { padding: 56px 0; }
.gw-label { text-align: center; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.gw-row { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; }
.gw-row .gw { margin: 0 24px 12px; }
.gw { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.gw img { height: 40px; width: auto; max-width: 180px; object-fit: contain; }
.gw .gw-soon { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ember); background: var(--ember-soft); border-radius: 999px; padding: 3px 9px; }
.gw .gw-live { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #1E7A4C; }
.gw-text { font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.25; text-align: center; }
.gw-text small { display: block; font-size: 13px; font-weight: 500; color: var(--muted); }
.gw-note { text-align: center; font-size: 14px; color: var(--muted); margin-top: 22px; }

/* Feature grid */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; font-size: 15.5px; color: #3A4757; }
.card .num { font-size: 13px; font-weight: 800; color: var(--ember); letter-spacing: 0.08em; }
.tint .card { border-color: #E8DFCE; }

/* Split section (CSV vs dashboard) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow-card); display: block; width: 100%; }
.split .cap { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-top: 12px; text-align: center; }
.checks { list-style: none; padding: 0; margin: 20px 0 0; }
.checks li { padding: 9px 0 9px 34px; position: relative; font-size: 16px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 11px; width: 20px; height: 20px; background: var(--ember) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l4 4L16 6' stroke='%23fff' stroke-width='2.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; border-radius: 50%; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { border-top: 3px solid var(--ember); padding-top: 18px; }
.step b.num { font-size: 15px; font-weight: 800; color: var(--ember); }
.step h3 { margin: 8px 0; }
.step p { margin: 0; font-size: 15.5px; color: #3A4757; }

/* Pricing */
.price-hero { text-align: center; max-width: 720px; margin: 0 auto; }
.price-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); margin: 32px 0 8px; }
.price-table th, .price-table td { padding: 18px 22px; text-align: left; font-size: 16px; }
.price-table thead th { background: var(--ink); color: #fff; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; }
.price-table tbody tr { border-top: 1px solid var(--line); }
.price-table td.price { font-size: 26px; font-weight: 800; color: var(--ink); white-space: nowrap; }
.price-table td.price small { font-size: 14px; font-weight: 500; color: var(--muted); }
.price-table tr.hl td { background: var(--ember-soft); }
.price-note { font-size: 14px; color: var(--muted); text-align: center; }
.include-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.include { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; }
.include::before { content: ""; flex-shrink: 0; width: 20px; height: 20px; margin-top: 3px; background: var(--ember) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l4 4L16 6' stroke='%23fff' stroke-width='2.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; border-radius: 50%; }

/* CTA band */
.cta-band { background: var(--ember); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #FDEEE7; }
.cta-band .lede { margin-left: auto; margin-right: auto; }

/* FAQ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq-item h3 { font-size: 19px; margin-bottom: 8px; }
.faq-item p, .faq-item li { font-size: 16px; color: #3A4757; }
.faq-item ul { margin: 8px 0 0; padding-left: 20px; }
.faq-item p:last-child { margin-bottom: 0; }

/* Forms placeholder */
.form-slot { border: 2px dashed var(--line); border-radius: var(--radius); padding: 40px 28px; text-align: center; background: var(--sand); }
.form-slot h3 { margin-bottom: 8px; }
.form-slot p { margin: 0 auto 16px; max-width: 52ch; color: var(--muted); }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }

/* Blog */
.post-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.post-card { display: block; text-decoration: none; }
.post-card h3 { color: var(--ink); }
.post-card p { color: #3A4757; }
.post-card:hover h3 { color: var(--ember); }
.post-card .more { font-weight: 700; color: var(--ember); font-size: 15px; }
.article { max-width: 760px; margin: 0 auto; }
.article h2 { font-size: 26px; margin-top: 36px; }
.article p { font-size: 17.5px; }
.article ul { font-size: 17px; line-height: 1.7; }
.article .byline { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.article .back { display: inline-block; margin-bottom: 24px; font-weight: 700; text-decoration: none; font-size: 15px; }

/* Legal */
.legal h2 { font-size: 20px; margin-top: 32px; text-transform: uppercase; letter-spacing: 0.04em; }
.legal p { font-size: 15.5px; }

/* Footer */
footer.site { background: var(--ink); color: var(--on-dark-dim); padding: 56px 0 32px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot-grid h4 { color: #fff; font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; margin: 0 0 14px; }
.foot-grid a { color: var(--on-dark-dim); text-decoration: none; display: block; padding: 4px 0; font-size: 15px; }
.foot-grid a:hover { color: #fff; }
.foot-brand p { font-size: 15px; max-width: 42ch; }
.foot-bottom { border-top: 1px solid var(--ink-soft); margin-top: 40px; padding-top: 24px; font-size: 13.5px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot-bottom a { color: var(--on-dark-dim); }

/* 404 */
.err { text-align: center; padding: 110px 0; }
.err h1 { font-size: 90px; }

/* Responsive */
@media screen and (max-width: 900px) {
  .hero-grid, .split, .grid-3, .steps, .include-grid { grid-template-columns: 1fr; }
  .grid-2, .post-grid, .contact-cards { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .nav-links { display: none; }
  header.site .wrap { gap: 16px; }
  header.site .btn { margin-left: auto; }
  section { padding: 52px 0; }
  .gw-row { gap: 28px; }
}
