/* Startline Consulting — site styles
   Layout: dark dot-grid bands alternate with white and mint sections; emerald diagonal corners echo the logo. */
:root {
  --ink: #052E25;
  --deep: #0A3A2F;
  --mid: #0E6B4F;
  --em: #34D399;
  --em-hi: #6EE7B7;
  --mint: #F3F7F2;
  --mint-2: #E6F4EC;
  --line: #CFE0D6;
  --muted: #3E5C51;
  --on-dark: #E6F2EC;
  --on-dark-2: #A7C4B8;
  --on-dark-3: #7FA898;
  --tile: #134D3E;
  --tile-line: #1D5A48;
  --dot: #124A3B;
  --white: #FFFFFF;
  --font: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  --gutter: clamp(16px, 5vw, 64px);
  --radius: 18px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.6; font-size: 16px; }
img, svg { max-width: 100%; }
a { color: var(--mid); text-decoration: none; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--em); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; text-wrap: balance; line-height: 1.1; }
p { margin: 0; text-wrap: pretty; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--em); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; z-index: 100; }
.skip:focus { left: 16px; }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--mono); }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--mid); }
.dark .eyebrow { color: var(--em); }
.lead { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.6; color: var(--muted); max-width: 640px; }
.dark .lead { color: var(--on-dark-2); }
.h1 { font-size: clamp(38px, 5.4vw, 60px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; }
.h2 { font-size: clamp(30px, 3.6vw, 42px); font-weight: 800; letter-spacing: -0.03em; }
.h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.accent { color: var(--em); }
.stack { display: flex; flex-direction: column; gap: 14px; }
.stack-lg { display: flex; flex-direction: column; gap: 22px; }
.row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.todo { background: #FFF4CC; color: #5A4300; border-radius: 4px; padding: 0 4px; font-weight: 600; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 10px; font-weight: 700; font-size: 15px; border: 1.5px solid transparent; cursor: pointer; font-family: inherit; transition: background .15s, border-color .15s, color .15s; text-align: center; }
.btn-primary { background: var(--em); color: var(--ink); }
.btn-primary:hover { background: var(--em-hi); color: var(--ink); }
.btn-ghost { border-color: #3F7A66; color: var(--white); }
.btn-ghost:hover { border-color: var(--em); color: var(--white); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: var(--deep); color: var(--white); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.link-arrow { font-weight: 700; color: var(--mid); }
.link-arrow:hover { color: var(--ink); }
.dark .link-arrow { color: var(--white); }

/* Dark dot-grid bands */
.dark { background-color: var(--ink); background-image: radial-gradient(var(--dot) 1.3px, transparent 1.4px); background-size: 24px 24px; background-attachment: fixed; color: var(--white); position: relative; overflow: hidden; }
.corner { position: relative; overflow: hidden; }
.corner::before, .corner::after { content: ""; position: absolute; right: 0; bottom: 0; pointer-events: none; clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.corner::before { width: min(420px, 45vw); height: min(420px, 45vw); background: var(--mid); }
.corner::after { width: min(260px, 28vw); height: min(260px, 28vw); background: var(--em); }
.corner > * { position: relative; z-index: 1; }

/* Header */
.site-header { position: relative; z-index: 5; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 20px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); }
.brand:hover { color: var(--white); }
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name b { font-weight: 800; font-size: 21px; letter-spacing: -0.5px; }
.brand-name span { font-family: var(--mono); font-size: 9.5px; letter-spacing: 3px; color: var(--em); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { color: #D7E9E0; font-weight: 500; font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--em); text-underline-offset: 6px; text-decoration-thickness: 2px; }
.nav .btn { min-height: 44px; color: var(--ink); }
.nav .btn:hover { color: var(--ink); }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 10px; border: 1.5px solid #3F7A66; background: transparent; color: var(--white); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle svg { width: 22px; height: 22px; }
@media (max-width: 940px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; top: 100%; left: var(--gutter); right: var(--gutter); flex-direction: column; align-items: stretch; gap: 4px; padding: 14px; background: var(--deep); border: 1px solid var(--tile-line); border-radius: 14px; box-shadow: 0 20px 40px rgba(0,0,0,.35); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 10px; border-radius: 8px; }
  .nav a:hover { background: var(--tile); }
  .nav .btn { margin-top: 6px; }
}

/* Home hero */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding-block: 56px 96px; }
.hero h1 { color: var(--white); }
.hero .tagline { font-size: 14px; color: var(--on-dark-3); font-weight: 600; }
.copilot { background: var(--deep); border: 1.5px solid var(--tile-line); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 30px 60px rgba(0,0,0,.35); min-width: 0; }
.copilot-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.copilot-top .mono { font-size: 12px; color: var(--on-dark-3); }
.badge { font-family: var(--mono); font-size: 11px; color: var(--ink); background: var(--em); padding: 3px 8px; border-radius: 6px; letter-spacing: .5px; }
.bubble-q { align-self: flex-end; background: var(--tile); color: var(--white); padding: 12px 16px; border-radius: 14px 14px 4px 14px; font-size: 15px; max-width: 90%; }
.bubble-a { background: var(--ink); border: 1px solid var(--tile-line); border-radius: 14px 14px 14px 4px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.bubble-a p { color: var(--on-dark); font-size: 14.5px; line-height: 1.55; }
.bars { display: flex; flex-direction: column; gap: 8px; }
.bar { display: flex; align-items: center; gap: 10px; }
.bar span { width: 92px; font-family: var(--mono); font-size: 11px; color: var(--on-dark-2); flex-shrink: 0; }
.bar i { flex-grow: 1; height: 10px; background: var(--tile); border-radius: 5px; position: relative; overflow: hidden; }
.bar i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--em); border-radius: 5px; }
.src { font-family: var(--mono); font-size: 11px; color: var(--on-dark-3); }
.ask { display: flex; align-items: center; gap: 10px; border: 1px solid var(--tile-line); border-radius: 10px; padding: 10px 14px; color: var(--on-dark-3); font-size: 14px; }
.ask .mono { color: var(--em); }
.ask .mono:last-child { margin-left: auto; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.platforms { border-top: 1px solid #154A3C; }
.platforms .wrap { display: flex; align-items: center; gap: 40px; padding-block: 24px; }
.platforms .eyebrow { color: var(--on-dark-3); white-space: nowrap; font-size: 12px; }
.platforms ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 26px; flex-grow: 1; font-weight: 700; color: #CFE3D9; }

/* Sections */
.section { padding-block: clamp(64px, 8vw, 96px); }
.section-mint { background: var(--mint); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 40px; flex-wrap: wrap; margin-bottom: 40px; }
.section-head .stack { max-width: 680px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }

/* Pipeline */
.pipeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1.5px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.pipeline > div { padding: 30px 28px; display: flex; flex-direction: column; gap: 12px; border-right: 1.5px solid var(--line); }
.pipeline > div:last-child { border-right: 0; background: var(--ink); color: var(--white); }
.pipeline .mono { font-size: 13px; color: var(--mid); }
.pipeline > div:last-child .mono { color: var(--em); }
.pipeline strong { font-size: 24px; letter-spacing: -0.5px; }
.pipeline p { color: var(--muted); }
.pipeline > div:last-child p { color: var(--on-dark-2); }

/* Cards */
.card { border: 1.5px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 10px; background: var(--white); color: var(--ink); min-width: 0; }
a.card:hover { border-color: var(--mid); color: var(--ink); }
.card p { color: var(--muted); }
.card .num { font-family: var(--mono); font-size: 13px; color: var(--mid); }
.card .link-arrow { margin-top: auto; }
.card-mint { background: var(--mint); }
.card-dark { background: var(--ink); border-color: var(--ink); color: var(--white); }
.card-dark p { color: var(--on-dark-2); }
.pill { font-family: var(--mono); font-size: 11px; padding: 4px 10px; border-radius: 6px; align-self: flex-start; letter-spacing: .5px; }
.pill-em { background: var(--em); color: var(--ink); }
.pill-mid { background: var(--mid); color: var(--white); }
.pill-line { border: 1.5px solid var(--line); color: var(--muted); }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(250px, auto); gap: 20px; }
.bento-feature { grid-row: span 2; border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.bento-feature strong { font-size: 32px; letter-spacing: -0.8px; color: var(--white); }
.bento-feature p { color: var(--on-dark-2); max-width: 320px; }
.bento-feature .link-arrow { margin-top: auto; }
.bento-feature.corner::before { width: 190px; height: 190px; }
.bento-feature.corner::after { width: 120px; height: 120px; }
.bento .card strong { font-size: 22px; letter-spacing: -0.4px; }

/* Offers */
.offers { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 16px; }
.offers .card { padding: 24px; }
.offers .card strong { font-size: 18px; }
.offers .card-dark strong { font-size: 24px; color: var(--white); }
.offers .card-dark .btn { margin-top: auto; align-self: flex-start; min-height: 44px; }

/* Demo */
.demo { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; }
.demo h2 { color: var(--white); }
.flow { display: flex; align-items: center; gap: 18px; }
.flow-in { background: var(--deep); border: 1.5px solid var(--tile-line); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 8px; width: 160px; flex-shrink: 0; }
.flow-in strong { color: var(--white); font-size: 15px; overflow-wrap: anywhere; }
.flow-arrow { color: var(--em); font-family: var(--mono); font-size: 22px; }
.report { background: var(--white); color: var(--ink); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 12px; flex-grow: 1; min-width: 0; box-shadow: 0 30px 60px rgba(0,0,0,.3); }
.report .lines { display: flex; flex-direction: column; gap: 7px; }
.report .lines i { display: block; height: 8px; border-radius: 4px; background: #DCE8E1; }
.report .chart { display: flex; align-items: flex-end; gap: 8px; height: 80px; border-bottom: 1.5px solid var(--line); }
.report .chart i { width: 22px; border-radius: 4px 4px 0 0; }

/* Chips + steps */
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.chips li, .chips a { border: 1.5px solid var(--line); border-radius: 999px; padding: 10px 18px; font-weight: 600; color: var(--ink); display: inline-block; }
.chips .hl, .chips a.hl { border-color: var(--mid); background: var(--mint-2); font-weight: 700; }
.chips a:hover { border-color: var(--mid); }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 36px 120px 1fr; gap: 20px; padding: 16px 0; border-top: 1.5px solid var(--line); }
.steps li:last-child { border-bottom: 1.5px solid var(--line); }
.steps .mono { color: var(--mid); }
.steps span:last-child { color: var(--muted); }

/* CTA band */
.cta-band { border-radius: 24px; background: var(--em); position: relative; overflow: hidden; padding: clamp(36px, 6vw, 64px); display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-band::before { content: ""; position: absolute; left: 0; top: 0; width: 300px; height: 100%; background: #2BC08A; clip-path: polygon(0 0, 100% 0, 0 100%); }
.cta-band > * { position: relative; }
.cta-band .mono { font-size: 14px; }
.cta-band p { font-size: 18px; color: var(--deep); }
.cta-band .btn { min-height: 54px; padding: 0 30px; font-size: 16px; }

/* Inner page hero */
.page-hero { padding-block: 40px 88px; }
.page-hero.corner::before { width: min(300px, 40vw); height: min(300px, 40vw); }
.page-hero.corner::after { width: min(180px, 24vw); height: min(180px, 24vw); }
.page-hero .stack-lg { max-width: 780px; }
.page-hero h1 { color: var(--white); }
.crumbs { font-size: 14px; color: var(--on-dark-3); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--on-dark-2); }
.crumbs a:hover { color: var(--white); }

/* Service blocks */
.service { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; padding-block: 56px; border-top: 1.5px solid var(--line); }
.service:first-of-type { border-top: 0; padding-top: 0; }
.service .stack { position: sticky; top: 24px; align-self: start; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.ticks li { position: relative; padding-left: 26px; color: var(--muted); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 9px; width: 12px; height: 7px; border-left: 2.5px solid var(--mid); border-bottom: 2.5px solid var(--mid); transform: rotate(-45deg); }
.ticks li strong { color: var(--ink); }
.ticks.one { grid-template-columns: 1fr; }
.ai-note { border-radius: 14px; background: var(--mint); padding: 16px 18px; display: flex; gap: 12px; align-items: flex-start; }
.ai-note .mono { color: var(--mid); font-size: 13px; white-space: nowrap; }
.ai-note p { color: var(--muted); }

/* Table */
.table-wrap { overflow-x: auto; border: 1.5px solid var(--line); border-radius: 14px; }
table { width: 100%; border-collapse: collapse; min-width: 560px; }
th, td { text-align: left; padding: 16px 20px; vertical-align: top; }
th { background: var(--ink); color: var(--white); font-weight: 700; font-size: 15px; }
td { border-top: 1.5px solid var(--line); color: var(--muted); }
td:first-child { color: var(--ink); font-weight: 700; }
tbody tr:nth-child(even) td { background: var(--mint); }

/* FAQ */
.faq { display: flex; flex-direction: column; }
.faq details { border-top: 1.5px solid var(--line); }
.faq details:last-child { border-bottom: 1.5px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--mid); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 20px; color: var(--muted); max-width: 720px; }

/* Stats */
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat b { font-family: var(--mono); font-size: 30px; font-weight: 500; color: var(--ink); }
.stat span { color: var(--muted); }

/* Quote */
blockquote { margin: 0; border-radius: 20px; background: var(--mint); padding: 32px; font-size: 20px; line-height: 1.5; font-weight: 600; }
blockquote footer { margin-top: 14px; font-size: 15px; font-weight: 500; color: var(--muted); }

/* Founder */
.founder { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: center; }
.portrait { aspect-ratio: 4 / 5; max-width: 100%; border-radius: 20px; background: var(--ink); background-image: radial-gradient(var(--dot) 1.3px, transparent 1.4px); background-size: 20px 20px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.portrait::after { content: ""; position: absolute; right: 0; bottom: 0; width: 45%; height: 45%; background: var(--em); clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.portrait span { font-family: var(--mono); color: var(--on-dark-2); font-size: 13px; position: relative; z-index: 1; }

/* Form */
.form { border: 1.5px solid var(--line); border-radius: 20px; padding: clamp(22px, 4vw, 36px); display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; }
.field input, .field select, .field textarea { min-height: 48px; border: 1.5px solid #AEC3B8; border-radius: 10px; padding: 0 14px; font: inherit; font-weight: 400; font-size: 16px; color: var(--ink); background: var(--white); width: 100%; }
.field textarea { min-height: 150px; padding: 12px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--mid); box-shadow: 0 0 0 3px rgba(52, 211, 153, .3); }
.form-status { font-size: 15px; color: var(--mid); font-weight: 600; min-height: 1.2em; }
.contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.contact-list li { display: flex; flex-direction: column; gap: 2px; }
.contact-list .mono { font-size: 12px; letter-spacing: 1.5px; color: var(--mid); }
.contact-list a, .contact-list b { font-size: 18px; font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }

.contact-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 56px; }
.card-dark .ticks li { color: var(--on-dark-2); }
.card-dark .ticks li::before { border-color: var(--em); }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-dark-2); padding-block: 64px 36px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-grid strong { color: var(--white); }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--on-dark-2); }
.footer-col a:hover { color: var(--white); }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand strong { font-size: 20px; letter-spacing: -0.4px; }
.footer-base { border-top: 1px solid #154A3C; margin-top: 40px; padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--on-dark-3); font-size: 13px; }

/* 404 */
.notfound { min-height: 60vh; display: flex; align-items: center; }

/* Responsive */
@media (max-width: 1080px) {
  .offers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offers .card-dark { grid-column: span 2; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 940px) {
  .hero, .demo, .grid-2, .service, .founder, .contact-grid { grid-template-columns: 1fr; }
  .hero { gap: 40px; padding-block: 32px 72px; }
  .service .stack { position: static; }
  .pipeline, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pipeline > div:nth-child(2) { border-right: 0; }
  .pipeline > div:nth-child(-n+2) { border-bottom: 1.5px solid var(--line); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento-feature { grid-column: span 2; grid-row: auto; min-height: 280px; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .platforms .wrap { flex-direction: column; align-items: flex-start; gap: 14px; }
  .platforms ul { justify-content: flex-start; }
  .founder .portrait { max-width: 320px; }
}
@media (max-width: 620px) {
  .pipeline, .grid-4, .grid-3, .bento, .offers, .ticks, .footer-grid { grid-template-columns: 1fr; }
  .pipeline > div { border-right: 0; border-bottom: 1.5px solid var(--line); }
  .pipeline > div:last-child { border-bottom: 0; }
  .bento-feature, .offers .card-dark { grid-column: auto; }
  .flow { flex-direction: column; align-items: stretch; }
  .flow-in { width: auto; }
  .flow-arrow { transform: rotate(90deg); align-self: center; }
  .steps li { grid-template-columns: 32px 1fr; }
  .steps span:last-child { grid-column: 2; }
  .cta-band .btn { width: 100%; }
  .row .btn { width: 100%; }
}

.portrait .monogram { font-family: var(--font); font-weight: 800; font-size: 96px; color: var(--white); letter-spacing: -0.04em; }
