:root {
  --navy: #09243D;
  --deep: #06182c;
  --orange: #FF8A00;
  --ink: #111820;
  --muted: #586878;
  --soft: #f3f6f9;
  --line: #d8e1ea;
  --white: #fff;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

.shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 90px;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
}

.site-header .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  min-height: 90px;
}

.logo img {
  width: 190px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  font-weight: 900;
  color: #101722;
}

.main-nav a,
.product-toggle {
  text-decoration: none;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.main-nav > a,
.product-toggle {
  transition: transform .18s ease, color .18s ease;
}

.main-nav > a:hover,
.main-nav > a:focus-visible,
.product-toggle:hover,
.product-toggle:focus-visible {
  color: var(--navy);
  transform: translateY(-1px);
  outline: none;
}

.product-dropdown {
  position: relative;
}

.product-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
}

.product-toggle::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.product-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: -18px;
  display: none;
  min-width: 250px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(9, 36, 61, .16);
}

.product-dropdown:hover .product-menu,
.product-dropdown:focus-within .product-menu {
  display: grid;
}

.product-menu a {
  padding: 13px 14px;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease;
}

.product-menu a:hover,
.product-menu a:focus-visible {
  background: #f3f7fb;
  transform: scale(1.03);
  outline: none;
}

.send-btn,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 900;
}

.send-btn,
.btn.dark {
  background: var(--navy);
  color: #fff;
}

.btn.orange {
  background: var(--orange);
  color: #071528;
}

.btn.outline {
  color: #fff;
  border-color: rgba(255, 255, 255, .68);
}

.news-hero {
  position: relative;
  width: 100%;
  min-height: 720px;
  background-size: cover;
  background-position: center;
  color: #fff;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.news-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 24, 44, .92) 0%, rgba(6, 24, 44, .72) 34%, rgba(6, 24, 44, .18) 68%, rgba(6, 24, 44, 0) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 650px;
  margin-left: 8%;
  padding: 76px 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--navy);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.news-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(42px, 5.8vw, 78px);
  letter-spacing: 0;
}

.news-hero p {
  max-width: 620px;
  margin: 22px 0 0;
  color: #d8e8f6;
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.section {
  padding: 86px 0;
}

.section.soft {
  background: var(--soft);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr);
  gap: 52px;
  align-items: end;
  margin-bottom: 34px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 56px);
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.category-card {
  min-height: 230px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--orange);
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}

.category-card:hover,
.category-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(9, 36, 61, .12);
  outline: none;
}

.category-card h3 {
  margin: 0 0 14px;
  font-size: 22px;
}

.category-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.article-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}

.article-card:hover,
.article-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(9, 36, 61, .13);
  outline: none;
}

.article-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.article-card img.attachment-guide-cover {
  object-position: right center;
}

.article-copy {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px;
}

.meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.article-copy h3 {
  margin: 14px 0 12px;
  font-size: 24px;
}

.article-copy p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.55;
}

.read-more {
  margin-top: auto;
  color: var(--navy);
  font-weight: 900;
}

.cta-band {
  background: var(--navy);
  color: #fff;
}

.cta-band .section-head h2,
.cta-band h2 {
  color: #fff;
}

.cta-band p {
  color: #c9d9e8;
}

.article-hero {
  padding: 70px 0 46px;
  background: linear-gradient(135deg, var(--navy), #123f68);
  color: #fff;
}

.article-hero h1 {
  max-width: 920px;
  margin: 0;
  color: #fff;
  font-size: clamp(38px, 5vw, 66px);
}

.article-hero p {
  max-width: 760px;
  color: #d8e8f6;
  font-size: 20px;
  line-height: 1.55;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 42px;
  align-items: start;
}

.article-main {
  font-size: 18px;
  line-height: 1.72;
}

.article-main img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  display: block;
  margin-bottom: 28px;
}

.article-main h2 {
  margin: 36px 0 12px;
  font-size: 32px;
}

.article-main p,
.article-main li {
  color: #334457;
}

.buyer-checklist,
.article-faq,
.article-cta-box {
  margin: 28px 0;
  padding: 24px;
  background: #f4f7fa;
  border-left: 4px solid var(--orange);
}

.buyer-checklist h2,
.article-faq h2,
.article-cta-box h2 {
  margin-top: 0;
}

.article-main ul,
.article-main ol {
  padding-left: 22px;
}

.article-main li {
  margin: 10px 0;
}

.article-cta-box {
  background: var(--navy);
}

.article-cta-box h2,
.article-cta-box p {
  color: #fff;
}

.info-panel {
  position: sticky;
  top: 118px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--orange);
}

.info-panel h2 {
  margin: 0 0 18px;
  font-size: 24px;
}

.info-panel dl {
  margin: 0;
}

.info-panel dt {
  margin-top: 14px;
  color: var(--navy);
  font-weight: 900;
}

.info-panel dd {
  margin: 4px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.site-footer {
  position: relative;
  padding: 50px 0 0;
  background: radial-gradient(circle at 24% 18%, rgba(35, 86, 139, .42), transparent 34%), linear-gradient(180deg, #061a32 0%, #071528 100%);
  color: #d7e5f3;
  overflow: hidden;
  border-top: 10px solid var(--orange);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.35fr .85fr 1fr 1fr;
  gap: 34px;
  padding-bottom: 34px;
}

.footer-logo {
  width: 250px;
  margin-bottom: 20px;
}

.footer-tagline {
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .22);
  font-size: 18px;
  line-height: 1.45;
}

.footer-col {
  padding-left: 28px;
  border-left: 1px solid rgba(255, 255, 255, .16);
}

.footer-col h3 {
  margin: 0 0 22px;
  color: #fff;
  font-size: 21px;
  text-transform: uppercase;
}

.footer-col h3::after {
  content: "";
  display: block;
  width: 42px;
  height: 4px;
  margin-top: 10px;
  background: var(--orange);
}

.footer-col a {
  display: block;
  margin: 13px 0;
  color: #d7e5f3;
  text-decoration: none;
}

.footer-col a::before {
  content: "›";
  margin-right: 10px;
  color: var(--orange);
  font-weight: 900;
}

.footer-social {
  margin: 8px 0 2px 33.5%;
  padding: 22px 0 6px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.footer-social-copy {
  min-width: 220px;
}

.footer-social-title {
  margin: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer-social-note {
  margin: 4px 0 0;
  color: #9eb4ca;
  font-size: 14px;
  line-height: 1.4;
}

.footer-social-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-social-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 122, 0, .75);
  border-radius: 50%;
  color: #ff8a1f;
  font-size: 0;
  text-decoration: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02));
  box-shadow: 0 10px 26px rgba(0, 0, 0, .18);
  transition: background .18s ease, transform .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease;
}

.footer-social-link svg {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 19px;
  height: 19px;
  display: block;
  fill: currentColor;
  transform: translate(-50%, -50%);
}

.footer-social-link::after {
  content: attr(aria-label);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%) translateY(4px);
  padding: 5px 8px;
  border-radius: 5px;
  background: #fff;
  color: #071528;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: .18s ease;
}

.footer-social-link:hover,
.footer-social-link:focus-visible {
  border-color: var(--orange);
  background: rgba(255, 122, 0, .14);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(255, 122, 0, .14);
  outline: none;
}

.footer-social-link:hover::after,
.footer-social-link:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.footer-bottom {
  border-top: 1px solid rgba(244, 122, 32, .8);
  padding: 18px 0;
}

.footer-bottom-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #c6d4e3;
  font-size: 14px;
}

.footer-bottom-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: wrap;
}

.legal-links {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
  align-items: center;
  white-space: nowrap;
}

.legal-links a {
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

.legal-links span {
  color: var(--orange);
}

.footer-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-badge {
  min-width: 92px;
  padding: 8px 15px;
  border: 1px solid var(--orange);
  border-radius: 9px;
  text-align: center;
  color: #fff;
  font-weight: 900;
}

.mobile-toggle {
  display: none;
}

@media (max-width: 980px) {
  .main-nav {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .news-hero {
    min-height: 620px;
  }

  .section-head,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .category-grid,
  .article-grid,
  .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }

  .info-panel {
    position: static;
  }
}

@media (max-width: 620px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
  }

  .shell {
    width: calc(100% - 28px);
  }

  .site-header,
  .site-header .shell {
    min-height: 78px;
  }

  .site-header .shell {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 14px 0;
  }

  .logo img {
    width: 150px;
  }

  .site-header .send-btn {
    width: auto;
    min-height: 48px;
    padding: 0 16px;
    white-space: nowrap;
  }

  .news-hero {
    min-height: 560px;
    background-position: 64% center;
  }

  .news-hero::before {
    background: linear-gradient(90deg, rgba(6, 24, 44, .94), rgba(6, 24, 44, .74));
  }

  .hero-content {
    margin-left: 0;
    width: 100%;
    max-width: 100%;
    padding: 52px 28px 52px 20px;
  }

  .news-hero h1,
  .article-hero h1 {
    max-width: min(300px, calc(100vw - 72px));
    font-size: 29px;
    line-height: 1.12;
  }

  .news-hero p,
  .article-hero p,
  .section-head p {
    max-width: min(300px, calc(100vw - 72px));
    font-size: 17px;
  }

  .section-head h2 {
    max-width: min(330px, calc(100vw - 40px));
    font-size: 28px;
  }

  .hero-actions,
  .footer-bottom-grid {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .section {
    padding: 58px 0;
  }

  .category-grid,
  .article-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-col {
    padding-left: 0;
    border-left: 0;
  }

  .footer-social {
    margin-left: 0;
    padding-top: 22px;
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-social-links {
    justify-content: flex-start;
  }

  .footer-bottom-actions {
    align-items: flex-start;
    justify-content: flex-start;
  }

  .legal-links {
    gap: 4px;
    font-size: 11px;
  }
}
