/* =====================================================
   LaundromatPrices - Main Stylesheet
   Accent: Steel Blue #25648f
   Responsive, accessible, no external dependencies
   ===================================================== */

:root {
  --brand: #25648f;
  --brand-dark: #194968;
  --brand-light: #eaf3f9;
  --ink: #253342;
  --ink-soft: #526273;
  --muted: #687787;
  --background: #ffffff;
  --surface: #f5f8fa;
  --surface-blue: #eef5f9;
  --border: #dce4ea;
  --border-dark: #c7d2dc;
  --success: #236b48;
  --error: #a52d2d;
  --shadow-sm: 0 2px 8px rgba(24,45,63,.06);
  --shadow-md: 0 8px 24px rgba(24,45,63,.09);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --container: 1120px;
  --content-width: 760px;
  --font: -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

/* Reset */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img, svg {
  max-width: 100%;
}

button, input, select, textarea {
  font: inherit;
}

button, a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: var(--brand);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #77b8df;
  outline-offset: 3px;
}

button {
  cursor: pointer;
}

h1, h2, h3, h4, p {
  margin-top: 0;
}

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.25;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(2.15rem, 5vw, 3.5rem);
  letter-spacing: -.045em;
  font-weight: 750;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  letter-spacing: -.025em;
  font-weight: 700;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
  font-weight: 700;
}

h4 {
  margin-bottom: 8px;
  font-size: 1rem;
}

p {
  margin-bottom: 18px;
}

ul, ol {
  padding-left: 24px;
}

li {
  margin-bottom: 9px;
}

[hidden] {
  display: none!important;
}

/* Layout */

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-right: auto;
  margin-left: auto;
}
.content-narrow {
  max-width: var(--content-width);
  margin-right: auto;
  margin-left: auto;
}
.section {
  padding-top: 76px;
  padding-bottom: 76px;
}
.section-alt {
  background: var(--surface);
}
.section-heading {
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center;
}
.section-heading h2 {
  margin-bottom: 16px;
}

.section-intro {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.75;
}

.section-action {
  margin-top: 32px;
  text-align: center;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--brand);
  font-size:.78rem;
  font-weight: 800;
  letter-spacing:.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

/* Accessibility */

.skip-link {
  position: absolute;
  z-index: 1000;
  top: -100px;
  left: 16px;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background: var(--brand-dark);
  color: #ffffff;
  font-weight: 700;
}

.skip-link:focus {
  top: 12px;
  color: #ffffff;
}

::selection {
  background: #d5e9f6;
  color: var(--ink);
}

/* Header */

.site-header {
  position: relative;
  z-index: 10;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -.045em;
  text-decoration: none;
  white-space: nowrap;
}

.brand:hover {
  color: var(--ink);
}

.brand-mark {
  display: inline-flex;
  width: 27px;
  height: 27px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--brand);
  color: #ffffff;
  font-size:.85rem;
}

.brand-accent {
  color: var(--brand);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px;
}

.site-nav a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 10px 13px;
  border-radius: var(--radius-sm);
  color: var(--ink-soft);
  font-size:.94rem;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--brand-light);
  color: var(--brand-dark);
}

/* Breadcrumbs */

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size:.9rem;
}

.breadcrumbs a {
  color: var(--brand);
}

.breadcrumbs [aria-current="page"] {
  color: var(--muted);
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 82px;
  background: linear-gradient(
    120deg,
    #f0f6fa 0%,
    #ffffff 68%,
    #edf4f8 100%
);
  border-bottom: 1px solid var(--border);
}

.hero >.container {
  max-width: 900px;
}

.hero h1 {
  max-width: 850px;
}

.hero-copy {
  max-width: 760px;
  margin-bottom: 18px;
  color: var(--ink-soft);
  font-size: 1.13rem;
  line-height: 1.8;
}

.hero-compact {
  padding-top: 56px;
  padding-bottom: 58px;
}

.hero-compact h1 {
  max-width: 850px;
  font-size: clamp(2rem, 4.5vw, 3rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

/* Buttons */

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 21px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-size:.98rem;
  font-weight: 750;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  transition: background.18s ease,
    border-color.18s ease,
    color.18s ease,
    transform.18s ease;
}

.button:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.button-primary {
  background: var(--brand);
  color: #ffffff;
}

.button-primary:hover {
  background: var(--brand-dark);
  color: #ffffff;
}

.button-outline {
  border-color: var(--brand);
  background: #ffffff;
  color: var(--brand-dark);
}

.button-outline:hover {
  background: var(--brand-light);
  color: var(--brand-dark);
}

.button:disabled {
  cursor: not-allowed;
  opacity:.6;
  transform: none;
}

/* Supporting text */

.supporting-copy {
  margin-top: 25px;
  color: var(--muted);
  text-align: center;
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--brand);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.text-link:hover {
  color: var(--brand-dark);
}

.field-help {
  margin: 6px 0 0;
  color: var(--muted);
  font-size:.88rem;
  line-height: 1.5;
}

/* Ad slots */

.ad-slot {
  display: block;
  width: 100%;
  min-height: 90px;
  margin-top: 20px;
  margin-bottom: 20px;
  background: transparent;
}

/* Metro grid */

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

.metro-card {
  display: flex;
  min-height: 110px;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #ffffff;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: border-color.18s ease,
    box-shadow.18s ease,
    transform.18s ease;
}

.metro-card:hover {
  border-color: var(--brand);
  color: var(--ink);
  box-shadow: var(--shadow-md);
  text-decoration: none;
  transform: translateY(-2px);
}

.metro-card h3,
.metro-card-title {
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 1.08rem;
}

.metro-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size:.9rem;
}

/* Empty states */

.empty-state {
  max-width: 780px;
  margin: 26px auto;
  padding: 38px 30px;
  border: 1px dashed var(--border-dark);
  border-radius: var(--radius-md);
  background: var(--surface);
  text-align: center;
}

.empty-state h3 {
  margin-bottom: 12px;
}

.empty-state p {
  max-width: 600px;
  margin-right: auto;
  margin-left: auto;
  color: var(--ink-soft);
}

.empty-state .button {
  margin-top: 10px;
}

/* Snapshot */

.snapshot-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 35px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.snapshot-main {
  flex: 1;
}

.snapshot-label {
  margin-bottom: 9px;
  color: var(--ink-soft);
  font-size:.94rem;
  font-weight: 700;
}

.snapshot-value {
  margin-bottom: 12px;
  color: var(--brand-dark);
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.2;
}

.snapshot-description {
  max-width: 660px;
  margin-bottom: 12px;
  color: var(--ink-soft);
}

.snapshot-note {
  margin-bottom: 0;
  color: var(--muted);
  font-size:.88rem;
}

.snapshot-actions {
  flex-shrink: 0;
}

.source-details {
  margin-top: 24px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.source-details summary {
  min-height: 44px;
  cursor: pointer;
  color: var(--brand-dark);
  font-weight: 750;
}

.source-list {
  margin-bottom: 0;
}

.source-list li {
  padding: 8px 0;
  color: var(--ink-soft);
}

/* Feature cards */

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

.feature-card {
  padding: 27px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.feature-card h3 {
  margin-bottom: 13px;
}

.feature-card p {
  margin-bottom: 12px;
  color: var(--ink-soft);
}

.feature-card p:last-child {
  margin-bottom: 0;
}

.feature-icon {
  display: inline-flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: 12px;
  background: var(--brand-light);
  color: var(--brand);
}

.feature-icon svg {
  width: 40px;
  height: 40px;
}

/* Steps */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 0;
  list-style: none;
}

.steps-grid li,
.step-card {
  min-height: 150px;
  padding: 25px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #ffffff;
}

.step-card h3 {
  margin-bottom: 12px;
}

.step-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

/* Guide panels */

.guide-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 38px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface-blue);
}

.guide-panel > div {
  flex: 1;
}

.guide-panel h2 {
  margin-bottom: 14px;
}

.guide-panel p {
  color: var(--ink-soft);
}

.guide-panel .button {
  flex-shrink: 0;
}

/* Link cards */

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

.link-card {
  display: flex;
  min-height: 190px;
  flex-direction: column;
  align-items: flex-start;
  padding: 25px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: border-color.18s ease,
    box-shadow.18s ease,
    transform.18s ease;
}

.link-card:hover {
  border-color: var(--brand);
  color: var(--ink);
  box-shadow: var(--shadow-md);
  text-decoration: none;
  transform: translateY(-2px);
}

.link-card-title {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 750;
}

.link-card-description {
  display: block;
  margin-bottom: 15px;
  color: var(--ink-soft);
  font-size:.95rem;
}

.link-card .text-link {
  margin-top: auto;
}

/* Information notes */

.info-note {
  margin: 26px 0;
  padding: 25px;
  border: 1px solid var(--border);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.info-note h2,
.info-note h3 {
  margin-bottom: 12px;
}

.info-note p {
  color: var(--ink-soft);
}

.info-note p:last-child {
  margin-bottom: 0;
}

.info-note ul {
  margin-bottom: 0;
  color: var(--ink-soft);
}

/* Price comparison cards */

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

.comparison-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.comparison-card h3 {
  margin-bottom: 16px;
}

.comparison-card p {
  color: var(--ink-soft);
}

.comparison-label {
  margin-bottom: 4px;
  color: var(--muted);
  font-size:.85rem;
  font-weight: 700;
}

.comparison-value {
  margin-bottom: 18px;
  color: var(--brand-dark);
  font-size: 1.5rem;
  font-weight: 800;
}

.comparison-card h4 {
  margin-top: 22px;
}

.comparison-card ul {
  margin-bottom: 0;
  color: var(--ink-soft);
}

/* Checklists */

.checklist-card {
  max-width: 820px;
  margin: 0 auto;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #ffffff;
}

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

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
}

.checklist-mark {
  display: inline-flex;
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--brand-light);
  color: var(--brand-dark);
  font-weight: 800;
}

/* Forms */

.form-layout {
  display: grid;
  grid-template-columns: minmax(0,.85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: 42px;
}

.form-intro {
  position: sticky;
  top: 24px;
}

.form-card {
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.site-form {
  display: grid;
  gap: 20px;
}

.form-heading {
  margin-bottom: 4px;
}

.form-heading h2,
.form-heading h3 {
  margin-bottom: 8px;
}

.form-heading p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: .9rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label {
  color: var(--ink);
  font-size: .94rem;
  font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--ink);
  font-size: 1rem;
}

.form-group textarea {
  min-height: 130px;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #697888;
  opacity: 1;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--brand);
  outline: 2px solid var(--brand-light);
}

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

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

.form-status {
  min-height: 24px;
  margin: 0;
  font-size: .94rem;
  font-weight: 650;
}

.form-status.is-success {
  color: var(--success);
}

.form-status.is-error {
  color: var(--error);
}

.form-status.is-loading {
  color: var(--brand-dark);
}

.form-privacy-note {
  margin-bottom: 0;
  color: var(--muted);
  font-size: .85rem;
}

.form-privacy-note a {
  color: var(--brand);
}

.form-group input:disabled,
.form-group select:disabled,
.form-group textarea:disabled {
  background: var(--surface);
  cursor: not-allowed;
}

/* Form validation */

.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
  border-color: var(--error);
}

.form-group input[aria-invalid="true"],
.form-group textarea[aria-invalid="true"] {
  border-color: var(--error);
}

/* Price tables */

.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #ffffff;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.data-table caption {
  padding: 18px;
  color: var(--ink);
  font-weight: 750;
  text-align: left;
}

.data-table th,
.data-table td {
  padding: 15px 17px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.data-table th {
  background: var(--surface);
  color: var(--ink);
  font-size: .9rem;
  font-weight: 750;
}

.data-table td {
  color: var(--ink-soft);
  font-size: .94rem;
}

.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table tbody tr:hover {
  background: var(--surface);
}

.price-median,
.published-price {
  color: var(--brand-dark) !important;
  font-weight: 750;
}

/* Price attribution */

.price-attribution {
  margin-top: 9px;
  font-size: .82rem;
  line-height: 1.5;
}

.price-attribution p {
  margin-bottom: 3px;
}

.price-source {
  color: var(--ink-soft);
}

.price-checked {
  color: var(--muted);
}

.price-attribution a {
  overflow-wrap: anywhere;
}

/* Published price blocks */

.published-price-block {
  margin-bottom: 16px;
  padding: 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #ffffff;
}

.published-price-block:last-child {
  margin-bottom: 0;
}

.published-price-block .price-value {
  display: block;
  color: var(--brand-dark);
  font-size: 1.1rem;
}

/* Shop cards */

.shop-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.shop-card-title {
  margin-bottom: 0;
  font-size: 1.2rem;
}

.shop-location {
  margin-bottom: 0;
  color: var(--muted);
  font-size: .92rem;
}

.shop-price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.price-label {
  color: var(--ink-soft);
  font-size: .9rem;
  font-weight: 650;
}

.price-value {
  color: var(--brand-dark);
  font-size: 1.15rem;
  font-weight: 800;
}

.shop-minimum,
.shop-delivery {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: .9rem;
}

.shop-card .price-attribution {
  margin-top: 0;
}

/* Metro and record details */

.metro-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}

.metro-stat {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.metro-stat-value {
  color: var(--brand-dark);
  font-size: 1.6rem;
  font-weight: 800;
}

.metro-stat-label {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: .88rem;
  font-weight: 700;
}

.metro-stat p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

/* Metro shop listings */

.metro-shop-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.metro-shop-list .shop-card {
  height: 100%;
}

/* Shop record sections */

.shop-record-section {
  margin-bottom: 36px;
}

.shop-record-section h2 {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.shop-record-header {
  margin-bottom: 30px;
}

.shop-record-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: .92rem;
}

.shop-record-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

/* Price detail groups */

.washer-details,
.dryer-details,
.wash-fold-details {
  display: grid;
  gap: 14px;
}

.washer-details:empty,
.dryer-details:empty,
.wash-fold-details:empty {
  display: none;
}

.published-price-block .price-label {
  display: block;
  margin-bottom: 6px;
}

.published-price-block .price-attribution {
  margin-top: 8px;
}

/* Affiliate placement */

.affiliate-slot {
  min-height: 100px;
  padding: 24px;
  border: 1px dashed var(--border-dark);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--ink-soft);
}

.affiliate-slot-label {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* Disclaimer sections */

.disclaimer-section {
  padding-top: 48px;
  padding-bottom: 48px;
}

/* Call to action */

.cta-panel {
  padding: 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface-blue);
  text-align: center;
}

.cta-panel h2 {
  max-width: 720px;
  margin-right: auto;
  margin-left: auto;
}

.cta-panel p {
  max-width: 680px;
  margin-right: auto;
  margin-left: auto;
  color: var(--ink-soft);
}

.cta-panel .hero-actions {
  justify-content: center;
}

/* Content lists */

.content-list {
  margin: 20px 0 26px;
  padding-left: 25px;
  color: var(--ink-soft);
}

.content-list li {
  padding-left: 4px;
  margin-bottom: 12px;
}

.content-narrow h3 {
  margin-top: 30px;
}

.content-narrow h3:first-child {
  margin-top: 0;
}

/* Footer */

.site-footer {
  padding-top: 58px;
  background: #192b3a;
  color: #e7edf2;
}

.site-footer a {
  color: #d6e9f7;
}

.site-footer a:hover {
  color: #ffffff;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  gap: 55px;
  padding-bottom: 42px;
}

.footer-brand {
  max-width: 280px;
}

.footer-brand .brand {
  color: #ffffff;
}

.footer-brand .brand-accent {
  color: #91c7e8;
}

.footer-brand p {
  margin-top: 18px;
  color: #c1ced8;
  font-size: .94rem;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(130px, 1fr));
  gap: 35px;
}

.footer-link-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}

.footer-link-group h2 {
  margin-bottom: 12px;
  color: #ffffff;
  font-size: 1rem;
  letter-spacing: 0;
}

.footer-link-group a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  color: #c1ced8;
  font-size: .9rem;
  text-decoration: none;
}

.footer-link-group a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom {
  padding: 25px 0;
  border-top: 1px solid rgba(255,255,255,.16);
}

.footer-disclaimer {
  max-width: 850px;
  margin-bottom: 15px;
  color: #c1ced8;
  font-size: .85rem;
}

.footer-copyright {
  margin-bottom: 0;
  color: #aebdca;
  font-size: .82rem;
}

/* Responsive layout */

@media (max-width: 1000px) {
  .header-inner {
    gap: 16px;
  }

  .site-nav {
    gap: 2px;
  }

  .site-nav a {
    padding-right: 9px;
    padding-left: 9px;
    font-size: .9rem;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metro-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-main {
    gap: 35px;
  }

  .footer-nav {
    gap: 22px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 36px, var(--container));
  }

  .section {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .header-inner {
    min-height: auto;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 16px;
    padding-bottom: 12px;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .hero {
    padding: 60px 0;
  }

  .footer-main {
    flex-direction: column;
    gap: 30px;
  }
}

