/* Styles for the public landing page. */
:root {
  --ink: #16181d;
  --muted: #66707a;
  --line: #dfe5ea;
  --panel: #ffffff;
  --soft: #f2f7fa;
  --accent: #07855f;
  --accent-dark: #056747;
  --warm: #f0b429;
}

* {
  box-sizing: border-box;
  min-width: 0;
  overflow-wrap: anywhere;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 54px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(223, 229, 234, 0.9);
  backdrop-filter: blur(14px);
  max-width: 100vw;
}

.brand {
  font-size: 21px;
  font-weight: 700;
  text-decoration: none;
  white-space: normal;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: flex-start;
  font-size: 15px;
  font-weight: 600;
}

.main-nav a {
  color: #28313a;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--accent);
}

.login-link,
.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  white-space: normal;
}

.login-link,
.primary-action {
  color: #ffffff;
  background: var(--accent);
}

.login-link:hover,
.login-link:focus-visible,
.primary-action:hover,
.primary-action:focus-visible {
  background: var(--accent-dark);
}

.secondary-action {
  color: var(--ink);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
}

.hero {
  min-height: min(720px, calc(100vh - 72px));
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 42%, rgba(255, 255, 255, 0.22) 78%),
    var(--hero-image, url("/assets/ar6-main.png")) right 8% center / min(68vw, 760px) auto no-repeat,
    #f6f8f9;
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  width: min(1180px, 100vw);
  padding: clamp(56px, 8vw, 110px) clamp(20px, 5vw, 72px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
li {
  margin-top: 0;
  overflow-wrap: break-word;
}

h1 {
  max-width: 680px;
  margin-bottom: 14px;
  font-size: clamp(48px, 8vw, 92px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 21px;
  line-height: 1.22;
}

.hero-copy {
  max-width: 540px;
  margin-bottom: 28px;
  color: #39434d;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.32;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.intro {
  background: var(--accent);
  color: #ffffff;
}

.intro p {
  margin: 0;
  font-size: clamp(22px, 3vw, 31px);
  line-height: 1.35;
  text-align: center;
}

.section,
.intro {
  padding: clamp(58px, 8vw, 92px) 0;
}

.content {
  width: min(1120px, calc(100vw - 40px));
  margin: 0 auto;
}

.content.narrow {
  width: min(820px, calc(100vw - 40px));
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-grid article,
.review-grid blockquote {
  min-height: 100%;
  margin: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.feature-grid p,
.review-grid p,
.service-section p,
.check-list {
  color: var(--muted);
}

.product-section {
  padding-top: 0;
}

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

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.product-layout.reverse {
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1fr);
}

.product-layout img {
  display: block;
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 18px 42px rgba(35, 43, 51, 0.14);
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--warm);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.review-grid cite {
  display: block;
  margin-top: 18px;
  color: var(--ink);
  font-style: normal;
  font-weight: 700;
}

.price-list {
  display: grid;
  gap: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.price-list div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}

.price-list div:last-child {
  border-bottom: 0;
}

.price-list dt,
.price-list dd {
  margin: 0;
}

.price-list dt {
  font-weight: 700;
}

.price-list dd {
  color: var(--accent-dark);
  font-weight: 800;
  white-space: nowrap;
}

.link-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}

.link-list a {
  color: var(--accent-dark);
  font-weight: 700;
}

.footer {
  padding: 52px 0;
  color: #ffffff;
  background: #202225;
}

.footer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: start;
}

.footer h2 {
  margin-bottom: 12px;
  font-size: 34px;
}

.footer p {
  margin-bottom: 6px;
  color: #d7dde2;
}

.contact-list {
  display: grid;
  gap: 8px;
  min-width: 230px;
}

.contact-list a {
  color: #ffffff;
  text-decoration: none;
}

.contact-list a:hover,
.contact-list a:focus-visible {
  color: #bce7d8;
}

@media (max-width: 960px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 10px 16px;
  }

  .main-nav {
    grid-column: 1 / -1;
    order: 3;
  }

  .hero {
    min-height: auto;
    padding-top: 260px;
    align-items: flex-end;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.96) 42%, #ffffff 100%),
      var(--hero-image, url("/assets/ar6-main.png")) center 24px / min(92vw, 560px) auto no-repeat,
      #f6f8f9;
  }

  .hero-inner {
    padding-top: 42px;
  }

  .feature-grid,
  .product-layout,
  .product-layout.reverse,
  .review-grid,
  .footer-layout {
    grid-template-columns: 1fr;
  }

  .product-layout.reverse img {
    order: -1;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: static;
    grid-template-columns: 1fr;
  }

  .hero-inner,
  .content,
  .content.narrow {
    width: min(350px, calc(100vw - 32px));
    max-width: 350px;
  }

  .brand {
    font-size: 19px;
  }

  .main-nav {
    gap: 8px 14px;
    font-size: 13px;
    line-height: 1.25;
  }

  .login-link {
    justify-self: start;
    min-height: 40px;
    padding: 9px 12px;
    font-size: 14px;
  }

  .main-nav {
    width: 100%;
  }

  .hero {
    padding-top: 205px;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 28px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .eyebrow {
    font-size: 12px;
    line-height: 1.3;
  }

  .intro p {
    font-size: 20px;
  }

  .price-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .price-list dd {
    white-space: normal;
  }
}
