/* ==========================================================================
   personalloaner.com — conventional site stylesheet

   Structure follows CONTRACTS.md §4: a normal top bar, a centred content
   column, stacked cards, and a footer with link columns + a legal strip.
   The skin is gold / white / silver: a white page ground, white bordered
   cards with a gold top rule, serif headings, gold buttons with dark labels
   and a light silver footer band. No webfonts, no CDN, no external assets.

   Brand palette sampled from the supplied gold lockups:
     gold (mid)       #e2ae1a
     gold (shadow)    #c08608
     bronze (links)   #8f5c05
     dark bronze      #6f4400
     ink              #16181d
     silver hairlines #e3e6eb
   ========================================================================== */

/* ------------------------------------------------------------------ tokens */
:root {
  /* Brand — gold sampled from the logo */
  --gold: #e2ae1a;         /* primary gold (logo mid-tone) */
  --gold-600: #c08608;     /* deep gold (logo shadow) */
  --gold-700: #8f5c05;     /* bronze — body links: 5.7:1 on #fff */
  --gold-800: #6f4400;     /* dark bronze — link hover: 8.4:1 on #fff */
  --gold-050: #fdf6e0;     /* gold tint surface */

  /* Silver neutrals (cool greys — no warm beige) */
  --silver-050: #f7f8fa;   /* footer band */
  --silver-200: #e3e6eb;   /* hairlines */
  --silver-300: #cfd4dc;   /* decorative rules */
  --silver-500: #838b98;   /* control borders: 3.4:1 on #fff */
  --silver-600: #6b7380;   /* control hover borders: 4.8:1 on #fff */

  /* Surfaces & ink */
  --paper: #ffffff;        /* page ground */
  --card: #ffffff;
  --ink: #16181d;          /* body ink: 17.2:1 on #fff */
  --ink-soft: #3d434d;     /* secondary text: 9.8:1 on #fff */
  --muted: #596270;        /* meta / disclosure: 6.0:1 on #fff */
  --amber-800: #7a4f00;    /* warning text: 6.6:1 on the warn tint */
  --line: var(--silver-200);       /* hairlines */
  --line-strong: var(--silver-500);/* input borders / controls */
  --rule: var(--silver-300);       /* decorative strong rules */
  --band: var(--silver-050);       /* footer band */

  /* Dark surfaces (calculator result panel) */
  --ink-900: #0e1013;
  --on-ink: #eceef2;
  --on-ink-soft: #a7aebc;
  --on-ink-accent: #f0c44a;        /* gold on ink: 10.9:1 */

  /* Type & space */
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", sans-serif;
  --font-display: Georgia, "Iowan Old Style", "Palatino Linotype",
    "Book Antiqua", "Times New Roman", serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono",
    monospace;
  --radius-sm: 4px;
  --radius: 6px;
  --radius-lg: 8px;
  --wrap: 1120px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

/* ------------------------------------------------------------- body / base */
body.site {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main#main {
  flex: 1 0 auto;
  padding-block: 1.5rem 3rem;
  scroll-margin-top: 1rem;
}

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

/* ------------------------------------------------------- type / headings */
h1,
h2,
h3 {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 1.5em 0 0.5em;
}

h1 {
  font-size: clamp(1.85rem, 1.4rem + 1.8vw, 2.4rem);
  letter-spacing: -0.018em;
}

h2 {
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.45rem);
}

h3 {
  font-size: 1.125rem;
}

p {
  margin: 0 0 1rem;
}

ul,
ol {
  margin: 0 0 1rem;
}

a {
  color: var(--gold-700);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--gold-800);
}

strong {
  font-weight: 700;
}

small {
  font-size: 0.8125rem;
  color: var(--muted);
}

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

/* Focus ring: dark bronze passes 5.7:1 on white and 5.3:1 on the gold tint. */
:focus-visible {
  outline: 3px solid var(--gold-700);
  outline-offset: 2px;
}

.tool-result :focus-visible {
  outline-color: var(--on-ink-accent);
}

/* --------------------------------------------------------------- skip link */
.skip {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 200;
  transform: translateY(-250%);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--gold);
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease;
}

.skip:focus {
  transform: none;
  color: var(--gold);
}

/* ------------------------------------------------------------------- wrap */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* ----------------------------------------------------------------- header */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem 1.5rem;
  padding-block: 0.7rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--ink);
}

.brand-logo {
  display: block;
  height: 40px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-link {
  position: relative;
  flex: 0 0 auto;
  padding: 0.5rem 0.7rem;
  color: var(--ink-soft);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.nav-link:hover {
  color: var(--gold-700);
}

.nav-link.is-active {
  color: var(--ink);
  border-bottom-color: var(--gold-600);
}

/* ------------------------------------------------------------ breadcrumbs */
.breadcrumbs {
  font-size: 0.8125rem;
  color: var(--muted);
  margin: 0.25rem 0 0.9rem;
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
}

.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
}

.breadcrumbs li + li::before {
  content: "/";
  color: var(--rule);
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--gold-700);
  text-decoration: underline;
}

.breadcrumbs [aria-current="page"] {
  color: var(--ink-soft);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 26ch;
}

/* -------------------------------------------------------- titles and lede */
.page-title {
  margin: 0.1rem 0 0.6rem;
  text-wrap: balance;
}

.lede {
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.15rem);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 68ch;
  margin: 0 0 1.25rem;
}

.meta-line {
  font-size: 0.8125rem;
  color: var(--muted);
  margin: 0.25rem 0 1.5rem;
}

.meta-line strong {
  color: var(--ink-soft);
  font-weight: 600;
}

/* ------------------------------------------------------------------ cards */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold-600);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(22, 24, 29, 0.04);
  padding: 1.35rem;
  margin: 0 0 1.25rem;
}

.card > :first-child {
  margin-top: 0;
}

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

/* ------------------------------------------------------------------ grids */
.grid {
  display: grid;
  gap: 0.9rem;
  margin: 1rem 0 1.25rem;
}

.tile {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-height: 100%;
  padding: 0.95rem 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.tile:hover {
  border-color: var(--gold-600);
  background: var(--gold-050);
}

.tile-title {
  font-weight: 700;
  color: var(--ink);
  text-transform: capitalize;
}

.tile:hover .tile-title {
  color: var(--gold-700);
}

.tile-note {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--muted);
}

/* ------------------------------------------------ data tables (plain rules) */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  margin: 0.5rem 0 0;
  font-variant-numeric: tabular-nums lining-nums;
}

.data-table th,
.data-table td {
  text-align: left;
  vertical-align: top;
  padding: 0.7rem 0.75rem;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.data-table thead th {
  background: var(--gold-050);
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 700;
  border-bottom: 1px solid var(--rule);
  white-space: nowrap;
}

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

.data-table a {
  color: var(--gold-700);
}

.data-table small {
  display: block;
  margin-top: 0.15rem;
  line-height: 1.45;
}

/* --------------------------------------------------------------- callouts */
.callout {
  max-width: 78ch;
  padding: 1rem 1.15rem;
  margin: 1.25rem 0;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold-600);
  border-radius: var(--radius-sm);
}

.callout > :first-child {
  margin-top: 0;
}

.callout > :last-child {
  margin-bottom: 0;
}

.callout-green {
  background: var(--gold-050);
  border-color: #f0e2b6;
  border-left-color: var(--gold-600);
}

.callout-warn {
  background: #fdf4e3;
  border-color: #f0dfbe;
  border-left-color: #d99a00;
}

.callout-warn strong {
  color: var(--amber-800);
}

/* --------------------------------------------- CTA + disclosure (one block) */
.action-bar {
  margin: 1.25rem 0 1.5rem;
  padding: 1rem 1.1rem;
  background: var(--gold-050);
  border: 1px solid #f0e2b6;
  border-left: 4px solid var(--gold-600);
  border-radius: var(--radius-sm);
}

.action-bar-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 44px;
  padding: 0.65rem 1.15rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.14s ease, border-color 0.14s ease,
    color 0.14s ease;
}

/* Gold surface + near-black label: 8.9:1 (AAA for normal text). */
.btn-primary {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold-600);
}

.btn-primary:hover {
  background: var(--gold-600);
  color: var(--ink);
}

.btn-ghost {
  background: #fff;
  color: var(--gold-700);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  background: var(--gold-050);
  border-color: var(--gold-600);
}

.disclosure {
  max-width: 72ch;
  margin: 0.85rem 0 0;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(143, 92, 5, 0.22);
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.disclosure a {
  color: var(--gold-700);
}

/* Compact variant: same buttons and disclosure, tightened so the block
   clears the first viewport at 390x844 (page-head placement). */
.cta-bar {
  margin: 1rem 0 1.35rem;
  padding: 0.8rem 0.9rem;
}

.cta-bar .action-bar-cta {
  gap: 0.5rem;
}

.cta-bar .btn {
  min-height: 44px;
  padding: 0.55rem 1.1rem;
  font-size: 0.95rem;
}

.cta-bar .disclosure {
  margin-top: 0.6rem;
  padding-top: 0.6rem;
  font-size: 0.75rem;
  line-height: 1.55;
}

/* -------------------------------------------------------------------- FAQ */
.faq {
  padding-bottom: 0.5rem;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item:last-of-type {
  border-bottom: 0;
}

.faq-item summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
  color: var(--ink);
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--gold-700);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
}

.faq-item[open] summary {
  color: var(--gold-800);
}

.faq-item[open] summary::after {
  content: "\2013";
}

.faq-answer {
  max-width: 70ch;
  padding: 0 0 1rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

.faq-answer > :first-child {
  margin-top: 0;
}

.faq-answer > :last-child {
  margin-bottom: 0;
}

/* ------------------------------------------------------------------ prose */
.prose > h2,
.prose > h3 {
  margin-top: 1.75em;
}

.prose > h2:first-child,
.prose > h3:first-child {
  margin-top: 0;
}

.prose p,
.prose li,
.prose h2,
.prose h3,
.prose blockquote {
  max-width: 68ch;
}

.prose ul,
.prose ol {
  padding-left: 1.3rem;
}

.prose li {
  margin-bottom: 0.4rem;
}

.prose a {
  color: var(--gold-700);
  text-decoration: underline;
  text-decoration-color: rgba(143, 92, 5, 0.4);
}

.prose a:hover {
  text-decoration-color: currentColor;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  margin: 1.25rem 0;
  font-variant-numeric: tabular-nums lining-nums;
}

.prose th,
.prose td {
  text-align: left;
  vertical-align: top;
  padding: 0.65rem 0.75rem;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.prose thead th {
  background: var(--gold-050);
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 700;
  border-bottom: 1px solid var(--rule);
}

/* ------------------------------------------------------------------- tool */
.tool {
  padding: 1.35rem;
}

.tool-form {
  display: grid;
  gap: 1rem;
  margin: 0;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field label {
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 600;
}

.field input,
.field select {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.4;
  font-variant-numeric: tabular-nums lining-nums;
}

.field input:hover,
.field select:hover {
  border-color: var(--silver-600);
}

.field input:focus,
.field select:focus {
  border-color: var(--gold-700);
}

.field input::placeholder {
  color: var(--muted);
}

.tool-form .btn {
  justify-self: start;
}

/* Result readout: dark ink panel with tabular figures. */
.tool-result {
  margin-top: 1.25rem;
  padding: 1.15rem 1.25rem;
  background: var(--ink);
  border: 1px solid var(--ink-900);
  border-radius: var(--radius-sm);
  color: var(--on-ink);
}

.tool-primary {
  margin: 0 0 0.35rem;
  color: var(--on-ink-accent);
  font-size: clamp(1.5rem, 1.15rem + 1.6vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.15;
  font-variant-numeric: tabular-nums lining-nums;
}

.tool-result .data-table {
  margin-top: 0.6rem;
}

.tool-result .data-table th {
  background: transparent;
  font-family: var(--font);
  font-size: 0.9rem;
  letter-spacing: 0;
  font-weight: 500;
  color: var(--on-ink-soft);
  border-bottom-color: rgba(236, 238, 242, 0.14);
}

.tool-result .data-table td {
  text-align: right;
  color: #eef0f4;
  font-weight: 600;
  font-variant-numeric: tabular-nums lining-nums;
  border-bottom-color: rgba(236, 238, 242, 0.14);
}

.tool-result .data-table th,
.tool-result .data-table td {
  padding: 0.55rem 0;
}

.tool-note {
  margin: 0;
  color: var(--on-ink-soft);
  font-size: 0.875rem;
  line-height: 1.55;
}

.tool-result .tool-note + .tool-primary {
  margin-top: 0.5rem;
}

/* -------------------------------------------------------------- link list */
.link-list {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
}

.link-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line);
}

.link-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0.1rem;
}

.link-list a {
  color: var(--gold-700);
  font-weight: 600;
  text-decoration: none;
}

.link-list a:hover {
  text-decoration: underline;
}

/* -------------------------------------------------------------- city list */
.city-list {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  columns: 1;
  column-gap: 2rem;
}

.city-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
  break-inside: avoid;
}

.city-list a {
  color: var(--gold-700);
  text-decoration: none;
}

.city-list a:hover {
  text-decoration: underline;
}

.city-pop {
  color: var(--muted);
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums lining-nums;
  white-space: nowrap;
}

/* ------------------------------------------------- guides hub (TOC index) */
.toc {
  margin: 1.5rem 0 2rem;
  border-top: 3px solid var(--gold-600);
}

.toc-group {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}

.toc-cat {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}

.toc-count {
  font-size: 0.8125rem;
  color: var(--muted);
}

.toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.toc-item {
  border-bottom: 1px solid var(--line);
}

.toc-item:last-child {
  border-bottom: 0;
}

.toc-item a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  text-decoration: none;
  color: var(--ink);
}

.toc-item a:hover .toc-name {
  color: var(--gold-700);
  text-decoration: underline;
}

.toc-num {
  display: none;
}

.toc-name {
  font-weight: 600;
  font-size: 0.98rem;
}

.toc-arrow {
  color: var(--muted);
}

/* ------------------------------------------------------------------ pager */
.pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 2rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.pager a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.55rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--gold-700);
  font-weight: 600;
  text-decoration: none;
}

.pager a:hover {
  background: var(--gold-050);
  border-color: var(--gold-600);
}

/* ------------------------------------------------- footer (light silver band) */
.site-footer {
  background: var(--band);
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}

.site-footer .wrap {
  padding-block: 2.5rem 1.5rem;
}

.footer-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

.footer-brand {
  margin: 0 0 0.55rem;
}

.footer-logo {
  display: block;
  width: 160px;
  height: auto;
}

.footer-note {
  max-width: 38ch;
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.footer-head {
  margin: 0 0 0.6rem;
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: var(--ink-soft);
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--gold-700);
  text-decoration: underline;
}

.footer-legal {
  margin-top: 2rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--rule);
  font-size: 0.8125rem;
  line-height: 1.65;
}

.footer-disclaimer {
  max-width: 100ch;
  margin: 0 0 0.5rem;
}

.footer-legal-links {
  margin: 0;
}

.footer-legal-links a {
  color: var(--gold-700);
}

/* ------------------------------------------------------------- small screens */
@media (max-width: 639px) {
  .data-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
  }

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

  /* Key/value results must wrap, not scroll */
  .tool-result .data-table {
    display: table;
    overflow: visible;
    white-space: normal;
  }

  .tool-result .data-table th,
  .tool-result .data-table td {
    white-space: normal;
  }

  .tool-result .data-table th {
    width: 55%;
    font-weight: 600;
  }

  .nav {
    flex: 1 1 100%;
    order: 2;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.1rem;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav-link {
    padding: 0.45rem 0.55rem;
    font-size: 0.8125rem;
  }
}

/* ------------------------------------------------------------ breakpoints */
@media (min-width: 640px) {
  .wrap {
    padding-inline: 1.5rem;
  }

  main#main {
    padding-block: 2rem 3.5rem;
  }

  .card {
    padding: 1.6rem;
  }

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

  .city-list {
    columns: 2;
  }

  .footer-cols {
    grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }

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

  .tool-form .btn {
    grid-column: 1 / -1;
  }
}

@media (min-width: 900px) {
  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .city-list {
    columns: 3;
  }

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

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
