:root {
  --ink: #0b1420;
  --ink-soft: #253244;
  --muted: #5e6b7b;
  --paper: #ffffff;
  --surface: #f2f5f8;
  --surface-dark: #111c2a;
  --line: #d9e0e7;
  --signal: #e3362d;
  --signal-dark: #ba241e;
  --accent: #17a8e5;
  --success: #17875b;
  --radius: 14px;
  --shadow: 0 18px 48px rgba(11, 20, 32, 0.10);
  --container: min(1200px, calc(100vw - 40px));
  --content: min(780px, calc(100vw - 40px));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--signal-dark); text-underline-offset: 0.16em; }
a:hover { color: var(--signal); }
button, input, select, textarea { font: inherit; }
button, .button { cursor: pointer; }
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.65em;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
}
h1 { font-size: clamp(2.45rem, 5.5vw, 5.1rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.35rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
p, ul, ol, dl, blockquote, table { margin-top: 0; margin-bottom: 1.25em; }
.container { width: var(--container); margin-inline: auto; }
.content-narrow { width: var(--content); margin-inline: auto; }
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}
.screen-reader-text:focus, .skip-link:focus {
  position: fixed !important;
  top: 12px; left: 12px;
  z-index: 99999;
  width: auto; height: auto;
  padding: 12px 18px; margin: 0;
  overflow: visible; clip: auto;
  color: var(--paper); background: var(--ink);
  border-radius: 6px;
}
.eyebrow {
  margin-bottom: 0.85rem;
  color: var(--signal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.17em;
}
.button-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.button, .wp-element-button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.78rem 1.2rem;
  color: var(--paper);
  background: var(--signal);
  border: 2px solid var(--signal);
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}
.button:hover, .button:focus-visible, .wp-element-button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover {
  color: var(--paper);
  background: var(--signal-dark);
  border-color: var(--signal-dark);
  transform: translateY(-1px);
}
.button--ghost { color: var(--ink); background: transparent; border-color: var(--ink); }
.button--ghost:hover { color: var(--paper); background: var(--ink); border-color: var(--ink); }
.button--light { color: var(--signal-dark); background: var(--paper); border-color: var(--paper); }
.button--light:hover { color: var(--ink); background: var(--surface); border-color: var(--surface); }
.button--outline-light { color: var(--paper); background: transparent; border-color: rgba(255,255,255,0.65); }
.button--outline-light:hover { color: var(--ink); background: var(--paper); border-color: var(--paper); }
.text-link { font-weight: 800; text-decoration: none; }

/* Header */
.site-header { position: relative; z-index: 50; background: var(--paper); box-shadow: 0 1px 0 var(--line); }
.utility-bar { color: #dbe5ef; background: #0a121d; font-size: 0.78rem; }
.utility-bar__inner { display: flex; justify-content: space-between; gap: 24px; padding-block: 7px; }
.utility-bar p { margin: 0; }
.utility-bar a { color: var(--paper); text-decoration: none; }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 92px; padding-block: 12px; }
.custom-logo { width: min(330px, 58vw); max-height: 68px; object-fit: contain; object-position: left center; }
.brand-mark { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; line-height: 0.9; }
.brand-mark:hover { color: var(--ink); }
.brand-mark__first { display: grid; place-items: center; width: 58px; height: 58px; color: var(--paper); background: var(--signal); border-radius: 50%; font-size: 1.22rem; font-weight: 950; letter-spacing: -0.04em; }
.brand-mark__name { font-size: 1.06rem; font-weight: 950; letter-spacing: 0.05em; }
.masthead__actions { display: flex; align-items: center; gap: 12px; }
.menu-toggle, .search-toggle, .site-cart {
  min-height: 42px;
  padding: 0.55rem 0.75rem;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}
.menu-toggle { display: none; align-items: center; gap: 8px; }
.menu-toggle__lines, .menu-toggle__lines::before, .menu-toggle__lines::after { display: block; width: 20px; height: 2px; background: currentColor; }
.menu-toggle__lines { position: relative; }
.menu-toggle__lines::before, .menu-toggle__lines::after { position: absolute; left: 0; content: ""; }
.menu-toggle__lines::before { top: -6px; }
.menu-toggle__lines::after { top: 6px; }
.site-cart { display: inline-flex; align-items: center; gap: 7px; }
.site-cart-count { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding-inline: 5px; color: var(--paper); background: var(--signal); border-radius: 999px; font-size: 0.75rem; }
.primary-navigation { border-top: 1px solid var(--line); }
.primary-menu, .primary-navigation .menu { display: flex; flex-wrap: wrap; justify-content: center; gap: 0; margin: 0; padding: 0; list-style: none; }
.primary-menu a, .primary-navigation .menu a { display: block; padding: 14px 18px; color: var(--ink-soft); font-size: 0.9rem; font-weight: 800; text-decoration: none; }
.primary-menu a:hover, .primary-menu .current-menu-item > a, .primary-navigation .menu a:hover { color: var(--signal); }
.header-search { padding: 16px 0; border-top: 1px solid var(--line); background: var(--surface); }
.search-form { display: flex; gap: 8px; max-width: 680px; margin: 0 auto; }
.search-field { flex: 1; min-width: 0; padding: 0.78rem 0.9rem; border: 1px solid #aeb9c5; border-radius: 7px; background: var(--paper); }
.search-submit { padding: 0.65rem 1rem; color: var(--paper); background: var(--ink); border: 0; border-radius: 7px; font-weight: 800; }

/* Hero */
.hero-section { position: relative; overflow: hidden; color: var(--paper); background: radial-gradient(circle at 78% 30%, #263d58 0, #111d2b 34%, #07101a 72%); }
.hero-section::after { position: absolute; inset: 0; content: ""; background: linear-gradient(110deg, rgba(7,16,26,0) 45%, rgba(227,54,45,0.13)); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr 0.92fr; align-items: center; gap: 70px; min-height: 650px; padding-block: 80px; }
.hero-copy h1 { max-width: 760px; color: var(--paper); font-size: clamp(2.8rem, 5.4vw, 5rem); }
.hero-lede { max-width: 680px; color: #cdd9e5; font-size: clamp(1.08rem, 1.8vw, 1.3rem); }
.hero-copy .button-row { margin-top: 30px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 30px 0 0; padding: 0; color: #d4deea; font-size: 0.88rem; list-style: none; }
.hero-points li::before { margin-right: 8px; color: #5dd1a7; content: "✓"; font-weight: 900; }
.hero-visual { position: relative; min-height: 440px; }
.radar-visual { position: absolute; inset: 0; display: grid; place-items: center; }
.radar-visual::before, .radar-visual::after, .radar-visual__beam { position: absolute; border: 1px solid rgba(70, 184, 233, 0.35); border-radius: 50%; content: ""; }
.radar-visual::before { width: 360px; height: 360px; }
.radar-visual::after { width: 250px; height: 250px; }
.radar-visual__beam--one { width: 140px; height: 140px; }
.radar-visual__beam--two { width: 450px; height: 450px; border-color: rgba(227,54,45,0.22); }
.radar-visual__beam--three { width: 530px; height: 530px; border-color: rgba(255,255,255,0.08); }
.radar-visual__device { position: relative; z-index: 2; display: grid; place-items: center; width: 140px; height: 72px; color: var(--paper); background: linear-gradient(145deg, #1c2836, #060b12); border: 1px solid #526172; border-radius: 14px; box-shadow: 0 24px 60px rgba(0,0,0,0.5); font-size: 1.7rem; font-weight: 950; letter-spacing: 0.08em; }
.radar-visual__device::after { position: absolute; width: 62px; height: 5px; bottom: 11px; content: ""; background: var(--signal); border-radius: 999px; box-shadow: 0 0 18px var(--signal); }
.hero-stat { position: absolute; right: 0; bottom: 8px; z-index: 3; display: grid; max-width: 310px; padding: 18px; background: rgba(8, 17, 28, 0.86); border: 1px solid rgba(255,255,255,0.15); border-radius: 10px; backdrop-filter: blur(10px); }
.hero-stat strong { color: var(--paper); }
.hero-stat span { color: #b9c6d3; font-size: 0.9rem; }
.trust-strip { background: var(--paper); box-shadow: var(--shadow); }
.trust-strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-strip__grid > div { display: grid; gap: 3px; padding: 25px 24px; border-right: 1px solid var(--line); }
.trust-strip__grid > div:last-child { border-right: 0; }
.trust-strip strong { font-size: 0.95rem; }
.trust-strip span { color: var(--muted); font-size: 0.8rem; line-height: 1.35; }

/* Sections and cards */
.section { padding-block: clamp(70px, 9vw, 120px); }
.section--dark { color: #c9d4df; background: var(--surface-dark); }
.section-heading { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 50px; align-items: end; margin-bottom: 44px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { color: var(--muted); }
.section-heading--light h2 { color: var(--paper); }
.section-heading--light > p { color: #aebdcb; }
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.category-card { position: relative; min-height: 290px; padding: 28px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 24px rgba(11,20,32,0.04); text-decoration: none; transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease; }
.category-card:hover { color: var(--ink); border-color: #bac4ce; box-shadow: var(--shadow); transform: translateY(-4px); }
.category-card__signal { display: inline-block; margin-bottom: 45px; padding: 5px 8px; color: var(--signal-dark); background: #fff0ef; border-radius: 5px; font-size: 0.68rem; font-weight: 900; letter-spacing: 0.12em; }
.category-card p { color: var(--muted); }
.path-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.path-grid article { padding: 30px; background: rgba(255,255,255,0.045); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); }
.path-grid article > span { color: #6f8192; font-size: 0.78rem; font-weight: 900; }
.path-grid h3 { margin-top: 32px; color: var(--paper); }
.path-grid p { color: #b6c3d0; }
.path-grid a { color: #75cef2; font-weight: 800; text-decoration: none; }
.product-section { background: var(--surface); }
.home-editorial { border-top: 1px solid var(--line); }
.answer-section { background: #f8fafc; }
.answer-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 70px; align-items: start; }
.answer-list { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.answer-list > div { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 24px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.answer-list > div:last-child { border-bottom: 0; }
.answer-list dt { font-weight: 850; }
.answer-list dd { margin: 0; color: var(--muted); }
.cta-section { padding-block: 60px; color: var(--paper); background: var(--signal); }
.cta-section__inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 50px; align-items: center; }
.cta-section h2 { color: var(--paper); }
.cta-section .eyebrow { color: #ffe2df; }
.cta-section p { margin-bottom: 0; color: #fff1ef; }
.cta-section .button-row { justify-content: flex-end; }

/* Page and article content */
.site-breadcrumbs { padding-block: 16px; color: var(--muted); font-size: 0.78rem; }
.site-breadcrumbs a { color: var(--muted); text-decoration: none; }
.page-hero, .article-hero, .listing-hero { padding-block: clamp(55px, 8vw, 100px); background: linear-gradient(140deg, #f2f5f8, #ffffff); border-bottom: 1px solid var(--line); }
.page-hero h1, .article-hero h1, .listing-hero h1 { font-size: clamp(2.4rem, 5vw, 4.6rem); }
.page-deck, .listing-hero p, .archive-description { color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.3rem); }
.article-category { margin-bottom: 16px; font-size: 0.78rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.1em; }
.article-category a { text-decoration: none; }
.article-byline { color: var(--muted); font-size: 0.84rem; }
.article-image { margin-top: 40px; }
.article-image img { width: 100%; border-radius: var(--radius); }
.entry-content { padding-block: clamp(50px, 7vw, 90px); }
.entry-content > * { max-width: 100%; }
.entry-content h2 { margin-top: 1.55em; font-size: clamp(1.7rem, 3vw, 2.45rem); }
.entry-content h3 { margin-top: 1.45em; }
.entry-content h2:first-child, .entry-content h3:first-child { margin-top: 0; }
.entry-content a { font-weight: 650; }
.entry-content blockquote { margin: 2rem 0; padding: 1.2rem 1.5rem; border-left: 5px solid var(--signal); background: var(--surface); font-size: 1.08rem; }
.entry-content table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; }
.entry-content th, .entry-content td { min-width: 140px; padding: 12px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.entry-content th { background: var(--surface); }
.entry-content .quick-answer { margin: 0 0 2rem; padding: 1.35rem 1.5rem; background: #edf8fd; border: 1px solid #b8e4f6; border-radius: 10px; }
.entry-content .quick-answer strong { display: block; margin-bottom: 6px; color: #07577a; }
.entry-content .editorial-note { padding: 1rem 1.2rem; background: #fff9e8; border: 1px solid #efd784; border-radius: 8px; }
.article-footer { margin-bottom: 80px; padding: 24px; color: var(--muted); background: var(--surface); border-radius: 10px; font-size: 0.88rem; }
.tag-list { margin-bottom: 0; }
.listing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding-block: 60px; }
.post-card { overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 24px rgba(11,20,32,0.045); }
.post-card__image img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.post-card__body { padding: 24px; }
.post-card__meta { margin-bottom: 10px; color: var(--muted); font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.post-card h2 { font-size: 1.4rem; }
.post-card h2 a { color: var(--ink); text-decoration: none; }
.post-card p { color: var(--muted); }
.pagination { padding-bottom: 70px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.page-numbers { display: grid; place-items: center; min-width: 42px; height: 42px; padding-inline: 10px; border: 1px solid var(--line); border-radius: 6px; text-decoration: none; }
.page-numbers.current { color: var(--paper); background: var(--ink); border-color: var(--ink); }
.not-found { display: grid; min-height: 62vh; place-items: center; padding-block: 80px; text-align: center; }
.not-found .search-form { margin-block: 30px; }
.not-found .button-row { justify-content: center; }

/* WooCommerce */
.commerce-main { padding-bottom: 90px; }
.woocommerce-shell { padding-top: 24px; }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { float: none !important; width: auto !important; margin: 0 !important; padding: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { color: var(--ink); font-size: 1.08rem; }
.woocommerce ul.products li.product .price { color: var(--signal-dark); font-weight: 850; }
.woocommerce div.product .product_title { font-size: clamp(2rem, 4vw, 3.6rem); }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--signal-dark); }
.woocommerce span.onsale { display: grid; place-items: center; min-width: 54px; min-height: 54px; background: var(--signal); }
.woocommerce-message, .woocommerce-info { border-top-color: var(--success); }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select { min-height: 46px; padding: 10px; border: 1px solid #aeb9c5; border-radius: 5px; }

/* Footer */
.site-footer { color: #b7c4d0; background: #07101a; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 0.9fr 0.9fr; gap: 60px; padding-block: 70px; }
.footer-title, .footer-heading { color: var(--paper); }
.footer-title { font-size: 1.5rem; }
.footer-heading { font-size: 1rem; letter-spacing: 0; }
.footer-menu, .footer-contact, .legal-menu { margin: 0; padding: 0; list-style: none; }
.footer-menu a, .footer-contact a, .legal-menu a { color: #d5e0e9; text-decoration: none; }
.footer-menu a:hover, .footer-contact a:hover, .legal-menu a:hover { color: var(--paper); }
.footer-menu li, .footer-contact li { margin-bottom: 8px; }
.legal-disclaimer { padding: 18px 0; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.77rem; }
.legal-disclaimer p { margin: 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); }
.footer-bottom__inner { display: flex; justify-content: space-between; gap: 24px; padding-block: 20px; font-size: 0.75rem; }
.footer-bottom p { margin: 0; }
.legal-menu { display: flex; flex-wrap: wrap; gap: 16px; }

@media (max-width: 980px) {
  .utility-bar__inner { justify-content: center; text-align: center; }
  .utility-bar__inner p:first-child { display: none; }
  .menu-toggle { display: inline-flex; }
  .primary-navigation { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); box-shadow: var(--shadow); }
  .primary-navigation.is-open { display: block; }
  .primary-menu, .primary-navigation .menu { display: block; padding: 12px 20px 20px; }
  .primary-menu a, .primary-navigation .menu a { border-bottom: 1px solid var(--line); }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-visual { min-height: 330px; }
  .radar-visual__beam--three { width: min(500px, 90vw); height: min(500px, 90vw); }
  .trust-strip__grid { grid-template-columns: repeat(2, 1fr); }
  .trust-strip__grid > div:nth-child(2) { border-right: 0; }
  .trust-strip__grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .category-grid, .path-grid, .listing-grid { grid-template-columns: repeat(2, 1fr); }
  .section-heading, .answer-grid, .cta-section__inner { grid-template-columns: 1fr; gap: 24px; }
  .cta-section .button-row { justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid section:first-child { grid-column: 1 / -1; }
  .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  :root { --container: min(100% - 28px, 1200px); --content: min(100% - 28px, 780px); }
  body { font-size: 16px; }
  .masthead { min-height: 76px; }
  .brand-mark__first { width: 48px; height: 48px; font-size: 1rem; }
  .brand-mark__name { font-size: 0.86rem; }
  .search-toggle { display: none; }
  .site-cart { padding-inline: 0.55rem; }
  .hero-grid { gap: 28px; padding-block: 58px; }
  .hero-copy h1 { font-size: clamp(2.55rem, 14vw, 4rem); }
  .hero-visual { min-height: 280px; }
  .radar-visual::before { width: 290px; height: 290px; }
  .radar-visual__beam--two { width: 360px; height: 360px; }
  .hero-stat { position: absolute; right: 8px; left: 8px; max-width: none; }
  .button-row .button { width: 100%; }
  .hero-points { display: grid; }
  .trust-strip__grid, .category-grid, .path-grid, .listing-grid, .footer-grid { grid-template-columns: 1fr; }
  .trust-strip__grid > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .section-heading { margin-bottom: 30px; }
  .answer-list > div { grid-template-columns: 1fr; gap: 4px; }
  .footer-grid section:first-child { grid-column: auto; }
  .footer-bottom__inner { display: grid; }
  .woocommerce ul.products { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

