/* HIT-RO — mobile-first, light theme */

:root {
  color-scheme: light;

  --bg: #ffffff;
  --surface: #f5f7fb;
  --surface-2: #eef2f8;
  --text: #0f172a;
  --muted: #526077;
  --border: #e2e8f0;
  --accent: #1d4ed8;
  --accent-hover: #1e40af;
  --accent-soft: #eaf1ff;
  --accent-ink: #ffffff;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgb(15 23 42 / .05), 0 4px 16px rgb(15 23 42 / .06);
  --shadow-hover: 0 2px 4px rgb(15 23 42 / .06), 0 12px 32px rgb(15 23 42 / .10);

  --container: 72rem;
  --gutter: 1rem;

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Reset ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.015em; }
h1 { font-size: clamp(1.75rem, 1.2rem + 2.6vw, 2.75rem); }
h2 { font-size: clamp(1.375rem, 1.1rem + 1.2vw, 1.875rem); }
h3 { font-size: 1.125rem; }
p { margin: 0 0 1em; }

a { color: var(--accent); text-underline-offset: .15em; }
a:hover { color: var(--accent-hover); }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
  position: absolute; left: var(--gutter); top: -3rem; z-index: 100;
  background: var(--accent); color: var(--accent-ink);
  padding: .5rem 1rem; border-radius: var(--radius-sm); text-decoration: none;
}
.skip-link:focus { top: .5rem; color: var(--accent-ink); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .75rem 1.25rem;
  border: 1px solid transparent; border-radius: 999px;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn svg { width: 1.125rem; height: 1.125rem; flex: none; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); color: var(--accent-ink); }
.btn-secondary { background: var(--bg); color: var(--accent); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent-hover); }

.btn-row { display: flex; flex-direction: column; gap: .75rem; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(255 255 255 / .92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 64px; }

.brand {
  display: inline-flex; align-items: center; gap: .625rem;
  color: var(--text); text-decoration: none; font-weight: 800; font-size: 1.25rem; letter-spacing: .02em;
}
.brand:hover { color: var(--text); }
.brand img { width: 36px; height: 36px; border-radius: 10px; }

.header-call { display: none; }

.nav-toggle {
  margin-left: auto;
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; padding: 0;
  background: transparent; border: 1px solid var(--border); border-radius: 12px;
  color: var(--text); cursor: pointer;
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Without JS the menu is always visible and the toggle is hidden */
html:not(.js) .nav-toggle { display: none; }

.site-nav { flex-basis: 100%; }
.js .site-nav { display: none; }
.js .site-nav.is-open { display: block; }
.header-inner { flex-wrap: wrap; }

.site-nav ul { list-style: none; margin: 0; padding: 0 0 1rem; }
.site-nav a {
  display: block; padding: .875rem .25rem;
  color: var(--text); text-decoration: none; font-weight: 600;
  border-bottom: 1px solid var(--border);
}
.site-nav li:last-child a { border-bottom: 0; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--accent); }

/* ---------- Breadcrumbs ---------- */

.breadcrumbs { padding-block: 1rem 0; font-size: .875rem; color: var(--muted); }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem; }
.breadcrumbs li + li::before { content: "/"; margin-right: .25rem; color: #94a3b8; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent); text-decoration: underline; }

/* ---------- Sections ---------- */

.section { padding-block: 3rem; }
.section-alt { background: var(--surface); }
.section-head { margin-bottom: 1.5rem; }
.section-head p { color: var(--muted); max-width: 40rem; }

.eyebrow {
  display: inline-block; margin-bottom: .75rem;
  padding: .25rem .75rem; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent);
  font-size: .8125rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}

/* ---------- Hero ---------- */

.hero {
  padding-block: 2.5rem 3rem;
  background:
    radial-gradient(60rem 30rem at 100% 0%, var(--accent-soft), transparent 60%),
    var(--bg);
}
.hero-inner { display: grid; gap: 2rem; align-items: center; }
.hero .lead { font-size: 1.125rem; color: var(--muted); max-width: 36rem; }
.hero-media {
  background: var(--bg); border: 1px solid var(--border); border-radius: calc(var(--radius) * 1.5);
  box-shadow: var(--shadow); padding: 1.5rem;
}
.hero-media img { margin-inline: auto; max-height: 340px; width: auto; }

.page-head { padding-block: 1.5rem 2rem; }
.page-head .lead { color: var(--muted); font-size: 1.0625rem; max-width: 42rem; margin: 0; }

/* ---------- Cards ---------- */

.grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }

.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.card:hover { box-shadow: var(--shadow-hover); border-color: #cbd5e1; }
@media (prefers-reduced-motion: no-preference) {
  .card:hover { transform: translateY(-2px); }
}
.card-media {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 4 / 3; padding: 1rem; background: #fff; border-bottom: 1px solid var(--border);
}
.card-media img { width: 100%; height: 100%; object-fit: contain; }
.card-body { display: flex; flex-direction: column; gap: .5rem; padding: 1.25rem; flex: 1; }
.card-body h3 { margin: 0; }
.card-body h3 a { color: var(--text); text-decoration: none; }
/* Whole card is clickable via the heading link */
.card-body h3 a::after { content: ""; position: absolute; inset: 0; }
.card-body p { margin: 0; color: var(--muted); font-size: .9375rem; }
.card-tag { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--accent); }

.card-features { margin: .25rem 0 0; padding: 0; list-style: none; font-size: .9375rem; color: var(--muted); }
.card-features li { position: relative; padding-left: 1.25rem; margin-bottom: .25rem; }
.card-features li::before {
  content: ""; position: absolute; left: 0; top: .6em;
  width: .5rem; height: .5rem; border-radius: 50%; background: var(--accent);
}

.card-more { margin-top: auto; padding-top: .75rem; font-weight: 600; color: var(--accent); font-size: .9375rem; }

/* ---------- Product page ---------- */

.product { display: grid; gap: 2rem; padding-bottom: 3rem; }
.product-media {
  align-self: start;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow);
}
.product-media img { margin-inline: auto; max-height: 420px; width: auto; }
.product-info .lead { font-size: 1.125rem; }
.product-info .cta { margin-top: 1.5rem; }

.specs { margin: 1.5rem 0 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.specs div { display: grid; grid-template-columns: 1fr; gap: .125rem; padding: .75rem 1rem; }
.specs div:nth-child(odd) { background: var(--surface); }
.specs dt { font-weight: 600; font-size: .875rem; color: var(--muted); }
.specs dd { margin: 0; }

.note {
  margin-top: 1.5rem; padding: 1rem 1.25rem;
  background: var(--accent-soft); border-left: 4px solid var(--accent); border-radius: var(--radius-sm);
}
.note p:last-child { margin: 0; }

/* ---------- Contact ---------- */

.contact-grid { display: grid; gap: 1rem; }
.contact-card {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.25rem; background: var(--bg);
  border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
  color: var(--text); text-decoration: none;
}
a.contact-card:hover { border-color: var(--accent); color: var(--text); }
.contact-card .icon {
  display: grid; place-items: center; flex: none;
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent);
}
.contact-card .icon svg { width: 24px; height: 24px; }
.contact-card h3 { margin: 0 0 .125rem; font-size: 1rem; color: var(--muted); font-weight: 600; }
.contact-card p { margin: 0; font-size: 1.125rem; font-weight: 700; word-break: break-word; }
.contact-card small { display: block; color: var(--muted); font-size: .875rem; font-weight: 400; }

.cta-band {
  background: var(--accent); color: var(--accent-ink);
  border-radius: calc(var(--radius) * 1.5); padding: 2rem 1.25rem;
}
.cta-band h2 { color: inherit; }
.cta-band p { color: rgb(255 255 255 / .85); }
.cta-band .btn-primary { background: #fff; color: var(--accent); }
.cta-band .btn-primary:hover { background: var(--accent-soft); color: var(--accent-hover); }
.cta-band .btn-secondary { background: transparent; color: #fff; border-color: rgb(255 255 255 / .5); }
.cta-band .btn-secondary:hover { border-color: #fff; color: #fff; }

/* ---------- Footer ---------- */

.site-footer {
  margin-top: 3rem; padding-block: 2.5rem 1.5rem;
  background: var(--surface); border-top: 1px solid var(--border);
  font-size: .9375rem; color: var(--muted);
}
.footer-grid { display: grid; gap: 2rem; }
.site-footer h2 { font-size: 1rem; color: var(--text); margin-bottom: .75rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .375rem; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--accent); text-decoration: underline; }
.site-footer address { font-style: normal; }
.footer-bottom { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); font-size: .875rem; }

/* ---------- Breakpoints (mobile first) ---------- */

@media (min-width: 30rem) {
  .btn-row { flex-direction: row; flex-wrap: wrap; }
}

@media (min-width: 40rem) {
  :root { --gutter: 1.5rem; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .specs div { grid-template-columns: 12rem 1fr; gap: 1rem; }
  .cta-band { padding: 2.5rem; }
}

@media (min-width: 60rem) {
  :root { --gutter: 2rem; }

  .header-inner { flex-wrap: nowrap; min-height: 72px; }
  .nav-toggle { display: none; }
  .js .site-nav, .site-nav { display: block; flex-basis: auto; margin-left: auto; }
  .site-nav ul { display: flex; gap: .25rem; padding: 0; }
  .site-nav a {
    border: 0; padding: .5rem .75rem; border-radius: 999px; font-size: .9375rem;
  }
  .site-nav a:hover { background: var(--surface); }
  .site-nav a[aria-current="page"] { background: var(--accent-soft); }
  .header-call { display: inline-flex; min-height: 40px; padding: .5rem 1rem; font-size: .9375rem; }

  .section { padding-block: 4.5rem; }
  .hero { padding-block: 4.5rem; }
  .hero-inner { grid-template-columns: 1.1fr .9fr; gap: 3rem; }
  .page-head { padding-block: 2rem 2.5rem; }

  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }

  .product { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .product-media { position: sticky; top: 96px; }

  .contact-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }

  .cta-band { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 3rem; }
  .cta-band > div:first-child { max-width: 34rem; }
  .cta-band p { margin: 0; }
}

@media print {
  .site-header, .site-footer, .nav-toggle, .cta-band, .btn { display: none !important; }
}
