/* Arial Software site theme */

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

:root {
  --site-blue: #3c53f4;
  --site-blue-dark: #2837a3;
  --site-blue-light: #e3e6fc;
  --site-blue-hover: #6578f4;
  --site-text: #000000;
  --site-muted: #727272;
  --site-muted-dark: #464646;
  --site-border: #e8e6e6;
  --site-footer: #5f6360;
  --site-white: #ffffff;
  --site-max: 1160px;
  --site-font: helvetica-w01-roman, helvetica-w01-bold, Helvetica, Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--site-font);
  color: var(--site-text);
  background: var(--site-white);
  line-height: 1.6;
  font-size: 16px;
}

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

a {
  color: var(--site-blue);
  text-decoration: none;
}

a:hover {
  color: var(--site-blue-dark);
}

.container {
  width: min(var(--site-max), 94%);
  margin: 0 auto;
}

.site-header {
  background: var(--site-white);
  border-bottom: 1px solid var(--site-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 1rem;
  min-height: 88px;
  padding: 0;
}

.logo {
  display: flex;
  align-items: center;
}

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

.nav-cta {
  margin-left: 0.5rem;
}

.nav-cta .btn {
  min-width: auto;
  padding: 0.65rem 1.1rem;
  font-size: 14px;
}

.main-nav {
  display: flex;
  align-items: stretch;
  gap: 0.45rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav > li {
  position: relative;
  display: flex;
  align-items: center;
}

.main-nav > li > a,
.main-nav > li > button {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0.55rem 0.55rem;
  color: var(--site-text);
  font-size: 15px;
  font-weight: 400;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: 0.01em;
}

.nav-cta > a {
  height: auto;
}

.main-nav > li > a:hover,
.main-nav > li > button:hover,
.main-nav > li > a.active {
  color: var(--site-blue);
  text-decoration: none;
}

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 120;
  min-width: 280px;
  background: #fff;
  border: 1px solid var(--site-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  list-style: none;
  margin: 0;
  padding: 0.65rem 0;
}

.dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  width: 5.5rem;
  max-width: 100%;
  bottom: 100%;
  height: 8px;
}

.main-nav > li:hover > .dropdown,
.main-nav > li:focus-within > .dropdown,
.main-nav > li.open > .dropdown {
  display: block;
}

.dropdown a {
  display: block;
  padding: 0.5rem 1.1rem;
  color: var(--site-text);
  font-size: 14px;
}

.dropdown a:hover {
  background: var(--site-blue-light);
  color: var(--site-blue);
  text-decoration: none;
}

.menu-toggle {
  display: none;
  align-self: center;
  background: none;
  border: 1px solid var(--site-border);
  padding: 0.5rem 0.85rem;
  cursor: pointer;
  font-family: inherit;
}

.content-strip {
  padding: 4rem 0;
}

.content-strip-light {
  background: var(--site-blue-light);
}

.content-strip-white {
  background: var(--site-white);
}

.content-strip-gray {
  background: #f4f4f4;
}

.page-hero {
  background: var(--site-blue-light);
  padding: 3.5rem 0 3rem;
  text-align: center;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.1;
}

.page-hero .blog-meta {
  margin-top: 0.75rem;
  color: var(--site-muted);
  font-size: 14px;
}

.page-content {
  padding: 3rem 0 4.5rem;
}

.home-hero {
  background: linear-gradient(135deg, #141c51 0%, #2837a3 55%, #3c53f4 100%);
  color: #fff;
  padding: 4rem 0 3.5rem;
}

.home-hero .hero-copy .content-heading,
.home-hero .hero-copy .content-text,
.home-hero .hero-copy .content-lead {
  color: #fff;
  text-shadow: 0 4px 5px rgba(0, 0, 0, 0.35);
}

.home-body {
  padding-top: 3rem;
}

.home-body .cta-row {
  margin-top: 2rem;
}

.home-product-image {
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 8px 32px rgba(60, 83, 244, 0.12);
}

.cta-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 2.5rem 0 0;
}

.btn {
  display: inline-block;
  min-width: 160px;
  padding: 0.9rem 1.75rem;
  border-radius: 0;
  font-weight: 400;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  font-family: inherit;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-primary {
  background: var(--site-blue);
  color: #fff;
  border-color: var(--site-blue);
}

.btn-primary:hover {
  background: var(--site-blue-dark);
  border-color: var(--site-blue-dark);
  color: #fff;
  text-decoration: none;
}

.btn-secondary {
  background: transparent;
  color: var(--site-blue);
  border-color: var(--site-blue);
}

.btn-secondary:hover {
  background: var(--site-blue-light);
  text-decoration: none;
}

.news-section {
  background: var(--site-white);
  padding: 3.5rem 0 4rem;
  border-top: 1px solid var(--site-border);
}

.news-section > .container > h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 400;
  margin: 0 0 2.5rem;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.news-card {
  background: #fff;
  border: 1px solid var(--site-border);
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.news-card:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

.news-card > a {
  display: block;
}

.news-card-image {
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
  background: var(--site-blue-light);
}

.news-card-body {
  padding: 1.25rem 1.35rem 1.5rem;
}

.news-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
}

.news-card h3 a {
  color: var(--site-text);
}

.news-card h3 a:hover {
  color: var(--site-blue);
  text-decoration: none;
}

.news-card p {
  margin: 0;
  color: var(--site-muted);
  font-size: 14px;
  line-height: 1.55;
}

.blog-list {
  display: grid;
  gap: 2rem;
}

.blog-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.5rem;
  border-bottom: 1px solid var(--site-border);
  padding-bottom: 2rem;
}

.blog-item-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--site-blue-light);
}

.blog-item h2 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.blog-item h2 a {
  color: var(--site-text);
}

.blog-item h2 a:hover {
  color: var(--site-blue);
  text-decoration: none;
}

.blog-meta {
  color: var(--site-muted);
  font-size: 13px;
  margin-bottom: 0.75rem;
}

.search-bar {
  margin-bottom: 2.5rem;
  display: flex;
  gap: 0.75rem;
  max-width: 560px;
}

.search-bar input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--site-border);
  font: inherit;
}

.form-section {
  max-width: 620px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  gap: 1.1rem;
}

.form-grid.two-col {
  grid-template-columns: 1fr 1fr;
}

label {
  display: block;
  font-size: 14px;
  margin-bottom: 0.35rem;
}

input,
textarea,
select {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid #ccc;
  font: inherit;
  background: #fff;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.form-message {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  display: none;
}

.form-message.success {
  display: block;
  background: #e8f5e9;
  color: #1b5e20;
}

.form-message.error {
  display: block;
  background: #ffebee;
  color: #b71c1c;
}

.form-guard {
  position: absolute;
  left: -10000px;
  top: auto;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

.contact-info {
  max-width: 760px;
  margin: 0 auto 2.5rem;
}

.site-footer {
  background: var(--site-footer);
  color: #fff;
  padding: 2.75rem 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: flex-start;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav a {
  color: #fff;
  font-size: 14px;
}

.footer-nav a:hover {
  color: var(--site-blue-light);
}

.footer-copy {
  color: #e8e6e6;
  font-size: 13px;
  margin: 0.35rem 0 0;
}

.footer-landing-nav {
  flex: 1 1 280px;
  max-width: 520px;
}

.footer-landing-title {
  display: block;
  font-size: 14px;
  margin-bottom: 0.75rem;
}

.footer-landing-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.35rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-landing-links a {
  color: #e8e6e6;
  font-size: 13px;
  text-decoration: none;
}

.footer-landing-links a:hover {
  color: var(--site-blue-light);
}

.landing-page-related {
  padding-top: 0;
}

.landing-page-related-links {
  max-width: 980px;
}

.landing-page-discount {
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--site-blue, #116dff);
  background: #f4f8ff;
}

.post-feature-image {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  margin-bottom: 2rem;
}

@media (max-width: 960px) {
  .home-hero-grid {
    grid-template-columns: 1fr;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .blog-item {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #fff;
    border-bottom: 1px solid var(--site-border);
    padding: 1rem;
  }

  .site-header.open .main-nav {
    display: flex;
  }

  .dropdown {
    position: static;
    box-shadow: none;
    border: none;
    padding-left: 0.75rem;
  }

  .dropdown::before {
    display: none;
  }

  .main-nav > li {
    display: block;
  }

  .main-nav > li > a,
  .main-nav > li > button {
    height: auto;
    display: block;
  }

  .form-grid.two-col {
    grid-template-columns: 1fr;
  }

  .header-inner {
    min-height: 72px;
  }

  .logo img {
    height: 56px;
  }
}
