/* hellotopaid.com — marketing site.
   Brand: the "hello → paid" mockup. Ink #17245E, arrow blue #3454D1, periwinkle #8EA2FF on dark,
   tint #ECEFFC. Green is reserved for money actually collected ("paid"). One light look by design. */
:root {
  --ink: #17245E;
  --ink-2: #0F1A47;
  --blue: #3454D1;
  --blue-hover: #2A45B3;
  --peri: #8EA2FF;
  --tint: #ECEFFC;
  --paper: #FFFFFF;
  --surface: #F6F7FC;
  --text: #1B2140;
  --muted: #58617F;
  --faint: #8A92AE;
  --line: #E2E5F0;
  --paid: #12805C;
  --paid-bg: #E3F5EE;
  --warn-bg: #FFF4DC;
  --warn: #8A5A00;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --shadow-card: 0 1px 2px rgba(23, 36, 94, .06), 0 12px 32px -12px rgba(23, 36, 94, .18);
  --shadow-float: 0 2px 4px rgba(23, 36, 94, .06), 0 24px 60px -18px rgba(23, 36, 94, .35);
  --display: "Libre Franklin", "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1180px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-hover); }
:focus-visible { outline: 3px solid var(--peri); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); line-height: 1.1; letter-spacing: -0.015em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.015em; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 24px; }
.eyebrow { font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 60ch; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font: 700 1rem/1 var(--body); padding: 15px 24px; border-radius: 12px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, transform .15s, box-shadow .15s; white-space: nowrap; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -8px rgba(52, 84, 209, .7); }
.btn-primary:hover { background: var(--blue-hover); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--tint); color: var(--ink); }
.btn-sm { padding: 10px 16px; font-size: .95rem; border-radius: 10px; }
.cta-note { font-size: .92rem; color: var(--muted); }

/* ---------- header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; gap: 28px; height: 72px; }
.wordmark { font-family: var(--display); font-weight: 800; font-size: 1.45rem; letter-spacing: -0.015em; color: var(--ink); text-decoration: none; white-space: nowrap; }
.wordmark:hover { color: var(--ink); }
.wordmark .arrow { color: var(--blue); margin: 0 .18em; }
.nav-links { display: flex; gap: 26px; margin-left: 8px; }
.nav-links a { color: var(--text); text-decoration: none; font-weight: 600; font-size: .98rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--blue); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.nav-actions .signin { color: var(--text); text-decoration: none; font-weight: 600; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; color: var(--ink); }
.mobile-menu { display: none; }
@media (max-width: 900px) {
  .nav-links, .nav-actions { display: none; }
  .menu-btn { display: grid; place-items: center; }
  .mobile-menu[data-open="true"] { display: flex; flex-direction: column; gap: 4px; padding: 8px 24px 24px; border-bottom: 1px solid var(--line); background: #fff; }
  .mobile-menu a { padding: 12px 0; font-weight: 600; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--surface); }
  .mobile-menu .btn { margin-top: 12px; color: #fff; border: 0; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: 64px 88px; background:
  radial-gradient(900px 480px at 85% 10%, rgba(142, 162, 255, .28), transparent 70%),
  radial-gradient(700px 420px at 0% 100%, rgba(52, 84, 209, .10), transparent 70%), var(--paper); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.hero h1 .arrow { color: var(--blue); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.trades { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: .85rem; font-weight: 600; color: var(--ink); background: var(--tint); border-radius: 999px; padding: 5px 12px; text-decoration: none; }
a.chip:hover { background: #dfe4fb; color: var(--ink); }

/* the journey: hello → yes → paid */
.journey { position: relative; display: grid; gap: 16px; }
.jcard { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-float); padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.jcard:nth-child(1) { margin-right: 18%; }
.jcard:nth-child(3) { margin-left: 18%; }
.jcard:nth-child(5) { margin-left: 34%; }
.jhead { display: flex; align-items: center; gap: 10px; font-size: .82rem; color: var(--muted); }
.jstep { font-family: var(--display); font-weight: 800; color: var(--ink); font-size: .95rem; letter-spacing: -.01em; }
.jtime { margin-left: auto; font-variant-numeric: tabular-nums; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--blue); flex: none; }
.dot.paid { background: var(--paid); }
.jtitle { font-weight: 700; color: var(--text); }
.jquote { font-size: .92rem; color: var(--muted); }
.opt { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font-size: .92rem; }
.opt .price { margin-left: auto; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink); }
.opt.on { border-color: var(--blue); background: var(--tint); }
.radio { width: 15px; height: 15px; border-radius: 50%; border: 2px solid var(--faint); flex: none; }
.opt.on .radio { border-color: var(--blue); box-shadow: inset 0 0 0 3px #fff; background: var(--blue); }
.sign-row { display: flex; align-items: center; gap: 12px; }
.signature { font-family: "Caveat", "Bradley Hand", cursive; font-size: 1.5rem; color: var(--ink); border-bottom: 1px dashed var(--faint); padding: 0 6px; line-height: 1.2; }
.signed { font-size: .78rem; font-weight: 700; color: var(--paid); background: var(--paid-bg); border-radius: 999px; padding: 3px 10px; }
.paid-amount { font-family: var(--display); font-weight: 800; font-size: 1.8rem; color: var(--paid); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.jarrow { justify-self: center; color: var(--blue); font-family: var(--display); font-weight: 800; font-size: 1.4rem; line-height: 1; margin-block: -6px; transform: rotate(90deg); }
@media (prefers-reduced-motion: no-preference) {
  .jcard, .jarrow { animation: rise .6s cubic-bezier(.2, .8, .2, 1) both; }
  .journey > :nth-child(2) { animation-delay: .25s; }
  .journey > :nth-child(3) { animation-delay: .4s; }
  .journey > :nth-child(4) { animation-delay: .65s; }
  .journey > :nth-child(5) { animation-delay: .8s; }
}
@keyframes rise { from { opacity: .35; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.jarrow { animation-name: none; }

/* ---------- sections ---------- */
section { padding-block: 96px; }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; align-items: center; }
.band { background: var(--surface); }
.proof { padding-block: 26px; border-block: 1px solid var(--line); background: #fff; }
.proof .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: center; color: var(--muted); font-size: .98rem; }
.proof strong { color: var(--ink); }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 28px; display: flex; flex-direction: column; gap: 12px; position: relative; }
.step-num { font-family: var(--display); font-weight: 800; font-size: .9rem; color: var(--blue); letter-spacing: .02em; }
.step h3 .arrow { color: var(--blue); }
.step p { color: var(--muted); }

.feature { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.feature + .feature { margin-top: 112px; }
.feature.flip > :first-child { order: 2; }
.feature-copy { display: flex; flex-direction: column; gap: 18px; }
.checks { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%233454D1' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }

.shot { position: relative; }
.frame { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-card); overflow: hidden; }
.frame-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--surface); border-bottom: 1px solid var(--line); }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #D5D9E8; display: block; }
.frame-bar span { margin-left: 10px; font-size: .78rem; color: var(--faint); font-family: ui-monospace, Menlo, monospace; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.phone { position: absolute; right: -18px; bottom: -36px; width: 30%; min-width: 130px; border: 8px solid var(--ink-2); border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-float); background: #fff; }
.caption { margin-top: 14px; font-size: .9rem; color: var(--faint); }

/* comparison */
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
.compare { width: 100%; border-collapse: collapse; min-width: 720px; }
.compare th, .compare td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .98rem; }
.compare thead th { font-family: var(--display); color: var(--ink); font-size: 1.05rem; background: var(--surface); }
.compare th[scope="row"] { font-weight: 600; color: var(--text); width: 30%; }
.compare .us { background: var(--tint); font-weight: 700; color: var(--ink); }
.compare thead .us { background: var(--ink); color: #fff; }
.compare tr:last-child td, .compare tr:last-child th { border-bottom: 0; }
.no { color: var(--faint); }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px 28px; display: flex; flex-direction: column; gap: 18px; position: relative; }
.plan.featured { border: 2px solid var(--blue); box-shadow: var(--shadow-card); }
.badge { position: absolute; top: -13px; left: 28px; background: var(--blue); color: #fff; font-size: .78rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; letter-spacing: .02em; }
.plan-name { font-family: var(--display); font-weight: 800; font-size: 1.35rem; color: var(--ink); }
.plan-for { color: var(--muted); font-size: .95rem; min-height: 3em; }
.price { display: flex; align-items: baseline; gap: 6px; }
.price b { font-family: var(--display); font-size: 3rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; line-height: 1; }
.price span { color: var(--muted); }
.fee { font-size: .9rem; color: var(--muted); background: var(--surface); border-radius: 10px; padding: 10px 12px; }
.plan .checks { margin-top: 0; font-size: .97rem; }
.plan .btn { margin-top: auto; }
.plans-note { text-align: center; margin-top: 28px; color: var(--muted); }

/* industries */
.inds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ind { display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; text-decoration: none; color: var(--text); transition: border-color .15s, transform .15s, box-shadow .15s; }
.ind:hover { border-color: var(--blue); transform: translateY(-2px); box-shadow: var(--shadow-card); color: var(--text); }
.ind h3 { font-size: 1.15rem; }
.ind p { color: var(--muted); font-size: .95rem; }
.ind .go { margin-top: auto; padding-top: 6px; color: var(--blue); font-weight: 700; font-size: .95rem; }

/* case */
.case { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 56px; overflow: hidden; }
.case h2, .case h3 { color: #fff; }
.case p { color: rgba(255, 255, 255, .8); }
.case .eyebrow { color: var(--peri); }
.case-stats { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 8px; }
.case-stats b { display: block; font-family: var(--display); font-size: 1.6rem; color: #fff; }
.case-stats span { font-size: .9rem; color: rgba(255, 255, 255, .7); }
.case .frame { border-color: rgba(255, 255, 255, .15); }

/* faq */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--display); font-size: 1.4rem; line-height: 1; color: var(--blue); flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 20px; color: var(--muted); }

/* final cta */
.final { background: linear-gradient(135deg, var(--ink) 0%, #1F2F7A 100%); color: #fff; text-align: center; }
.final h2 { color: #fff; }
.final h2 .arrow { color: var(--peri); }
.final .lede { color: rgba(255, 255, 255, .82); margin-inline: auto; }
.final .inner { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.final .cta-note { color: rgba(255, 255, 255, .7); }

/* page hero (inner pages) */
.page-hero { padding-block: 72px 56px; background: radial-gradient(800px 380px at 90% 0%, rgba(142, 162, 255, .25), transparent 70%), var(--paper); }
.page-hero .wrap { display: flex; flex-direction: column; gap: 18px; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 18ch; }

/* sample proposal (industry pages) */
.sample { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-card); overflow: hidden; }
.sample-head { background: var(--ink); color: #fff; padding: 16px 22px; display: flex; justify-content: space-between; gap: 12px; font-size: .9rem; }
.sample-head b { font-family: var(--display); font-size: 1.05rem; }
.sample-body { padding: 20px 22px; display: grid; gap: 10px; }
.sample-line { display: flex; justify-content: space-between; gap: 16px; font-size: .95rem; border-bottom: 1px solid var(--surface); padding-bottom: 8px; }
.sample-line span:last-child { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.sample-sub { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-top: 8px; }
.sample-total { display: flex; justify-content: space-between; font-family: var(--display); font-weight: 800; font-size: 1.2rem; color: var(--ink); padding-top: 6px; }
.addon { display: flex; justify-content: space-between; gap: 12px; font-size: .92rem; color: var(--muted); }
.addon span:first-child::before { content: "+ "; color: var(--blue); font-weight: 700; }

/* contact + prose */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; display: grid; gap: 16px; box-shadow: var(--shadow-card); }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .92rem; color: var(--ink); }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--text); width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(52, 84, 209, .15); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { border-radius: 10px; padding: 12px 14px; font-size: .95rem; }
.form-msg.ok { background: var(--paid-bg); color: var(--paid); }
.form-msg.err { background: #FDECEC; color: #9B1C1C; }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin: 40px 0 12px; }
.prose p, .prose li { color: var(--text); margin: 0 0 14px; }
.prose ul { padding-left: 1.2em; }
.prose .updated { color: var(--muted); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink-2); color: rgba(255, 255, 255, .72); padding-block: 64px 36px; font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.site-footer .wordmark { color: #fff; }
.site-footer .wordmark .arrow { color: var(--peri); }
.site-footer h4 { color: #fff; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: rgba(255, 255, 255, .72); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.foot-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .88rem; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid, .feature, .case, .contact-grid { grid-template-columns: 1fr; }
  .feature.flip > :first-child { order: 0; }
  .plans, .steps { grid-template-columns: 1fr; }
  .inds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .case { padding: 36px 28px; }
  .phone { right: 0; bottom: -24px; }
}
@media (max-width: 600px) {
  section { padding-block: 64px; }
  .wrap { padding-inline: 18px; }
  .hero { padding-block: 40px 64px; }
  .inds, .foot-grid, .form .row2 { grid-template-columns: 1fr; }
  .jcard:nth-child(n) { margin-inline: 0; }
  .hero-ctas .btn { width: 100%; }
  .plan { padding: 28px 22px; }
  .form { padding: 22px; }
}
