@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/montserrat-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/montserrat-500.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/montserrat-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/montserrat-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/montserrat-800.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

:root {
  --paper: #f4f2eb;
  --surface: #ffffff;
  --night: #0c1814;
  --ink: #16211c;
  --soft-ink: #627068;
  --line: #d7ded8;
  --green: #236841;
  --green-deep: #17492e;
  --green-soft: #e8f2d9;
  --green-line: #bdd493;
  --lime: #c7ed72;
  --red: #a34a4a;
  --red-soft: #f5e9e7;
  --amber: #a4671d;
  --email: #356b86;
  --email-deep: #234e64;
  --email-soft: #e7f1f5;
  --email-line: #bfd5df;
  --font: "Montserrat", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

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

[hidden] {
  display: none !important;
}

.site-shell {
  min-height: 100vh;
  overflow: hidden;
}

.page-width {
  width: min(1280px, calc(100% - 64px));
  margin-inline: auto;
}

.dark-band {
  color: #f7fbf8;
  background: var(--night);
}

.topbar {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  font-size: 1.22rem;
  font-weight: 760;
  letter-spacing: -0.035em;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(199, 237, 114, 0.48);
  border-radius: 11px;
  background: rgba(199, 237, 114, 0.09);
  color: var(--lime);
}

.brand-mark svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.topbar-note {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #b8c4be;
  font-size: 0.875rem;
  font-weight: 560;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(199, 237, 114, 0.12);
}

.hero {
  min-height: 560px;
  padding: 72px 0 84px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-intro {
  max-width: 1080px;
}

.eyebrow,
.section-kicker {
  display: block;
  color: #a8bead;
  font-size: 0.8rem;
  font-weight: 730;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 1120px;
  margin: 18px 0 22px;
  font-size: clamp(3.25rem, 5.6vw, 5.55rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 1.01;
}

.hero h1 span {
  color: var(--lime);
}

.hero-intro > p {
  max-width: 790px;
  margin: 0;
  color: #bac5bf;
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
  line-height: 1.65;
}

.search-panel {
  width: 100%;
  margin-top: 42px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  background: #f8f7f2;
  color: var(--ink);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.2);
}

.search-panel-title {
  margin-bottom: 28px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.search-panel-title > span {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.search-panel-title small {
  color: var(--soft-ink);
  font-size: 0.82rem;
}

.search-panel > label {
  display: block;
  margin-bottom: 9px;
  color: #3c4942;
  font-size: 0.92rem;
  font-weight: 650;
}

.search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.input-wrap {
  min-width: 0;
  position: relative;
}

.input-wrap > svg {
  width: 22px;
  height: 22px;
  position: absolute;
  left: 19px;
  top: 50%;
  z-index: 1;
  transform: translateY(-50%);
  stroke: #69776f;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.input-wrap input {
  width: 100%;
  height: 72px;
  padding: 0 20px 0 58px;
  border: 1px solid #c7d0c9;
  border-radius: 11px;
  outline: 0;
  background: #ffffff;
  color: var(--ink);
  font-size: 1.17rem;
  font-weight: 510;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.input-wrap input::placeholder {
  color: #b5bdb8;
  font-weight: 450;
}

.input-wrap input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(35, 104, 65, 0.13);
}

.search-filters {
  min-width: 0;
  margin: 18px 0 0;
  padding: 0;
  border: 0;
}

.search-filters legend {
  margin-bottom: 9px;
  color: #68756e;
  font-size: 0.78rem;
  font-weight: 680;
}

.search-filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.search-filter-button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid #d5dbd7;
  border-radius: 999px;
  cursor: pointer;
  background: #ffffff;
  color: #68756e;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 650;
  transition: color 150ms ease, border-color 150ms ease, background 150ms ease;
}

.search-filter-button:hover {
  border-color: #9fb0a5;
  color: var(--ink);
}

.search-filter-button.active {
  border-color: var(--green);
  background: var(--green);
  color: #ffffff;
}

.search-button {
  min-width: 200px;
  height: 72px;
  padding: 0 28px;
  border: 0;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  background: var(--green);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 720;
  transition: background 150ms ease, transform 150ms ease;
}

.search-button:hover {
  background: var(--green-deep);
}

.search-button:active {
  transform: translateY(1px);
}

.search-button:focus-visible,
.search-filter-button:focus-visible,
.tab-button:focus-visible,
.result-action:focus-visible {
  outline: 3px solid rgba(35, 104, 65, 0.24);
  outline-offset: 3px;
}

.search-button svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.spinner {
  display: none;
}

.search-button.loading {
  cursor: wait;
  opacity: 0.88;
}

.search-button.loading .button-search-icon {
  display: none;
}

.search-button.loading .spinner {
  display: block;
  animation: spin 0.85s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.search-meta {
  margin-top: 15px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #68756e;
  font-size: 0.8rem;
  line-height: 1.45;
}

.search-meta svg {
  flex: none;
  width: 17px;
  height: 17px;
  margin-top: 1px;
  stroke: var(--green);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.error-message {
  margin: 12px 0 0;
  color: var(--red);
  font-size: 0.88rem;
  font-weight: 630;
}

.before-search {
  padding: 52px 0 64px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}

.before-search > div {
  min-width: 0;
  padding: 8px 40px;
  border-left: 1px solid var(--line);
}

.before-search > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.before-search span {
  display: block;
  margin-bottom: 18px;
  color: var(--green);
  font-size: 1.05rem;
  font-weight: 650;
}

.before-search strong {
  display: block;
  font-size: 1.27rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.before-search p {
  margin: 7px 0 0;
  color: var(--soft-ink);
  font-size: 0.93rem;
}

.results-section {
  padding: 76px 0 88px;
  scroll-margin-top: 20px;
}

.results-heading {
  margin-bottom: 34px;
}

.section-kicker {
  color: #708078;
}

.results-heading h2 {
  margin: 8px 0 14px;
  font-size: clamp(3.2rem, 6.4vw, 5.7rem);
  font-weight: 520;
  letter-spacing: -0.055em;
  line-height: 0.98;
  overflow-wrap: anywhere;
}

.summary-line {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
  color: #66736c;
  font-size: 1rem;
}

.summary-line span,
.summary-line strong {
  position: relative;
}

.summary-line span::before {
  content: "";
  width: 4px;
  height: 4px;
  position: absolute;
  left: -13px;
  top: 50%;
  border-radius: 50%;
  background: #9ba59f;
}

.summary-line strong {
  color: var(--green);
  font-weight: 760;
}

.tabs-list {
  width: fit-content;
  margin-bottom: 28px;
  padding: 5px;
  display: flex;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #ecece6;
}

.tab-button {
  height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  background: transparent;
  color: #617068;
  font-size: 0.9rem;
  font-weight: 650;
}

.tab-button > span {
  min-width: 24px;
  height: 22px;
  padding-inline: 6px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: rgba(22, 33, 28, 0.08);
  font-size: 0.74rem;
}

.tab-button.active {
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(20, 37, 29, 0.09);
}

.grouped-results {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

/* E-mail results intentionally use a neutral verification treatment. Unlike
   public profiles and domains, an inbox cannot be safely enumerated, so the
   final availability state belongs to the provider's official signup flow. */
.email-check-note {
  margin: 0 0 28px;
  padding: 18px 20px;
  border: 1px solid var(--email-line);
  border-radius: 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--email-soft);
  color: #405c69;
  font-size: 0.88rem;
  line-height: 1.55;
}

.email-check-note > svg {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  fill: none;
  stroke: var(--email);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.email-check-note p { margin: 0; }
.email-check-note strong { color: var(--email-deep); }

.availability-group-email {
  padding: 30px;
  border: 1px solid var(--email-line);
  border-radius: 22px;
  background: linear-gradient(145deg, #eef6f8 0%, #e6f0f4 100%);
}

.availability-group-email .group-icon {
  background: var(--email);
  color: #ffffff;
}

.availability-group-email .group-callout {
  color: var(--email-deep);
}

.availability-group-email .results-grid {
  gap: 16px;
}

.availability-group-free {
  padding: 30px;
  border: 1px solid var(--green-line);
  border-radius: 22px;
  background: var(--green-soft);
}

.group-heading {
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.group-heading-copy {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
}

.group-icon {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
}

.group-icon svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.group-heading h3 {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 650;
  letter-spacing: -0.025em;
}

.group-heading p {
  margin: 3px 0 0;
  color: #617068;
  font-size: 0.91rem;
}

.group-callout {
  color: #35563e;
  font-size: 0.9rem;
  font-weight: 600;
}

.availability-group-free .group-icon {
  background: var(--green);
  color: #ffffff;
}

.availability-group-taken .group-icon {
  background: var(--red-soft);
  color: var(--red);
}

.empty-group {
  margin: 0;
  padding: 24px;
  border: 1px dashed #acc184;
  border-radius: 13px;
  color: #607066;
  text-align: center;
  font-size: 0.94rem;
}

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

.availability-group-free .results-grid {
  gap: 16px;
}

.result-card {
  min-width: 0;
}

.result-card-main {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
}

.availability-group-free .result-card {
  min-height: 116px;
  padding: 20px;
  border: 1px solid #c6dba1;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(35, 83, 53, 0.06);
}

.availability-group-taken .results-grid {
  gap: 0 30px;
}

.availability-group-taken .result-card {
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
}

.availability-group-taken .result-card-domain-expanded {
  grid-column: span 2;
  margin-top: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
}

.result-mark {
  flex: none;
  width: 50px;
  height: 50px;
  border: 1px solid #e3e7e3;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: #f2f4f1;
}

.result-mark svg {
  width: 23px;
  height: 23px;
}

.result-mark-domain {
  background: #e8f0e9;
  color: var(--green);
}

.result-mark-domain svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.result-mark-email {
  overflow: hidden;
  border-color: var(--email-line);
  background: #eef6f8;
  color: var(--email);
}

.result-mark-email svg {
  width: 25px;
  height: 25px;
}

.result-card-email {
  position: relative;
}

.availability-group-email .result-card-email,
.availability-group-free .result-card-email {
  min-height: 116px;
  padding: 20px;
  border: 1px solid var(--email-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 24px rgba(35, 78, 100, 0.055);
}

.email-provider-badge {
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #5f7580;
  font-size: 0.78rem;
  font-weight: 620;
}

.email-provider-badge::before {
  content: "@";
  width: 20px;
  height: 20px;
  border-radius: 6px;
  display: inline-grid;
  place-items: center;
  background: var(--email-soft);
  color: var(--email);
  font-size: 0.72rem;
  font-weight: 800;
}

.email-address {
  color: #52666f !important;
  font-weight: 560;
}

.result-copy {
  min-width: 0;
}

.result-title-row {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.result-title-row h4 {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.result-copy > p {
  margin: 5px 0 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #6e7b74;
  font-size: 0.9rem;
}

.status-label {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.76rem;
  font-weight: 740;
}

.status-label svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.status-available { color: var(--green); }
.status-taken { color: var(--red); }

.status-check {
  padding: 5px 8px;
  border: 1px solid var(--email-line);
  border-radius: 999px;
  background: var(--email-soft);
  color: var(--email-deep);
  line-height: 1;
}

.status-check-pending { color: var(--email-deep); }

.status-check-available {
  border-color: var(--green-line);
  background: var(--green-soft);
  color: var(--green);
}

.status-check-taken {
  border-color: #e1bfba;
  background: var(--red-soft);
  color: var(--red);
}

.result-card-email .result-action {
  border-color: var(--email);
  color: var(--email-deep);
}

.result-card-email .result-action:hover {
  border-color: var(--email-deep);
  background: var(--email-deep);
  color: #ffffff;
}

.result-action {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid #bdc7c0;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #34433b;
  text-decoration: none;
  white-space: nowrap;
  font-size: 0.86rem;
  font-weight: 710;
  transition: color 150ms ease, border-color 150ms ease, background 150ms ease;
}

.result-action:hover {
  border-color: var(--green);
  color: var(--green);
}

.result-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.result-actions .result-action {
  min-height: 40px;
  padding-inline: 13px;
}

.result-action-site {
  border-color: #8eaa9a;
  color: var(--green);
}

.result-card-available .result-action {
  border-color: var(--green);
  background: var(--green);
  color: #ffffff;
}

.result-card-available .result-action:hover {
  border-color: var(--green-deep);
  background: var(--green-deep);
  color: #ffffff;
}

.domain-record {
  margin: 20px 0 0 66px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.domain-record-heading {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #59675f;
  font-size: 0.79rem;
  font-weight: 690;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.domain-record-heading svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--green);
  stroke-width: 1.8;
}

.domain-record-heading small {
  margin-left: auto;
  padding: 3px 7px;
  border-radius: 5px;
  background: #e8eee9;
  color: #68756e;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}

.domain-facts {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 0.85fr;
  gap: 18px;
}

.domain-fact {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.domain-fact > svg {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  fill: none;
  stroke: #7b8981;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.domain-fact span {
  display: block;
  margin-bottom: 4px;
  color: #748078;
  font-size: 0.75rem;
}

.domain-fact strong {
  display: block;
  color: var(--ink);
  font-size: 0.91rem;
  font-weight: 680;
  overflow-wrap: anywhere;
}

.domain-fact-expiry strong { color: var(--green); }
.domain-fact-expiry.expiry-soon strong { color: var(--amber); }
.domain-fact-expiry.expiry-critical strong { color: var(--red); }

.domain-registry-note {
  margin: 13px 0 0 28px;
  color: #78847d;
  font-size: 0.76rem;
}

.notice {
  max-width: 820px;
  margin-top: 30px;
  padding: 17px 19px;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  border-left: 3px solid #c8a65a;
  background: #ece9df;
  color: #647168;
}

.notice > svg {
  flex: none;
  width: 19px;
  height: 19px;
  margin-top: 2px;
  stroke: #8e681c;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.notice p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.6;
}

.notice strong { color: #39483f; }

footer {
  min-height: 124px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  color: #6c7972;
  font-size: 0.8rem;
}

footer p {
  margin: 0;
  text-align: center;
}

footer > span:last-child { text-align: right; }

.footer-brand {
  color: var(--ink);
  font-size: 1rem;
}

.footer-brand .brand-mark {
  width: 34px;
  height: 34px;
  border-color: #b7c8bc;
  background: #e8eee9;
  color: var(--green);
}

.footer-brand .brand-mark svg {
  width: 17px;
  height: 17px;
}

@media (max-width: 980px) {
  .hero { min-height: auto; }
  .results-grid { grid-template-columns: 1fr; }
  .availability-group-taken .result-card-domain-expanded { grid-column: auto; }
}

@media (max-width: 700px) {
  .page-width { width: calc(100% - 36px); }

  .topbar-note {
    max-width: 150px;
    text-align: right;
    line-height: 1.3;
  }

  .hero {
    padding: 52px 0 62px;
  }

  .hero h1 {
    font-size: clamp(2.75rem, 13vw, 4.4rem);
    letter-spacing: -0.055em;
  }

  .search-panel {
    margin-top: 34px;
    padding: 20px;
  }

  .search-panel-title { margin-bottom: 22px; }
  .search-row { grid-template-columns: 1fr; }

  .search-button {
    width: 100%;
    height: 62px;
  }

  .before-search {
    grid-template-columns: 1fr;
    padding: 32px 0 44px;
  }

  .before-search > div,
  .before-search > div:first-child {
    padding: 24px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .before-search > div:first-child { border-top: 0; }
  .results-section { padding: 58px 0 70px; }

  .results-heading h2 {
    font-size: clamp(2.8rem, 14vw, 4.4rem);
  }

  .tabs-list {
    width: 100%;
    overflow-x: auto;
  }

  .tab-button {
    flex: none;
    padding-inline: 12px;
  }

  .availability-group-free {
    margin-inline: -8px;
    padding: 20px;
    border-radius: 18px;
  }

  .availability-group-email {
    margin-inline: -8px;
    padding: 20px;
    border-radius: 18px;
  }

  .email-check-note {
    padding: 16px;
  }

  .group-heading { align-items: flex-start; }
  .group-callout { display: none; }

  .result-card-main {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .result-action {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 2px;
  }

  .result-actions {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 2px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .result-actions .result-action {
    grid-column: auto;
    margin-top: 0;
  }

  .availability-group-taken .result-card-domain-expanded { padding: 18px; }
  .domain-record { margin-left: 0; }
  .domain-facts { grid-template-columns: 1fr 1fr; }
  .domain-fact:first-child { grid-column: 1 / -1; }

  footer { grid-template-columns: 1fr auto; }
  footer p { display: none; }
}

@media (max-width: 430px) {
  .topbar-note { font-size: 0; }
  .topbar-note .live-dot { display: block; }

  .search-panel-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .summary-line {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .summary-line span::before { display: none; }
  .group-heading h3 { font-size: 1.5rem; }

  .result-title-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .domain-facts { grid-template-columns: 1fr; }
  .domain-fact:first-child { grid-column: auto; }
  .result-actions { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
