:root {
  color-scheme: light;
  --paper: #f5f7f1;
  --surface: #fcfdf9;
  --ink: #17251e;
  --muted: #516257;
  --green: #227653;
  --mint: #b6ed91;
  --line: #d8e1d6;
  --dark: #10291e;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.55 var(--sans); }
[hidden] { display: none !important; }
a { color: inherit; }
p, h1, h2, h3 { margin: 0; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
.shell { width: min(1240px, calc(100% - 80px)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.22rem; font-weight: 700; letter-spacing: -.045em; text-decoration: none; white-space: nowrap; }
.brand-mark { width: 32px; height: 32px; border-radius: 7px; background: #173c2d; color: var(--mint); display: inline-flex; align-items: flex-end; justify-content: center; gap: 2px; padding-bottom: 8px; flex: 0 0 auto; }
.brand-mark i { width: 3px; background: currentColor; border-radius: 2px; transform: rotate(22deg); }
.brand-mark i:nth-child(1) { height: 7px; }
.brand-mark i:nth-child(2) { height: 11px; }
.brand-mark i:nth-child(3) { height: 15px; }
.header-inner nav { display: flex; gap: 30px; }
.header-inner nav a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: .9rem; }
.header-inner nav a:hover { color: var(--green); }
.button { min-height: 49px; display: inline-flex; justify-content: center; align-items: center; padding: .65em 1.2em; border: 1px solid transparent; border-radius: 8px; font-weight: 700; line-height: 1.2; text-decoration: none; white-space: nowrap; }
.button-primary { background: var(--mint); color: #14271c; border-color: #a3db7e; }
.button-primary:hover { background: #caf5ac; }
.button-outline { border-color: #bdcebd; background: transparent; color: var(--ink); }
.button-outline:hover { background: #e7efe3; }
.button-small { min-height: 40px; font-size: .875rem; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--green); font-size: .77rem; font-weight: 700; line-height: 1.4; letter-spacing: .12em; text-transform: uppercase; }
.signal-dot { display: inline-block; width: 8px; height: 8px; background: currentColor; border-radius: 50%; flex: 0 0 auto; }

.hero { min-height: 552px; display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(0, 1fr); gap: clamp(25px, 4vw, 65px); align-items: center; padding-block: 52px; }
.hero-copy { position: relative; min-width: 0; }
.hero h1, h2 { font-family: var(--serif); font-weight: 400; line-height: .99; letter-spacing: -.035em; text-wrap: balance; }
.hero h1 { margin-top: 20px; font-size: clamp(3.7rem, 6.6vw, 6.8rem); }
h1 em, h2 em { color: var(--green); font-weight: 400; }
.hero-description { margin-top: 22px; color: var(--muted); max-width: 460px; font-size: 1.07rem; }
.website-form { max-width: 478px; margin-top: 24px; padding: 5px; border: 1px solid #bfcebe; border-radius: 10px; background: var(--surface); display: flex; gap: 4px; }
.website-form input { min-width: 0; flex: 1; background: transparent; border: none; padding-inline: 12px; color: var(--ink); }
.website-form:focus-within { outline: 2px solid var(--green); outline-offset: 2px; }
.website-form input:focus { outline: none; }
.hero-note { margin-top: 12px; color: var(--muted); font-size: .875rem; }
.hero-note a { text-underline-offset: 3px; }
.hero-note a:hover { color: var(--green); }

.hero-visual { background: radial-gradient(ellipse at 80% 8%, #b6e2a8 0, transparent 58%), linear-gradient(145deg, #dcebd8, #bfd8bf 52%, #d7e6ca); padding: clamp(20px, 3.1vw, 45px) clamp(14px, 2.65vw, 38px); position: relative; isolation: isolate; border: 1px solid #c8dbc4; border-radius: 15px; }
.hero-visual::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(#55795755 1px, transparent 1px) 0 0 / 15px 15px; border-radius: inherit; mask-image: linear-gradient(135deg, transparent, black); }
.product-preview { background: var(--dark); color: #f1f8ed; border: 1px solid #506d50; border-radius: 12px; overflow: hidden; box-shadow: 0 18px 36px #15371f35; }
.preview-top, .preview-foot { min-height: 54px; display: flex; align-items: center; gap: 10px; padding: 10px 18px; }
.preview-top { justify-content: space-between; border-bottom: 1px solid #304b3b; }
.preview-brand { display: flex; align-items: center; gap: 7px; font-size: .88rem; font-weight: 700; }
.brand-mark.mini { width: 22px; height: 22px; border-radius: 5px; padding-bottom: 5px; background: #285543; gap: 2px; }
.brand-mark.mini i { width: 2px; }
.brand-mark.mini i:nth-child(1) { height: 5px; }
.brand-mark.mini i:nth-child(2) { height: 8px; }
.brand-mark.mini i:nth-child(3) { height: 11px; }
.preview-tag, .preview-heading span { color: #c7d9cb; font-size: .76rem; }
.preview-tag { border: 1px solid #587460; padding: 3px 7px; border-radius: 4px; }
.preview-body { padding: 20px 18px 12px; }
.preview-kicker { font-size: .68rem; letter-spacing: .15em; color: #a3c9a9; }
.preview-heading { font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 700; margin: 3px 0 15px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.preview-heading span { font-weight: 500; }
.preview-table-heading { display: flex; justify-content: space-between; padding: 0 7px 5px; color: #b8cdbf; font-size: .72rem; }
.preview-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 9px; align-items: center; padding: 8px 7px; min-height: 57px; border-top: 1px solid #2f4b3b; }
.avatar { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 7px; color: #213127; font-size: .8rem; font-weight: 700; }
.mint { background: #b7dfcc; }
.sand { background: #f0dbab; }
.lilac { background: #d9d4ee; }
.preview-row strong, .preview-row small { display: block; }
.preview-row strong { font-size: .875rem; line-height: 1.22; }
.preview-row small { color: #b8cdbf; font-size: .74rem; margin-top: 3px; }
.score { font-weight: 700; font-variant-numeric: tabular-nums; font-size: .8rem; color: #d5fac0; background: #254737; padding: 3px 8px; border-radius: 5px; }
.preview-foot { color: #c4e7b4; background: #173628; border-top: 1px solid #304b3b; font-size: .75rem; }
.preview-foot a { margin-left: auto; font-weight: 700; text-underline-offset: 3px; white-space: nowrap; }
.preview-foot .signal-dot { width: 6px; height: 6px; }

.sources { border-block: 1px solid var(--line); background: #edf3e9; }
.sources-inner { min-height: 88px; display: flex; align-items: center; gap: 40px; }
.sources-inner > .eyebrow { color: var(--muted); white-space: nowrap; }
.source-names { display: flex; flex: 1; align-items: center; justify-content: space-around; gap: 18px; flex-wrap: wrap; color: #33483a; font-size: clamp(.95rem, 1.75vw, 1.4rem); font-weight: 700; letter-spacing: -.035em; }
.section { padding-block: clamp(55px, 7vw, 100px); }
.section-intro { max-width: 650px; }
.section h2, .final-cta h2, .plan h2 { font-size: clamp(2.8rem, 5.3vw, 5.15rem); }
.section-intro h2 { margin-top: 10px; text-wrap: initial; }
.section-intro > p:last-child { margin-top: 15px; color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-top: 29px; }
.step { padding: 23px; display: flex; flex-direction: column; align-items: flex-start; gap: 11px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); }
.step h3 { font-size: 1.23rem; letter-spacing: -.04em; line-height: 1.2; }
.step p { color: var(--muted); }
.step-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 8px; background: #e4f0e1; color: #226145; font-size: 1.4rem; }
.step-detail { color: var(--green); font-weight: 700; font-size: .875rem; margin-top: auto; padding-top: 7px; }
.faq { border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1.35fr; align-items: start; gap: 34px; }
.faq-list details { border-bottom: 1px solid var(--line); padding: 15px 0; }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { cursor: pointer; font-weight: 700; }
.faq-list p { margin-top: 8px; color: var(--muted); }
.final-section { padding-bottom: 55px; }
.final-cta { display: flex; justify-content: space-between; align-items: center; gap: 22px; padding: clamp(24px, 5vw, 62px); border-radius: 13px; background: var(--dark); color: #f0faee; }
.final-cta h2 { text-wrap: initial; }
.final-cta p { margin-top: 12px; color: #c7dacc; }
.footer { display: flex; justify-content: space-between; align-items: center; gap: 18px; min-height: 85px; border-top: 1px solid var(--line); font-size: .875rem; color: var(--muted); }
.footer .brand { color: var(--ink); }

.workspace-layout { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: clamp(25px, 4vw, 60px); min-height: calc(100vh - 79px); }
.workspace-sidebar { border-right: 1px solid var(--line); padding: 32px 23px 32px 0; }
.workspace-sidebar nav { display: grid; gap: 6px; }
.workspace-link { text-decoration: none; padding: 9px 10px; border-radius: 6px; font-size: .92rem; font-weight: 700; color: var(--muted); }
.workspace-link:hover, .workspace-link[aria-current] { background: #e5efe1; color: #184d35; }
.sidebar-footer { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 14px; display: grid; gap: 8px; font-size: .84rem; color: var(--muted); }
.sidebar-footer a { text-underline-offset: 3px; }
.workspace-main { padding-block: 34px 60px; min-width: 0; }
.work-heading { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.work-heading h1 { font: 400 clamp(2.65rem, 5.0vw, 4.9rem)/1 var(--serif); letter-spacing: -.03em; margin-top: 7px; }
.work-description { color: var(--muted); margin: 11px 0 22px; }
.pill { padding: 4px 9px; border-radius: 6px; background: #e3efe0; color: #24543d; border: 1px solid #cee0cc; font-size: .78rem; font-weight: 700; flex: 0 0 auto; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.brief-form { display: grid; gap: 16px; padding: clamp(16px, 3vw, 28px); }
.brief-form label, .pipeline-toolbar label { display: grid; gap: 5px; color: var(--ink); font-size: .9rem; font-weight: 700; min-width: 0; }
.brief-form input, .brief-form select, .brief-form textarea, .pipeline-toolbar input, .pipeline-toolbar select { min-width: 0; width: 100%; padding: 8px 10px; min-height: 43px; border: 1px solid #c9d7c9; border-radius: 6px; background: #fff; color: var(--ink); font-size: 1rem; font-weight: 400; }
.brief-form textarea { resize: vertical; }
.form-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-trio { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.form-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.form-status { font-size: .875rem; color: var(--muted); }
.plan { margin-top: 34px; }
.plan h2 { font-size: clamp(2.55rem, 4.25vw, 4rem); margin-top: 7px; }
.plan-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 1fr)); gap: 12px; }
.channel-card { padding: 15px; }
.channel-heading { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 8px; }
.channel-heading h3 { font-size: 1rem; line-height: 1.25; }
.channel-card p { color: var(--muted); font-size: .9rem; }
.channel-card .channel-state { color: #246445; font-weight: 700; margin-top: 8px; }
.export-panel { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: 17px; padding: 15px; }
.export-panel h3 { font-size: 1rem; }
.export-panel p { color: var(--muted); font-size: .88rem; overflow-wrap: anywhere; }
.export-panel > div { min-width: 0; }
.export-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.pipeline-toolbar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.table-search { flex: 1 1 11rem; }
.table-scroll { overflow-x: auto; }
.table-panel table { width: 100%; border-collapse: collapse; text-align: left; }
.table-panel th, .table-panel td { padding: 11px 14px; border-bottom: 1px solid var(--line); }
.table-panel th { font-size: .85rem; color: var(--muted); white-space: nowrap; }
.table-panel td { font-size: .9rem; }
.table-panel td strong { display: block; }
.table-panel td small { color: var(--muted); }
.lead-button { font-weight: 700; color: #185c3e; border: 0; background: none; padding: 0; text-align: left; text-decoration: underline; text-underline-offset: 3px; }
.table-status { padding: 12px 14px; color: var(--muted); font-size: .88rem; }
.lead-dialog { width: min(605px, calc(100% - 32px)); max-height: calc(100% - 40px); padding: 0; border: 1px solid #bccebe; border-radius: 12px; background: var(--surface); color: var(--ink); }
.lead-dialog::backdrop { background: #10291ead; }
.detail-header { display: flex; justify-content: space-between; align-items: start; gap: 12px; padding: 20px; border-bottom: 1px solid var(--line); }
.detail-header h2 { font-size: 2.6rem; overflow-wrap: anywhere; }
.detail-body { display: grid; gap: 14px; padding: 20px; overflow-wrap: anywhere; }
.detail-item h3 { font-size: .92rem; }
.detail-item p { color: var(--muted); white-space: pre-wrap; }
.detail-item a { color: var(--green); text-underline-offset: 3px; }

@media (max-width: 920px) {
  .shell { width: min(1240px, calc(100% - 48px)); }
  .hero { min-height: 0; padding-block: 42px; }
  .hero h1 { font-size: clamp(3.5rem, 7.3vw, 5.25rem); }
  .preview-top, .preview-foot { padding-inline: 12px; }
  .preview-body { padding-inline: 12px; }
  .sources-inner { gap: 22px; }
  .workspace-layout { grid-template-columns: 158px minmax(0, 1fr); }
  .workspace-sidebar { padding-right: 12px; }
}
@media (max-width: 700px) {
  .shell { width: calc(100% - 32px); }
  .header-inner { min-height: 63px; }
  .header-inner nav { display: none; }
  .hero { grid-template-columns: 1fr; gap: 24px; }
  .hero h1 { font-size: clamp(3.55rem, 11.7vw, 5.75rem); }
  .hero-description { margin-top: 15px; }
  .website-form { margin-top: 20px; }
  .sources-inner { flex-direction: column; align-items: flex-start; justify-content: center; gap: 9px; padding-block: 15px; }
  .source-names { justify-content: flex-start; gap: 7px 18px; }
  .steps, .faq { grid-template-columns: 1fr; gap: 13px; }
  .faq { gap: 24px; }
  .final-cta { align-items: start; flex-direction: column; }
  .footer > span { text-align: right; }
  .workspace-layout { grid-template-columns: 1fr; gap: 0; }
  .workspace-sidebar { display: flex; align-items: start; justify-content: space-between; flex-wrap: wrap; gap: 8px 14px; border: 0; border-bottom: 1px solid var(--line); padding: 12px 0; }
  .workspace-sidebar nav { display: flex; flex-wrap: wrap; }
  .sidebar-footer { border: 0; margin: 0; padding: 7px 0; }
  .workspace-main { padding-top: 23px; }
  .form-pair { grid-template-columns: 1fr; }
  .work-heading { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.pricing { display: grid; grid-template-columns: 1fr minmax(300px, 460px); gap: clamp(26px, 6vw, 90px); align-items: center; border-top: 1px solid var(--line); }
.pricing-card, .account-card { padding: clamp(20px, 4vw, 36px); }
.pricing-card h3 { font-size: 1.25rem; letter-spacing: -.03em; }
.plan-price { font: 400 clamp(2.4rem, 5vw, 3.4rem)/1.06 var(--serif); letter-spacing: -.03em; color: var(--green); margin-top: 8px; }
.pricing-card ul { display: grid; gap: 8px; padding-left: 1.2em; margin: 18px 0; color: var(--muted); }
.pricing-card .form-status { margin-top: 12px; }
.account-page { width: min(650px, calc(100% - 32px)); padding-block: clamp(35px, 8vw, 95px); }
.account-card h2 { font-size: 2.5rem; }
.account-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
#account-feedback:not(:empty), #research-feedback:not(:empty) { margin-top: 10px; }
button:disabled { opacity: .65; cursor: wait; }
.research-runs { margin-bottom: 16px; }
.research-runs button { white-space: normal; overflow-wrap: anywhere; text-align: left; }
.research-report { display: grid; gap: 13px; min-width: 0; }
.research-report > p, #research-empty { color: var(--muted); }
.report-card { display: grid; gap: 8px; padding: 17px; overflow-wrap: anywhere; }
.report-card p { color: var(--muted); }
.report-card a { width: fit-content; color: var(--green); text-underline-offset: 3px; }
.report-card summary { cursor: pointer; font-weight: 700; }
.research-draft { white-space: pre-wrap; margin-top: 7px; }
@media (max-width: 700px) {
  .pricing { grid-template-columns: minmax(0, 1fr); }
}

.outreach-settings { display: grid; gap: 16px; margin-top: 12px; }
.channel-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px; border: 0; min-width: 0; padding: 0; margin: 0; }
.channel-option { display: grid; align-content: start; gap: 10px; padding: 16px; }
.channel-option p { color: var(--muted); }
.channel-toggle { display: flex; align-items: center; gap: 9px; width: fit-content; font-weight: 700; }
.channel-toggle input { accent-color: var(--green); width: 1.05rem; height: 1.05rem; margin: 0; flex: 0 0 auto; }
.channel-help { width: fit-content; color: var(--green); font-size: .875rem; text-underline-offset: 3px; }
.channel-save { display: flex; gap: 12px; align-items: end; flex-wrap: wrap; justify-content: space-between; padding: 15px; }
.channel-field { display: block; min-width: 0; color: var(--ink); font-size: .9rem; font-weight: 700; }
.channel-field span { color: var(--muted); font-weight: 400; }
.channel-field input, .channel-field select { display: block; width: 100%; min-height: 43px; margin-top: 5px; padding: 8px 10px; border: 1px solid #c9d7c9; border-radius: 6px; background: #fff; color: var(--ink); font-size: 1rem; font-weight: 400; }
.outreach-form { padding: 20px; }
.outreach-button { justify-self: start; }
.outreach-form .form-status:empty { display: none; }
.outreach-form .form-status { overflow-wrap: anywhere; }

.gmail-panel { margin: 0 0 16px; }
#gmail-feedback:not(:empty) { margin-top: 8px; }
.gmail-review { background: #e5efe1; border: 1px solid #cee0cc; border-radius: 6px; padding: 9px 11px; overflow-wrap: anywhere; }
.gmail-history { margin-top: 4px; padding-top: 8px; border-top: 1px solid var(--line); }
.gmail-history-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin-block: 10px; }
.gmail-history-list { display: grid; gap: 8px; }
.gmail-item { border-left: 2px solid var(--line); padding-left: 9px; }
.gmail-item p { font-size: .875rem; }
.gmail-message { white-space: pre-wrap; margin-top: 5px; }
