:root {
  color-scheme: light;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --soft: #f5f5f7;
  --softer: #fbfbfd;
  --panel: #ffffff;
  --panel-strong: #ffffff;
  --line: rgba(0, 0, 0, 0.12);
  --line-soft: rgba(0, 0, 0, 0.07);
  --accent: #0071e3;
  --accent-strong: #005bbf;
  --accent-soft: #eaf4ff;
  --success: #248a3d;
  --danger: #d70015;
  --warn-soft: #fff7e8;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.08);
  --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.05);
  --radius: 8px;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f5f5f7;
  --muted: #a1a1a6;
  --soft: #050506;
  --softer: #111113;
  --panel: #1c1c1e;
  --panel-strong: #242426;
  --line: rgba(255, 255, 255, 0.18);
  --line-soft: rgba(255, 255, 255, 0.1);
  --accent: #2997ff;
  --accent-strong: #147ce5;
  --accent-soft: rgba(41, 151, 255, 0.18);
  --success: #32d74b;
  --danger: #ff453a;
  --warn-soft: rgba(255, 214, 10, 0.1);
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.4);
  --shadow-soft: 0 10px 28px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

button,
select {
  cursor: pointer;
}

a {
  color: inherit;
}

main {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 58px;
  padding: 9px max(18px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid var(--line-soft);
  background: rgba(251, 251, 253, 0.86);
  backdrop-filter: saturate(180%) blur(22px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
}

:root[data-theme="dark"] .site-nav {
  background: rgba(5, 5, 6, 0.86);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: var(--ink);
  color: var(--panel);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0;
}

.brand-logo {
  display: block;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  box-shadow: 0 8px 18px rgba(0, 113, 227, 0.14);
}

.brand-text,
.footer-brand span:last-child {
  font-size: 13px;
  font-weight: 720;
}

.nav-links {
  min-width: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  overflow: visible;
}

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

.nav-links a,
.nav-menu summary,
.nav-secondary {
  flex: 0 0 auto;
  min-height: 32px;
  border-radius: 999px;
  padding: 8px 11px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 680;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a[aria-current="page"],
.nav-menu summary:hover,
.nav-menu summary[aria-current="page"],
.nav-secondary:hover {
  color: var(--ink);
  background: rgba(0, 0, 0, 0.055);
}

:root[data-theme="dark"] .nav-links a:hover,
:root[data-theme="dark"] .nav-links a[aria-current="page"],
:root[data-theme="dark"] .nav-menu summary:hover,
:root[data-theme="dark"] .nav-menu summary[aria-current="page"],
:root[data-theme="dark"] .nav-secondary:hover {
  background: rgba(255, 255, 255, 0.09);
}

.nav-menu {
  position: relative;
}

.nav-menu summary {
  display: inline-flex;
  align-items: center;
  list-style: none;
}

.nav-menu summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 60;
  width: 230px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  display: none;
  gap: 4px;
}

.nav-menu[open] .nav-dropdown,
.nav-menu:focus-within .nav-dropdown {
  display: grid;
}

.nav-dropdown a {
  width: 100%;
  min-height: 34px;
  border-radius: 6px;
  padding: 8px 10px;
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.theme-toggle,
.language-control {
  min-height: 32px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
  font-size: 12px;
  font-weight: 600;
}

.theme-toggle {
  width: 34px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
}

.theme-toggle:hover,
.language-control:hover {
  border-color: rgba(0, 113, 227, 0.28);
}

.theme-glyph {
  position: relative;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--ink);
  box-shadow: inset -4px -2px 0 rgba(255, 255, 255, 0.55);
  flex: none;
}

.language-control {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 6px;
  padding: 4px 6px 4px 12px;
  white-space: nowrap;
}

.language-control span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  overflow-wrap: normal;
  white-space: nowrap;
  word-break: keep-all;
}

.language-control select {
  min-height: 26px;
  min-width: 82px;
  border: 0;
  border-radius: 999px;
  padding: 0 4px;
  color: var(--ink);
  background: transparent;
  font-size: 12px;
  font-weight: 600;
  outline: 0;
}

:root[data-theme="dark"] .theme-toggle,
:root[data-theme="dark"] .language-control {
  background: rgba(44, 44, 46, 0.82);
}

:root[data-theme="dark"] .theme-glyph {
  background: #ffd60a;
  box-shadow:
    0 0 0 3px rgba(255, 214, 10, 0.12),
    0 0 12px rgba(255, 214, 10, 0.32);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: 28px;
  align-items: start;
  padding: 54px 0 34px;
}

.tool-hero {
  grid-template-columns: 1fr;
  gap: 24px;
  padding-bottom: 42px;
}

.tool-hero .hero-copy {
  max-width: 980px;
}

.tool-hero .hero-copy > p:not(.eyebrow) {
  max-width: 880px;
}

.tool-hero #generator {
  width: 100%;
}

.home-hero {
  min-height: 0;
  padding: 42px 0 24px;
}

.home-hero + .section-block {
  padding-top: 22px;
}

.hero-copy {
  padding: 26px 0 10px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-size: 54px;
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.16;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: 0;
}

.hero-copy > p:not(.eyebrow),
.section-head > p,
.site-footer p,
.feature-card p,
.tool-card p,
.blog-card p,
.note-card p,
.article-body p,
.usage-note {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 640px;
  margin: 18px 0 0;
  font-size: 18px;
}

.hero-actions,
.tool-actions,
.toolbar-actions,
.card-actions,
.table-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-actions {
  margin-top: 25px;
}

.button {
  min-height: 40px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 10px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--ink);
  background: var(--panel);
  font-size: 13px;
  font-weight: 720;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: var(--shadow-soft);
}

.button.primary {
  color: #fff;
  background: var(--accent);
}

.button.primary:hover {
  background: var(--accent-strong);
}

.button.secondary,
.button.ghost {
  border-color: var(--line-soft);
}

.button.ghost {
  background: transparent;
  box-shadow: none;
}

.button.danger {
  color: var(--danger);
  border-color: rgba(215, 0, 21, 0.22);
  background: var(--panel);
}

.button.small {
  min-height: 32px;
  padding: 7px 12px;
  font-size: 12px;
}

.button-success,
.button-success:hover {
  color: #fff;
  border-color: var(--success);
  background: var(--success);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
  max-width: 650px;
}

.trust-row span {
  min-width: 0;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 13px;
  background: var(--softer);
}

.trust-row strong,
.trust-row small {
  display: block;
}

.trust-row strong {
  font-size: 13px;
}

.trust-row small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.hero-directory-panel {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 20px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-directory-panel p:not(.eyebrow) {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.quick-link-list {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.quick-link-list a {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 11px 12px;
  color: var(--ink);
  background: var(--softer);
  font-size: 13px;
  font-weight: 720;
  text-decoration: none;
}

.quick-link-list a:hover {
  border-color: var(--accent);
}

.country-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 18px 0 24px;
}

.country-chip {
  min-height: 38px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 8px 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  background: var(--panel);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  transition: border-color 150ms ease, background 150ms ease, transform 150ms ease;
}

.country-chip:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.country-chip.active {
  color: var(--panel);
  border-color: var(--ink);
  background: var(--ink);
}

.country-flag {
  font-size: 15px;
  line-height: 1;
}

.tool-panel {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.tool-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.tool-panel h2 {
  font-size: 22px;
}

.saved-pill {
  flex: 0 0 auto;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 8px 11px;
  color: var(--muted);
  background: var(--softer);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.tool-controls {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr)) minmax(180px, 0.85fr);
  gap: 10px;
  align-items: end;
}

label {
  min-width: 0;
  display: grid;
  gap: 7px;
}

label span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 720;
}

.readonly-control {
  min-width: 0;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 12px;
  display: grid;
  align-items: center;
  background: var(--softer);
}

.readonly-control strong {
  min-width: 0;
  font-size: 14px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.readonly-country {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.readonly-country span {
  color: var(--ink);
  font-size: 14px;
  font-weight: 720;
  line-height: 1.2;
}

.readonly-country .country-flag {
  flex: 0 0 auto;
  font-size: 16px;
}

input,
select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 12px;
  color: var(--ink);
  background: var(--softer);
}

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

select:focus,
input:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--accent-soft);
  outline-offset: 2px;
}

.tool-controls .button {
  width: 100%;
  min-height: 42px;
}

.tool-actions {
  margin-top: 12px;
}

.usage-note {
  margin: 14px 0 0;
  border: 1px solid rgba(255, 159, 10, 0.22);
  border-radius: var(--radius);
  padding: 11px 12px;
  background: var(--warn-soft);
  font-size: 13px;
}

.usage-note > span {
  display: block;
  margin-top: 3px;
}

.share-tool-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  padding: 22px 24px;
  background: var(--panel);
  box-shadow: var(--shadow-soft);
}

.share-tool-copy h2 {
  font-size: 24px;
}

.share-tool-copy p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.share-tool-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.share-copy-button {
  min-height: 42px;
  padding-inline: 18px;
  white-space: nowrap;
}

.share-icon-button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  color: var(--ink);
  background: var(--panel);
  box-shadow: var(--shadow-soft);
  font-size: 14px;
  font-weight: 780;
  line-height: 1;
  transition:
    border-color 150ms ease,
    color 150ms ease,
    transform 150ms ease,
    background 150ms ease;
}

.share-icon-button:hover {
  border-color: rgba(0, 113, 227, 0.34);
  color: var(--accent);
  background: var(--softer);
  transform: translateY(-1px);
}

.share-icon-button span {
  display: block;
  min-width: 1.1em;
  text-align: center;
}

.ad-slot {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 16px;
  background: var(--panel);
  box-shadow: var(--shadow-soft);
}

.ad-slot span {
  display: block;
  color: var(--accent);
  font-size: 11px;
  font-weight: 760;
  text-transform: uppercase;
}

.ad-slot strong {
  display: block;
  margin-top: 4px;
  font-size: 15px;
}

.ad-slot p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.ad-slot-placeholder {
  border-style: dashed;
  background: var(--softer);
}

.result-status {
  min-height: 22px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 10px;
}

.result-card,
.tool-card,
.feature-card,
.blog-card,
.note-card {
  min-width: 0;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--panel-strong);
  box-shadow: var(--shadow-soft);
}

.result-card {
  padding: 18px;
}

.result-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--line-soft);
}

.result-card-head span,
.tool-card span,
.feature-card span,
.blog-card span,
.note-card span {
  display: block;
  color: var(--accent);
  font-size: 11px;
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: 0;
}

.result-card-head strong,
.tool-card strong,
.feature-card strong,
.blog-card strong {
  display: block;
  margin-top: 4px;
  font-size: 16px;
  line-height: 1.25;
}

.result-card-head em {
  flex: 0 0 auto;
  align-self: start;
  border-radius: 999px;
  padding: 5px 8px;
  color: var(--muted);
  background: var(--softer);
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}

.result-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
  margin: 13px 0;
}

.copyable-field {
  position: relative;
  min-width: 0;
  width: 100%;
  appearance: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32px;
  grid-template-rows: auto auto;
  align-items: center;
  text-align: left;
  gap: 3px 10px;
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  padding: 12px;
  color: inherit;
  background: var(--softer);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.copyable-field:hover,
.copyable-field:focus-within {
  border-color: rgba(0, 113, 227, 0.42);
  background: var(--panel);
  box-shadow: var(--shadow-soft);
  transform: translateY(-1px);
}

.field-label,
.field-value {
  min-width: 0;
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
}

.field-label {
  grid-column: 1;
  grid-row: 1;
  color: var(--muted);
  font-weight: 700;
}

.field-value {
  grid-column: 1;
  grid-row: 2;
  color: var(--ink);
  font-size: 13px;
  font-weight: 720;
  overflow-wrap: anywhere;
}

.full-address-panel {
  position: relative;
  width: 100%;
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  color: inherit;
  background: var(--softer);
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.full-address-panel:hover,
.full-address-panel:focus-within {
  border-color: rgba(0, 113, 227, 0.42);
  background: var(--panel);
  box-shadow: var(--shadow-soft);
  transform: translateY(-1px);
}

.full-address-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 9px 0 12px;
}

.full-address-panel-label {
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 720;
}

.map-lookup-link {
  flex: 0 0 auto;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(0, 113, 227, 0.24);
  border-radius: 7px;
  padding: 6px 9px;
  color: var(--accent);
  background: var(--panel);
  font-size: 12px;
  font-weight: 720;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.map-lookup-link::after {
  content: "↗";
  font-size: 13px;
  line-height: 1;
}

.map-lookup-link:hover,
.map-lookup-link:focus-visible {
  border-color: rgba(0, 113, 227, 0.56);
  color: var(--accent-strong);
  background: rgba(0, 113, 227, 0.07);
}

.full-address-block {
  width: 100%;
  min-height: 88px;
  appearance: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32px;
  align-items: start;
  gap: 10px;
  border: 0;
  border-radius: 0 0 7px 7px;
  padding: 7px 12px 12px;
  color: inherit;
  text-align: left;
  background: transparent;
  cursor: pointer;
}

.full-address-block:focus-visible {
  outline: 2px solid rgba(0, 113, 227, 0.58);
  outline-offset: -2px;
}

.copyable-field[data-copy-state],
.full-address-panel[data-copy-state],
.saved-copy-cell[data-copy-state],
.saved-field-card[data-copy-state] {
  border-color: rgba(36, 138, 61, 0.42);
}

.copyable-field[data-copy-state="current"],
.full-address-panel[data-copy-state="current"],
.saved-copy-cell[data-copy-state="current"],
.saved-field-card[data-copy-state="current"] {
  border-color: rgba(0, 113, 227, 0.7);
  box-shadow: 0 0 0 1px rgba(0, 113, 227, 0.26), var(--shadow-soft);
}

.full-address-block .copy-field-button {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  align-self: start;
  color: var(--accent);
  flex: 0 0 28px;
}

.copy-field-button {
  position: relative;
  z-index: 1;
  grid-column: 2;
  grid-row: 1 / 3;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 6px;
  padding: 0;
  display: inline-grid;
  place-items: center;
  color: var(--accent);
  background: transparent;
  box-shadow: none;
  pointer-events: none;
}

.copy-field-button:hover {
  color: var(--accent-strong);
  background: transparent;
}

.copy-field-button::before,
.copy-field-button::after {
  content: "";
  display: block;
  position: absolute;
  border: 1.6px solid currentColor;
  border-radius: 3px;
  width: 10px;
  height: 12px;
}

.copy-field-button::before {
  transform: translate(2px, -2px);
  opacity: 0.75;
}

.copy-field-button::after {
  background: var(--softer);
  transform: translate(-2px, 2px);
}

.copy-field-button:hover::after {
  background: var(--panel);
}

.copy-feedback {
  position: absolute;
  left: 10px;
  top: -10px;
  z-index: 2;
  border-radius: 999px;
  padding: 3px 7px;
  color: #fff !important;
  background: var(--success);
  font-size: 10px !important;
  font-weight: 760 !important;
  line-height: 1.2;
  pointer-events: none;
  box-shadow: var(--shadow-soft);
}

[data-copy-state="previous"] .copy-feedback {
  background: rgba(36, 138, 61, 0.88);
}

[data-copy-state="current"] .copy-feedback {
  background: #26c85a;
}

.full-address-pre {
  grid-column: 1;
  grid-row: 1;
  display: block;
  margin: 0;
  border: 0;
  border-radius: 6px;
  padding: 2px 0 0;
  color: var(--ink);
  background: transparent;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  cursor: pointer;
}

.result-details {
  margin-top: 12px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--softer);
}

.result-details summary {
  min-height: 44px;
  padding: 11px 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 760;
  cursor: pointer;
  list-style: none;
}

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

.result-details summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--accent);
  background: var(--panel);
  font-size: 16px;
  line-height: 1;
}

.result-details[open] summary {
  border-bottom: 1px solid var(--line-soft);
}

.result-details[open] summary::after {
  content: "-";
}

.result-details .summary-open,
.result-details[open] .summary-closed {
  display: none;
}

.result-details[open] .summary-open {
  display: inline;
}

.result-details summary small {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.3;
}

.detail-sections {
  display: grid;
  gap: 14px;
  padding: 14px;
}

.detail-section {
  min-width: 0;
}

.detail-section-head {
  margin-bottom: 10px;
}

.detail-section-head h3 {
  font-size: 15px;
}

.detail-section-head p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

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

.detail-field-grid .copyable-field {
  background: var(--panel);
}

.card-actions {
  margin-top: 12px;
}

.result-card > .card-actions {
  justify-content: space-between;
  flex-wrap: nowrap;
}

.card-actions .map-lookup-link {
  min-height: 32px;
  padding: 6px 10px;
}

.section-block {
  padding: 46px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 22px;
}

.section-head.compact {
  margin-bottom: 14px;
}

.section-head p {
  margin: 10px 0 0;
}

.section-actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.directory-group {
  margin-top: 30px;
}

.directory-group:first-of-type {
  margin-top: 0;
}

.tool-grid,
.feature-grid,
.blog-grid,
.note-grid,
.field-list {
  display: grid;
  gap: 14px;
}

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

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

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

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

.tool-card,
.feature-card,
.blog-card,
.note-card {
  padding: 17px;
  color: inherit;
  text-decoration: none;
}

.tool-card {
  position: relative;
  padding-right: 58px;
}

.tool-card .tool-card-flag {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--softer);
  font-size: 17px;
  font-weight: 400;
  line-height: 1;
  text-transform: none;
  box-shadow: var(--shadow-soft);
}

.field-row {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 15px;
  background: var(--panel);
}

.field-row strong {
  display: block;
  font-size: 14px;
}

.field-row p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.tool-card:hover,
.feature-card:hover,
.blog-card:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.tool-card p,
.feature-card p,
.blog-card p,
.note-card p {
  margin: 9px 0 0;
  font-size: 13px;
}

.blog-card small {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.category-card small {
  display: inline-flex;
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.muted-card {
  background: var(--softer);
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 0 15px;
  background: var(--panel);
}

.faq-list summary {
  cursor: pointer;
  padding: 15px 0;
  font-weight: 730;
}

.faq-list p {
  margin: 0;
  padding: 0 0 16px;
  color: var(--muted);
  line-height: 1.65;
}

.page-hero {
  padding: 54px 0 22px;
}

.compact-hero {
  max-width: 820px;
}

.compact-hero p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.saved-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}

.saved-toolbar h2 {
  margin-top: 2px;
}

.saved-empty {
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 24px;
  color: var(--muted);
  background: var(--softer);
  text-align: center;
  font-size: 14px;
  font-weight: 650;
}

.saved-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0 14px;
}

.saved-summary > div {
  min-width: 0;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 13px 14px;
  background: var(--panel);
  box-shadow: var(--shadow-soft);
}

.saved-summary span,
.saved-summary strong {
  display: block;
}

.saved-summary span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 760;
  text-transform: uppercase;
}

.saved-summary strong {
  margin-top: 4px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.saved-list-wrap {
  width: 100%;
}

.saved-list {
  display: grid;
  gap: 14px;
}

.saved-record-card {
  min-width: 0;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 16px;
  background: var(--panel);
  box-shadow: var(--shadow-soft);
}

.saved-record-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}

.saved-record-title,
.saved-record-meta {
  min-width: 0;
}

.saved-record-title span,
.saved-record-meta span {
  display: block;
  color: var(--accent);
  font-size: 11px;
  font-weight: 760;
  text-transform: uppercase;
}

.saved-record-title strong,
.saved-record-meta strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.saved-record-title p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.saved-record-controls {
  min-width: 0;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--softer);
  box-shadow: var(--shadow-soft);
}

.saved-record-meta {
  min-height: 38px;
  border-radius: 999px;
  padding: 6px 13px;
  display: grid;
  align-content: center;
  background: var(--panel);
}

.saved-record-meta span {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.1;
}

.saved-record-meta strong {
  margin-top: 2px;
  font-size: 12px;
  font-weight: 720;
  line-height: 1.15;
  white-space: nowrap;
}

.saved-record-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px;
}

.saved-record-actions .button.small {
  min-height: 38px;
  box-shadow: none;
}

.saved-full-copy {
  position: relative;
}

.saved-full-copy[data-copy-state] {
  color: var(--success);
  border-color: rgba(36, 138, 61, 0.36);
  background: rgba(36, 138, 61, 0.08);
}

.saved-full-copy[data-copy-state="current"] {
  color: var(--accent);
  border-color: rgba(0, 113, 227, 0.72);
  background: var(--accent-soft);
  box-shadow: 0 0 0 1px rgba(0, 113, 227, 0.24);
}

.saved-full-copy .copy-feedback {
  left: 10px;
  top: -13px;
}

.saved-record-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.saved-details {
  margin-top: 12px;
}

.saved-legacy-note {
  margin: 12px 0 0;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 11px 12px;
  color: var(--muted);
  background: var(--softer);
  font-size: 12px;
  line-height: 1.5;
}

.saved-field-card {
  position: relative;
  min-width: 0;
  width: 100%;
  min-height: 66px;
  appearance: none;
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  padding: 11px 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px;
  grid-template-rows: auto auto;
  gap: 4px 10px;
  align-items: center;
  color: inherit;
  text-align: left;
  background: var(--softer);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.saved-field-card:hover,
.saved-field-card:focus-within {
  border-color: rgba(0, 113, 227, 0.42);
  background: var(--panel);
  box-shadow: var(--shadow-soft);
  transform: translateY(-1px);
}

.saved-field-card .field-label {
  grid-column: 1;
  grid-row: 1;
}

.saved-field-card .field-value {
  grid-column: 1;
  grid-row: 2;
}

.saved-field-card .copy-field-button {
  grid-column: 2;
  grid-row: 1 / 3;
  justify-self: end;
  align-self: center;
  opacity: 0.9;
}

.saved-field-card.wide {
  grid-column: 1 / -1;
  min-height: 104px;
}

.saved-field-card.wide .field-value {
  white-space: pre-wrap;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  font-weight: 620;
  line-height: 1.55;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--panel);
}

.saved-table {
  width: 100%;
  min-width: 1320px;
  border-collapse: collapse;
  table-layout: fixed;
}

.saved-col-name {
  width: 130px;
}

.saved-col-phone {
  width: 150px;
}

.saved-col-street {
  width: 190px;
}

.saved-col-city {
  width: 125px;
}

.saved-col-region {
  width: 165px;
}

.saved-col-postcode {
  width: 135px;
}

.saved-col-country {
  width: 145px;
}

.saved-col-date {
  width: 150px;
}

.saved-col-actions {
  width: 130px;
}

.saved-table th,
.saved-table td {
  border-bottom: 1px solid var(--line-soft);
  padding: 16px 13px;
  text-align: left;
  vertical-align: top;
  font-size: 13px;
}

.saved-table th {
  color: var(--muted);
  background: var(--softer);
  font-size: 11px;
  font-weight: 760;
  text-transform: uppercase;
}

.saved-table td strong,
.saved-table td small {
  display: block;
}

.saved-table td small {
  margin-top: 4px;
  color: var(--muted);
}

.saved-copy-cell {
  position: relative;
  min-width: 0;
  width: 100%;
  appearance: none;
  border: 0;
  display: block;
  min-height: 42px;
  padding: 0;
  color: inherit;
  text-align: left;
  background: transparent;
  cursor: pointer;
}

.saved-copy-cell > span:first-child {
  display: block;
  min-width: 0;
  max-width: 100%;
  color: var(--ink);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.saved-copy-cell .copy-field-button {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 0;
  width: 30px;
  height: 30px;
  padding: 0;
  border-radius: 6px;
  opacity: 0;
  transform: translateY(-2px);
  transition: opacity 140ms ease, transform 140ms ease, background 140ms ease;
}

.saved-copy-cell:hover .copy-field-button,
.saved-copy-cell:focus-within .copy-field-button {
  opacity: 1;
  transform: translateY(0);
}

.saved-copy-cell .copy-feedback {
  left: auto;
  right: 18px;
  top: -10px;
}

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

.article-page {
  max-width: 900px;
  margin: 0 auto;
}

.breadcrumb-text {
  padding-top: 24px;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumb-text a {
  color: var(--accent);
  text-decoration: none;
}

.article-body {
  max-width: 860px;
  margin: 0 auto;
  padding: 10px 0 40px;
}

.article-body section {
  border-bottom: 1px solid var(--line-soft);
  padding: 26px 0;
}

.article-body section:last-child {
  border-bottom: 0;
}

.article-body h2 {
  font-size: 24px;
}

.article-cover {
  margin: 0 auto 18px;
}

.article-cover img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow-soft);
}

.article-guide-panel {
  margin: 18px 0 30px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(0, 113, 227, 0.08), transparent 42%),
    var(--panel);
  box-shadow: var(--shadow-soft);
}

.quick-answer {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 113, 227, 0.16);
  border-radius: 11px;
  padding: 18px 20px 18px 22px;
  background: var(--accent-soft);
}

.quick-answer::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 0;
  width: 4px;
  border-radius: 0 999px 999px 0;
  background: var(--accent);
}

.quick-answer span,
.table-of-contents > span,
.context-link-block > span,
.article-link-block > span {
  display: block;
  margin-bottom: 7px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 780;
  letter-spacing: 0;
  text-transform: uppercase;
}

.quick-answer h2,
.table-of-contents h2,
.context-link-block h2,
.article-link-block h2 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.2;
}

.quick-answer p {
  max-width: 68ch;
  margin: 0;
}

.article-guide-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(240px, 0.96fr);
  gap: 12px;
  margin-top: 12px;
}

.table-of-contents,
.context-link-block,
.article-link-block {
  border: 1px solid var(--line-soft);
  border-radius: 11px;
  padding: 17px;
  background: var(--panel-strong);
}

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

.toc-list a {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 42px;
  border: 1px solid var(--line-soft);
  border-radius: 9px;
  padding: 9px 10px;
  color: var(--ink);
  background: var(--softer);
  font-size: 14px;
  font-weight: 720;
  text-decoration: none;
  transition:
    border-color 140ms ease,
    background 140ms ease,
    transform 140ms ease;
}

.toc-list a > span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  color: var(--accent);
  background: var(--accent-soft);
  font-size: 12px;
  font-weight: 780;
}

.toc-list a:hover {
  border-color: rgba(0, 113, 227, 0.3);
  background: var(--panel);
  transform: translateY(-1px);
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
}

.post-meta span {
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 6px 9px;
  color: var(--muted);
  background: var(--panel);
  font-size: 12px;
  font-weight: 680;
}

.article-link-block {
  margin-top: 28px;
  border-bottom: 1px solid var(--line-soft) !important;
  box-shadow: var(--shadow-soft);
}

.link-chip-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.link-chip {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 42px;
  border: 1px solid var(--line-soft);
  border-radius: 9px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--softer);
  font-size: 13px;
  font-weight: 720;
  text-decoration: none;
  transition:
    border-color 140ms ease,
    background 140ms ease,
    transform 140ms ease;
}

.link-chip::after {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-top: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  transform: rotate(45deg);
}

.link-chip:hover {
  border-color: rgba(0, 113, 227, 0.3);
  background: var(--panel);
  transform: translateY(-1px);
}

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

.format-card {
  position: relative;
  min-width: 0;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 17px;
  background: var(--panel);
  box-shadow: var(--shadow-soft);
}

.format-card .tool-card-flag {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--softer);
  font-size: 17px;
  box-shadow: var(--shadow-soft);
}

.format-card h2 {
  padding-right: 44px;
  font-size: 20px;
}

.format-card ul {
  margin: 14px 0 16px;
  padding: 0;
  display: grid;
  gap: 7px;
  list-style: none;
}

.format-card li {
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  padding: 8px 10px;
  color: var(--muted);
  background: var(--softer);
  font-size: 13px;
  font-weight: 650;
}

.policy-body {
  margin: 0;
}

.site-footer {
  width: min(1180px, calc(100% - 36px));
  margin: 40px auto 0;
  border-top: 1px solid var(--line-soft);
  padding: 28px 0 40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
}

.site-footer p {
  max-width: 560px;
  margin: 12px 0 0;
  font-size: 13px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  gap: 28px;
}

.footer-link-column {
  display: grid;
  align-content: start;
  gap: 9px;
}

.footer-link-heading {
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 760;
  line-height: 1.4;
}

.footer-links a {
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent);
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  max-width: min(360px, calc(100vw - 36px));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--ink);
  background: var(--panel);
  box-shadow: var(--shadow);
  font-size: 13px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.toast.visible {
  opacity: 1;
  transform: translateY(0);
}

.site-switcher {
  position: fixed;
  top: 82px;
  left: max(18px, calc((100vw - 1180px) / 2 - 92px), env(safe-area-inset-left));
  right: auto;
  z-index: 68;
  display: grid;
  gap: 7px;
  padding: 6px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: color-mix(in srgb, var(--panel) 88%, transparent);
  box-shadow: var(--shadow-soft);
  backdrop-filter: saturate(180%) blur(18px);
}

.site-switcher-link {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--ink);
  background: var(--softer);
  text-decoration: none;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.site-switcher-link img {
  display: block;
  width: 25px;
  height: 25px;
  border-radius: 8px;
}

.site-switcher-link::after {
  content: attr(data-site-name);
  position: absolute;
  top: 50%;
  left: calc(100% + 10px);
  min-width: max-content;
  max-width: 220px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--ink);
  background: var(--panel);
  box-shadow: var(--shadow-soft);
  font-size: 12px;
  font-weight: 720;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(-4px, -50%);
  transition:
    opacity 140ms ease,
    transform 140ms ease;
}

.site-switcher-link:hover,
.site-switcher-link:focus-visible {
  border-color: rgba(0, 113, 227, 0.36);
  background: var(--panel);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.08);
  transform: translateY(-1px);
}

.site-switcher-link:hover::after,
.site-switcher-link:focus-visible::after {
  opacity: 1;
  transform: translate(0, -50%);
}

.site-switcher-link:focus-visible {
  outline: 3px solid rgba(0, 113, 227, 0.22);
  outline-offset: 3px;
}

.scroll-top-button {
  position: fixed;
  right: max(18px, calc((100vw - 1180px) / 2 - 62px), env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 70;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  color: var(--ink);
  background: color-mix(in srgb, var(--panel) 88%, transparent);
  box-shadow: var(--shadow-soft);
  backdrop-filter: saturate(180%) blur(18px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px) scale(0.96);
  transition:
    opacity 160ms ease,
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.scroll-top-button.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.scroll-top-button:hover {
  border-color: rgba(0, 113, 227, 0.32);
  color: var(--accent);
  background: var(--panel);
  transform: translateY(-2px) scale(1);
}

.scroll-top-button:focus-visible {
  outline: 3px solid rgba(0, 113, 227, 0.26);
  outline-offset: 3px;
}

.scroll-top-button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 980px) {
  .site-nav {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .nav-actions {
    justify-content: flex-end;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 34px;
  }

  .home-hero {
    min-height: 0;
  }

  h1 {
    font-size: 44px;
  }

  .tool-grid,
  .feature-grid,
  .blog-grid,
  .note-grid,
  .field-list,
  .format-library-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .saved-record-head {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .saved-record-controls {
    grid-column: 1 / -1;
    justify-self: start;
    flex-wrap: wrap;
    border-radius: 14px;
  }

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

@media (max-width: 720px) {
  main,
  .site-footer {
    width: min(100% - 28px, 1180px);
  }

  .site-nav {
    padding: 9px 14px;
    gap: 10px;
  }

  .brand-text {
    display: none;
  }

  .language-control {
    padding: 4px 6px 4px 9px;
  }

  .language-control span {
    display: none;
  }

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

  .nav-menu {
    position: static;
  }

  .nav-dropdown {
    position: fixed;
    top: 56px;
    left: 14px;
    right: 14px;
    width: auto;
    max-height: min(420px, calc(100vh - 72px));
    overflow: auto;
  }

  .nav-secondary {
    display: none;
  }

  .hero {
    gap: 18px;
  }

  .hero-copy {
    padding-top: 8px;
  }

  h1 {
    font-size: 38px;
    line-height: 1.08;
  }

  h2 {
    font-size: 24px;
  }

  .hero-copy > p:not(.eyebrow),
  .compact-hero p:not(.eyebrow) {
    font-size: 16px;
  }

  .trust-row,
  .tool-controls,
  .tool-grid,
  .feature-grid,
  .blog-grid,
  .note-grid,
  .article-guide-grid,
  .field-list,
  .format-library-grid,
  .result-grid,
  .saved-summary,
  .saved-record-head,
  .saved-record-fields {
    grid-template-columns: 1fr;
  }

  .tool-panel {
    padding: 15px;
  }

  .tool-panel-head,
  .share-tool-block,
  .saved-toolbar,
  .site-footer {
    display: grid;
    grid-template-columns: 1fr;
  }

  .saved-pill {
    width: max-content;
  }

  .saved-record-card {
    padding: 14px;
  }

  .saved-record-controls {
    align-items: stretch;
    display: grid;
    grid-template-columns: 1fr;
    border-radius: 12px;
  }

  .saved-record-meta {
    border-radius: 9px;
  }

  .saved-record-actions {
    align-items: stretch;
    display: grid;
    grid-template-columns: 1fr;
  }

  .saved-record-actions .button {
    width: 100%;
  }

  .copyable-field {
    grid-template-columns: minmax(0, 1fr) 32px;
  }

  .full-address-panel-head {
    gap: 8px;
  }

  .card-actions .map-lookup-link {
    min-height: 40px;
    padding-inline: 10px;
  }

  .result-details summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 24px;
  }

  .result-details summary small {
    grid-column: 1;
    margin-left: 0;
  }

  .result-details summary::after {
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .toolbar-actions {
    align-items: stretch;
  }

  .toolbar-actions .button {
    flex: 1 1 auto;
  }

  .share-tool-block {
    padding: 18px;
  }

  .share-tool-actions {
    justify-content: flex-start;
  }

  .article-guide-panel {
    padding: 10px;
  }

  .quick-answer,
  .table-of-contents,
  .context-link-block,
  .article-link-block {
    padding: 15px;
  }

  .link-chip-row {
    grid-template-columns: 1fr;
  }

  .button.small {
    min-height: 40px;
    padding: 9px 13px;
  }

  .site-switcher {
    top: 70px;
    left: max(12px, env(safe-area-inset-left));
    right: auto;
    gap: 6px;
    padding: 5px;
  }

  .site-switcher-link {
    width: 40px;
    height: 40px;
  }

  .site-switcher-link::after {
    left: calc(100% + 8px);
    max-width: min(210px, calc(100vw - 78px));
  }

  .scroll-top-button {
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
    width: 44px;
    height: 44px;
  }

  .card-actions .button {
    flex: 1 1 120px;
  }
}
