@import url('/fonts/fonts.css');

/* CompanyScout: "pro" system (Outfit/Figtree, soft grey canvas, deep navy, one accent) */
:root {
  --bg: #f1f3f6; --fg: #071526; --card: #fff; --muted: #5b6b7c; --soft: #8a97a6; --line: #d5dae3; --secondary: #e8ebf0;
  --navy: #071526; --navy2: #0f2236; --navy3: #1a3049;
  --a: #10b981; --a-ink: #047857; --a-soft: #d1fae5; --ok: #16a34a; --ok-soft: #e7f8ec;
  --r: 20px; --r-lg: 32px; --sh: 0 1px 2px rgba(7, 21, 38, .04), 0 12px 32px -8px rgba(7, 21, 38, .12);
  --head: 'Outfit', ui-sans-serif, system-ui, sans-serif; --body: 'Figtree', ui-sans-serif, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.6 var(--body); color: var(--fg); background: var(--bg);
  background-image: radial-gradient(1200px 600px at 85% -10%, #fff 0, transparent 60%), radial-gradient(900px 500px at -10% 30%, #fff 0, transparent 60%); }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); letter-spacing: -.025em; margin: 0 0 .5em; line-height: 1.08; }
h1 { font-size: clamp(2.4rem, 5.4vw, 3.9rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 4vw, 3.1rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }
.dim { color: #b3bcc7; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.sub { color: var(--muted); font-size: 1.1rem; margin: 0 auto; max-width: 36em; }
.fine { font-size: .84rem; color: var(--soft); }
.eyebrow { font: 600 .78rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--soft); margin: 0 0 18px; }
.eyebrow b { color: var(--a-ink); font-weight: 700; }
.acc { color: var(--a); }

/* Buttons: pill, navy, accent arrow bubble */
.btn { display: inline-flex; align-items: center; gap: 12px; background: var(--navy); color: #fff; border: 0; border-radius: 999px; padding: 15px 30px;
  font: 600 1rem/1.4 var(--body); text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -8px rgba(7, 21, 38, .5); }
.btn:disabled { opacity: .6; cursor: wait; }
.btn .arrow { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--a); color: var(--navy); margin-right: -14px; }
.btn.light { background: #fff; color: var(--fg); box-shadow: inset 0 0 0 1px var(--line); }
.btn.accent { background: var(--a); color: var(--navy); }
.btn.small { padding: 10px 20px; font-size: .92rem; }
.btn.block { width: 100%; justify-content: center; }

/* Nav */
.top { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(12px); background: rgba(241, 243, 246, .78); }
.top .row { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { font: 700 1.25rem var(--head); letter-spacing: -.02em; text-decoration: none; display: flex; align-items: center; gap: 9px; }
.logo .mark { width: 26px; height: 26px; border-radius: 8px; background: var(--navy); display: grid; place-items: center; }
.logo .mark i { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--a); box-shadow: 0 0 0 3px rgba(16, 185, 129, .2); }
.logo .word { font-weight: 700; }
.logo .word span { color: var(--a); }
.top nav { display: flex; align-items: center; gap: 6px; }
.top nav a:not(.btn) { color: rgba(7, 21, 38, .55); text-decoration: none; font-weight: 500; font-size: .92rem; padding: 8px 14px; border-radius: 99px; }
.top nav a:not(.btn):hover { color: var(--fg); background: rgba(255, 255, 255, .7); }
@media (max-width: 720px) { .top nav a:not(.btn) { display: none; } }

/* Hero */
.hero { padding: 72px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.02fr; gap: 56px; align-items: center; }
.hero-grid > * { min-width: 0; }
.lede { color: var(--muted); font-size: 1.2rem; line-height: 1.65; max-width: 30em; margin: 0 0 30px; }
.stats { display: flex; gap: 40px; margin: 0 0 34px; flex-wrap: wrap; }
.stats b { display: block; font: 700 1.9rem/1 var(--head); letter-spacing: -.02em; }
.stats b i { font-style: normal; color: var(--a); }
.stats span { font-size: .88rem; color: var(--soft); }
.hero .fine { margin-top: 18px; }

/* App window mockup */
.window { background: rgba(255, 255, 255, .72); border: 1px solid #fff; border-radius: var(--r-lg); box-shadow: var(--sh), 0 40px 80px -40px rgba(7, 21, 38, .35); overflow: hidden; backdrop-filter: blur(6px); }
.window .bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid var(--secondary); background: rgba(241, 243, 246, .6); }
.window .bar i { width: 10px; height: 10px; border-radius: 50%; background: #cfd6df; }
.window .bar span { margin-left: 10px; font-size: .78rem; color: var(--soft); }
.window .body { padding: 20px; }
.picker { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.picker label { display: grid; gap: 5px; font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); }
select { font: 500 .95rem var(--body); color: var(--fg); background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; width: 100%; appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.count-row { display: flex; align-items: baseline; gap: 10px; background: var(--navy); color: #fff; border-radius: 16px; padding: 16px 18px; margin-bottom: 12px; }
.count-row b { font: 700 2.4rem/1 var(--head); letter-spacing: -.02em; }
.count-row small { color: #a9b6c6; font-size: .95rem; }
.count-row .pill { margin-left: auto; background: var(--a); color: var(--navy); font-weight: 700; font-size: .72rem; padding: 4px 10px; border-radius: 99px; align-self: center; }
.week { font-size: .8rem; color: var(--soft); margin: 0 0 10px 2px; }
.teaser { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.teaser li { background: #fff; border: 1px solid var(--secondary); border-radius: 14px; padding: 11px 14px; display: grid; gap: 3px; }
.teaser .h { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.teaser b { font-weight: 650; font-size: .95rem; }
.teaser .job { font-size: .68rem; font-weight: 700; color: var(--a-ink); background: var(--a-soft); padding: 3px 9px; border-radius: 99px; white-space: nowrap; }
.teaser .d { color: var(--muted); font-size: .84rem; line-height: 1.45; }
.teaser .empty { color: var(--muted); }
.locked { margin-top: 8px; }
.locked .blur { display: grid; gap: 8px; margin-bottom: 10px; }
.locked .blur i { display: block; height: 46px; border-radius: 14px; background: linear-gradient(90deg, #fff, #eef1f5, #fff); border: 1px solid var(--secondary); filter: blur(1.2px); }
.locked a { font-weight: 650; text-decoration: none; color: var(--a-ink); font-size: .92rem; }

/* Ticker */
.ticker { overflow: hidden; padding: 34px 0 30px; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.ticker .track { display: flex; gap: 48px; width: max-content; animation: tick 40s linear infinite; }
.ticker span { font: 600 1.15rem var(--head); color: #a7b1bd; white-space: nowrap; }
.ticker span::after { content: '·'; margin-left: 48px; color: #c4ccd6; }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker .track { animation: none; } }

/* Sections */
section { scroll-margin-top: 80px; }
.sec { padding: 80px 0; }
.panel { background: rgba(255, 255, 255, .7); border: 1px solid #fff; border-radius: 40px; box-shadow: var(--sh); padding: 64px 48px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.card { background: #fff; border: 1px solid var(--secondary); border-radius: var(--r); padding: 26px; }
.card .ic { width: 46px; height: 46px; border-radius: 14px; background: var(--navy); display: grid; place-items: center; margin-bottom: 18px; color: var(--a); }
.card p { color: var(--muted); margin: 0; }

.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.split > * { min-width: 0; }
.split p { color: var(--muted); font-size: 1.08rem; }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--fg); }
.checks li::before { content: ''; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--a-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23047857' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/13px no-repeat; }
.bars { display: grid; gap: 12px; }
.bar { display: grid; grid-template-columns: 170px 1fr 40px; align-items: center; gap: 12px; font-size: .92rem; }
.bar i { display: block; height: 12px; border-radius: 99px; background: linear-gradient(90deg, var(--a), #34d399); min-width: 4px; transition: width .5s; }
.bar b { text-align: right; font-family: var(--head); }
.trades { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.trades span { background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 6px 14px; font-size: .86rem; font-weight: 600; color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--secondary); border-radius: var(--r); padding: 26px; color: var(--muted); }
.steps li::before { content: '0' counter(s); display: block; font: 700 2.2rem/1 var(--head); color: var(--a); margin-bottom: 14px; letter-spacing: -.03em; }
.steps b { display: block; color: var(--fg); font: 700 1.15rem var(--head); margin-bottom: 6px; }

/* Pricing */
.toggle-wrap { display: flex; justify-content: center; margin: 30px 0 40px; }
.toggle { position: relative; display: inline-flex; background: var(--secondary); border-radius: 14px; padding: 5px; gap: 4px; }
.toggle button { border: 0; background: transparent; font: 600 .95rem var(--body); color: var(--muted); padding: 10px 22px; border-radius: 10px; cursor: pointer; }
.toggle button.on { background: #fff; color: var(--fg); box-shadow: 0 1px 3px rgba(7, 21, 38, .12); }
.sticker { position: absolute; top: -16px; right: -26px; background: var(--a); color: var(--navy); font: 800 .68rem var(--body); letter-spacing: .06em; padding: 5px 10px; border-radius: 8px; transform: rotate(8deg); box-shadow: 0 6px 14px -6px rgba(4, 120, 87, .6); }
.plans { display: grid; grid-template-columns: 1fr 1.15fr; gap: 20px; max-width: 860px; margin: 0 auto; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--secondary); border-radius: 28px; padding: 32px; display: flex; flex-direction: column; }
.plan h3 { font-size: 1.3rem; margin: 0 0 14px; }
.plan .amt { font: 700 3rem/1 var(--head); letter-spacing: -.03em; margin: 0 0 8px; }
.plan .amt small { font: 500 1rem var(--body); color: var(--soft); letter-spacing: 0; }
.plan .amt .was { font-size: 1.3rem; color: var(--soft); text-decoration: line-through; margin-right: 10px; font-weight: 600; }
.plan p { color: var(--muted); margin: 0 0 18px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 11px; flex: 1; }
.plan li { display: flex; gap: 11px; font-size: .96rem; }
.plan li::before { content: ''; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; border: 1.5px solid currentColor; opacity: .5;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6b7c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat; }
.plan.pro { background: var(--navy); color: #fff; border: 0; box-shadow: 0 30px 60px -24px rgba(7, 21, 38, .55); transform: translateY(-8px); }
.plan.pro p, .plan.pro .amt small { color: #a9b6c6; }
.plan.pro li::before { border-color: var(--a); opacity: 1; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E"); }
.plan .tag { align-self: flex-start; background: var(--a); color: var(--navy); font-weight: 700; font-size: .74rem; padding: 4px 11px; border-radius: 99px; margin-bottom: 14px; }
.plan .tag.ghost { background: var(--secondary); color: var(--muted); }
.billed { color: #34d399 !important; font-weight: 600; font-size: .92rem; }
.plan .fine { margin: 14px 0 0; text-align: center; }
.plan.pro .fine { color: #8292a5; }
.cancel { display: flex; justify-content: center; gap: 26px; flex-wrap: wrap; margin-top: 34px; font-weight: 600; color: var(--fg); }
.cancel span { display: inline-flex; align-items: center; gap: 8px; }
.cancel span::before { content: ''; width: 20px; height: 20px; border-radius: 50%; background: var(--ok-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat; }
.cancel .big { font: 700 1.15rem var(--head); }

/* Sample form */
.form { background: #fff; border: 1px solid var(--secondary); border-radius: 28px; padding: 30px; box-shadow: var(--sh); display: grid; gap: 15px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: grid; gap: 7px; font-weight: 600; font-size: .88rem; }
.form input[type=email], .form input[type=text] { font: 400 1rem var(--body); padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--fg); width: 100%; }
.form input:focus, .form select:focus { outline: 2px solid rgba(16, 185, 129, .35); border-color: var(--a); }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--muted); font-size: .86rem; }
.form .check input { margin-top: 3px; accent-color: var(--navy); }
.hp { position: absolute; left: -9999px; }
.msg { margin: 0; min-height: 1.3em; font-size: .92rem; }
.msg.ok { color: var(--ok); } .msg.err { color: #c2410c; }

/* FAQ */
.faq { max-width: 780px; margin: 40px auto 0; display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--secondary); border-radius: 18px; padding: 18px 22px; }
.faq summary { cursor: pointer; font: 600 1.05rem var(--head); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: '+'; color: var(--soft); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq p { color: var(--muted); margin: 12px 0 0; }

/* Final CTA */
.final { background: var(--navy); color: #fff; border-radius: 40px; padding: 64px 48px; text-align: center; position: relative; overflow: hidden; }
.final::before { content: ''; position: absolute; width: 520px; height: 520px; right: -160px; top: -220px; border-radius: 50%;
  background: radial-gradient(circle, transparent 0 40%, rgba(16, 185, 129, .14) 40.5% 41%, transparent 41.5% 62%, rgba(16, 185, 129, .14) 62.5% 63%, transparent 63.5%), conic-gradient(from 210deg, rgba(16, 185, 129, .28), transparent 20%); }
.final h2 { position: relative; }
.final p { color: #a9b6c6; position: relative; font-size: 1.1rem; margin: 0 0 30px; }
.final .btn { position: relative; }

.foot { padding: 48px 0 56px; color: var(--muted); font-size: .92rem; }
.foot .row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
.foot a { text-decoration: none; margin-left: 18px; }

/* Legal pages */
.legal { max-width: 780px; padding: 56px 24px 72px; }
.legal h1 { font-size: 2.6rem; }
.legal h2 { font-size: 1.3rem; margin-top: 1.8em; }
.legal p, .legal li { color: var(--muted); }

@media (max-width: 900px) {
  .hero { padding: 36px 0 20px; }
  .hero-grid, .split { grid-template-columns: 1fr; gap: 36px; }
  .cards, .steps { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .plan.pro { transform: none; order: -1; }
  .panel, .final { padding: 40px 22px; border-radius: 28px; }
  .sec { padding: 56px 0; }
  .stats { gap: 26px; }
  .bar { grid-template-columns: 130px 1fr 34px; font-size: .86rem; }
}
@media (max-width: 480px) {
  .form .two, .picker { grid-template-columns: 1fr; }
  .sticker { right: -10px; }
  h1 br { display: none; }
  .stats { gap: 18px; justify-content: space-between; }
  .stats b { font-size: 1.45rem; }
  .stats span { font-size: .78rem; }
}

/* CompanyScout: inbox preview table */
.mail-meta { font-size: .86rem; color: var(--muted); display: grid; gap: 2px; margin-bottom: 14px; }
.mail-meta b { color: var(--fg); font-weight: 600; }
.mail-meta .att { color: var(--a-ink); font-weight: 600; margin-top: 4px; }
.mail-table { width: 100%; border-collapse: collapse; font-size: .86rem; }
.mail-table th { text-align: left; color: var(--soft); font-weight: 600; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; padding: 8px 8px 8px 0; border-bottom: 1px solid var(--line); }
.mail-table td { padding: 10px 8px 10px 0; border-bottom: 1px solid var(--secondary); vertical-align: top; }
.mail-table td:first-child { font-weight: 600; }
.mail-table tr.more td { color: var(--soft); font-style: italic; font-weight: 400; }
@media (max-width: 520px) { .mail-table th:nth-child(3), .mail-table td:nth-child(3) { display: none; } }
