﻿:root {
  --bg: #f6f3ec;
  --paper: #fffdf8;
  --ink: #19211e;
  --muted: #69726d;
  --line: #ded7c9;
  --green: #2f6f4e;
  --moss: #53633a;
  --ochre: #b47b30;
  --water: #2a6f97;
  --berry: #824c71;
  --shadow: 0 12px 28px rgba(31, 36, 32, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
  line-height: 1.7;
  letter-spacing: 0;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  padding: 12px clamp(16px, 4vw, 48px);
  background: rgba(255, 253, 248, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
  max-width: 100%;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border: 2px solid var(--green);
  border-radius: 50%;
  background:
    radial-gradient(circle at 64% 34%, var(--ochre) 0 4px, transparent 5px),
    radial-gradient(circle at 36% 62%, var(--water) 0 5px, transparent 6px),
    linear-gradient(135deg, transparent 46%, var(--green) 47% 53%, transparent 54%);
  flex: 0 0 auto;
}

.brand-title,
.brand-subtitle {
  display: block;
}

.brand-title {
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  max-width: 100%;
  padding-bottom: 2px;
  -webkit-overflow-scrolling: touch;
}

.site-nav a,
.back-link {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf0;
  color: #2f3a35;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav a[aria-current="page"],
.site-nav a:hover,
.back-link:hover {
  border-color: var(--green);
  color: var(--green);
}

.hero-band,
.taxon-band,
.detail-band,
.content-band,
.control-band,
.stats-band {
  width: 100%;
  padding-inline: clamp(16px, 4vw, 48px);
}

.hero-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
  gap: clamp(20px, 4vw, 42px);
  align-items: end;
  padding-block: clamp(30px, 5vw, 58px) 24px;
  border-bottom: 1px solid var(--line);
  background: #ece7d8;
}

.hero-copy {
  max-width: 840px;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--moss);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 14px;
  font-size: 2.85rem;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.title-line {
  display: inline;
}

.title-line + .title-line::before {
  content: " ";
}

h2 {
  margin-bottom: 0;
  font-size: 1.45rem;
}

h3 {
  margin-bottom: 5px;
  font-size: 1.2rem;
}

.lead {
  max-width: 680px;
  margin-bottom: 0;
  color: #3d4741;
  font-size: 1.02rem;
  overflow-wrap: anywhere;
}

.hero-observation,
.taxon-facts {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
  overflow-wrap: anywhere;
}

.hero-observation {
  display: grid;
  gap: 4px;
  padding: 18px;
}

.observation-label,
.hero-observation span:last-child {
  color: var(--muted);
  font-size: 0.86rem;
}

.hero-observation strong {
  font-size: 1.3rem;
}

.control-band {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(160px, 220px) minmax(140px, 180px);
  gap: 12px;
  padding-block: 18px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.search-field,
.select-field {
  display: grid;
  gap: 6px;
}

label {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

input,
select {
  width: 100%;
  min-height: 42px;
  border: 1px solid #cfc7ba;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 8px 12px;
}

button,
input,
select,
textarea {
  font-size: 16px;
}

input:focus,
select:focus {
  outline: 3px solid rgba(42, 111, 151, 0.18);
  border-color: var(--water);
}

.stats-band,
.content-band {
  padding-block: 26px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.stats-grid,
.group-grid,
.species-grid {
  display: grid;
  gap: 14px;
}

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

.group-grid {
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
}

.species-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.species-grid.compact {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.stat-card,
.group-card,
.species-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
  transition: border-color 160ms ease, transform 160ms ease;
}

.stat-card:hover,
.group-card:hover,
.species-card:hover {
  border-color: var(--accent, var(--green));
  transform: translateY(-2px);
}

.stat-card {
  display: grid;
  gap: 4px;
  min-height: 118px;
  padding: 16px;
  border-left: 6px solid var(--accent, var(--green));
}

.stat-card span,
.stat-card small,
.mini-meta,
.status-row,
.group-rank,
.group-count {
  color: var(--muted);
  font-size: 0.84rem;
}

.stat-card strong {
  font-size: 2rem;
  line-height: 1;
}

.group-card {
  display: grid;
  gap: 7px;
  min-height: 230px;
  padding: 18px;
  border-top: 6px solid var(--accent, var(--green));
}

.group-card p {
  margin-bottom: 0;
  color: #3c453f;
}

.group-card em,
.species-card em,
.detail-heading em {
  color: #42504a;
  font-style: italic;
}

.group-count {
  align-self: end;
  justify-self: start;
  border-bottom: 2px solid var(--accent, var(--green));
  font-weight: 800;
}

.species-card {
  display: grid;
  grid-template-rows: 180px 1fr;
  overflow: hidden;
}

.photo-wrap {
  display: block;
  background: #e6ddcc;
}

.photo-wrap img,
.photo-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.species-body {
  display: grid;
  gap: 7px;
  padding: 14px;
}

.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 8px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--accent, var(--green)) 14%, white);
  color: #26322d;
  font-weight: 800;
}

.species-card strong {
  font-size: 1.15rem;
  line-height: 1.28;
  overflow-wrap: anywhere;
}

.species-summary {
  color: #3d4741;
  font-size: 0.94rem;
}

.empty-state {
  padding: 18px;
  border: 1px dashed #b8ad9d;
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 253, 248, 0.68);
}

.taxon-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 340px);
  gap: clamp(18px, 4vw, 40px);
  align-items: stretch;
  padding-block: 34px 22px;
  border-bottom: 1px solid var(--line);
  background: #efe9dc;
}

.taxon-copy {
  border-left: 8px solid var(--accent, var(--green));
  padding-left: 18px;
}

.taxon-copy h1,
.detail-heading h1 {
  margin-bottom: 8px;
}

.trait-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.trait-row span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 3px 9px;
  border: 1px solid color-mix(in srgb, var(--accent, var(--green)) 38%, white);
  border-radius: 8px;
  background: #fffdf8;
  color: #33413a;
  font-size: 0.88rem;
  font-weight: 700;
}

.taxon-facts {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 18px;
}

.taxon-facts span {
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  color: #3d4741;
  font-weight: 700;
}

.taxon-facts span:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.detail-band {
  padding-block: 30px;
}

.detail-heading {
  border-left: 8px solid var(--accent, var(--green));
  padding-left: 18px;
  margin-bottom: 22px;
}

.back-link {
  width: fit-content;
  margin-bottom: 18px;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 1.1fr);
  gap: 24px;
  align-items: start;
}

.photo-gallery {
  display: grid;
  gap: 12px;
}

.photo-gallery figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.photo-gallery img {
  aspect-ratio: 4 / 3;
}

figcaption {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 0.86rem;
}

.detail-copy {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 18px;
}

.detail-list {
  display: grid;
  gap: 0;
  margin: 18px 0 0;
  border-top: 1px solid var(--line);
}

.detail-list div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

dt {
  color: var(--muted);
  font-weight: 800;
}

dd {
  margin: 0;
}

.record-section {
  margin-top: 24px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.record-section h2 {
  margin-bottom: 8px;
}

.record-list {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}

.record-list li {
  display: grid;
  grid-template-columns: minmax(94px, 0.7fr) minmax(120px, 1fr) minmax(96px, 0.7fr) minmax(140px, 1.5fr);
  gap: 12px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.record-list span {
  color: #3d4741;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 22px clamp(16px, 4vw, 48px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #ebe3d3;
}

.site-footer strong,
.site-footer span {
  display: block;
}

.affiliate-footer-note {
  margin-top: 6px;
  color: #77756d;
  font-size: 0.78rem;
  line-height: 1.5;
}

.source-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 14px;
}

.source-links a {
  border-bottom: 1px solid currentColor;
}

.monetization-band {
  border-top: 1px solid var(--line);
  background: #f1eadc;
}

.ad-disclosure {
  max-width: 760px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.88rem;
}

.affiliate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

.adsense-slot {
  min-height: 90px;
  margin-bottom: 14px;
  border: 1px dashed #b8ad9d;
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.72);
}

.affiliate-card {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 16px;
  box-shadow: var(--shadow);
}

.affiliate-card p {
  margin-bottom: 0;
  color: #3d4741;
}

.affiliate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.affiliate-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border: 1px solid var(--green);
  border-radius: 8px;
  padding: 7px 12px;
  background: #fffaf0;
  color: var(--green);
  font-weight: 800;
}

.affiliate-link.disabled {
  border-color: #cfc7ba;
  color: var(--muted);
  background: #f8f3e9;
}

.upload-hero {
  align-items: center;
}

.upload-band {
  background: var(--paper);
}

.upload-form {
  display: grid;
  gap: 18px;
  max-width: 980px;
}

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

.form-field {
  display: grid;
  gap: 6px;
}

textarea {
  width: 100%;
  min-height: 130px;
  resize: vertical;
  border: 1px solid #cfc7ba;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 10px 12px;
}

textarea:focus {
  outline: 3px solid rgba(42, 111, 151, 0.18);
  border-color: var(--water);
}

.field-note,
.upload-message {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.consent-box {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8f3e9;
  padding: 14px;
}

.checkbox-row {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 8px;
  align-items: start;
  color: #33413a;
  font-size: 0.94rem;
  font-weight: 700;
}

.checkbox-row input {
  min-height: 20px;
  width: 20px;
  margin: 2px 0 0;
  padding: 0;
}

.upload-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.primary-button {
  min-height: 42px;
  border: 1px solid var(--green);
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 9px 16px;
}

.primary-button:disabled {
  border-color: #b8ad9d;
  background: #d9d1c4;
  color: #766f66;
  cursor: not-allowed;
}

.upload-message[data-type="success"] {
  color: var(--green);
  font-weight: 800;
}

.upload-message[data-type="error"] {
  color: #a33d2f;
  font-weight: 800;
}

.upload-message[data-type="warning"] {
  color: #806118;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.process-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
  padding: 16px;
}

.process-grid strong {
  display: block;
  margin-bottom: 6px;
}

.process-grid p {
  margin-bottom: 0;
  color: #3d4741;
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    min-height: 0;
  }

  .brand {
    width: 100%;
  }

  .brand > span:last-child {
    min-width: 0;
  }

  .hero-band,
  .taxon-band,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .control-band {
    grid-template-columns: 1fr;
  }

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

  .form-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .record-list li {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }

  .source-links {
    justify-content: flex-start;
  }

  h1 {
    font-size: 2.2rem;
  }
}

@media (max-width: 520px) {
  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .brand-title {
    font-size: 0.92rem;
    word-break: break-all;
  }

  .brand-subtitle {
    font-size: 0.76rem;
  }

h1 {
  width: 100%;
  max-width: calc(100vw - 28px);
  font-size: 1.34rem;
    line-height: 1.26;
    overflow-wrap: anywhere;
    word-break: break-all;
  line-break: anywhere;
}

.title-line {
  display: block;
}

.title-line + .title-line::before {
  content: "";
}

  .lead {
    word-break: break-all;
  }

  .site-nav {
    width: 100%;
    gap: 6px;
  }

  .site-nav a {
    flex: 0 0 auto;
    min-height: 40px;
    padding-inline: 10px;
  }

  .species-grid,
  .group-grid {
    grid-template-columns: 1fr;
  }

  .detail-list div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .hero-band,
  .taxon-band,
  .detail-band,
  .content-band,
  .control-band,
  .stats-band,
  .quick-band,
  .trust-band,
  .legal-summary {
    padding-inline: 14px;
  }

  .species-card {
    grid-template-rows: 150px 1fr;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 14px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.footer-links a {
  border-bottom: 1px solid currentColor;
}

.legal-hero {
  grid-template-columns: 1fr;
}

.legal-band {
  display: grid;
  gap: 10px;
  max-width: 980px;
}

.legal-band h2 {
  margin-top: 12px;
}

.legal-band p {
  margin-bottom: 0;
  color: #3d4741;
}

@media (max-width: 860px) {
  .footer-links {
    justify-content: flex-start;
  }
}

.seo-link-band {
  background: #f7f1e6;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.static-link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
}

.static-link-grid a {
  display: grid;
  gap: 2px;
  min-height: 74px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 12px;
}

.static-link-grid a:hover {
  border-color: var(--green);
}

.static-link-grid strong {
  color: var(--ink);
  line-height: 1.35;
}

.static-link-grid span {
  color: var(--muted);
  font-size: 0.84rem;
  font-style: italic;
}

.home-hero {
  align-items: center;
  padding-block: clamp(34px, 6vw, 72px) 30px;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.88), rgba(246, 243, 236, 0.76)),
    radial-gradient(circle at 90% 18%, rgba(180, 123, 48, 0.18), transparent 28%),
    #ece7d8;
}

.home-hero h1 {
  max-width: 820px;
}

.home-hero .lead {
  max-width: 760px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.primary-button.link-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 8px;
  padding: 9px 16px;
  font-weight: 800;
  line-height: 1.3;
}

.secondary-button {
  border: 1px solid var(--green);
  background: #fffaf0;
  color: var(--green);
}

.secondary-button:hover,
.primary-button.link-button:hover {
  transform: translateY(-1px);
}

.hero-panel {
  display: grid;
  gap: 10px;
  align-self: stretch;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.94);
  box-shadow: var(--shadow);
  padding: 18px;
  overflow-wrap: anywhere;
}

.hero-panel strong {
  font-size: 1.2rem;
  line-height: 1.35;
}

.hero-panel p {
  margin: 0;
  color: #3d4741;
}

.hero-facts {
  display: grid;
  margin: 6px 0 0;
  border-top: 1px solid var(--line);
}

.hero-facts div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.hero-facts dt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.hero-facts dd {
  margin: 0;
  color: #2f3a35;
  font-weight: 800;
}

.quick-band,
.trust-band,
.legal-summary {
  width: 100%;
  padding: 24px clamp(16px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
}

.quick-band {
  background: var(--paper);
}

.compact-heading {
  align-items: flex-start;
  margin-bottom: 14px;
}

.compact-heading h2 {
  margin-bottom: 4px;
}

.quick-grid,
.location-grid,
.guide-grid,
.policy-grid,
.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.quick-card,
.location-card,
.guide-grid article,
.policy-grid article,
.summary-grid article {
  display: grid;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: var(--shadow);
  padding: 16px;
}

.quick-card {
  border-left: 6px solid var(--accent, var(--green));
  transition: border-color 160ms ease, transform 160ms ease;
}

.location-card {
  min-height: 138px;
  border-top: 6px solid var(--accent, var(--green));
  transition: border-color 160ms ease, transform 160ms ease;
}

.quick-card:hover {
  border-color: var(--accent, var(--green));
  transform: translateY(-2px);
}

.location-card:hover {
  border-color: var(--accent, var(--green));
  transform: translateY(-2px);
}

.quick-card strong,
.location-card strong,
.guide-grid strong,
.policy-grid strong,
.summary-grid strong {
  color: var(--ink);
  line-height: 1.35;
}

.quick-card span,
.location-card span,
.guide-grid span,
.policy-grid span,
.summary-grid span {
  color: #3d4741;
}

.location-band {
  background: #f3efe4;
}

.location-hero {
  background: #f0eadc;
}

.location-guide {
  background: #fffdf8;
}

.plain-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  color: #33413a;
  font-weight: 700;
}

.source-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.source-note a {
  border-bottom: 1px solid currentColor;
  color: var(--green);
  font-weight: 800;
}

.elevated-controls {
  position: sticky;
  top: 72px;
  z-index: 8;
  box-shadow: 0 12px 24px rgba(31, 36, 32, 0.08);
}

.species-section {
  background: #fbf7ef;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border-bottom: 2px solid var(--green);
  color: var(--green);
  font-weight: 800;
}

.trust-band {
  display: grid;
  grid-template-columns: minmax(180px, 0.36fr) 1fr;
  gap: 20px;
  background: #ece7d8;
}

.trust-band .section-heading {
  display: block;
  margin-bottom: 0;
}

.policy-grid article,
.summary-grid article {
  min-height: 112px;
}

.legal-summary {
  background: #f7f1e6;
}

.legal-summary .section-heading {
  margin-bottom: 14px;
}

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

  .elevated-controls {
    position: static;
  }

  .hero-panel {
    align-self: auto;
  }
}

@media (max-width: 520px) {
  .hero-actions a {
    width: 100%;
  }

  .hero-facts div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .quick-grid,
  .location-grid,
  .guide-grid,
  .policy-grid,
  .summary-grid {
    grid-template-columns: 1fr;
  }
}
