/* Summit Assist marketing site — one shared stylesheet for every page.
   Colors live in the variables below. Change a color here and it changes everywhere. */

:root {
  /* Brand colors (green and mint) */
  --bg: #0B1512;            /* page background */
  --band: #12221C;          /* alternate section background */
  --surface: #0E1A16;       /* cards, panels */
  --surface-deep: #0A1411;  /* darker cards */
  --line: #1F3029;          /* borders */
  --line-2: #24352E;
  --line-3: #2A3F36;
  --text: #E8F0EC;          /* headings and main text */
  --muted: #A3B4AB;         /* body copy */
  --muted-2: #7E9187;       /* labels */
  --mint: #7CF5C4;          /* accent */
  --on-mint: #06110D;       /* text on mint */
  --light: #EEF3F0;         /* light (FAQ) band */
  --light-text: #17211B;

  /* Supporting shades from the mockups */
  --header-line: #1A2924;
  --section-line: #22362D;
  --dot: #1F3229;
  --arrow: #3E564B;
  --number: #6F8379;
  --list-text: #D3DED8;
  --pill-line: #24443A;
  --pill-bg: #0C1A15;
  --chat-dark: #12201B;
  --light-line: #D3DDD7;
  --light-body: #3A4A40;
  --light-label: #3F5A4D;

  --font: Geist, Inter, system-ui, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, monospace;
  --max: 1200px;
  --gutter: 32px;
  --section-y: 96px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
img, svg { max-width: 100%; }
a:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 4px; }
[id] { scroll-margin-top: 16px; }

.container { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.stack { display: flex; flex-direction: column; }

/* ---------- Type ---------- */
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mint); }
.h1 { font-size: clamp(40px, 8vw, 64px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 700; }
.h2 { font-size: clamp(30px, 6vw, 42px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 700; }
.lead { font-size: 18px; line-height: 1.6; color: var(--muted); }
.lead--lg { font-size: 19px; }
.muted { color: var(--muted-2); }
.mint { color: var(--mint); }

/* ---------- Buttons ---------- */
.btn { display: inline-block; text-decoration: none; font-weight: 600; border-radius: 10px; padding: 15px 24px; font-size: 16px; text-align: center; }
.btn--primary { background: var(--mint); color: var(--on-mint); }
.btn--ghost { background: var(--surface); color: var(--text); font-weight: 500; border: 1px solid var(--line-2); }
.btn--sm { padding: 11px 18px; border-radius: 8px; font-size: 14px; }
.btn--md { padding: 12px 20px; font-size: 15px; }
.btn--lg { padding: 17px 26px; font-size: 17px; }
.btn--primary:hover { filter: brightness(1.06); }
.btn--ghost:hover { border-color: var(--line-3); }

/* ---------- Header (shared, see partials/header.html) ---------- */
.site-header { border-bottom: 1px solid var(--header-line); }
.site-header__inner { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); margin-right: auto; }
.brand__name { font-weight: 600; font-size: 19px; letter-spacing: -0.01em; }
.brand__name span { color: var(--mint); }
.nav { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; font-size: 14px; font-weight: 500; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--text); }
.nav a[aria-current="page"] { color: var(--text); border-bottom: 2px solid var(--mint); padding-bottom: 4px; }

/* ---------- Footer (shared, see partials/footer.html) ---------- */
.site-footer { padding-top: 40px; padding-bottom: 64px; }
.site-footer__inner { max-width: 1136px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; font-size: 14px; color: var(--muted-2); }
.site-footer a { text-decoration: underline; text-decoration-color: var(--line-3); text-underline-offset: 3px; }
.site-footer a:hover { color: var(--text); }

/* ---------- Sections ---------- */
.section { padding-top: var(--section-y); padding-bottom: var(--section-y); }
.band { background: var(--band); }
.dotted { border-top: 1px solid var(--section-line); background-color: var(--bg); background-image: radial-gradient(var(--dot) 1.3px, transparent 1.3px); background-size: 22px 22px; }
.section-head { display: flex; flex-direction: column; gap: 14px; }
.section-head--narrow { gap: 12px; max-width: 680px; }

/* Jagged ridgeline divider between sections */
.ridge { background: var(--bg); line-height: 0; }
.ridge svg { display: block; width: 100%; height: 90px; }
.ridge__fill { fill: var(--band); }
.ridge--to-light .ridge__fill { fill: var(--light); }
.ridge__line { fill: none; stroke: var(--mint); stroke-opacity: 0.45; stroke-width: 1.5; }

/* ---------- Hero (landing page) ---------- */
.hero { background: radial-gradient(ellipse 70% 70% at 78% 5%, #7CF5C424, transparent 70%), var(--bg); }
.hero__inner { padding-top: 88px; padding-bottom: 104px; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.hero__copy { flex: 1 1 500px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.hero__copy .lead { max-width: 540px; }
.pill { align-self: flex-start; font-size: 14px; font-weight: 500; color: var(--mint); border: 1px solid var(--pill-line); background: var(--pill-bg); padding: 7px 14px; border-radius: 999px; }
.h1 .soft { color: var(--muted-2); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 6px; }
.hero__art { flex: 1 1 420px; min-width: 0; display: flex; justify-content: center; }

/* Sample chat window (a static picture, not a working widget) */
.chat { width: 100%; max-width: 440px; background: #FFFFFF; color: var(--light-text); border-radius: 16px; box-shadow: 0 0 0 1px var(--mint), 0 30px 80px rgba(0,0,0,0.55); overflow: hidden; }
.chat__top { padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--chat-dark); color: var(--text); }
.chat__who { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.chat__status { font-size: 13px; color: var(--mint); white-space: nowrap; }
.chat__body { padding: 20px 18px; display: flex; flex-direction: column; gap: 12px; font-size: 15px; line-height: 1.5; }
.bubble { padding: 10px 14px; }
.bubble--me { align-self: flex-end; max-width: 80%; background: var(--chat-dark); color: #FFFFFF; border-radius: 12px 12px 4px 12px; }
.bubble--bot { align-self: flex-start; max-width: 86%; background: var(--light); color: var(--light-text); border-radius: 12px 12px 12px 4px; }
.chat__actions { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 4px; }
.chat__btn { text-decoration: none; font-size: 14px; font-weight: 600; padding: 10px 14px; border-radius: 8px; }
.chat__btn--primary { background: var(--mint); color: var(--on-mint); }
.chat__btn--outline { color: var(--light-text); border: 1px solid var(--light-text); }
.chat__foot { border-top: 1px solid #E1E8E4; padding: 12px 18px; font-size: 13px; color: #56675E; }

/* ---------- "A tool, not a replacement" ---------- */
.intro { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.intro__head { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.intro__text { flex: 1 1 420px; min-width: 0; font-size: 18px; line-height: 1.7; color: var(--muted); padding-top: 34px; }

/* Three uses */
.uses-wrap { padding-bottom: var(--section-y); }
.uses { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--line-3); gap: 1px; }
.use { background: var(--surface-deep); padding: 36px; display: flex; flex-direction: column; gap: 14px; }
.use__num { font-family: var(--font-mono); font-size: 13px; color: var(--number); }
.use h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.use p { font-size: 16px; line-height: 1.6; color: var(--muted); }

/* ---------- How it works ---------- */
.how { border-bottom: 1px solid var(--header-line); }
.how__inner { display: flex; flex-direction: column; gap: 44px; }
.how .lead { max-width: 640px; }
.flow { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; }
.flow__arrow { display: flex; align-items: center; justify-content: center; color: var(--arrow); font-size: 22px; }
.card { border: 1px solid var(--line-2); background: var(--surface); border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.card--accent { border-color: var(--mint); }
.card__label { font-size: 13px; font-weight: 500; color: var(--muted-2); }
.card--accent .card__label { color: var(--mint); }
.card__title { font-size: 17px; font-weight: 600; }
.card__text { font-size: 14px; color: var(--muted); line-height: 1.5; }
.flow .card { flex: 1 1 200px; min-width: 0; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 32px; padding-top: 8px; }
.steps p { font-size: 15px; line-height: 1.6; color: var(--muted); }
.steps b { color: var(--text); font-weight: 600; }

/* ---------- Pricing ---------- */
.pricing { background: radial-gradient(ellipse 55% 45% at 50% 70%, #7CF5C41C, transparent 70%); }
.pricing__inner { display: flex; flex-direction: column; gap: 40px; }
.price-card { background: var(--surface); border: 1px solid var(--mint); border-radius: 18px; overflow: hidden; }
.price-card__row { display: flex; flex-wrap: wrap; align-items: stretch; }
.price-card__col { flex: 1 1 320px; min-width: 0; padding: 40px; display: flex; flex-direction: column; gap: 12px; }
.price-card__label { font-size: 14px; font-weight: 500; color: var(--muted-2); }
.price-card__label--mint { color: var(--mint); }
.price { font-size: 52px; font-weight: 700; letter-spacing: -0.03em; }
.price small { font-size: 20px; font-weight: 500; color: var(--muted); }
.price-card__col p:last-child { font-size: 16px; line-height: 1.6; color: var(--muted); }
.price-card__plus { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; padding: 0 8px; }
.plus-dot { width: 48px; height: 48px; border-radius: 50%; border: 1px solid #2E4239; background: var(--bg); display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 500; color: var(--mint); }
.price-card__foot { border-top: 1px solid var(--line-2); padding: 20px 40px; display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; align-items: center; font-size: 16px; color: var(--muted); }
.price-card__foot strong { color: var(--text); font-weight: 600; }

/* ---------- FAQ (light band) ---------- */
.faq { background: var(--light); color: var(--light-text); }
.faq__inner { padding-top: 72px; padding-bottom: 104px; display: flex; flex-wrap: wrap; gap: 48px; }
.faq__head { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.faq__head .eyebrow { color: var(--light-label); }
.faq__list { flex: 2 1 520px; min-width: 0; display: flex; flex-direction: column; }
.faq__item { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--light-line); padding: 24px 0; }
.faq__item:last-child { border-bottom: 1px solid var(--light-line); }
.faq__item h3 { font-size: 18px; font-weight: 600; }
.faq__item p { font-size: 16px; line-height: 1.65; color: var(--light-body); }

/* ---------- Call-to-action band (bottom of every page) ---------- */
.cta { padding: 96px var(--gutter) 0; }
.cta__box { box-sizing: content-box; max-width: 1136px; margin: 0 auto; background: linear-gradient(135deg, #7CF5C433, var(--surface) 60%); border: 1px solid #7CF5C466; border-radius: 20px; padding: 56px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.cta__copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.cta__copy h2 { font-size: clamp(28px, 5.5vw, 38px); line-height: 1.12; letter-spacing: -0.03em; font-weight: 700; }
.cta__copy p { font-size: 17px; line-height: 1.6; color: var(--muted); }

/* ---------- Services page ---------- */
.page-hero { background: radial-gradient(ellipse 70% 80% at 20% 0%, #7CF5C422, transparent 70%), var(--bg); }
.page-hero__inner { padding-top: 96px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 22px; }
.page-hero .h1 { font-size: clamp(36px, 7.5vw, 60px); line-height: 1.04; max-width: 860px; }
.page-hero .lead { max-width: 640px; }

.core { padding-bottom: 88px; }
.core__card { background: var(--surface); border: 1px solid var(--mint); border-radius: 20px; padding: 44px; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.core__copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.badge { align-self: flex-start; font-size: 13px; font-weight: 600; color: var(--on-mint); background: var(--mint); padding: 6px 12px; border-radius: 999px; }
.core__copy h2 { font-size: clamp(30px, 5.5vw, 36px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 700; }
.core__copy > p { font-size: 17px; line-height: 1.6; color: var(--muted); }
.checks { display: flex; flex-direction: column; gap: 10px; font-size: 16px; color: var(--list-text); }
.checks > span { display: flex; gap: 10px; align-items: flex-start; }
.checks svg { flex: none; margin-top: 2px; }
.checks b { color: var(--text); }
.core__price { flex: 0 1 358px; min-width: 0; display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line-2); }
.core__price .price { font-size: 40px; }
.core__price .price small { font-size: 18px; }
.core__price .btn { padding: 14px 20px; }

.services__inner { padding-top: 72px; padding-bottom: 104px; display: flex; flex-direction: column; gap: 40px; }
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 20px; }
.service { background: var(--bg); border: 1px solid var(--line-3); border-radius: 18px; padding: 34px; display: flex; flex-direction: column; gap: 16px; }
.service__title { display: flex; flex-direction: column; gap: 6px; }
.service h3 { font-size: 24px; font-weight: 600; letter-spacing: -0.01em; }
.service__price { font-size: 15px; color: var(--mint); font-weight: 500; }
.service > p { font-size: 16px; line-height: 1.6; color: var(--muted); }
.service ul { list-style: none; margin: 0; padding: 16px 0 0; border-top: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.5; color: var(--list-text); }
.service li { padding-left: 0.7em; text-indent: -0.7em; }
.service li::before { content: "· "; }

.journey__inner { display: flex; flex-direction: column; gap: 40px; }
.journey { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 12px; }
.journey .card { border-radius: 14px; padding: 24px; gap: 10px; }
.journey .card__title { font-size: 20px; }
.journey .card__text { font-size: 15px; }

/* ---------- Contact page ---------- */
.contact { padding-top: 96px; padding-bottom: 32px; display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.contact__intro { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.contact__intro .h1 { font-size: clamp(36px, 7vw, 56px); line-height: 1.04; }
.contact__where { font-size: 15px; color: var(--muted-2); }
.contact-form { flex: 1 1 520px; min-width: 0; background: var(--surface); border: 1px solid var(--mint); border-radius: 20px; padding: 36px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 500; color: var(--text); }
.optional { color: var(--muted-2); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--text); background: var(--bg); border: 1px solid var(--line-3); border-radius: 10px; padding: 12px 14px; }
.field textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.field select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23A3B4AB' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.field input::placeholder { color: #5A6E64; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--mint); box-shadow: 0 0 0 3px #7CF5C42E; }
.field [aria-invalid="true"] { border-color: #F59E9E; }
.field--trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form__foot { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; padding-top: 4px; }
.contact-form button { border: 0; cursor: pointer; font-family: inherit; }
.contact-form button:disabled { opacity: 0.7; cursor: wait; }
.contact-form button:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
.form-status { font-size: 15px; color: var(--muted); }
.form-status:empty { display: none; }
.form-status[data-kind="error"] { color: #F5B3B3; }
.form-thanks { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 10px; padding: 24px 0; }
.form-thanks h2 { font-size: 26px; letter-spacing: -0.02em; }
.form-thanks p { font-size: 17px; color: var(--muted); }

/* ---------- Blog ---------- */
.blog-hero__inner { padding-top: 96px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 22px; }
.blog-hero .lead { max-width: 640px; }
.post-list { padding-bottom: 32px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: 20px; }
.post-card { background: var(--surface); border: 1px solid var(--line-3); border-radius: 18px; padding: 30px; display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: var(--text); }
.post-card:hover { border-color: var(--mint); }
.post-card h2 { font-size: 24px; line-height: 1.2; letter-spacing: -0.015em; font-weight: 600; }
.post-card p { font-size: 16px; line-height: 1.6; color: var(--muted); }
.post-card__more { font-size: 15px; font-weight: 600; color: var(--mint); margin-top: auto; padding-top: 4px; }
.post-meta { font-size: 14px; color: var(--muted-2); }

.post { max-width: 720px; margin: 0 auto; padding: 80px var(--gutter) 32px; box-sizing: content-box; }
.post__head { display: flex; flex-direction: column; gap: 18px; padding-bottom: 36px; border-bottom: 1px solid var(--line-2); margin-bottom: 36px; }
.post__head .h1 { font-size: clamp(34px, 6.5vw, 52px); line-height: 1.06; }
.post__back { font-size: 14px; font-weight: 500; color: var(--mint); text-decoration: none; align-self: flex-start; }
.prose { font-size: 18px; line-height: 1.75; color: #C6D3CC; }
.prose > * + * { margin-top: 20px; }
.prose h2 { font-size: 28px; line-height: 1.2; letter-spacing: -0.02em; font-weight: 700; color: var(--text); margin-top: 44px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose ul { padding-left: 22px; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--mint); }
.prose a { color: var(--mint); }
.post__cta { margin-top: 48px; padding: 28px; border-radius: 16px; border: 1px solid #7CF5C466; background: linear-gradient(135deg, #7CF5C426, var(--surface) 60%); display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.post__cta p { font-size: 18px; font-weight: 600; color: var(--text); }

/* ---------- Tablet and phone ---------- */
@media (max-width: 900px) {
  /* "How it works" flow: stack the cards and point the arrows down */
  .flow { flex-direction: column; }
  .flow .card { flex: none; }
  .flow__arrow { transform: rotate(90deg); line-height: 1; }
  .flow__arrow--plus { transform: none; }
}

@media (max-width: 720px) {
  :root { --gutter: 20px; --section-y: 64px; }

  /* Header: logo and "Book a demo" on top, page links on their own row */
  .site-header__inner { gap: 14px 16px; padding-top: 14px; padding-bottom: 14px; }
  .site-header .btn { order: 2; }
  .nav { order: 3; width: 100%; justify-content: space-between; gap: 12px; }

  .hero__inner { padding-top: 48px; padding-bottom: 64px; gap: 44px; }
  .hero__copy { gap: 22px; }
  .lead, .lead--lg, .intro__text { font-size: 17px; }
  .intro { gap: 20px; }
  .intro__text { padding-top: 0; }
  .use { padding: 28px 24px; }
  .how__inner { gap: 32px; }

  .price-card__col { padding: 28px 24px; }
  .price-card__plus { flex-basis: 100%; padding: 0; }
  .price { font-size: 44px; }
  .price-card__foot { padding: 20px 24px; }

  .faq__inner { padding-top: 48px; padding-bottom: 72px; gap: 24px; }

  .cta { padding-top: 64px; }
  .cta__box { padding: 32px 24px; gap: 24px; }
  .cta__box .btn { width: 100%; }

  .page-hero__inner { padding-top: 56px; padding-bottom: 48px; }
  .core { padding-bottom: 64px; }
  .core__card { padding: 28px 24px; gap: 28px; }
  .core__price { flex-basis: 100%; padding: 24px; }
  .services__inner { padding-top: 48px; padding-bottom: 72px; }
  .service { padding: 28px 24px; }

  .ridge svg { height: 56px; }
  .site-footer { padding-bottom: 48px; }

  .contact { padding-top: 48px; gap: 36px; }
  .contact-form { grid-template-columns: 1fr; padding: 24px 20px; gap: 18px; }
  .contact-form .btn { width: 100%; }

  .blog-hero__inner { padding-top: 56px; padding-bottom: 36px; }
  .post-card { padding: 24px 20px; }
  .post { padding-top: 48px; }
  .prose { font-size: 17px; }
  .post__cta .btn { width: 100%; }
}

@media (max-width: 400px) {
  .h1 { font-size: 38px; }
  .btn-row .btn { flex: 1 1 100%; }
}
