@import url("https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap");

:root {
  --brand-900: #0b2d30;
  --brand-700: #12454c;
  --brand-500: #1e6f78;
  --brand-300: #56a1a9;
  --accent-500: #f4b860;
  --accent-600: #e09a37;
  --surface-0: #fbfbf9;
  --surface-1: #f2f5f3;
  --surface-2: #e9eeec;
  --text-1: #182124;
  --text-2: #4a585e;
  --text-3: #6a7a80;
  --border-subtle: rgba(18, 69, 76, 0.12);
  --border-strong: rgba(18, 69, 76, 0.24);
  --shadow-sm: 0 10px 25px rgba(11, 45, 48, 0.08);
  --shadow-md: 0 16px 40px rgba(11, 45, 48, 0.12);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --font-sans: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --bs-body-font-family: var(--font-sans);
  --bs-body-color: var(--text-1);
  --bs-body-bg: var(--surface-0);
  --bs-primary: var(--brand-700);
  --bs-primary-rgb: 18, 69, 76;
  --bs-secondary: var(--accent-500);
  --bs-secondary-rgb: 244, 184, 96;
  --bs-link-color: var(--brand-700);
  --bs-link-hover-color: var(--brand-900);
  --bs-border-color: var(--border-subtle);
  --bs-border-radius: var(--radius-md);
  --bs-border-radius-sm: var(--radius-sm);
  --bs-border-radius-lg: var(--radius-lg);
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-1);
  background: radial-gradient(1000px 600px at 10% -10%, rgba(244, 184, 96, 0.12), transparent 60%),
    radial-gradient(900px 500px at 90% 0%, rgba(18, 69, 76, 0.08), transparent 55%),
    var(--surface-0);
}

.site-main {
  flex: 1 0 auto;
  width: 100%;
}

@media (min-width: 992px) {
  .container,
  .container-lg {
    max-width: 1140px;
  }
}

@media (min-width: 1200px) {
  .container,
  .container-lg {
    max-width: 1320px;
  }
}

@media (min-width: 1400px) {
  .container,
  .container-lg {
    max-width: 1480px;
  }
}

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

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-family: var(--font-display);
  letter-spacing: -0.01em;
  color: var(--text-1);
}

p,
li {
  color: var(--text-2);
}

a {
  color: var(--brand-700);
  text-decoration-color: rgba(18, 69, 76, 0.4);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--brand-900);
}

.bg-steel {
  background: linear-gradient(135deg, var(--brand-700), var(--brand-900)) !important;
}

.navbar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-sm);
}

.navbar-brand {
  font-family: var(--font-display);
  letter-spacing: 0.01em;
}

.navbar-dark .navbar-nav .nav-link {
  color: #f5f7f7;
  font-weight: 500;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
  color: #ffffff;
}

.footer-bg {
  flex-shrink: 0;
  background: linear-gradient(180deg, rgba(18, 69, 76, 0.98), rgba(11, 45, 48, 1));
  color: #f3f7f7;
  line-height: 1.4;
  padding-top: 2rem;
  padding-bottom: 125px;
}

.footer-bg a {
  color: #f3f7f7 !important;
}

.footer-bg ul {
  margin-top: 0.8rem;
  margin-bottom: 0.8rem;
}

.footer-bg .footer-note {
  color: #ffffff;
}

.site-main--error {
  display: flex;
}

.error-page {
  flex: 1 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2.5rem, 7vh, 5rem) 1rem;
}

.error-page__inner {
  width: min(100%, 44rem);
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(242, 245, 243, 0.92));
  box-shadow: var(--shadow-md);
  text-align: center;
}

.error-page__status {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(18, 69, 76, 0.08);
  color: var(--brand-700);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.error-page__inner h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

.error-page__inner p {
  max-width: 40rem;
  margin: 0 auto;
}

.site-wide-borders,
.content-section,
.drop-down-category-selector-widget,
.side-bar-section {
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.site-wide-borders {
  padding: 1.25rem;
}

.content-section {
  padding: 1rem 1.25rem;
}

.drop-down-category-selector-widget {
  padding: 1.25rem;
}

.side-bar-section {
  text-align: center;
  padding: 1rem;
}

.about-page .content-section {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.border-content {
  padding: 1rem;
}

#lookup-form .btn {
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease, color 0.12s ease;
}

#lookup-form .btn:hover {
  transform: translateY(-1px);
}

#lookup-form .btn:focus-visible {
  outline: 2px solid var(--brand-300);
  outline-offset: 2px;
}

#lookup-form .form-check-input {
  width: 1.05rem;
  height: 1.05rem;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: 2px solid var(--border-strong);
  border-radius: 0.25rem;
  background-color: #ffffff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 70% 70%;
}

#lookup-form .form-check-input:checked {
  background-color: var(--brand-700);
  border-color: var(--brand-900);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M3.5 8.5l3 3 6-6'/%3e%3c/svg%3e");
}

#lookup-form .form-check-input:focus-visible {
  box-shadow: 0 0 0 0.2rem rgba(18, 69, 76, 0.2);
}

#lookup-form #add-spec {
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
  border: none;
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

#lookup-form #add-spec:hover {
  box-shadow: var(--shadow-md);
}

#lookup-form #toggle-columns,
#lookup-form #select-all-columns,
#lookup-form #deselect-all-columns {
  background: #ffffff;
  border: 1px solid var(--border-strong);
  color: var(--text-2);
}

#lookup-form #toggle-columns:hover,
#lookup-form #select-all-columns:hover,
#lookup-form #deselect-all-columns:hover {
  border-color: var(--brand-300);
  color: var(--brand-700);
}

#lookup-form #lookup-button {
  background: linear-gradient(135deg, #1f8a55, #147a48);
  border: none;
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

#lookup-form #lookup-button:hover {
  box-shadow: var(--shadow-md);
}

#lookup-form #clear-filters-btn {
  background: #657077;
  border: none;
  color: #ffffff;
}

#lookup-form .btn-remove-spec {
  width: 32px;
  height: 32px;
  padding: 0;
  font-size: 1.1rem;
  line-height: 1;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.image-class {
  text-align: center;
  margin: 1rem 0;
}

.splash-image {
  background-image: url('/static/homepageheaderthreeimages.jpg');
  background-color: var(--brand-700);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 340px;
  max-width: none;
  margin: 0;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.splash-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(11, 45, 48, 0.85), rgba(11, 45, 48, 0.2));
}

.splash-title {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  margin: 0;
  padding: 0.6rem 0.9rem;
  color: #ffffff;
  background: rgba(11, 45, 48, 0.6);
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 600;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.article-title {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.6vw, 1.5rem);
  color: var(--text-1);
}

a.article-title:hover {
  color: var(--brand-900);
}

.article-metadata {
  color: var(--text-3);
  font-size: 0.95rem;
  padding-bottom: 0.35rem;
  margin-bottom: 0.3rem;
}

.article-metadata + hr {
  margin: 0.4rem 0 0.8rem;
}

.blog-post-info,
.blog-post-written {
  margin-bottom: 0.2rem;
}

.caption-block {
  max-width: 640px;
  margin: 0.5rem auto;
}

.caption-card-body {
  display: block;
}

.comparison-table-text {
  font-size: 0.95rem;
}

.depr-chart-null {
  background-color: var(--surface-2);
  color: var(--text-3);
}

.vertical-table-striped td:nth-of-type(odd),
.vertical-table-striped th:nth-of-type(even) {
  background: rgba(18, 69, 76, 0.06);
}

table.table-responsive {
  display: block;
  overflow-x: auto;
  width: 100%;
}

table.table-responsive th,
table.table-responsive td {
  white-space: nowrap;
}

.table-responsive {
  display: block;
  overflow-x: auto;
  padding-bottom: 6px;
}

.front-page-blog-photos {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  display: block;
}


.table-cell-shade {
  --bs-table-bg: #f1f4f3;
  --bs-table-striped-bg: #f6f8f8;
  --bs-table-striped-color: var(--text-1);
  --bs-table-active-bg: #f6f8f8;
  --bs-table-active-color: var(--text-1);
  --bs-table-hover-bg: #f6f8f8;
  --bs-table-hover-color: var(--text-1);
  color: var(--text-1);
  border-color: var(--border-strong);
}

.cell-background {
  background: #eef1f0 !important;
}

.intro-comparison-notes-section {
  background: #f1f5f4 !important;
  border-left: 4px solid var(--accent-500);
  border-radius: var(--radius-sm);
  margin: 2rem 0;
  padding: 0.8rem 1rem;
  line-height: 1.7;
}

.depreciation-link-intro-section {
  background-color: rgba(244, 184, 96, 0.18);
  border-color: rgba(224, 154, 55, 0.6) !important;
}

#specmenu {
  background-color: var(--brand-700);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.sticky-spec-menu {
  position: sticky;
  top: 0;
  z-index: 10;
}

.sticky-spec-menu-break-point {
  position: absolute;
  top: 650px;
}

#specmenu .btn {
  color: var(--text-1);
  background-color: var(--accent-500);
  border-color: var(--accent-600);
}

#specmenu .btn:hover {
  color: var(--text-1);
  background-color: var(--accent-600);
  border-color: var(--accent-600);
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.breadcrumb {
  background-color: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.6rem;
}

.breadcrumb li,
.breadcrumb a {
  font-size: 0.95rem;
  text-decoration: none;
}

.amazon-disclaimer {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-3);
}

.comparison-table-row-font-size {
  font-size: 0.95rem;
}

.border-shadow-sections {
  background-color: var(--surface-1);
  padding: 0.8rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.border-shadow-sections p {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

@keyframes fade-rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-reveal {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes title-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .splash-image {
    animation: hero-reveal 700ms ease-out both;
  }

  .splash-title {
    animation: title-rise 700ms 120ms ease-out both;
  }

  .site-wide-borders,
  .content-section,
  .drop-down-category-selector-widget,
  .side-bar-section {
    animation: fade-rise 500ms ease-out both;
  }
}

@media (max-width: 768px) {
  .splash-image {
    height: 260px;
  }

  .splash-title {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .error-page {
    padding: 0.75rem;
  }

  .error-page__inner {
    min-height: clamp(260px, 54vh, 480px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
