body {
  margin: 0;
  font-family: "Didact Gothic", system-ui, sans-serif;
  color: #f3f6fa;
  background-color: #0b1320;
}

/* ===== Header / Navigation ===== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #f3f6fa;
  border-bottom: 1px solid #d9e0ea;

  overflow: visible;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-container {
  position: relative;
}

.brand-name {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #f3f6fa;
  letter-spacing: 0.3px;
}

.primary-nav a {
  font-size: 0.9rem;
  text-decoration: none;
  color: #0b1320;
  padding-bottom: 0.25rem;
  border-bottom: 2px solid transparent;
}

.primary-nav a:hover {
  color: #000000;
}

.primary-nav a.active {
  border-bottom-color: #1c3f60;
}

main {
  display: block;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: #0b1320;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  height: 45px;
  width: auto;
}

.hero {
  padding-top: 2rem;
  margin-top: 0;
}

.hero {
  position: relative;
  min-height: 75vh;
  background-image: url("/img/hero/tanksite-hero-embed1.png");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(11, 19, 32, 0.9) 0%,
    rgba(11, 19, 32, 0.7) 40%,
    rgba(11, 19, 32, 0.2) 70%,
    rgba(11, 19, 32, 0) 100%
  );
}
.hero-product-logo {
  position: absolute;
  right: 6%;
  bottom: 18%;
  background: rgba(11, 19, 32, 0.85);
  padding: 2.5rem 3rem;
  border-radius: 2px;
}

.hero-product-logo img {
  height: 90px;
  width: auto;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  padding: 4rem 6rem;
}

.hero h1 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.2;
  margin: 0 0 1rem;
}

.hero p {
  font-size: 1.2rem;
  max-width: 480px;
  opacity: 0.85;
  margin-bottom: 2rem;
}

.hero .cta {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: 1px solid #1c3f60;
  color: #f3f6fa;
  text-decoration: none;
  font-weight: 500;
}

.hubspot-hubspot {
  background-color: #f3f6fa;
  border-radius: 10px;
}

@media (max-width: 768px) {
  .hero {
    min-height: 65vh;
    background-position: 80% center;
  }

  .hero::before {
    background: rgba(11, 19, 32, 0.85);
  }

  .hero-content {
    padding: 3rem 2rem;
    max-width: 100%;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-product-logo {
    display: none;
  }
  .nav-toggle {
    display: block;
  }

  .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;

    background: #f3f6fa;
    flex-direction: column;
    padding: 0.75rem 1rem;

    border-bottom: 1px solid #d9e0ea;
    z-index: 200;
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    padding: 0.75rem 0;
    color: #0b1320;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .primary-nav a:last-child {
    border-bottom: none;
  }

  /* Overview header: logo above text */
  .overview-header {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }

  .overview-logo {
    justify-content: center;
  }

  /* Feature pairs: stack text above image */
  .feature-pair {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
  }

  /* Remove desktop re-ordering on mobile */
  .feature-pair:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .feature-pair:nth-child(even) .feature-text,
  .feature-pair:nth-child(even) .feature-image {
    order: initial;
  }

  /* Make images full width */
  .feature-image img {
    width: 100%;
    max-width: 100%;
  }

  .feature-text h3 {
    font-size: 1.1rem;
  }

  .feature-text p {
    line-height: 1.65;
  }
}

.company-overview {
  background: #f3f6fa;
  color: #0b1320;
  padding: 4rem 2rem;
}

.company-overview .container {
  max-width: 960px;
  margin: 0 auto;
}

.company-overview h2 {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  margin-bottom: 1rem;
}

.contact-section {
  background: #0b1320;
  color: #f3f6fa;
  padding: 1rem 2rem;
}

.contact-section .container {
  max-width: 640px;
  margin: 0 auto;
}

.contact-section h2 {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  margin-bottom: 2rem;
}
.container {
  /* background-color: #f3f6fa; */
  border-radius: 10px;
}

.site-footer {
  background: #0b1320;
  color: #cfd6e0;
  padding: 3rem 2rem 1.5rem;
  font-size: 0.9rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
}

.site-footer h4 {
  color: #ffffff;
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin-bottom: 0.5rem;
}

.site-footer a {
  color: #cfd6e0;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-meta {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  opacity: 0.8;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.7;
}

.container-contact {
  /* max-width: 100vw; */
  margin: 0 auto;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2.5rem;
  min-width: 25em;
}
.contact-block-hubspot {
  min-width: 50rem;
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(11, 19, 32, 0.08);
}
.contact-block {
  /* max-width: 1000px; */
  padding-top: 1.5rem;
  border-top: 1px solid rgba(11, 19, 32, 0.12);
}

.contact-block h2 {
  font-size: 0.95rem;
  color: #0b1320;
}

.contact-block p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}
.contact-block a {
  color: #cfd6e0;
  text-decoration: underline;
}
.page-intro {
  max-width: 68vw;
  margin-bottom: 1.5rem;
}

#resources-coming-soon {
  text-align: center;
  padding-top: 4rem;
  padding-bottom: 4rem;
  background-color: #0b1320;
}

.resources-logo {
  height: 100px;
  width: auto;
  margin-bottom: 2.5rem;
}

.resources-coming-soon h1 {
  margin-bottom: 1.25rem;
}

.resources-intro {
  max-width: 680px;
  margin: 0 auto 1.5rem;
  font-size: 1rem;
  line-height: 1.6;
}

.resources-note {
  max-width: 680px;
  margin: 0 auto;
  font-size: 0.95rem;
  opacity: 0.8;
}

.legal-page {
  max-width: 900px;
  background-color: #0b1320;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.legal-intro {
  margin-bottom: 3rem;
  font-size: 1rem;
  line-height: 1.6;
}

.legal-content {
  font-size: 0.95rem;
  line-height: 1.7;
}

.legal-content h2 {
  margin-top: 3rem;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.legal-content h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.legal-content p {
  margin-bottom: 1.25rem;
}

.legal-content ul {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

.product-surface {
  background-color: #0b1320;
  color: #f3f6fa;
}

:root {
  --bg: #0b1320;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-2: rgba(255, 255, 255, 0.08);
  --text: #f3f6fa;
  --muted: rgba(243, 246, 250, 0.75);
  --border: rgba(243, 246, 250, 0.14);
  --accent: #1c3f60;
  --site-header-height: 72px; /* adjust to match header */
  --mode-bar-height: 220px;
}

#overview {
  scroll-margin-top: var(--mode-bar-height);
}

body {
  background: var(--bg);
  color: var(--text);
}

.container {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
}

.product-hero {
  padding: 4.5rem 0 3rem;
  text-align: center;
}

.hero-inner {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-brand {
  display: flex;
  justify-content: center;
}

.product-logo {
  width: 220px;
  /* gap: 2rem; */
  height: auto;
  display: block;
}

.product-title {
  font-size: 2.2rem;
  margin: 0 0 0.5rem;
}

.product-subtitle {
  margin: 0 0 1rem;
  color: var(--muted);
  max-width: 60ch;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  padding: 0.75rem 1rem;
  border-radius: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.btn-primary {
  background: var(--accent);
  border-color: rgba(255, 255, 255, 0.18);
}

.btn-ghost {
  background: transparent;
}

.mode-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(11, 19, 32, 0.75);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.mode-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}

.mode-tabs {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
}

.mode-tab {
  padding: 0.6rem 0.9rem;
  background: transparent;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  font-weight: 700;
}

.mode-tab.is-active {
  background: rgba(28, 63, 96, 0.65);
  color: var(--text);
}

.mode-hint {
  color: var(--muted);
  font-size: 0.9rem;
}

.product-main {
  padding: 1.75rem 0 3rem;
}

.section-intro {
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.section-intro h2 {
  margin: 0 0 0.5rem;
  font-size: 1.6rem;
}

.section-intro p {
  font-size: 1.1rem;
  line-height: 1.75;
  max-width: 65ch;
}

.card {
  background: transparent;
  border: none;
  border-radius: 1.25rem;
}

.feature-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 4rem;
  row-gap: 3.5rem;
}

.feature {
  padding: 0;
}

.feature h3 {
  margin-bottom: 0.4rem;
}

.feature p {
  max-width: 42ch;
}

.media-rail {
  margin: 3rem 0 3.5rem;
}

.media-card {
  background: transparent;
  border: none;
}

.media-img {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 4px;
}

.media-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.media-caption {
  padding: 0.9rem 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.infra {
  margin-top: 2rem;
}

.infra-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.25rem;
}

.infra-card {
  padding: 1.1rem;
}

.infra-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.05rem;
}

.infra-card ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.7;
}

.cta-banner {
  background: transparent;
  border: none;
  padding-top: 2rem;
}

.cta-inner {
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.cta-inner h3 {
  margin: 0 0 0.35rem;
}

.cta-inner p {
  margin: 0;
  color: var(--muted);
}

.mode-panel {
  display: none;
}

.mode-panel.is-visible {
  display: block;
}

/* Responsive */
@media (max-width: 920px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .media-rail {
    grid-template-columns: 1fr;
  }
  .infra-grid {
    grid-template-columns: 1fr;
  }
  .mode-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

.config-form {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.config-block {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 1.25rem;
}

.config-block label {
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
}

.config-block input[type="number"] {
  width: 100%;
  max-width: 220px;
  padding: 0.6rem;
  border-radius: 0.6rem;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.radio-group {
  display: grid;
  gap: 0.5rem;
}

.field-hint {
  font-size: 0.85rem;
  color: var(--muted);
}

.config-calculation {
  background: rgba(28, 63, 96, 0.25);
}

.config-submit {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.submit-note {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Optional: visually hide HubSpot form */
#hubspot-quote-form {
  display: none;
}

.card,
.media-card,
.config-block,
.cta-banner {
  border-radius: 6px;
}

.feature-group-title {
  grid-column: 1 / -1;
  margin: 3rem 0 1rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
}

.feature:nth-of-type(1),
.feature:nth-of-type(3),
.feature:nth-of-type(5) {
  font-size: 1.05rem;
}

.feature:nth-of-type(1) h3,
.feature:nth-of-type(3) h3,
.feature:nth-of-type(5) h3 {
  font-size: 1.15rem;
}

.section-transition {
  margin: 4rem 0 2rem;
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 60ch;
}

.feature-visual {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  align-items: center;
  margin: 4rem 0;
}

.feature-visual-text h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.feature-visual-text p {
  max-width: 48ch;
  color: var(--muted);
}

.feature-visual-image img {
  width: 100%;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
}

.product-main .container {
  width: min(1280px, calc(100% - 3rem));
}

.section-intro {
  text-align: center;
}

.section-intro p {
  margin-left: auto;
  margin-right: auto;
}

.feature:nth-child(odd) {
  padding-right: 1.5rem;
}

.feature:nth-child(even) {
  padding-left: 1.5rem;
}

.media-card {
  margin-top: 1.25rem;
}

.media-img {
  max-width: 90%;
}
.feature:first-of-type .media-img {
  max-width: 100%;
}

.infra {
  margin-left: 5%;
  margin-right: 5%;
}

.feature h3 {
  letter-spacing: 0.2px;
}

.feature p {
  line-height: 1.6;
}

@media (min-width: 769px) {
  .primary-nav {
    display: flex;
    gap: 2rem; /* adjust as needed */
  }
  .feature-pair {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
    gap: 3rem;
    margin: 2rem;
  }

  .feature-pair:nth-child(even) {
    grid-template-columns: 1.2fr 1fr;
  }

  .feature-pair:nth-child(even) .feature-text {
    order: 2;
  }

  .feature-pair:nth-child(even) .feature-image {
    order: 1;
  }
}

.feature-image img {
  width: 100%;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
}

.feature-text h3,
.feature h3 {
  margin: 0 0 0.6rem;
}

.feature-text,
.feature {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.feature h3,
.feature-text h3 {
  font-weight: 600;
  letter-spacing: 0.3px;
}
.feature h3::before,
.feature-text h3::before {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  background: rgba(255, 255, 255, 0.35);
  margin-bottom: 0.5rem;
}

.feature-group-title {
  margin-top: 4.5rem;
  margin-bottom: 2rem;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.4px;
}
.feature-group-title::after {
  content: "";
  display: block;
  margin-top: 1rem;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}
.feature-pair {
  align-items: start;
}
.feature-pair:first-of-type h3 {
  font-size: 1.15rem;
}
.feature-image img,
.media-img img {
  display: block;
  width: 100%;
  border-radius: 10px;

  background: rgba(255, 255, 255, 0.02);
  border: 4px solid rgba(255, 255, 255, 0.12);
}

#panel {
  max-width: 60%;
}
.mode-bar {
  position: sticky;
  top: var(--site-header-height);
  z-index: 90;

  backdrop-filter: blur(10px);
  background: rgba(11, 19, 32, 0.75);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}

.mode-bar button {
  font-size: 0.95rem;
}
.mode-bar.is-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

/* Product overview header layout */
.overview-header {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3rem;
  align-items: center;
  text-align: left;
  max-width: 960px;
  margin: 2.5rem auto 0;
}

.overview-logo {
  display: flex;
  justify-content: center;
  text-align: left;
}

.overview-text p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
}

.overview-logo img {
  max-width: 180px; /* down from ~220 */
  opacity: 0.9;
}

.section-intro {
  padding-bottom: 3rem;
}

.section-intro::after {
  opacity: 0.4;
}

.section-divider {
  margin-top: 3rem;
  opacity: 0.4;
}

.overview-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 0.75rem;
}

.feature-pair--text {
  align-items: flex-start;
}

.feature-pair--text .feature-text {
  max-width: 520px;
}

.infra {
  margin-top: 5rem;
  margin: 2rem auto 0;
  padding: 0 2rem 2rem;

  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0)
  );
}

.infra::before {
  content: "";
  display: block;
  height: 1px;
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 4rem;
}

.infra .section-intro p {
  max-width: 720px;
  opacity: 0.85;
}

.infra-card h3 {
  letter-spacing: 0.02em;
}

.cta-inner button {
  margin-top: 2rem;
}
.cta-inner h3 {
  margin-top: 2rem;
}

#hubspot-form {
  /* visibility: hidden; */
}

.enquiry-form {
  max-width: 520px;
  margin: 0 auto;
  padding: 1.5rem;
  background-color: #f3f6fa;
  border-radius: 8px;
}

.enquiry-form .form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.25rem;
}

.enquiry-form label {
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
  color: #0b1320;
}

.enquiry-form input,
.enquiry-form textarea {
  background-color: #111a2e;
  border: 1px solid #2a3550;
  border-radius: 4px;
  padding: 0.6rem 0.65rem;
  font-size: 0.95rem;
  color: #f3f6fa;
}

.enquiry-form input:focus,
.enquiry-form textarea:focus {
  outline: none;
  border-color: #4c7cff;
  background-color: #121c33;
}

.enquiry-form textarea {
  resize: vertical;
  min-height: 120px;
}

.enquiry-form .form-actions {
  margin-top: 1.5rem;
}

.enquiry-form button {
  background-color: #1c3f60;
  color: #ffffff;
  border: none;
  padding: 0.7rem 1.25rem;
  font-size: 0.95rem;
  border-radius: 4px;
  cursor: pointer;
}

.enquiry-form button:hover {
  background-color: #24527a;
}

.enquiry-form button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.enquiry-thank-you {
  max-width: 520px;
  margin: 2rem auto;
  padding: 1.5rem;
  background-color: #1c3f60;
  border-radius: 8px;
  text-align: center;
}

.enquiry-thank-you h2 {
  margin-bottom: 0.75rem;
  color: #f3f6fa;
}

.enquiry-thank-you p {
  color: #cfd6e4;
  font-size: 0.95rem;
}

.infra-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.infra-icon {
  font-size: 1.1rem;
  line-height: 1;
  opacity: 0.85;
}

.field-error {
  margin-top: 0.25rem;
  font-size: 0.8rem;
  color: #ff2020;
}

.contact-details .enquiry-form {
  min-width: 33em;
}

#tanksite-config-form {
  max-width: 600px;
  margin: 0 auto;
}

.config-block input[type="number"],
.config-block input[type="text"],
.config-block input[type="email"],
.config-block input[type="tel"] {
  width: 100%;
  max-width: 68%;
  padding: 0.6rem 0.7rem;
  border-radius: 0.6rem;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 0.95rem;
}
.ctc-page {
  min-width: 100%;
}

.who-for-section {
  padding: 4rem 0;
}

.who-for-section .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.who-for-section .section-header {
  margin-bottom: 2rem;
}

.who-for-section h2 {
  margin: 0 0 0.75rem;
}

.who-for-section .section-header p {
  margin: 0;
  max-width: 70ch;
  opacity: 0.9;
  line-height: 1.6;
}

.tile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.tile {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.03);
}

.tile-icon {
  font-size: 1.5rem;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.tile h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.tile p {
  margin: 0;
  line-height: 1.6;
  opacity: 0.95;
}

.who-for-footnote {
  margin: 1.75rem 0 0;
  max-width: 90ch;
  opacity: 0.9;
  line-height: 1.6;
}

@media (max-width: 1000px) {
  .tile-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .tile-grid {
    grid-template-columns: 1fr;
  }
}
.who-for-cta {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

.who-for-cta .btn {
  font-size: 0.95rem;
  background-color: #f3f6fa;
  color: #0b1320;
}

.solutions-section {
  margin-top: 3.5rem;
  text-align: center;
}

.solutions-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  justify-items: center;
}

.solutions-list li a {
  display: block;
  padding: 1.25rem 1.5rem;

  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  background-color: rgba(255, 255, 255, 0.03);

  color: inherit;
  text-decoration: none;

  transition:
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.solutions-list li a:hover {
  background-color: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
}

.solutions-list li {
  width: 100%;
  max-width: 360px;
}

.solutions-section {
  position: relative;
  padding-bottom: 3rem; /* space above the line */
}

.solutions-section::after {
  content: "";
  display: block;

  width: 80%;
  height: 1px;

  margin: 3rem auto 0;

  background-color: rgba(255, 255, 255, 0.25);
}

.solution-hero {
  max-width: 900px;
  margin: 0 auto 3rem;
}

.solution-intro {
  font-size: 1.05rem;
  line-height: 1.6;
  opacity: 0.9;
}

.solution-section {
  max-width: 900px;
  margin: 0 auto 3rem;
}

.solution-section h2 {
  margin-bottom: 1rem;
}

.solution-section ul {
  padding-left: 1.2rem;
}

.solution-links ul {
  list-style: none;
  padding-left: 0;
}

.solution-links li {
  margin-bottom: 0.75rem;
}

.solution-links a {
  text-decoration: none;
}

.solution-links a:hover {
  text-decoration: underline;
}
/* .solution-image {
  width: 100%;
  display: flex;
  justify-content: center;
} */

.solution-section img {
  width: auto !important;
  max-width: 450px !important;
  height: auto !important;

  display: block;
  border-radius: 6px;

  background-color: rgba(255, 255, 255, 0.02);
  padding: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.solution-section img {
  background-color: rgba(255, 255, 255, 0.02);
  padding: 4px;
}

.solution-section img {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

@media (max-width: 600px) {
  .solution-section img {
    margin: 2rem auto 2.5rem;
  }
}

.solution-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;

  margin-top: 1.5rem;
}

.solution-split-image img {
  width: auto;
  max-width: 100%;
  height: auto;

  display: block;
  border-radius: 6px;
}

.solution-split-content ul {
  margin: 0;
  padding-left: 1.2rem;
}

@media (max-width: 900px) {
  .solution-split {
    grid-template-columns: 1fr;
  }

  .solution-split-image {
    order: -1;
  }
}

/* ===== Products page: force stacking on phones only ===== */
@media (max-width: 560px) {
  .overview-header {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
    text-align: center !important;
  }

  .overview-logo {
    justify-content: center !important;
  }

  /* Optional: keep logo sensible on very small screens */
  .overview-logo img {
    max-width: 140px !important;
    height: auto;
  }
}

/* ===== Image lightbox ===== */
.image-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(11, 19, 32, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 500;
  cursor: zoom-out;
}

.image-lightbox img {
  max-width: 92vw;
  max-height: 92vh;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.feature-image img {
  cursor: zoom-in;
}

.image-lightbox img {
  animation: zoomIn 0.15s ease-out;
}

@keyframes zoomIn {
  from {
    transform: scale(0.96);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.image-lightbox[hidden] {
  display: none !important;
}
