/* Tenderpatch marketing theme. Hand-written, no framework, no external requests. Tokens match the Laravel application. */
:root {
  --brand-50: #f0f7f2; --brand-100: #dcede1; --brand-200: #b9dbc4; --brand-300: #8cc19f; --brand-500: #2f7d4f; --brand-600: #22663f;
  --brand-700: #1b5133; --brand-800: #163f29; --brand-900: #102e1e;
  --accent-100: #fdf0d5; --accent-600: #b4570b; --accent-700: #8f4409;
  --ink: #1c1917; --ink-2: #44403c; --ink-3: #57534e; --line: #e7e5e4; --paper: #fafaf9; --white: #fff;
  --radius: 14px; --radius-sm: 8px; --shadow-sm: 0 1px 2px rgba(16,46,30,.06), 0 1px 3px rgba(16,46,30,.08);
  --shadow-lg: 0 24px 60px -20px rgba(16,46,30,.35), 0 8px 20px -8px rgba(16,46,30,.2);
  --font: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --wrap: 1160px; --gutter: clamp(16px, 4vw, 32px);
}
*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper); line-height: 1.6; font-size: 1.0625rem; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-700); text-underline-offset: 3px; }
a:hover { color: var(--brand-600); }
:focus-visible { outline: 3px solid var(--brand-500); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--white); padding: 10px 14px; z-index: 100; border-radius: 6px; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
h1,h2,h3,h4 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; color: var(--brand-900); }
h1 { font-size: clamp(2.25rem, 5.2vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 750; }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.eyebrow { display: inline-block; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-600); margin-bottom: .75rem; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-2); max-width: 60ch; }
.muted { color: var(--ink-3); }
.small { font-size: .875rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.4rem; border-radius: 10px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; line-height: 1.2; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand-700); color: #fff; box-shadow: 0 6px 16px -6px rgba(27,81,51,.6); }
.btn-primary:hover { background: var(--brand-800); color: #fff; }
.btn-light { background: #fff; color: var(--brand-800); }
.btn-light:hover { background: var(--brand-50); color: var(--brand-800); }
.btn-ghost { background: transparent; color: var(--brand-700); border-color: var(--brand-200); }
.btn-ghost:hover { background: var(--brand-50); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost-light:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-lg { padding: 1rem 1.7rem; font-size: 1.0625rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--brand-900); color: #fff; border-bottom: 1px solid rgba(255,255,255,.08); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: .6rem; color: #fff; text-decoration: none; }
.logo-mark { flex: none; display: block; }
.logo-word { font-size: 1.5rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.logo-word span { color: var(--brand-300); }
.logo:hover { color: #fff; }
.nav { display: flex; align-items: center; gap: .25rem; }
.nav ul { display: flex; list-style: none; margin: 0; padding: 0; gap: .25rem; }
.nav a { color: #e7efe9; text-decoration: none; padding: .55rem .8rem; border-radius: 8px; font-weight: 600; font-size: .98rem; }
.nav a:hover, .nav .current-menu-item > a { background: rgba(255,255,255,.1); color: #fff; }
.nav .btn { margin-left: .5rem; padding: .6rem 1rem; }
.nav a.btn-light { color: var(--brand-800); }
.nav a.btn-light:hover { background: var(--brand-50); color: var(--brand-800); }
.nav-toggle { display: none; background: transparent; border: 1px solid rgba(255,255,255,.3); color: #fff; border-radius: 8px; padding: .5rem .8rem; font: inherit; font-weight: 600; }
@media (max-width: 920px) {
  .nav-toggle { display: inline-block; }
  .nav { position: absolute; left: 0; right: 0; top: 68px; background: var(--brand-900); flex-direction: column; align-items: stretch; padding: 1rem var(--gutter) 1.5rem; display: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav.open { display: flex; }
  .nav ul { flex-direction: column; }
  .nav .btn { margin: .75rem 0 0; }
}

/* Hero */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(900px 520px at 78% 8%, rgba(60,150,98,.42), transparent 62%), radial-gradient(700px 420px at -5% 105%, rgba(47,125,79,.28), transparent 60%), linear-gradient(165deg, #123522 0%, #0b2216 70%); padding: clamp(44px, 7vw, 96px) 0 0; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px); background-size: 26px 26px; mask-image: linear-gradient(180deg, #000 0%, transparent 65%); -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 65%); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; }
.hero-wrap { max-width: 1280px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 4.7fr) minmax(0, 7.3fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.hero-copy { padding-bottom: clamp(8px, 2vw, 24px); }
.hero .eyebrow { color: var(--brand-300); letter-spacing: .1em; }
.hero h1 { color: #fff; font-size: clamp(2.5rem, 4.1vw, 3.75rem); line-height: 1.05; letter-spacing: -.035em; margin-bottom: .45em; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--brand-300); }
.hero-sub { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.55; color: #d6e8dc; max-width: 34ch; margin-bottom: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 2rem 0 1rem; }
.hero-note { color: #a9c9b4; font-size: .95rem; margin: 0; }
.hero-shot { position: relative; margin: 0; }
.hero-shot::before { content: ""; position: absolute; inset: -6% -4% -10% -2%; background: radial-gradient(closest-side, rgba(104,190,140,.35), transparent 72%); z-index: 0; filter: blur(8px); }
.hero-shot .frame img { width: 100%; height: auto; }
.hero-shot .frame { position: relative; z-index: 1; border-radius: 16px; border: 1px solid rgba(255,255,255,.18); box-shadow: 0 40px 80px -30px rgba(0,0,0,.65), 0 12px 30px -12px rgba(0,0,0,.45); }
.hero-shot .caption { position: relative; z-index: 1; color: #a9c9b4; text-align: left; margin-top: .9rem; }
.hero-proof { list-style: none; margin: clamp(32px, 5vw, 56px) 0 0; padding: clamp(18px, 2.4vw, 26px) 0 clamp(26px, 3.4vw, 40px); border-top: 1px solid rgba(255,255,255,.12); display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 40px); }
.hero-proof li { display: flex; gap: .85rem; align-items: flex-start; color: #b9d3c2; font-size: .95rem; line-height: 1.45; }
.hero-proof strong { display: block; color: #fff; font-size: 1rem; margin-bottom: .15rem; }
.hero-proof .icon { flex: none; width: 40px; height: 40px; margin: 0; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); color: var(--brand-300); }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: clamp(2.4rem, 8vw, 3.4rem); }
  .hero-sub { max-width: 42ch; }
  .hero-proof { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 520px) {
  .hero-actions .btn { width: 100%; }
  .hero-shot { margin-left: -4px; margin-right: -4px; }
}
/* Browser-frame screenshots */
.frame { background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.12); overflow: hidden; }
.frame-bar { display: flex; gap: 6px; padding: 10px 14px; background: #f3f4f1; border-bottom: 1px solid var(--line); }
.frame-bar { align-items: center; }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d6d3d1; display: block; flex: none; }
.frame-bar .addr { margin-left: 10px; flex: 1; max-width: 320px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: .75rem; color: var(--ink-3); padding: 2px 12px; line-height: 1.5; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.frame img { width: 100%; }
.frame.on-light { border-color: var(--line); }
.caption { font-size: .85rem; color: var(--ink-3); margin-top: .75rem; text-align: center; }
.hero .caption { color: #a8c7b3; }

/* Sections */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section.alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section.tint { background: var(--brand-50); }
.section.dark { background: var(--brand-900); color: #d9e8de; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section.after-hero { padding-top: clamp(64px, 9vw, 120px); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lede { margin-left: auto; margin-right: auto; }
.grid { display: grid; gap: 1.5rem; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid.cols-3, .grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; } }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -14px rgba(16,46,30,.25); border-color: var(--brand-200); }
.card h3 { margin-bottom: .4rem; }
.card p:last-child { margin-bottom: 0; }
a.card { text-decoration: none; color: inherit; display: block; }
.icon { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-50); color: var(--brand-700); display: grid; place-items: center; margin-bottom: 1rem; border: 1px solid var(--brand-100); }
.icon svg { width: 22px; height: 22px; }
.step-n { width: 38px; height: 38px; border-radius: 50%; background: var(--brand-700); color: #fff; display: grid; place-items: center; font-weight: 800; margin-bottom: 1rem; }

.problem { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .problem { grid-template-columns: 1fr; } }
.check-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .75rem; }
.check-list li { padding-left: 2rem; position: relative; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .35em; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--brand-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%231b5133' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10.5l3.2 3.2L15 6.8'/%3E%3C/svg%3E") center/70% no-repeat; }
.pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.pill { display: inline-block; padding: .3rem .75rem; border-radius: 999px; background: var(--brand-50); border: 1px solid var(--brand-100); color: var(--brand-800); font-size: .875rem; font-weight: 600; }
.pill.warn { background: var(--accent-100); border-color: #f3dca8; color: var(--accent-700); }

/* Pricing */
.price-card { position: relative; display: flex; flex-direction: column; }
.price-card.featured { border-color: var(--brand-500); box-shadow: 0 0 0 1px var(--brand-500), var(--shadow-lg); }
.badge { position: absolute; top: -13px; left: 1.5rem; background: var(--brand-700); color: #fff; font-size: .78rem; font-weight: 700; padding: .25rem .7rem; border-radius: 999px; }
.price { font-size: 3rem; font-weight: 800; letter-spacing: -.03em; color: var(--brand-900); line-height: 1; margin: .5rem 0; }
.price small { font-size: 1rem; font-weight: 600; color: var(--ink-3); letter-spacing: 0; }
.price-card ul { list-style: none; padding: 0; margin: 1rem 0 1.5rem; display: grid; gap: .5rem; }
.price-card .btn { margin-top: auto; }

/* FAQ */
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 0; margin-bottom: .75rem; }
.faq summary { cursor: pointer; padding: 1.1rem 1.3rem; font-weight: 700; color: var(--brand-900); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--brand-600); }
.faq details[open] summary::after { content: "\2212"; }
.faq .answer { padding: 0 1.3rem 1.2rem; color: var(--ink-2); }

/* CTA band */
.cta-band { background: linear-gradient(160deg, var(--brand-800), var(--brand-900)); color: #fff; border-radius: 22px; padding: clamp(32px, 6vw, 64px); text-align: center; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #cfe3d5; max-width: 56ch; margin-left: auto; margin-right: auto; }
.cta-band .hero-actions { justify-content: center; }

/* Guides hub */
.hub-hero { background: linear-gradient(180deg, var(--brand-50), var(--paper)); padding: clamp(48px, 7vw, 88px) 0 clamp(24px, 4vw, 40px); border-bottom: 1px solid var(--line); }
.cat-bar { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.cat-bar a { padding: .45rem .95rem; border: 1px solid var(--brand-200); border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .95rem; background: #fff; }
.cat-bar a:hover, .cat-bar a.on { background: var(--brand-700); color: #fff; border-color: var(--brand-700); }
.post-card { display: flex; flex-direction: column; height: 100%; }
.post-card .meta { font-size: .8125rem; color: var(--brand-600); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .5rem; }
.post-card h3 a { text-decoration: none; color: var(--brand-900); }
.post-card h3 a:hover { color: var(--brand-600); }
.post-card .more { margin-top: auto; font-weight: 700; text-decoration: none; }

/* Article */
.article-head { padding-top: clamp(40px, 6vw, 72px); padding-bottom: 1.5rem; }
.article-head h1 { font-size: clamp(2rem, 4.2vw, 3rem); max-width: 22ch; }
.crumbs { font-size: .875rem; color: var(--ink-3); margin-bottom: 1rem; }
.crumbs a { color: var(--ink-3); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 960px) { .article-layout { grid-template-columns: 1fr; } }
.prose { font-size: 1.125rem; color: var(--ink-2); max-width: 70ch; }
.prose h2 { font-size: 1.75rem; margin-top: 2.2em; }
.prose h3 { margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .4em; }
.prose blockquote { border-left: 4px solid var(--brand-300); margin: 1.5em 0; padding: .25em 1.2em; background: var(--brand-50); border-radius: 0 10px 10px 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 1rem; margin: 1.5em 0; }
.prose th, .prose td { border: 1px solid var(--line); padding: .6rem .8rem; text-align: left; vertical-align: top; }
.prose th { background: var(--brand-50); color: var(--brand-900); }
.answer-box { background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: var(--radius); padding: 1.2rem 1.4rem; margin: 0 0 1.8rem; font-size: 1.1rem; color: var(--ink); }
.answer-box strong { color: var(--brand-800); }
.aside-card { position: sticky; top: 92px; }
.aside-card .card { background: var(--brand-900); color: #d9e8de; border: 0; }
.aside-card .card h3 { color: #fff; }
.toc { font-size: .95rem; margin-bottom: 1.5rem; }
.toc ol { padding-left: 1.1rem; margin: .5rem 0 0; }
.next-box { background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: var(--radius); padding: 1.4rem; margin: 2.5rem 0 0; }
.disclaimer { font-size: .9rem; color: var(--ink-3); border-top: 1px solid var(--line); margin-top: 2.5rem; padding-top: 1rem; }

/* Footer */
.site-footer { background: var(--brand-900); color: #b9cfc0; padding: 56px 0 28px; margin-top: 0; }
.site-footer a { color: #d9e8de; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer h4 { color: #fff; font-size: .95rem; letter-spacing: .02em; margin-bottom: .75rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; font-size: .95rem; }
.footer-base { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.25rem; font-size: .85rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Page hero (inner pages) */
.page-hero { background: linear-gradient(180deg, var(--brand-50), var(--paper)); padding: clamp(48px, 7vw, 96px) 0 clamp(32px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); max-width: 20ch; }

/* Motion: subtle, and off for people who ask for less */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } .btn, .card { transition: none; } }
.no-js .reveal { opacity: 1; transform: none; }
.screen-reader-text { position: absolute; left: -9999px; }
.form-note { background: var(--accent-100); border: 1px solid #f3dca8; padding: 1rem 1.2rem; border-radius: 10px; color: var(--accent-700); }

/* Hero buttons: two large buttons fit side by side in the narrower text column */
.hero-actions .btn-lg { padding: .95rem 1.2rem; }
.hero-note { max-width: 40ch; }

/* Review fixes */
.card h2, .post-card h2 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; margin: 0 0 .4rem; line-height: 1.2; }
.post-card h2 a { text-decoration: none; color: var(--brand-900); }
.foot-h { color: #fff; font-weight: 700; font-size: .95rem; letter-spacing: .02em; margin: 0 0 .75rem; }
.footer-base a { text-decoration: underline; }
.price-card h2 { margin-bottom: .25rem; }

/* Tenderpatch pricing page: compact layout */
body.page-id-10 .page-hero {
    padding-top: 42px;
    padding-bottom: 24px;
}
body.page-id-10 .section {
    padding-top: 36px;
    padding-bottom: 48px;
}
body.page-id-10 .page-hero h1 {
    margin-bottom: 12px;
}
@media (max-width: 767px) {
    body.page-id-10 .page-hero {
        padding-top: 28px;
        padding-bottom: 20px;
    }
    body.page-id-10 .section {
        padding-top: 24px;
        padding-bottom: 36px;
    }
}
}

/* Tenderpatch Contact page: compact spacing */
body.page-id-13 .page-hero {
    padding-top: 42px;
    padding-bottom: 24px;
}
body.page-id-13 .section {
    padding-top: 36px;
    padding-bottom: 48px;
}
@media (max-width: 767px) {
    body.page-id-13 .page-hero {
        padding-top: 28px;
        padding-bottom: 20px;
    }
    body.page-id-13 .section {
        padding-top: 24px;
        padding-bottom: 36px;
    }
}

/* Tenderpatch legal pages: compact vertical spacing */
body.page-id-3 .page-hero,
body.page-id-38 .page-hero,
body.page-id-39 .page-hero {
    padding-top: 42px;
    padding-bottom: 24px;
}

body.page-id-3 .section,
body.page-id-38 .section,
body.page-id-39 .section {
    padding-top: 36px;
    padding-bottom: 48px;
}

@media (max-width: 767px) {
    body.page-id-3 .page-hero,
    body.page-id-38 .page-hero,
    body.page-id-39 .page-hero {
        padding-top: 28px;
        padding-bottom: 20px;
    }

    body.page-id-3 .section,
    body.page-id-38 .section,
    body.page-id-39 .section {
        padding-top: 24px;
        padding-bottom: 36px;
    }
}
body:is(.page-id-3,.page-id-38,.page-id-39) .section p { text-align: justify !important; text-justify: inter-word; hyphens: auto; line-height: 1.85; margin-bottom: 18px; }
@media (min-width: 921px) { .site-header .container { max-width: 1500px; width: 96%; } .nav, .nav ul { flex-wrap: nowrap; } .nav a { white-space: nowrap; padding: .55rem .5rem; font-size: .9rem; } .nav ul { gap: .1rem; } }
