:root {
  --ink: #1d2a26;
  --ink-soft: #40504a;
  --paper: #f7f6f1;
  --paper-deep: #eceee7;
  --white: #fffefa;
  --line: #d8ddd5;
  --muted: #6d7871;
  --coral: #c85f43;
  --coral-dark: #a84d36;
  --sage: #dbe6d9;
  --yellow: #e6c57c;
  --shadow: 0 18px 50px rgba(29, 42, 38, .08);
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "DM Sans", system-ui, sans-serif; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, .button { cursor: pointer; }
.wrap { width: min(1120px, calc(100% - 32px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header { border-bottom: 1px solid var(--line); background: rgba(247,246,241,.94); position: relative; z-index: 2; }
.nav-row { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 17px; font-weight: 700; letter-spacing: -.03em; white-space: nowrap; }
.brand-mark { display: inline-flex; align-items: end; gap: 3px; width: 21px; height: 20px; }
.brand-mark span { display: block; width: 5px; border-radius: 4px 4px 1px 1px; background: var(--coral); }
.brand-mark span:nth-child(1) { height: 10px; opacity: .62; }
.brand-mark span:nth-child(2) { height: 16px; }
.brand-mark span:nth-child(3) { height: 20px; background: var(--ink); }
.nav-links { display: flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.nav-links a:not(.button), .link-button { padding: 6px 0; }
.nav-links a:not(.button):hover, .link-button:hover, .text-link:hover { color: var(--coral-dark); }
.inline-form { display: inline; }
.link-button { border: 0; background: transparent; color: inherit; }

.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--ink); border-radius: 7px; padding: 11px 18px; background: var(--ink); color: var(--white); font-weight: 700; font-size: 14px; transition: transform .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); background: #2c3c35; }
.button-small { min-height: 38px; padding: 8px 13px; font-size: 13px; }
.button-wide { width: 100%; }
.button-outline { background: transparent; color: var(--ink); }
.button-outline:hover { color: var(--white); background: var(--ink); }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-size: 14px; font-weight: 700; border-bottom: 1px solid var(--ink); padding-bottom: 3px; }
.text-link span { font-size: 18px; line-height: 1; }
.eyebrow, .card-kicker { margin: 0 0 13px; color: var(--coral-dark); font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.045em; line-height: 1.07; }
h1 { font-family: Newsreader, Georgia, serif; font-size: clamp(43px, 10vw, 78px); font-weight: 600; }
h2 { font-family: Newsreader, Georgia, serif; font-size: clamp(31px, 5vw, 50px); font-weight: 600; }
h3 { font-size: 19px; }
.quiet-note, .form-foot, .plan-footnote { color: var(--muted); font-size: 12px; }

.hero { display: grid; gap: 45px; padding-top: 68px; padding-bottom: 78px; align-items: center; }
.hero-copy h1 { max-width: 680px; margin-bottom: 20px; }
.hero-lede { max-width: 560px; color: var(--ink-soft); font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 28px; }
.hero-copy .quiet-note { margin: 14px 0 0 4px; }
.signal-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transform: rotate(1deg); }
.signal-card-top, .signal-card-foot { display: flex; align-items: center; gap: 8px; padding: 15px 17px; color: var(--muted); font-size: 11px; font-weight: 600; }
.signal-card-top { border-bottom: 1px solid var(--line); }
.card-time { margin-left: auto; }
.status-dot { width: 8px; height: 8px; background: #73a66e; border-radius: 50%; }
.signal-card-body { padding: 26px 20px 23px; }
.signal-card-body .card-kicker { margin-bottom: 10px; }
.signal-card-body h2 { max-width: 360px; margin-bottom: 22px; font-size: 30px; }
.card-meta { display: flex; flex-wrap: wrap; gap: 16px; color: var(--ink-soft); font-size: 12px; font-weight: 600; }
.card-rule { height: 1px; margin: 22px 0 14px; background: var(--line); }
.card-caption { max-width: 340px; margin: 0; color: var(--muted); font-size: 12px; }
.signal-card-foot { justify-content: space-between; border-top: 1px solid var(--line); background: var(--sage); color: var(--ink-soft); }
.open-arrow { color: var(--ink); font-size: 18px; }

.proof-band { border-block: 1px solid var(--line); background: var(--sage); }
.proof-grid { display: grid; gap: 0; }
.proof-grid > div { display: grid; gap: 2px; padding: 18px 0; border-bottom: 1px solid rgba(29,42,38,.14); }
.proof-grid > div:last-child { border-bottom: 0; }
.proof-grid strong { font-size: 14px; }
.proof-grid span { color: var(--ink-soft); font-size: 12px; }
.section { padding-top: 74px; padding-bottom: 74px; }
.split-section { display: grid; gap: 32px; }
.section-intro h2 { max-width: 550px; margin-bottom: 0; }
.body-copy { max-width: 460px; color: var(--ink-soft); font-size: 16px; }
.body-copy .text-link { margin-top: 14px; }
.section-soft { background: var(--paper-deep); }
.section-heading { display: grid; gap: 20px; margin-bottom: 36px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { max-width: 350px; align-self: end; color: var(--ink-soft); }
.feature-grid { display: grid; gap: 12px; }
.feature-grid article { min-height: 210px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.feature-number { color: var(--coral-dark); font-family: Newsreader, Georgia, serif; font-size: 30px; }
.feature-grid h3 { margin: 38px 0 10px; }
.feature-grid p { margin: 0; color: var(--ink-soft); font-size: 14px; }
.seo-links-grid { display: grid; gap: 10px; }
.seo-links-grid a { display: grid; gap: 7px; padding: 19px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.seo-links-grid a:hover { border-color: var(--coral); transform: translateY(-1px); }
.seo-links-grid strong { font-size: 15px; }
.seo-links-grid span { color: var(--ink-soft); font-size: 13px; }
.landing-copy { max-width: 1120px; }
.landing-grid { display: grid; gap: 12px; }
.landing-grid article { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.landing-grid h2 { margin: 30px 0 12px; font-size: 31px; }
.landing-grid p { margin: 0; color: var(--ink-soft); }
.landing-cta { max-width: 720px; }
.landing-cta h2 { margin-bottom: 14px; }
.landing-cta p:not(.eyebrow) { max-width: 500px; color: var(--ink-soft); }
.mini-list { display: grid; gap: 10px; }
.mini-tender { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.mini-tender:hover { border-color: var(--coral); }
.mini-tender h3 { margin: 0 0 5px; font-size: 18px; }
.mini-tender p:last-child { margin: 0; color: var(--muted); font-size: 12px; }
.mini-tender > span { font-size: 21px; }

.site-footer { padding: 38px 0; border-top: 1px solid var(--line); }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.brand-footer { font-size: 15px; }
.footer-row p { margin: 10px 0 0; color: var(--muted); font-size: 12px; }
.footer-links { display: flex; gap: 17px; align-items: start; color: var(--muted); font-size: 12px; }

.page-head { padding-top: 62px; padding-bottom: 42px; }
.page-head h1 { max-width: 720px; margin-bottom: 16px; }
.page-head > p:last-child { max-width: 500px; margin: 0; color: var(--ink-soft); font-size: 16px; }
.pricing-layout { display: grid; gap: 14px; padding-bottom: 72px; }
.plan-card { position: relative; padding: 27px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.plan-card h2 { margin-bottom: 18px; font-size: 34px; }
.plan-paid { background: var(--ink); color: var(--white); border-color: var(--ink); }
.plan-paid .eyebrow, .plan-paid .plan-footnote { color: #e7a28e; }
.plan-label { position: absolute; top: 16px; right: 16px; padding: 4px 7px; border-radius: 3px; background: var(--yellow); color: var(--ink); font-size: 10px; font-weight: 700; text-transform: uppercase; }
.price { display: flex; align-items: baseline; gap: 7px; margin-bottom: 22px; }
.price strong { font-family: Newsreader, Georgia, serif; font-size: 52px; font-weight: 600; }
.price span { color: var(--muted); font-size: 12px; }
.plan-paid .price span { color: #b9c9bf; }
.plan-card ul { min-height: 148px; margin: 0 0 18px; padding: 0; list-style: none; color: var(--ink-soft); font-size: 14px; }
.plan-paid ul { color: #dbe5df; }
.plan-card li { padding: 8px 0 8px 23px; border-bottom: 1px solid var(--line); position: relative; }
.plan-paid li { border-color: rgba(255,255,255,.14); }
.plan-card li::before { content: "✓"; position: absolute; left: 0; color: var(--coral); font-weight: 700; }
.plan-footnote { margin: 13px 0 0; }
.faq { max-width: 720px; }
.faq h2 { margin-bottom: 15px; }
.faq > p:last-child { color: var(--ink-soft); }
.legal-page { max-width: 760px; padding-top: 62px; padding-bottom: 90px; }
.legal-page h1 { margin-bottom: 18px; font-size: clamp(42px, 8vw, 68px); }
.legal-page h2 { margin-top: 40px; margin-bottom: 12px; font-size: 31px; }
.legal-page p { color: var(--ink-soft); }
.legal-page .text-link { color: var(--coral-dark); font-size: inherit; }

.form-page { display: grid; gap: 32px; padding-top: 62px; padding-bottom: 80px; }
.form-page-short { max-width: 800px; }
.form-intro h1 { margin-bottom: 15px; font-size: clamp(40px, 8vw, 62px); }
.form-intro > p:last-child { max-width: 480px; color: var(--ink-soft); }
.form-card { width: 100%; padding: 23px 19px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 12px 30px rgba(29,42,38,.04); }
.form-card-wide { max-width: 720px; }
.form-card label { display: block; margin-bottom: 18px; color: var(--ink); font-size: 13px; font-weight: 700; }
.required { margin-left: 3px; color: var(--coral); }
.form-card input, .form-card textarea, .form-card select, .search-bar input { display: block; width: 100%; margin-top: 7px; padding: 12px 13px; border: 1px solid #c8d0c9; border-radius: 7px; background: var(--paper); color: var(--ink); outline: none; }
.form-card input:focus, .form-card textarea:focus, .form-card select:focus, .search-bar input:focus { border-color: var(--coral); box-shadow: 0 0 0 3px rgba(200,95,67,.12); }
.form-card small { display: block; margin-top: 6px; color: var(--muted); font-size: 11px; font-weight: 400; }
.form-card .button { margin-top: 7px; }
.form-foot { margin: 17px 0 0; text-align: center; }
.form-foot a { color: var(--coral-dark); font-weight: 700; }
.form-errors, .field-error { color: #a53f35; font-size: 12px; }
.form-errors { margin-bottom: 15px; padding: 10px 12px; border-left: 3px solid var(--coral); background: #f9e9e3; }
.field-error { display: block; margin-top: 5px; font-weight: 400; }

.messages { padding-top: 15px; }
.message { padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); font-size: 13px; }
.message-success { border-color: #a4c7a1; background: #eef6ec; }
.message-warning { border-color: #dbbd74; background: #fff8e6; }
.message-error { border-color: #e3a19a; background: #fff0ed; }

.app-wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 48px 0 82px; }
.app-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.app-heading h1 { margin-bottom: 9px; font-size: clamp(40px, 8vw, 62px); }
.app-heading p:last-child { margin: 0; color: var(--muted); }
.dashboard-grid { display: grid; gap: 36px; }
.search-bar { display: flex; gap: 8px; margin-bottom: 30px; }
.search-bar input { margin: 0; min-width: 0; }
.list-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.list-heading h2 { margin: 0; font-family: "DM Sans", sans-serif; font-size: 21px; letter-spacing: -.03em; }
.list-heading span { color: var(--muted); font-size: 11px; }
.tender-list { display: grid; gap: 10px; }
.tender-card { display: flex; justify-content: space-between; gap: 12px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); transition: border-color .18s ease, transform .18s ease; }
.tender-card:hover { border-color: #aabbb0; transform: translateY(-1px); }
.tender-card-main { min-width: 0; }
.tender-topline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 9px; }
.tender-topline .card-kicker { margin: 0; }
.match-pill { display: inline-block; padding: 3px 7px; border-radius: 3px; background: var(--sage); color: var(--ink-soft); font-size: 10px; font-weight: 700; }
.tender-card h3 { margin: 0 0 7px; font-size: 19px; }
.tender-card h3 a:hover { color: var(--coral-dark); }
.tender-buyer { margin: 0 0 16px; color: var(--muted); font-size: 12px; }
.tender-meta { display: flex; flex-wrap: wrap; gap: 20px; color: var(--ink-soft); font-size: 12px; }
.tender-meta span { display: grid; gap: 2px; }
.tender-meta strong { color: var(--muted); font-size: 10px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.save-form { flex: 0 0 auto; }
.save-button { border: 0; padding: 4px; background: transparent; color: var(--muted); font-size: 12px; font-weight: 700; }
.save-button:hover, .save-button.saved { color: var(--coral-dark); }
.side-panel { display: grid; align-content: start; gap: 12px; }
.profile-summary, .side-note, .detail-aside, .account-card { padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--sage); }
.profile-summary h3 { margin: 0 0 5px; font-size: 20px; }
.profile-summary > p:not(.eyebrow) { margin-bottom: 17px; color: var(--ink-soft); font-size: 13px; }
.side-note { background: var(--white); }
.side-note p:last-child, .detail-aside p:not(.eyebrow) { margin: 0; color: var(--ink-soft); font-size: 13px; }
.empty-state { padding: 44px 20px; border: 1px dashed #b8c5bb; border-radius: 12px; text-align: center; }
.empty-mark { display: block; margin-bottom: 10px; color: var(--coral); font-family: Newsreader, Georgia, serif; font-size: 40px; }
.empty-state h3 { margin-bottom: 8px; }
.empty-state p { max-width: 330px; margin: 0 auto 19px; color: var(--muted); font-size: 13px; }

.detail-page { padding-top: 40px; padding-bottom: 80px; }
.back-link { display: inline-block; margin-bottom: 31px; color: var(--muted); font-size: 13px; font-weight: 700; }
.back-link:hover { color: var(--coral-dark); }
.detail-layout { display: grid; gap: 30px; }
.detail-main h1 { max-width: 800px; margin-bottom: 13px; font-size: clamp(41px, 8vw, 70px); }
.detail-buyer { margin-bottom: 30px; color: var(--muted); }
.detail-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 38px; }
.detail-stats div { display: grid; gap: 5px; padding: 15px; border-top: 2px solid var(--ink); }
.detail-stats span { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.detail-stats strong { font-size: 14px; }
.detail-copy { max-width: 700px; margin-bottom: 25px; color: var(--ink-soft); }
.detail-copy h2 { margin-bottom: 12px; font-size: 29px; color: var(--ink); }
.tag-row { margin-bottom: 29px; }
.tag { display: inline-block; padding: 6px 9px; border-radius: 4px; background: var(--paper-deep); color: var(--ink-soft); font-size: 11px; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.detail-aside { align-self: start; }
.detail-aside .text-link { margin-top: 18px; }
.account-cards { display: grid; gap: 12px; }
.account-card { background: var(--white); }
.account-card h3 { margin-bottom: 7px; }
.account-card p { color: var(--muted); font-size: 13px; }

@media (min-width: 600px) {
  .wrap { width: min(1120px, calc(100% - 64px)); }
  .seo-links-grid { grid-template-columns: repeat(3, 1fr); }
  .landing-grid { grid-template-columns: repeat(3, 1fr); }
  .hero { padding-top: 95px; padding-bottom: 105px; }
  .proof-grid { grid-template-columns: repeat(3, 1fr); }
  .proof-grid > div { padding: 24px 22px; border-right: 1px solid rgba(29,42,38,.14); border-bottom: 0; }
  .proof-grid > div:first-child { padding-left: 0; }
  .proof-grid > div:last-child { padding-right: 0; border-right: 0; }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .form-card { padding: 30px; }
  .app-wrap { width: min(1180px, calc(100% - 64px)); }
}

@media (min-width: 760px) {
  .hero { grid-template-columns: 1.05fr .95fr; }
  .split-section { grid-template-columns: 1fr 1fr; align-items: end; }
  .section-heading { grid-template-columns: 1fr 1fr; align-items: end; }
  .pricing-layout { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .form-page { grid-template-columns: .9fr 1.1fr; align-items: start; }
  .form-page-short { grid-template-columns: 1fr 1.1fr; }
  .dashboard-grid { grid-template-columns: minmax(0, 1fr) 280px; }
  .detail-layout { grid-template-columns: minmax(0, 1fr) 280px; }
  .account-cards { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1080px) {
  .hero { gap: 90px; }
  .signal-card { margin-right: 20px; }
  .section { padding-top: 110px; padding-bottom: 110px; }
}

@media (min-width: 1280px) {
  .hero h1 { font-size: 83px; }
  .wrap { width: min(1180px, calc(100% - 96px)); }
}

@media (max-width: 480px) {
  .nav-row { align-items: flex-start; flex-direction: column; padding: 17px 0; }
  .nav-links { width: 100%; justify-content: space-between; gap: 8px; }
  .nav-links .button { margin-left: auto; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .app-heading { align-items: start; flex-direction: column; }
  .app-heading .button { width: 100%; }
  .search-bar .button { padding-inline: 12px; }
  .detail-actions .button, .detail-actions form { width: 100%; }
  .detail-actions form .button { width: 100%; }
}
