/* Tectum Drafting shared stylesheet */
:root {
  --accent:#0F766E; --ink:#111827; --ink-soft:#4B5563; --rule:#D1D5DB; --surface:#FFFFFF; --bg:#F9FAFB;
  --white:#FFFFFF; --accent-strong:#0D6B63; --accent-on-dark:#5EEAD4; --accent-bright:#2DD4BF; --accent-a30:rgba(15,118,110,0.3);
  --accent-tint:#F0FAF8; --surface-2:#F3F4F6; --rule-soft:#E5E7EB;
  --danger:#B91C1C; --danger-strong:#991B1B; --danger-bg:#FEF2F2; --danger-line:#FCA5A5;
  --success-bg:#ECFDF5; --success-line:#6EE7B7; --success-ink:#065F46;
  --scrim:rgba(10,12,20,0.96); --shade-50:rgba(0,0,0,0.5); --shade-06:rgba(0,0,0,0.06); --shade-07:rgba(0,0,0,0.07);
  --ink-a06:rgba(17,24,39,0.06); --ink-a08:rgba(17,24,39,0.08); --ink-a12:rgba(17,24,39,0.12); --ink-a72:rgba(17,24,39,0.72);
  --on-dark-07:rgba(255,255,255,0.07);
  --on-dark-08:rgba(255,255,255,0.08);
  --on-dark-10:rgba(255,255,255,0.1);
  --on-dark-18:rgba(255,255,255,0.18);
  --on-dark-35:rgba(255,255,255,0.35);
  --on-dark-40:rgba(255,255,255,0.4);
  --on-dark-55:rgba(255,255,255,0.55);
  --on-dark-60:rgba(255,255,255,0.6);
  --on-dark-65:rgba(255,255,255,0.65);
  --on-dark-75:rgba(255,255,255,0.75);
  --on-dark-82:rgba(255,255,255,0.82);
  --on-dark-85:rgba(255,255,255,0.85);
  --on-dark-88:rgba(255,255,255,0.88);
  --on-dark-94:rgba(255,255,255,0.94);
}
@font-face { font-family:'Inter'; font-style:normal; font-weight:100 900; font-display:swap; src:url(/fonts/inter-latin-wght-normal.woff2) format('woff2'); unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family:'Inter'; font-style:italic; font-weight:100 900; font-display:swap; src:url(/fonts/inter-latin-wght-italic.woff2) format('woff2'); unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

nav { background: var(--surface); border-bottom: 1px solid var(--rule); box-shadow: 0 2px 8px var(--shade-07); display: flex; align-items: center; justify-content: space-between; padding: 0 2.5rem; height: 56px; gap: 1rem; }
.nav-brand { display: inline-flex; align-items: center; text-decoration: none; white-space: nowrap; flex-shrink: 0; }
.nav-logo-wrap { display: block; line-height: 0; }
.nav-logo-wrap svg { height: 30px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 0.25rem; list-style: none; }
.nav-links a { font-size: 0.82rem; font-weight: 400; color: var(--ink-soft); text-decoration: none; padding: 0.35rem 0.65rem; border-radius: 4px; transition: color 0.15s; }
.nav-links a:hover { color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--accent); font-weight: 600; }
.nav-cta { font-size: 0.82rem; font-weight: 500; color: var(--surface); background: var(--accent); border-radius: 4px; padding: 0.45rem 1.1rem; text-decoration: none; transition: opacity 0.15s; white-space: nowrap; }
.nav-cta:hover { opacity: 0.85; }
.site-footer { background:var(--ink); color:var(--on-dark-75); border-top:1px solid var(--on-dark-07); padding:4rem 2.5rem 2rem; font-family:'Inter',system-ui,sans-serif; font-size:16px; line-height:normal; -webkit-font-smoothing:auto; }
.site-footer .footer-inner { max-width:1100px; margin:0 auto; }
.site-footer .footer-cols { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:2.5rem; padding-bottom:3rem; border-bottom:1px solid var(--on-dark-07); margin-bottom:2rem; }
.site-footer .footer-about-logo { margin-bottom:1rem; }
.site-footer .footer-about-logo svg { height:31px; width:auto; display:block; margin:0; }
.site-footer .footer-col h3 { font-family:inherit; font-size:0.75rem; font-weight:700; line-height:normal; letter-spacing:0.08em; text-transform:uppercase; color:var(--on-dark-55); margin:0 0 1rem; }
.site-footer .footer-col ul { list-style:none; display:flex; flex-direction:column; gap:0.6rem; margin:0; padding:0; }
.site-footer .footer-col li { margin:0; padding:0; line-height:normal; color:inherit; }
.site-footer .footer-col ul a { font-size:0.875rem; font-weight:400; color:var(--on-dark-65); text-decoration:none; transition:color .15s; }
.site-footer .footer-col ul a:hover { color:var(--white); }
.site-footer .footer-tagline { font-size:0.875rem; font-weight:400; line-height:1.65; color:var(--on-dark-60); max-width:28ch; margin:0 0 1rem; }
.site-footer .footer-social { display:inline-flex; align-items:center; gap:0.5rem; font-size:0.875rem; color:var(--on-dark-65); text-decoration:none; transition:color .15s; }
.site-footer .footer-social:hover { color:var(--white); }
.site-footer .footer-social svg { width:18px; height:18px; fill:currentColor; flex-shrink:0; }
.site-footer .footer-bottom { font-size:0.8rem; color:var(--on-dark-35); }
.site-footer .footer-bottom p { margin:0 0 1rem; line-height:1.75; color:var(--on-dark-55); }
@media (max-width:640px) {
  .site-footer .footer-cols { grid-template-columns:1fr; gap:2rem; }
  .site-footer { padding:3rem 1.25rem 1.5rem; }
}
.nav-toggle { display:none; }
@media (max-width: 700px) {
  nav { position:relative; justify-content:flex-start; }
  .nav-cta { margin-left:auto; }
  .nav-toggle { display:inline-flex; align-items:center; justify-content:center; width:44px; height:44px; margin-right:-0.6rem; padding:0; border:0; background:none; color:var(--ink); border-radius:6px; cursor:pointer; }
  .nav-toggle svg { width:24px; height:24px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; }
  .nav-toggle path { transition:transform .2s ease, opacity .2s ease; transform-origin:12px 12px; }
  nav.is-open .nt-top { transform:translateY(5px) rotate(45deg); }
  nav.is-open .nt-mid { opacity:0; }
  nav.is-open .nt-bot { transform:translateY(-5px) rotate(-45deg); }
  .nav-links { display:none; position:absolute; top:100%; left:0; right:0; flex-direction:column; align-items:stretch; gap:0; margin:0; padding:0.4rem 0; background:var(--surface); border-bottom:1px solid var(--rule); box-shadow:0 10px 20px var(--ink-a08); }
  nav.is-open .nav-links { display:flex; }
  .nav-links li { width:100%; margin:0; }
  .nav-links a { display:block; padding:0.85rem 1.25rem; font-size:1rem; border-radius:0; }
}
@media (max-width: 400px) {
  nav { gap: 0.5rem; padding: 0 1rem; }
  .nav-logo-wrap svg { height: 24px; }
  .nav-cta { padding: 0.4rem 0.75rem; font-size: 0.875rem; }
  .nav-toggle { flex-shrink: 0; margin-right: -0.5rem; }
}
/* external wordmark images */
.nav-logo-wrap img { height: 30px; width: auto; display: block; }
@media (max-width: 700px) { .nav-logo-wrap img { height: 24px; } }
.footer-about-logo img { height:31px; width:auto; display:block; margin:0; }

/* ── Audit fixes (2026-11-17) ── */
h1, h2, h3, h4 { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
main#main-content > p:not(.lead):not(.meta), main#main-content > ul, main#main-content > ol, .svc-faq p { max-width: 60ch; }
::selection { background: var(--accent); color: var(--white); }
/* comfortable tap areas for standalone links */
.cta-link, .founder-link, .li-link, .footer-social, .contact-channel-value { display: inline-flex; align-items: center; min-height: 44px; }

/* Trustpilot review collector (footer) */
.footer-review { margin-top:1.25rem; }
.footer-review .trustpilot-widget { width:360px; max-width:none; margin-left:-75px; }
.footer-review-label { font-size:0.8125rem; color:var(--on-dark-60); margin:0 0 0.5rem; }
.footer-review .trustpilot-widget { min-height:52px; }
.footer-review .trustpilot-widget > a { font-size:0.875rem; color:var(--on-dark-65); }

/* motion */
.js-motion main > h2, .js-motion main > p:not(.lead), .js-motion main > ul, .js-motion main > dl, .js-motion main > .cta-block, .js-motion main > .svc-faq, .js-motion main > .svc-other, .js-motion main .sample-set, .js-motion .sheets > a, .js-motion .facts > div, .js-motion .info-card, .js-motion .reveal { opacity:0; transform:translateY(18px); transition:opacity .6s cubic-bezier(.22,.61,.36,1), transform .6s cubic-bezier(.22,.61,.36,1); transition-delay:var(--rv-d,0s); }
html.js-motion .is-in.is-in, html.js-motion .reveal.visible.visible { opacity:1; transform:none; }
.sheets > a, .cta-btn, .btn-primary, .btn-ghost, .btn-contact, .submit-btn { transition:transform .2s ease, border-color .2s ease, box-shadow .2s ease, opacity .2s ease; }
@media (hover:hover) {
  .sheets > a:hover { transform:translateY(-4px); }
  .cta-btn:hover, .btn-primary:hover, .btn-ghost:hover, .btn-contact:hover, .submit-btn:hover { transform:translateY(-2px); }
}
@media (prefers-reduced-motion: reduce) {
  .sheets > a:hover, .cta-btn:hover, .btn-primary:hover, .btn-ghost:hover, .btn-contact:hover, .submit-btn:hover { transform:none; }
}
