/* Devaro IT — shared chrome for static page templates.
   Contains: base reset, container, nav, footer, buttons, eyebrow.
   Page-specific styles live in each HTML file's <style> block. */

@import url("colors_and_type.css");

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-text); -webkit-font-smoothing: antialiased; }
section[id], footer[id] { scroll-margin-top: 88px; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0ms !important; animation-duration: 0ms !important; }
}

.wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-left: clamp(20px, 4vw, 40px);
  padding-right: clamp(20px, 4vw, 40px);
}

/* ====================== EYEBROW ====================== */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--fg-2);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 999px; background: var(--acid); }

/* ====================== NAV ====================== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(239,236,228,0.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.nav .wrap {
  display: flex; align-items: center; gap: 24px;
  height: 72px;
}
.nav .logo img { height: 28px; width: auto; display: block; }
.nav .links {
  display: flex; gap: 28px; margin-left: 24px;
}
.nav .links a {
  font-family: var(--font-text);
  font-size: 15px; font-weight: 500;
  padding: 6px 0;
  position: relative;
  color: var(--ink);
  white-space: nowrap;
  transition: color 200ms var(--ease-out);
}
.nav .links a:hover { color: var(--fg-2); }
.nav .links a.active::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 3px; background: var(--acid); border-radius: 2px;
}
.nav .cta {
  margin-left: auto;
  font-family: var(--font-text); font-weight: 600; font-size: 13px;
  padding: 10px 18px; border-radius: 999px;
  background: var(--acid); color: var(--acid-ink);
  border: 1.5px solid var(--acid);
  display: inline-flex; align-items: center; gap: 8px;
  transition: background-color 220ms var(--ease-out), border-color 220ms var(--ease-out);
}
.nav .cta:hover { background: var(--acid-2); border-color: var(--acid-2); }
.nav .cta .a { font-family: var(--font-mono); transition: transform 220ms var(--ease-out); }
.nav .cta:hover .a { transform: translateX(3px); }

@media (max-width: 700px) {
  .nav .links { display: none; }
}
@media (max-width: 480px) {
  .nav .cta .label { display: none; }
}

/* ====================== BUTTONS ====================== */
.btn {
  font-family: var(--font-text); font-weight: 600; font-size: 15px; line-height: 1;
  padding: 14px 22px; border-radius: 999px;
  border: 1.5px solid var(--ink);
  background: var(--white); color: var(--ink);
  display: inline-flex; align-items: center; gap: 10px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 220ms var(--ease-out),
              color 220ms var(--ease-out),
              border-color 220ms var(--ease-out);
}
.btn .a { font-family: var(--font-mono); font-weight: 500; transition: transform 220ms var(--ease-out); }
.btn:hover .a { transform: translateX(4px); }
.btn:not(.primary):not(.dark):hover { background: var(--ink); color: var(--paper); }
.btn.primary { background: var(--acid); color: var(--acid-ink); border-color: var(--acid); }
.btn.primary:hover { background: var(--acid-2); border-color: var(--acid-2); }
.btn.dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn.dark:hover { background: var(--ink-2); border-color: var(--ink-2); }
.btn.lg { font-size: 17px; padding: 18px 28px; }
.btn.sm { font-size: 13px; padding: 9px 16px; }

/* ====================== FOOTER ====================== */
.foot { background: var(--ink); color: var(--paper); padding: 88px 0 32px; position: relative; overflow: hidden; }
.foot .wrap { position: relative; }
.foot-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px;
  padding-bottom: 56px;
}
.foot-grid img { height: 24px; margin-bottom: 18px; }
.foot-grid p { max-width: 320px; font-size: 14px; line-height: 1.55; color: rgba(239,236,228,0.65); margin: 0; }
.foot-col h4 {
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: rgba(239,236,228,0.5); margin: 0 0 14px;
  font-weight: 500;
}
.foot-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.foot-col a { color: var(--paper); font-size: 14.5px; opacity: 0.85; transition: opacity 160ms var(--ease-out), color 160ms var(--ease-out); }
.foot-col a:hover { color: var(--acid); opacity: 1; }
.foot .bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  padding-top: 28px; border-top: 1px solid rgba(239,236,228,0.12);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(239,236,228,0.5);
}
.foot .live { display: inline-flex; align-items: center; gap: 8px; }
.foot .live::before {
  content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--acid);
}
@media (max-width: 880px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .foot-grid { grid-template-columns: 1fr; }
}
