/* Base reset — no parent theme to fight, so this is intentionally minimal */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

body {
    margin: 0;
    padding: 0;
    background: var(--tn-bg);
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    color: var(--tn-fg);
}

#tn-main { width: 100%; }

/* Inline links added by editors inside RichText body/paragraph copy —
   scoped to <p> so it doesn't touch deliberately-styled nav/CTA/card-title anchors */
[class*="tecnet-"] p a {
    color: var(--tn-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s ease;
}
[class*="tecnet-"] p a:hover {
    color: var(--tn-accent-h);
}

/* About-page anchor sections clear the floating header pill when jumped to
   (?scrollTo= / #hash) */
[id="Our-Story"],
[id="Our-Locations"],
[id="Our-Community"],
[id="Our-Environment"] {
    scroll-margin-top: 110px;
}
