@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400..720&family=Hanken+Grotesk:wght@400..900&family=Inter+Tight:wght@400..900&family=JetBrains+Mono:wght@400..800&display=swap");

:root {
  color-scheme: light;
  --bg: #f6f1e8;
  --bg-raised: #fbf7ee;
  --surface: #ffffff;
  --surface-muted: #f8f1e4;
  --ink: #11100e;
  --ink-soft: #2d2a24;
  --muted: #625d55;
  --subtle: #90877a;
  --clay: #ad4b33;
  --clay-soft: rgba(173, 75, 51, 0.1);
  --line: rgba(17, 16, 14, 0.075);
  --line-strong: rgba(17, 16, 14, 0.18);
  --focus: rgba(173, 75, 51, 0.24);
  --success: #2d765f;
  --success-bg: rgba(45, 118, 95, 0.09);
  --warning: #80632f;
  --warning-bg: rgba(128, 99, 47, 0.1);
  --danger: #994d44;
  --danger-bg: rgba(153, 77, 68, 0.08);
  --shadow-sm: 0 1px 2px rgba(17, 16, 14, 0.04), 0 8px 24px rgba(17, 16, 14, 0.04);
  --shadow-md: 0 1px 2px rgba(17, 16, 14, 0.06), 0 18px 52px rgba(17, 16, 14, 0.08);
  --radius-xs: 6px;
  --radius-sm: 9px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --font: "Inter Tight", "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Fraunces", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

[hidden] {
  display: none !important;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100%;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: rgba(23, 22, 18, 0.12);
}

a {
  color: inherit;
}

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

button {
  cursor: pointer;
}

button:focus:not(:focus-visible),
input:focus:not(:focus-visible),
select:focus:not(:focus-visible),
textarea:focus:not(:focus-visible) {
  outline: none;
}

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

.dm-skip-link,
.adm-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.dm-skip-link:focus-visible {
  position: fixed;
  z-index: 1000;
  width: auto;
  height: auto;
  left: 16px;
  top: 16px;
  clip: auto;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: #ffffff;
  padding: 10px 12px;
  font-weight: 800;
}

/* Public shell */
.dm-app {
  min-height: 100vh;
}

.dm-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  min-height: 64px;
  align-items: center;
  gap: 26px;
  border-bottom: 1px solid var(--line);
  background: rgba(250, 249, 246, 0.88);
  padding: 0 max(20px, calc((100vw - 1240px) / 2));
  backdrop-filter: blur(18px);
}

.dm-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.dm-brand span {
  color: var(--subtle);
}

.dm-nav {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}

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

.dm-nav a,
.dm-admin-link {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border-radius: var(--radius-sm);
  color: var(--muted);
  padding: 0 11px;
  font-size: 13px;
  font-weight: 690;
  text-decoration: none;
  white-space: nowrap;
  transition: background 140ms ease, color 140ms ease, border-color 140ms ease;
}

.dm-nav a:hover,
.dm-nav a.is-active {
  background: rgba(23, 22, 18, 0.06);
  color: var(--ink);
}

.dm-admin-link {
  margin-left: auto;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.64);
}

.dm-admin-link:hover {
  border-color: var(--line-strong);
  background: #ffffff;
  color: var(--ink);
}

.dm-main {
  width: min(calc(100% - 40px), 1240px);
  margin: 0 auto;
  padding: 58px 0 96px;
}

.dm-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.dm-dashboard-primary {
  min-width: 0;
}

.dm-home {
  width: min(calc(100% - 40px), 1040px);
  padding-top: 58px;
}

.dm-home-hero {
  display: grid;
  gap: 16px;
}

/* Type */
.dm-search-copy {
  display: grid;
  max-width: 780px;
  gap: 10px;
}

.dm-home .dm-search-copy {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.dm-search-panel h1,
.dm-page-head h1 {
  max-width: 800px;
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 520;
  line-height: 0.98;
}

.dm-search-copy > p:not(.dm-eyebrow),
.dm-page-head > p:not(.dm-eyebrow),
.dm-panel-section p,
.dm-extension-card p,
.dm-empty-state p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.dm-page-head > p:not(.dm-eyebrow) {
  max-width: 660px;
  font-size: 16px;
}

.dm-eyebrow {
  margin: 0;
  color: var(--subtle);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dm-page-head {
  display: grid;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 38px;
  padding-bottom: 34px;
}

.dm-page-head-tight {
  margin-bottom: 22px;
}

/* Forms */
.dm-search-panel {
  display: grid;
  gap: 18px;
}

.dm-search-form,
.dm-bulk-form,
.dm-inline-form {
  display: grid;
  gap: 12px;
}

.dm-search-label,
.dm-select-label,
.dm-bulk-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.dm-search-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: stretch;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.86);
  padding: 8px;
  box-shadow: var(--shadow-md);
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.dm-search-box:focus-within {
  border-color: rgba(23, 22, 18, 0.36);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(23, 22, 18, 0.04), var(--shadow-md);
}

.dm-search-box .dm-search-label {
  min-width: 0;
  padding: 12px 14px 10px;
}

.dm-search-label input,
.dm-inline-form input[type="search"],
.dm-inline-form input[type="text"],
.dm-bulk-form textarea,
.dm-select-label select,
.adm-form input[type="text"],
.adm-form input[type="number"],
.adm-form input[type="url"],
.adm-form input[type="email"],
.adm-form input[type="password"],
.adm-form select,
.adm-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.dm-search-label input:focus,
.dm-inline-form input[type="search"]:focus,
.dm-inline-form input[type="text"]:focus,
.dm-bulk-form textarea:focus,
.dm-select-label select:focus,
.adm-form input:focus,
.adm-form select:focus,
.adm-form textarea:focus {
  border-color: var(--line-strong);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(23, 22, 18, 0.05);
  outline: none;
}

.dm-search-label input,
.dm-inline-form input[type="search"],
.dm-inline-form input[type="text"] {
  min-height: 62px;
  padding: 0 16px;
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 760;
}

.dm-search-box .dm-search-label input {
  min-height: 42px;
  border: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.dm-search-box .dm-search-label input:focus {
  background: transparent;
  box-shadow: none;
}

.dm-search-label input::placeholder,
.dm-inline-form input::placeholder,
.dm-bulk-form textarea::placeholder {
  color: rgba(23, 22, 18, 0.32);
}

.dm-bulk-form textarea {
  min-height: 260px;
  padding: 18px;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.7;
  resize: vertical;
}

.dm-select-label select {
  min-height: 48px;
  padding: 0 12px;
}

.dm-search-form button,
.dm-bulk-form button,
.dm-inline-form input[type="submit"],
.dm-result-actions button,
.dm-result-actions a,
.adm-button,
.adm-form-actions input[type="submit"] {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: #ffffff;
  padding: 0 17px;
  font-weight: 760;
  text-decoration: none;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.dm-search-form button:hover,
.dm-bulk-form button:hover,
.dm-inline-form input[type="submit"]:hover,
.adm-button:hover,
.adm-form-actions input[type="submit"]:hover {
  background: var(--ink-soft);
  transform: translateY(-1px);
}

.dm-bulk-form button,
.dm-search-form:not(:has(.dm-search-box)) button {
  justify-self: start;
  min-width: 190px;
}

.dm-search-box button {
  min-height: 56px;
  border-radius: var(--radius-md);
  padding: 0 28px;
  font-size: 15px;
}

.dm-inline-form {
  grid-template-columns: minmax(0, 580px) auto;
  align-items: stretch;
  max-width: 760px;
}

.dm-inline-form input[type="submit"] {
  min-height: 62px;
  padding: 0 24px;
  font-size: 16px;
}

.dm-generator-controls {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.42);
  padding: 14px;
}

.dm-chip-field {
  display: grid;
  gap: 8px;
}

.dm-bulk-tools {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  scroll-margin-top: 88px;
}

.dm-bulk-control-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.dm-bulk-generation-tools {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.dm-bulk-generation-tools[hidden],
.dm-bulk-tools-copy[hidden],
.dm-lucky-tool[hidden],
.dm-bulk-option-toggles[hidden] {
  display: none;
}

.dm-word-entry {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.dm-word-entry textarea {
  min-height: 148px;
  padding: 14px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.55;
  text-transform: none;
}

.dm-bulk-tools-copy {
  display: grid;
  gap: 5px;
  max-width: 760px;
}

.dm-bulk-tools-copy strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 780;
}

.dm-bulk-tools-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.42;
}

.dm-lucky-tool {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.28);
  padding: 12px;
}

.dm-lucky-tool-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.dm-lucky-tool-head span {
  display: block;
  color: var(--subtle);
  font-size: 10px;
  font-weight: 820;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dm-lucky-tool-head strong {
  display: block;
  margin-top: 3px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 780;
}

.dm-lucky-tool-head button {
  min-width: auto;
  min-height: 38px;
  border-radius: 999px;
  padding: 0 16px;
  font-size: 13px;
}

.dm-lucky-categories {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  max-height: 204px;
  overflow: auto;
  padding-right: 4px;
}

.dm-lucky-category {
  position: relative;
  cursor: pointer;
}

.dm-lucky-category input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  clip: rect(0 0 0 0);
  overflow: hidden;
}

.dm-lucky-category span {
  display: grid;
  gap: 2px;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.36);
  padding: 9px 10px;
}

.dm-lucky-category strong {
  color: var(--ink);
  font-size: 12px;
  font-weight: 760;
}

.dm-lucky-category small {
  color: var(--muted);
  font-size: 11px;
}

.dm-lucky-category input:checked + span {
  border-color: rgba(45, 118, 95, 0.3);
  background: var(--success-bg);
}

.dm-lucky-category input:focus-visible + span {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.dm-lucky-meta {
  min-height: 17px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.dm-bulk-option-toggles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.dm-toggle-control {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.34);
  padding: 10px 12px;
  cursor: pointer;
}

.dm-toggle-control input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  clip: rect(0 0 0 0);
  overflow: hidden;
}

.dm-toggle-visual {
  position: relative;
  inline-size: 38px;
  block-size: 22px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(17, 16, 14, 0.08);
  transition: background 160ms ease, border-color 160ms ease;
}

.dm-toggle-visual::after {
  content: "";
  position: absolute;
  inset-block-start: 3px;
  inset-inline-start: 3px;
  inline-size: 14px;
  block-size: 14px;
  border-radius: 50%;
  background: var(--ink);
  transition: transform 160ms ease;
}

.dm-toggle-control input:checked + .dm-toggle-visual {
  border-color: rgba(45, 118, 95, 0.36);
  background: var(--success-bg);
}

.dm-toggle-control input:checked + .dm-toggle-visual::after {
  transform: translateX(16px);
  background: var(--success);
}

.dm-toggle-control input:focus-visible + .dm-toggle-visual {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.dm-toggle-control strong {
  display: block;
  color: var(--ink);
  font-size: 13px;
  font-weight: 780;
}

.dm-toggle-control small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}

.dm-chip-field > span {
  color: var(--subtle);
  font-size: 10px;
  font-weight: 820;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dm-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dm-choice-chip {
  cursor: pointer;
}

.dm-choice-chip input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  clip: rect(0 0 0 0);
  overflow: hidden;
}

.dm-choice-chip span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--muted);
  padding: 0 13px;
  font-size: 13px;
  font-weight: 760;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease, box-shadow 140ms ease;
}

.dm-choice-chip:hover span {
  border-color: var(--line-strong);
  color: var(--ink);
}

.dm-choice-chip input:checked + span {
  border-color: rgba(17, 16, 14, 0.4);
  background: #ffffff;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(17, 16, 14, 0.32);
}

.dm-choice-chip input:focus-visible + span {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.dm-tld-selector {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.42);
  padding: 0 14px;
}

.dm-tld-selector summary {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  color: var(--ink);
  font-size: 13px;
  font-weight: 760;
  list-style: none;
}

.dm-tld-selector summary::-webkit-details-marker {
  display: none;
}

.dm-tld-selector summary span {
  color: var(--subtle);
  font-size: 11px;
  font-weight: 820;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dm-tld-selector summary strong {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  padding: 0 10px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 680;
}

.dm-tld-selector-body {
  display: grid;
  gap: 12px;
  padding: 0 0 14px;
}

.dm-tld-selector-controls {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.dm-tld-selector-controls label {
  display: grid;
  gap: 7px;
}

.dm-tld-selector-controls label > span {
  color: var(--subtle);
  font-size: 10px;
  font-weight: 820;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dm-tld-selector-controls input {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink);
  padding: 0 14px;
}

.dm-tld-selector-controls input:focus {
  border-color: var(--line-strong);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(17, 16, 14, 0.04);
  outline: none;
}

.dm-tld-selector-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: flex-end;
}

.dm-tld-selector-actions button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink);
  padding: 0 11px;
  font-size: 12px;
  font-weight: 760;
}

.dm-tld-selector-actions button:hover {
  border-color: var(--line-strong);
  background: #ffffff;
}

.dm-tld-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  overflow: auto;
  max-height: 238px;
  padding-right: 4px;
}

.dm-tld-picker label {
  min-width: 0;
  cursor: pointer;
}

.dm-tld-picker label[hidden] {
  display: none;
}

.dm-tld-picker input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  clip: rect(0 0 0 0);
  overflow: hidden;
}

.dm-tld-picker span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--muted);
  padding: 0 11px;
  font-size: 12px;
  font-weight: 720;
  white-space: nowrap;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease, box-shadow 150ms ease;
}

.dm-tld-picker span::before {
  flex: 0 0 auto;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: currentColor;
  content: "";
  margin-right: 7px;
  opacity: 0.72;
}

.dm-tld-picker b {
  min-width: 0;
  overflow: hidden;
  color: inherit;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 720;
  text-overflow: ellipsis;
}

.dm-tld-picker small {
  color: var(--subtle);
  font-size: 9px;
  font-weight: 760;
  text-transform: uppercase;
}

.dm-tld-picker label:hover span,
.dm-tld-picker input:checked + span {
  border-color: var(--line-strong);
  background: #ffffff;
  color: var(--ink);
}

.dm-tld-picker input:checked + span {
  box-shadow: inset 0 0 0 1px rgba(17, 16, 14, 0.28);
}

.dm-tld-picker input:focus-visible + span {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.dm-hidden-tld {
  display: none;
}

/* Results */
.dm-search-meta {
  min-height: 20px;
  color: var(--subtle);
  font-family: var(--mono);
  font-size: 12px;
}

.dm-search-meta:empty,
.dm-results:empty,
.dm-results:not(:has(> *)) {
  display: none;
}

.dm-results {
  display: grid;
  gap: 14px;
}

.dm-results-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.dm-results-table {
  width: 100%;
  min-width: 920px;
  border-collapse: separate;
  border-spacing: 0 8px;
  font-size: 13px;
}

.dm-results-table th {
  border-bottom: 0;
  background: transparent;
  color: var(--subtle);
  padding: 0 14px 5px;
  font-size: 10px;
  font-weight: 820;
  letter-spacing: 0.03em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

.dm-results-table td {
  border-bottom: 0;
  background: rgba(255, 255, 255, 0.66);
  padding: 14px;
  vertical-align: middle;
}

.dm-results-table td:first-child {
  border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.dm-results-table td:last-child {
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.dm-results-table-row {
  transition: background 140ms ease;
}

.dm-results-table-row:hover {
  background: rgba(23, 22, 18, 0.025);
}

.dm-results-table-row-premium {
  background: transparent;
}

.dm-results-table-row-premium td {
  background: rgba(128, 99, 47, 0.055);
}

.dm-result-main {
  display: grid;
  gap: 5px;
}

.dm-result-main strong,
.dm-result-row > div > strong {
  overflow-wrap: anywhere;
  font-family: var(--mono);
  font-size: 17px;
  font-weight: 680;
  letter-spacing: 0;
}

.dm-result-main span,
.dm-result-row > div > span,
.dm-result-price,
.dm-result-score span,
.dm-result-row small {
  color: var(--muted);
  font-size: 12px;
}

.dm-table-tld,
.dm-source-pill {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 650;
}

.dm-result-score {
  display: grid;
  gap: 3px;
}

.dm-result-score strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 760;
}

.dm-result-commerce {
  display: grid;
  gap: 3px;
}

.dm-result-commerce strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 770;
}

.dm-result-commerce span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}

.dm-status {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  justify-content: center;
  justify-self: start;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: #ffffff;
  padding: 0 9px;
  font-size: 11px;
  font-weight: 780;
  text-transform: capitalize;
  white-space: nowrap;
}

.dm-status-available {
  color: var(--success);
}

.dm-status-taken {
  color: var(--danger);
}

.dm-status-premium,
.dm-status-reserved {
  color: var(--warning);
}

.dm-status-unknown {
  color: var(--muted);
}

.dm-source-pill {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
  padding: 0 9px;
}

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

.dm-result-actions button,
.dm-result-actions a {
  min-height: 38px;
  border-color: var(--line);
  background: #ffffff;
  color: var(--ink);
  padding: 0 13px;
  font-size: 13px;
}

.dm-result-actions .dm-result-action-primary {
  border-color: var(--line-strong);
}

.dm-result-actions .dm-result-action-market {
  border-color: rgba(128, 99, 47, 0.34);
  color: var(--warning);
}

.dm-result-actions button:hover,
.dm-result-actions a:hover {
  border-color: var(--line-strong);
  background: var(--ink);
  color: #ffffff;
}

.dm-result-row {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 120px minmax(180px, 0.7fr) auto;
  gap: 12px;
  align-items: center;
  border: 0;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.66);
  padding: 16px;
}

.dm-result-row-premium {
  background: rgba(128, 99, 47, 0.06);
}

.dm-result-factors {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.dm-result-factors span {
  border-radius: 999px;
  background: var(--surface-muted);
  color: var(--muted);
  padding: 5px 8px;
  font-size: 12px;
}

/* Empty and instruction states */
.dm-empty-state {
  position: relative;
  display: grid;
  gap: 12px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 24px 0;
}

.dm-empty-state::before {
  display: none;
}

.dm-empty-state strong {
  max-width: 680px;
  font-size: clamp(21px, 2vw, 26px);
  font-weight: 780;
  line-height: 1.12;
}

.dm-empty-state p {
  max-width: 620px;
}

.dm-empty-state ol,
.dm-instruction-list {
  display: grid;
  gap: 10px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: instruction;
}

.dm-empty-state ol {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dm-empty-state li,
.dm-instruction-list li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  counter-increment: instruction;
}

.dm-empty-state li {
  border-top: 1px solid rgba(17, 16, 14, 0.08);
  padding: 10px 0 0;
}

.dm-empty-state li::before,
.dm-instruction-list li::before {
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  background: #ffffff;
  color: var(--muted);
  content: counter(instruction);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 760;
}

.dm-home .dm-empty-state {
  margin-top: 8px;
}

.dm-loading,
.dm-empty {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.74);
  color: var(--muted);
  padding: 18px;
  font-weight: 650;
}

.dm-loading::before {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: currentColor;
  content: "";
  animation: dm-loading-pulse 1s ease-in-out infinite;
}

@keyframes dm-loading-pulse {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.85);
  }

  50% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Side panel */
.dm-intel-panel {
  position: static;
  display: grid;
  overflow: hidden;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.dm-panel-section {
  display: grid;
  gap: 10px;
  border-bottom: 0;
  padding: 22px 0;
}

.dm-panel-section + .dm-panel-section {
  border-left: 1px solid var(--line);
  padding-left: 28px;
}

.dm-panel-section span {
  color: var(--subtle);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dm-panel-section strong {
  font-size: 17px;
  font-weight: 780;
  line-height: 1.2;
}

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

/* Catalog and secondary surfaces */
.dm-tool-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  margin-top: 18px;
  border-top: 1px solid var(--line);
}

.dm-extension-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  margin-top: 16px;
  border-top: 1px solid var(--line);
}

.dm-tool-card,
.dm-extension-card,
.dm-whois-card {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.dm-tool-card,
.dm-extension-card {
  display: grid;
  grid-template-columns: minmax(120px, 0.18fr) minmax(220px, 0.28fr) minmax(0, 1fr) auto;
  gap: 18px;
  min-height: 0;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 19px 0;
  text-decoration: none;
  transition: color 150ms ease, border-color 150ms ease;
}

.dm-tool-card:hover,
.dm-extension-card:hover {
  border-color: var(--line-strong);
  color: var(--clay);
}

.dm-tool-card span,
.dm-extension-card span {
  color: var(--subtle);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dm-tool-card strong,
.dm-extension-card strong {
  max-width: none;
  font-size: 19px;
  font-weight: 750;
  line-height: 1.2;
}

.dm-tool-card strong {
  font-size: 19px;
}

.dm-extension-section .dm-extension-card {
  grid-template-columns: minmax(120px, 0.18fr) minmax(0, 1fr) auto;
}

.dm-extension-card small {
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}

.dm-extension-section {
  margin-top: 34px;
}

.dm-extension-section h2 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 790;
}

.dm-extension-section h2 span {
  color: var(--subtle);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 660;
}

.dm-extension-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.dm-extension-stats a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--muted);
  padding: 0 12px;
  font-size: 12px;
  text-decoration: none;
  transition: border-color 140ms ease, background 140ms ease, color 140ms ease, box-shadow 140ms ease;
}

.dm-extension-stats a:hover,
.dm-extension-stats a.is-active {
  border-color: var(--line-strong);
  background: #ffffff;
  color: var(--ink);
}

.dm-extension-stats a.is-active {
  box-shadow: inset 0 0 0 1px var(--line-strong);
}

.dm-extension-stats strong {
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
}

.dm-extension-controls {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(170px, 240px) minmax(130px, 170px) auto auto;
  gap: 10px;
  align-items: end;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

.dm-extension-controls label {
  display: grid;
  gap: 7px;
}

.dm-extension-controls label span {
  color: var(--subtle);
  font-size: 10px;
  font-weight: 820;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dm-extension-controls input[type="search"],
.dm-extension-controls select {
  min-height: 46px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink);
  padding: 0 12px;
}

.dm-extension-controls input[type="submit"],
.dm-extension-controls a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--ink);
  padding: 0 14px;
  font-size: 13px;
  font-weight: 780;
  text-decoration: none;
}

.dm-extension-controls input[type="submit"] {
  border-color: var(--line-strong);
  background: var(--ink);
  color: #ffffff;
}

.dm-extension-controls a:hover,
.dm-extension-controls input[type="submit"]:hover {
  border-color: var(--ink);
}

/* Aftermarket */
.dm-aftermarket-head {
  gap: 18px;
}

.dm-aftermarket-controls {
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) repeat(4, minmax(120px, 0.7fr)) auto;
  gap: 10px;
  align-items: end;
  width: 100%;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.dm-aftermarket-controls label {
  display: grid;
  gap: 7px;
}

.dm-aftermarket-controls label > span {
  color: var(--subtle);
  font-size: 10px;
  font-weight: 820;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dm-aftermarket-controls input[type="search"],
.dm-aftermarket-controls input[type="text"],
.dm-aftermarket-controls select {
  min-height: 46px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink);
  padding: 0 12px;
}

.dm-aftermarket-controls input[type="submit"] {
  min-height: 46px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: #ffffff;
  padding: 0 16px;
  font-weight: 780;
}

.dm-aftermarket-summary,
.dm-aftermarket-tools {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 28px;
}

.dm-aftermarket-summary > div {
  display: grid;
  gap: 7px;
  padding: 18px 18px 18px 0;
}

.dm-aftermarket-summary > div + div {
  border-left: 1px solid var(--line);
  padding-left: 18px;
}

.dm-aftermarket-summary span,
.dm-market-tool span {
  color: var(--subtle);
  font-size: 10px;
  font-weight: 820;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dm-aftermarket-summary strong {
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 680;
}

.dm-aftermarket-focus {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: end;
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}

.dm-aftermarket-focus h2 {
  margin: 0;
  font-family: var(--mono);
  font-size: clamp(30px, 5vw, 58px);
  font-weight: 620;
  line-height: 1;
}

.dm-aftermarket-focus p {
  max-width: 620px;
  margin: 10px 0 0;
  color: var(--muted);
}

.dm-aftermarket-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.dm-aftermarket-action,
.dm-aftermarket-table a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--ink);
  padding: 0 12px;
  font-size: 13px;
  font-weight: 760;
  text-decoration: none;
}

.dm-aftermarket-action-primary {
  border-color: var(--ink);
  background: var(--ink);
  color: #ffffff;
}

.dm-aftermarket-tools {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 0;
  border-top: 0;
}

.dm-market-tool {
  display: grid;
  gap: 8px;
  min-height: 134px;
  align-content: end;
  border-right: 1px solid var(--line);
  color: inherit;
  padding: 18px;
  text-decoration: none;
}

.dm-market-tool:nth-child(4n) {
  border-right: 0;
}

.dm-market-tool:hover {
  background: rgba(255, 255, 255, 0.54);
}

.dm-market-tool strong {
  font-size: 18px;
  line-height: 1.1;
}

.dm-market-tool small {
  color: var(--muted);
  font-size: 12px;
}

.dm-aftermarket-table-wrap {
  overflow-x: auto;
  border-top: 1px solid var(--line);
  margin-top: 28px;
}

.dm-aftermarket-table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
  font-size: 13px;
}

.dm-aftermarket-table th,
.dm-aftermarket-table td {
  border-bottom: 1px solid var(--line);
  padding: 15px 12px;
  text-align: left;
  vertical-align: middle;
}

.dm-aftermarket-table th {
  color: var(--subtle);
  font-size: 10px;
  font-weight: 820;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dm-aftermarket-table td:first-child strong {
  display: block;
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 660;
}

.dm-aftermarket-table td:first-child span {
  color: var(--muted);
  font-size: 12px;
}

.dm-market-type {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  padding: 0 9px;
  font-size: 12px;
  font-weight: 760;
}

.dm-market-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.dm-market-signals span {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  padding: 4px 7px;
  font-size: 11px;
}

.dm-score-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dm-score-strip span {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.62);
  color: var(--muted);
  padding: 7px 10px;
  font-size: 12px;
}

.dm-score-strip a {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.62);
  color: var(--muted);
  padding: 7px 10px;
  font-size: 12px;
  text-decoration: none;
}

.dm-score-strip a:hover {
  border-color: var(--line-strong);
  color: var(--ink);
}

.dm-score-strip strong {
  color: var(--ink);
}

/* Tool suite */
.dm-tool-suite {
  display: grid;
  gap: 34px;
}

.dm-tool-suite-group {
  display: grid;
  grid-template-columns: minmax(160px, 0.2fr) minmax(0, 1fr);
  gap: 28px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.dm-tool-suite-group > header {
  display: grid;
  align-content: start;
  gap: 8px;
}

.dm-tool-suite-group > header span,
.dm-tool-suite-link span,
.dm-api-card span,
.dm-directory-card span {
  color: var(--subtle);
  font-size: 10px;
  font-weight: 820;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dm-tool-suite-group > header strong {
  font-size: 18px;
}

.dm-tool-suite-list,
.dm-api-grid,
.dm-directory-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.dm-tool-suite-link,
.dm-api-card,
.dm-directory-card,
.dm-tool-note {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.58);
  color: inherit;
  padding: 18px;
  text-decoration: none;
}

.dm-tool-suite-link {
  min-height: 170px;
  align-content: end;
}

.dm-tool-suite-link:hover,
.dm-directory-card:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.84);
}

.dm-tool-suite-link strong,
.dm-api-card strong,
.dm-directory-card strong {
  font-size: 20px;
  line-height: 1.12;
}

.dm-tool-suite-link p,
.dm-tool-note p,
.dm-directory-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.42;
}

.dm-api-card pre {
  overflow: auto;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-muted);
  color: var(--muted);
  padding: 12px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.5;
}

.dm-tool-note {
  margin-top: 24px;
}

.dm-tool-note h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1;
}

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

.dm-directory-card small {
  color: var(--muted);
  font-size: 12px;
}

.dm-directory-card > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.dm-directory-card a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--ink);
  padding: 0 10px;
  font-size: 12px;
  font-weight: 760;
  text-decoration: none;
}

.dm-time-machine-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dm-whois-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.62fr);
  gap: 36px;
  align-items: end;
  padding: 56px 0 30px;
}

.dm-whois-hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(38px, 5.2vw, 68px);
  font-weight: 780;
  letter-spacing: 0;
  line-height: 0.92;
}

.dm-whois-hero p:not(.dm-eyebrow) {
  max-width: 58ch;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.dm-whois-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  padding: 6px;
}

.dm-whois-search input[type="search"] {
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 0 12px 0 18px;
  font-family: var(--mono);
  font-size: clamp(18px, 2.2vw, 25px);
  font-weight: 700;
  letter-spacing: 0;
  outline: 0;
}

.dm-whois-search input[type="search"]::placeholder {
  color: color-mix(in srgb, var(--muted) 54%, transparent);
}

.dm-whois-search input[type="submit"] {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #ffffff;
  padding: 0 19px;
  font: inherit;
  font-size: 13px;
  font-weight: 780;
}

.dm-whois-record {
  display: grid;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 30px;
}

.dm-whois-record-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  padding: 0 0 4px;
}

.dm-whois-record-head h2 {
  margin: 5px 0 6px;
  font-family: var(--mono);
  font-size: clamp(34px, 4.8vw, 64px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.98;
}

.dm-whois-record-head p:last-child {
  max-width: 72ch;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.dm-whois-actions,
.dm-whois-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.dm-whois-actions a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.42);
  color: var(--ink);
  padding: 0 11px;
  font-size: 13px;
  font-weight: 760;
  text-decoration: none;
}

.dm-whois-actions a:hover {
  background: #ffffff;
  border-color: var(--line-strong);
}

.dm-whois-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 0;
}

.dm-whois-facts div {
  display: grid;
  min-width: 0;
  gap: 3px;
  padding: 13px 16px 13px 0;
}

.dm-whois-facts span,
.dm-whois-muted {
  color: var(--subtle);
  font-size: 11px;
  font-weight: 740;
}

.dm-whois-facts span {
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dm-whois-facts strong {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 13px;
  font-weight: 740;
}

.dm-whois-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 24px;
  border-bottom: 1px solid var(--line);
}

.dm-whois-panel {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 0;
  border-top: 1px solid var(--line);
  padding: 18px 0 22px;
}

.dm-whois-panel-wide {
  grid-column: span 2;
}

.dm-whois-panel-head {
  display: grid;
  gap: 5px;
}

.dm-whois-panel-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 780;
}

.dm-whois-timeline {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dm-whois-timeline li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 12px;
}

.dm-whois-timeline strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 760;
}

.dm-whois-timeline span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
}

.dm-whois-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.dm-whois-chip-list span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.42);
  color: var(--ink);
  padding: 0 9px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 660;
}

.dm-whois-mini-list {
  display: grid;
  gap: 9px;
  margin: 0;
}

.dm-whois-mini-list div {
  display: grid;
  gap: 2px;
}

.dm-whois-mini-list dt {
  color: var(--subtle);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dm-whois-mini-list dd {
  overflow-wrap: anywhere;
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 720;
  line-height: 1.35;
}

.dm-whois-mini-list a {
  color: inherit;
}

.dm-whois-raw {
  border-bottom: 1px solid var(--line);
  padding: 12px 0 16px;
}

.dm-whois-raw summary {
  cursor: pointer;
  color: var(--ink);
  font-size: 13px;
  font-weight: 780;
}

.dm-whois-raw pre {
  overflow: auto;
  margin: 14px 0 0;
  border-radius: var(--radius-md);
  background: rgba(248, 241, 228, 0.76);
  color: var(--muted);
  padding: 14px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.5;
}

/* Marketing homepage */
.dm-marketing-main {
  width: 100%;
  margin: 0;
  padding: 0 0 104px;
}

.dm-marketing-hero,
.dm-marketing-flow,
.dm-marketing-tools,
.dm-marketing-photo-section,
.dm-marketing-cta {
  width: min(calc(100% - 40px), 1180px);
  margin: 0 auto;
}

.dm-marketing-hero {
  display: grid;
  gap: 24px;
  padding: 56px 0 62px;
}

.dm-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 48px;
  align-items: end;
}

.dm-hero-copy {
  display: grid;
  max-width: 820px;
  gap: 16px;
}

.dm-hero-copy h1 {
  max-width: 820px;
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(64px, 8.4vw, 116px);
  font-weight: 540;
  letter-spacing: 0;
  line-height: 0.88;
}

.dm-hero-subcopy {
  max-width: 590px;
  margin: 4px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 1.55vw, 21px);
  line-height: 1.42;
}

.dm-hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.dm-hero-links a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  color: var(--ink);
  padding: 0 12px;
  font-size: 13px;
  font-weight: 720;
  text-decoration: none;
  transition: border-color 150ms ease, background 150ms ease, color 150ms ease;
}

.dm-hero-links a:hover {
  border-color: var(--line-strong);
  background: #ffffff;
  color: var(--clay);
}

.dm-hero-figure {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  margin: 0;
  border: 1px solid rgba(17, 16, 14, 0.1);
  border-radius: 18px;
  background: #efe6d8;
  box-shadow: 0 18px 58px rgba(17, 16, 14, 0.08);
}

.dm-hero-figure::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 16, 14, 0) 44%, rgba(17, 16, 14, 0.62));
  content: "";
}

.dm-hero-figure img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  filter: saturate(0.82) contrast(0.98);
}

.dm-hero-figure figcaption {
  position: absolute;
  z-index: 1;
  inset: auto 18px 18px;
  display: grid;
  gap: 6px;
  color: #ffffff;
}

.dm-hero-figure figcaption span {
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 720;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dm-hero-figure figcaption strong {
  max-width: 18ch;
  font-size: 19px;
  font-weight: 730;
  line-height: 1.12;
}

.dm-wide-photo {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(17, 16, 14, 0.1);
  border-radius: 18px;
  background: #efe6d8;
  box-shadow: 0 18px 48px rgba(17, 16, 14, 0.08);
}

.dm-wide-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(0.98);
}

.dm-wide-photo figcaption span {
  color: rgba(255, 255, 255, 0.68);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 720;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dm-hero-search {
  display: grid;
  gap: 12px;
  margin-top: 10px;
}

.dm-marketing-hero.dm-hero-has-results {
  gap: 16px;
  padding-top: 32px;
}

.dm-marketing-hero.dm-hero-has-results .dm-hero-layout,
.dm-marketing-hero.dm-hero-has-results .dm-hero-proof,
.dm-marketing-hero.dm-hero-has-results .dm-recent-domains {
  display: none;
}

.dm-marketing-hero.dm-hero-has-results .dm-hero-search {
  margin-top: 0;
}

.dm-hero-search .dm-search-copy {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.dm-hero-search .dm-search-panel {
  gap: 14px;
}

.dm-hero-search .dm-search-box {
  border-color: rgba(17, 16, 14, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  padding: 8px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.72), 0 16px 44px rgba(17, 16, 14, 0.06);
}

.dm-hero-search .dm-search-box .dm-search-label {
  padding: 13px 16px;
}

.dm-hero-search .dm-search-box .dm-search-label input {
  min-height: 48px;
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 690;
  letter-spacing: 0;
}

.dm-hero-search .dm-search-box button {
  min-width: 128px;
  min-height: 64px;
  border-radius: 13px;
  background: #181510;
  font-size: 16px;
}

.dm-hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 8px;
}

.dm-hero-proof > div {
  display: grid;
  gap: 8px;
  padding: 22px 26px 22px 0;
}

.dm-hero-proof > div + div {
  border-left: 1px solid var(--line);
  padding-left: 26px;
}

.dm-hero-proof span,
.dm-flow-grid span,
.dm-tool-showcase span {
  color: var(--subtle);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.dm-hero-proof strong,
.dm-flow-grid strong,
.dm-tool-showcase strong {
  color: var(--ink);
  font-size: 18px;
  font-weight: 740;
  line-height: 1.15;
}

.dm-hero-proof p,
.dm-flow-grid p,
.dm-tool-showcase p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.48;
}

.dm-recent-domains {
  display: grid;
  grid-template-columns: minmax(180px, 0.42fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  border-bottom: 1px solid var(--line);
  padding: 8px 0 26px;
}

.dm-recent-domains-head {
  display: grid;
  gap: 8px;
}

.dm-recent-domains-head h2 {
  max-width: 18ch;
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  font-weight: 760;
  line-height: 1.05;
}

.dm-recent-domain-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.dm-recent-domain-chip {
  display: inline-grid;
  min-width: 170px;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--ink);
  padding: 10px 15px 11px;
  text-decoration: none;
  transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.dm-recent-domain-chip:hover {
  border-color: var(--line-strong);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(17, 16, 14, 0.06);
  transform: translateY(-1px);
}

.dm-recent-domain-chip strong {
  overflow: hidden;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 780;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dm-recent-domain-chip span {
  color: var(--subtle);
  font-size: 11px;
  font-weight: 720;
}

.dm-marketing-flow,
.dm-marketing-tools {
  display: grid;
  gap: 28px;
  border-top: 1px solid var(--line);
  padding: 64px 0;
}

.dm-section-kicker,
.dm-marketing-tools > div:first-child {
  display: grid;
  max-width: 720px;
  gap: 12px;
}

.dm-section-kicker h2,
.dm-marketing-tools h2,
.dm-marketing-cta h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(38px, 5.1vw, 64px);
  font-weight: 520;
  letter-spacing: 0;
  line-height: 0.98;
}

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

.dm-flow-grid article {
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.dm-marketing-photo-section {
  padding: 8px 0 64px;
}

.dm-wide-photo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  min-height: 390px;
  background: rgba(255, 255, 255, 0.58);
}

.dm-wide-photo img {
  min-height: 390px;
  opacity: 0.88;
}

.dm-wide-photo figcaption {
  display: grid;
  align-content: end;
  gap: 12px;
  border-left: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
  color: var(--ink);
  padding: 30px;
}

.dm-wide-photo figcaption span {
  color: var(--subtle);
}

.dm-wide-photo figcaption strong {
  max-width: 13ch;
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 520;
  line-height: 1;
}

.dm-wide-photo figcaption p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

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

.dm-tool-showcase a {
  display: grid;
  min-height: 206px;
  align-content: end;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
  color: inherit;
  padding: 22px;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.dm-tool-showcase a:hover {
  border-color: var(--line-strong);
  background: #ffffff;
  transform: translateY(-2px);
}

.dm-tool-showcase strong {
  max-width: 16ch;
  font-size: 23px;
  letter-spacing: 0;
}

.dm-marketing-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 56px;
}

.dm-marketing-cta > div {
  display: grid;
  max-width: 720px;
  gap: 12px;
}

.dm-marketing-cta a {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink);
  padding: 0 22px;
  font-weight: 760;
  text-decoration: none;
  white-space: nowrap;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}

.dm-marketing-cta a:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #ffffff;
}

/* Admin */
.adm-body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

.adm-app {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  min-height: 100vh;
}

.adm-sidebar {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  height: 100vh;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: #1e1c18;
  color: #ffffff;
  padding: 22px;
}

.adm-sidebar-brand a {
  color: #ffffff;
  font-size: 22px;
  font-weight: 830;
  text-decoration: none;
}

.adm-sidebar-brand span {
  color: rgba(255, 255, 255, 0.52);
}

.adm-sidebar-brand small,
.adm-sidebar-footer small {
  display: block;
  color: rgba(255, 255, 255, 0.56);
  margin-top: 5px;
}

.adm-sidebar-nav {
  display: grid;
  align-content: start;
  gap: 4px;
  margin-top: 30px;
}

.adm-nav-link {
  border-radius: var(--radius-sm);
  color: rgba(255, 255, 255, 0.72);
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 660;
  text-decoration: none;
  transition: background 140ms ease, color 140ms ease;
}

.adm-nav-link:hover,
.adm-nav-link.is-active {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.adm-sidebar-footer {
  display: grid;
  gap: 8px;
  color: #ffffff;
}

.adm-sidebar-footer a,
.adm-sidebar-footer button {
  color: #ffffff;
}

.adm-sidebar-footer button {
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
}

.adm-main {
  min-width: 0;
  padding: 32px;
}

.adm-page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
  padding-bottom: 20px;
}

.adm-page-head h1 {
  margin: 0;
  font-size: 34px;
  font-weight: 820;
  line-height: 1;
}

.adm-page-head p {
  margin: 8px 0 0;
  color: var(--muted);
}

.adm-stat-grid,
.adm-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

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

.adm-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.76);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

.adm-card span {
  color: var(--subtle);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.adm-card strong {
  display: block;
  margin-top: 8px;
  font-size: 28px;
  font-weight: 800;
}

.adm-card-head,
.adm-table-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.adm-card-head h2 {
  margin: 0;
  font-size: 18px;
}

.adm-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.adm-table th,
.adm-table td {
  border-bottom: 1px solid var(--line);
  padding: 12px 8px;
  text-align: left;
  vertical-align: top;
}

.adm-table th {
  color: var(--subtle);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.adm-status {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: #ffffff;
  color: var(--muted);
  padding: 0 9px;
  font-size: 11px;
  font-weight: 760;
}

.adm-status-active,
.adm-status-available,
.adm-status-completed,
.adm-status-published {
  color: var(--success);
}

.adm-status-inactive,
.adm-status-taken {
  color: var(--danger);
}

.adm-form {
  display: grid;
  max-width: 780px;
  gap: 14px;
}

.adm-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.adm-form input[type="text"],
.adm-form input[type="number"],
.adm-form input[type="url"],
.adm-form input[type="email"],
.adm-form input[type="password"],
.adm-form select,
.adm-form textarea {
  padding: 11px 12px;
}

.adm-form textarea {
  min-height: 150px;
  resize: vertical;
}

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

.adm-form-check,
.adm-checkbox {
  display: flex !important;
  align-items: center;
  gap: 9px !important;
}

.adm-form-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.adm-button-secondary {
  border-color: var(--line);
  background: #ffffff;
  color: var(--ink);
}

.adm-button-secondary:hover {
  border-color: var(--line-strong);
  background: var(--surface-muted);
  color: var(--ink);
}

.adm-flash-stack {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.adm-flash {
  border: 1px solid currentColor;
  border-radius: var(--radius-md);
  background: #ffffff;
  padding: 12px 14px;
  font-weight: 720;
}

.adm-flash-notice {
  color: var(--success);
}

.adm-flash-alert {
  color: var(--danger);
}

.adm-login-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.adm-login-card {
  width: min(100%, 440px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.8);
  padding: 26px;
  box-shadow: var(--shadow-md);
}

.adm-login-card h1 {
  margin: 0 0 14px;
  font-size: 30px;
}

.adm-list {
  display: grid;
  gap: 8px;
}

.adm-list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.66);
  padding: 10px;
  color: var(--ink);
  text-decoration: none;
}

.adm-list-row small,
.adm-empty,
.adm-form-help {
  color: var(--muted);
}

.adm-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  align-items: start;
}

.adm-stack {
  display: grid;
  gap: 18px;
}

.adm-detail-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.adm-detail-list dt {
  color: var(--subtle);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.adm-detail-list dd {
  margin: 3px 0 0;
}

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

.adm-icon-action {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--ink);
}

.adm-icon-action-primary {
  border-color: var(--ink);
  background: var(--ink);
  color: #ffffff;
}

.adm-icon-action-danger {
  color: var(--danger);
}

.adm-error-box {
  border: 1px solid var(--danger);
  border-radius: var(--radius-md);
  color: var(--danger);
  padding: 12px;
}

.adm-span-2 {
  grid-column: 1 / -1;
}

.adm-sheet-frame:empty {
  display: none;
}

.adm-sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(23, 22, 18, 0.42);
}

.adm-sheet-panel {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 90;
  width: min(560px, calc(100vw - 24px));
  overflow-y: auto;
  border-left: 1px solid var(--line);
  background: var(--bg-raised);
  padding: 22px;
  box-shadow: -20px 0 60px rgba(23, 22, 18, 0.18);
}

.adm-sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.adm-sheet-header h2 {
  margin: 0;
}

.adm-sheet-close {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #ffffff;
}

/* Responsive */
@media (max-width: 980px) {
  .dm-header {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
    padding-block: 12px;
  }

  .dm-nav {
    order: 3;
    width: 100%;
  }

  .dm-admin-link {
    margin-left: 0;
  }

  .dm-dashboard,
  .dm-whois-hero,
  .adm-detail-grid {
    grid-template-columns: 1fr;
  }

  .dm-intel-panel {
    grid-template-columns: 1fr;
  }

  .dm-panel-section + .dm-panel-section {
    border-top: 1px solid var(--line);
    border-left: 0;
    padding-left: 0;
  }

  .dm-instruction-list {
    grid-template-columns: 1fr;
  }

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

  .dm-hero-proof,
  .dm-recent-domains,
  .dm-hero-layout,
  .dm-flow-grid,
  .dm-tool-showcase,
  .dm-wide-photo,
  .dm-tool-suite-group,
  .dm-whois-grid {
    grid-template-columns: 1fr;
  }

  .dm-tool-suite-list,
  .dm-api-grid,
  .dm-directory-grid,
  .dm-time-machine-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dm-hero-layout {
    gap: 26px;
  }

  .dm-hero-figure,
  .dm-hero-figure img {
    min-height: 300px;
  }

  .dm-wide-photo img {
    min-height: 320px;
  }

  .dm-wide-photo figcaption {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .dm-whois-record-head {
    flex-direction: column;
  }

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

  .dm-whois-panel-wide {
    grid-column: span 1;
  }

  .dm-hero-proof > div,
  .dm-hero-proof > div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 20px 0;
  }

  .dm-hero-proof > div:first-child {
    border-top: 0;
  }

  .dm-recent-domains {
    gap: 16px;
  }

  .dm-recent-domains-head h2 {
    max-width: 100%;
  }

  .dm-marketing-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .dm-extension-grid,
  .dm-bulk-tools,
  .dm-bulk-control-grid,
  .dm-bulk-generation-tools,
  .dm-lucky-categories,
  .dm-bulk-option-toggles,
  .dm-extension-controls,
  .dm-tld-selector-controls,
  .dm-aftermarket-controls,
  .dm-aftermarket-summary,
  .dm-aftermarket-tools,
  .dm-aftermarket-focus,
  .adm-stat-grid,
  .adm-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .dm-aftermarket-summary > div + div,
  .dm-market-tool {
    border-top: 1px solid var(--line);
    border-left: 0;
    border-right: 0;
    padding-left: 0;
  }

  .dm-market-tool:first-child {
    border-top: 0;
  }

  .dm-aftermarket-actions {
    justify-content: flex-start;
  }

  .adm-app {
    grid-template-columns: 1fr;
  }

  .adm-sidebar {
    position: static;
    height: auto;
  }
}

@media (max-width: 640px) {
  .dm-main,
  .dm-home,
  .dm-marketing-hero,
  .dm-marketing-flow,
  .dm-marketing-tools,
  .dm-marketing-photo-section,
  .dm-marketing-cta {
    width: min(calc(100% - 24px), 1240px);
    padding-top: 24px;
  }

  .dm-marketing-main {
    padding-bottom: 64px;
  }

  .dm-marketing-hero {
    gap: 22px;
    padding-bottom: 34px;
  }

  .dm-hero-copy h1 {
    font-size: clamp(48px, 13.6vw, 68px);
    letter-spacing: 0;
  }

  .dm-hero-subcopy {
    font-size: 17px;
  }

  .dm-hero-figure,
  .dm-hero-figure img {
    min-height: 280px;
  }

  .dm-hero-figure figcaption {
    inset: auto 13px 13px;
  }

  .dm-hero-figure figcaption strong {
    font-size: 16px;
  }

  .dm-hero-search .dm-search-box {
    grid-template-columns: minmax(0, 1fr) 106px;
    border-radius: 18px;
    padding: 8px;
  }

  .dm-hero-search .dm-search-box .dm-search-label {
    padding: 10px 12px;
  }

  .dm-hero-search .dm-search-box .dm-search-label input {
    min-height: 46px;
    font-size: clamp(28px, 8vw, 38px);
  }

  .dm-hero-search .dm-search-box button {
    min-width: 0;
    min-height: 62px;
    border-radius: 14px;
    padding: 0 14px;
  }

  .dm-marketing-flow,
  .dm-marketing-tools {
    gap: 24px;
    padding-bottom: 44px;
  }

  .dm-marketing-photo-section {
    padding-bottom: 44px;
  }

  .dm-wide-photo {
    min-height: 0;
  }

  .dm-wide-photo figcaption {
    padding: 22px;
  }

  .dm-section-kicker h2,
  .dm-marketing-tools h2,
  .dm-marketing-cta h2 {
    font-size: clamp(34px, 11vw, 48px);
  }

  .dm-tool-showcase a {
    min-height: 168px;
  }

  .dm-tool-suite-list,
  .dm-api-grid,
  .dm-directory-grid,
  .dm-time-machine-list {
    grid-template-columns: 1fr;
  }

  .dm-tool-card,
  .dm-extension-card {
    grid-template-columns: 1fr;
    gap: 8px;
    align-items: start;
    padding: 17px 0;
  }

  .dm-extension-card small {
    text-align: left;
  }

  .dm-nav a {
    min-height: 30px;
    padding: 0 6px;
    font-size: 10px;
  }

  .dm-search-panel h1,
  .dm-page-head h1 {
    font-size: clamp(30px, 9vw, 40px);
    line-height: 1.04;
  }

  .dm-whois-hero {
    gap: 20px;
    padding: 30px 0 24px;
  }

  .dm-whois-hero h1 {
    font-size: clamp(42px, 13vw, 58px);
    line-height: 0.96;
  }

  .dm-whois-search {
    grid-template-columns: 1fr;
    border-radius: 18px;
    padding: 8px;
  }

  .dm-whois-search input[type="search"] {
    min-height: 44px;
    padding: 0 10px;
    font-size: clamp(22px, 7vw, 30px);
  }

  .dm-whois-search input[type="submit"] {
    width: 100%;
    border-radius: 12px;
  }

  .dm-whois-record-head h2 {
    font-size: clamp(31px, 10vw, 44px);
  }

  .dm-whois-facts {
    grid-template-columns: 1fr;
  }

  .dm-search-box {
    grid-template-columns: minmax(0, 1fr) 104px;
    border-radius: var(--radius-md);
  }

  .dm-search-box button {
    width: 100%;
    padding: 0 14px;
  }

  .dm-inline-form,
  .dm-extension-controls,
  .dm-tld-selector-controls,
  .dm-aftermarket-controls,
  .adm-form-row,
  .adm-form-grid {
    grid-template-columns: 1fr;
  }

  .dm-tld-selector-actions {
    justify-content: flex-start;
  }

  .dm-tld-picker {
    grid-template-columns: repeat(auto-fill, minmax(94px, 1fr));
    max-height: 260px;
  }

  .dm-empty-state {
    padding: 18px;
  }

  .dm-empty-state ol {
    grid-template-columns: 1fr;
  }

  .dm-results-table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .dm-results-table,
  .dm-results-table tbody,
  .dm-results-table tr,
  .dm-results-table td {
    display: block;
    min-width: 0;
  }

  .dm-results-table thead {
    display: none;
  }

  .dm-results-table tbody {
    display: grid;
    gap: 8px;
  }

  .dm-results-table tr {
    overflow: hidden;
    border: 0;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.68);
    padding: 12px;
  }

  .dm-results-table-row-premium {
    background: rgba(128, 99, 47, 0.06);
  }

  .dm-results-table-row-premium td {
    background: transparent;
  }

  .dm-results-table td {
    border-bottom: 0;
    background: transparent;
    padding: 7px 0;
  }

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

  .dm-results-table td:first-child,
  .dm-results-table td:last-child {
    border-radius: 0;
  }

  .dm-results-table td:not([data-label="Domain"]) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
  }

  .dm-results-table td::before {
    color: var(--subtle);
    content: attr(data-label);
    font-size: 10px;
    font-weight: 760;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .dm-results-table td[data-label="Domain"]::before {
    display: block;
    margin-bottom: 6px;
  }

  .dm-results-table td[data-label="Actions"] {
    border-bottom: 0;
  }

  .dm-result-row {
    grid-template-columns: 1fr;
  }

  .dm-result-actions {
    justify-content: flex-start;
  }

  .dm-aftermarket-table-wrap {
    overflow: visible;
    border-top: 0;
  }

  .dm-aftermarket-table,
  .dm-aftermarket-table tbody,
  .dm-aftermarket-table tr,
  .dm-aftermarket-table td {
    display: block;
    min-width: 0;
  }

  .dm-aftermarket-table thead {
    display: none;
  }

  .dm-aftermarket-table tbody {
    display: grid;
    gap: 10px;
  }

  .dm-aftermarket-table tr {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.72);
    padding: 12px;
  }

  .dm-aftermarket-table td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border-bottom: 1px solid var(--line);
    padding: 10px 0;
  }

  .dm-aftermarket-table td::before {
    color: var(--subtle);
    content: attr(data-label);
    font-size: 10px;
    font-weight: 760;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .dm-aftermarket-table td:first-child,
  .dm-aftermarket-table td[data-label="Signals"] {
    display: block;
  }

  .dm-aftermarket-table td:first-child::before,
  .dm-aftermarket-table td[data-label="Signals"]::before {
    display: block;
    margin-bottom: 6px;
  }

  .dm-aftermarket-table td:last-child {
    border-bottom: 0;
  }

  .dm-tool-grid,
  .dm-extension-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 360px) {
  .dm-search-box,
  .dm-hero-search .dm-search-box {
    grid-template-columns: 1fr;
  }
}

/* Reduced separator rhythm */
.dm-header {
  border-bottom: 0;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.62), 0 10px 28px rgba(17, 16, 14, 0.035);
}

.dm-page-head,
.adm-page-head {
  border-bottom: 0;
  margin-bottom: 32px;
  padding-bottom: 8px;
}

.dm-empty-state,
.dm-intel-panel,
.dm-tool-grid,
.dm-extension-grid,
.dm-extension-controls,
.dm-aftermarket-controls,
.dm-aftermarket-summary,
.dm-aftermarket-tools,
.dm-aftermarket-focus,
.dm-tool-suite-group,
.dm-marketing-flow,
.dm-marketing-tools,
.dm-marketing-cta,
.dm-recent-domains,
.dm-hero-proof,
.dm-whois-record,
.dm-whois-facts,
.dm-whois-grid,
.dm-whois-raw,
.dm-aftermarket-table-wrap {
  border: 0;
}

.dm-tool-card,
.dm-extension-card,
.dm-empty-state li,
.dm-panel-section + .dm-panel-section,
.dm-hero-proof > div + div,
.dm-flow-grid article,
.dm-wide-photo figcaption,
.dm-aftermarket-summary > div + div,
.dm-market-tool,
.dm-whois-panel,
.dm-aftermarket-table th,
.dm-aftermarket-table td,
.adm-table th,
.adm-table td {
  border: 0;
}

.dm-intel-panel,
.dm-aftermarket-summary,
.dm-aftermarket-tools,
.dm-hero-proof,
.dm-whois-grid {
  gap: 14px;
}

.dm-panel-section + .dm-panel-section {
  padding-left: 0;
}

.dm-tool-grid,
.dm-extension-grid {
  gap: 8px;
  margin-top: 12px;
}

.dm-tool-card,
.dm-extension-card {
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.34);
  padding: 16px 14px;
}

.dm-tool-card:hover,
.dm-extension-card:hover {
  background: rgba(255, 255, 255, 0.68);
}

.dm-generator-controls,
.dm-tld-selector,
.dm-extension-controls,
.dm-aftermarket-controls {
  border-color: transparent;
  background: rgba(255, 255, 255, 0.38);
}

.dm-extension-controls,
.dm-aftermarket-controls {
  border-radius: var(--radius-lg);
  padding: 14px;
}

.dm-empty-state {
  padding: 22px 0;
}

.dm-empty-state li {
  padding-top: 4px;
}

.dm-empty-state li::before,
.dm-instruction-list li::before,
.dm-source-pill,
.dm-market-type,
.dm-market-signals span,
.dm-score-strip span,
.dm-score-strip a,
.dm-whois-actions a,
.dm-whois-chip-list span,
.dm-extension-stats a,
.dm-hero-links a,
.dm-recent-domain-chip,
.dm-choice-chip span,
.dm-tld-picker span,
.dm-tld-selector summary strong,
.dm-tld-selector-controls input,
.dm-tld-selector-actions button {
  border-color: transparent;
}

.dm-choice-chip input:checked + span,
.dm-tld-picker input:checked + span,
.dm-extension-stats a.is-active {
  border-color: var(--line-strong);
}

.dm-aftermarket-summary > div,
.dm-market-tool,
.dm-flow-grid article {
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.34);
  padding: 16px;
}

.dm-aftermarket-focus {
  padding: 22px 0;
}

.dm-wide-photo figcaption {
  border-left: 0;
}

.dm-marketing-flow,
.dm-marketing-tools {
  padding-top: 56px;
}

.dm-marketing-cta {
  padding-top: 44px;
}

.dm-whois-record {
  padding-top: 18px;
}

.dm-whois-facts {
  row-gap: 4px;
}

.dm-whois-grid {
  gap: 8px 24px;
}

.dm-whois-panel {
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.28);
  padding: 16px;
}

.dm-whois-raw {
  padding: 8px 0 0;
}

.dm-aftermarket-table,
.adm-table {
  border-collapse: separate;
  border-spacing: 0 8px;
}

.dm-aftermarket-table td,
.adm-table td {
  background: rgba(255, 255, 255, 0.5);
}

.dm-aftermarket-table th,
.adm-table th {
  padding-bottom: 4px;
}

.dm-aftermarket-table td:first-child,
.adm-table td:first-child {
  border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.dm-aftermarket-table td:last-child,
.adm-table td:last-child {
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.adm-card,
.adm-login-card,
.adm-list-row,
.adm-icon-action,
.adm-sheet-close {
  border-color: transparent;
}

.adm-card,
.adm-list-row {
  box-shadow: none;
}

@media (max-width: 980px) {
  .dm-aftermarket-summary > div + div,
  .dm-market-tool,
  .dm-panel-section + .dm-panel-section,
  .dm-hero-proof > div,
  .dm-hero-proof > div + div,
  .dm-wide-photo figcaption {
    border: 0;
  }
}

@media (max-width: 640px) {
  .dm-aftermarket-table tr {
    border: 0;
    background: rgba(255, 255, 255, 0.58);
  }

  .dm-aftermarket-table td {
    border-bottom: 0;
    background: transparent;
  }
}

/* Footer and tools directory */
.dm-footer {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: 48px;
  width: min(calc(100% - 40px), 1240px);
  margin: 0 auto;
  padding: 42px 0 56px;
}

.dm-footer-brand {
  display: grid;
  align-content: start;
  gap: 12px;
}

.dm-footer-logo {
  display: inline-flex;
  width: max-content;
  align-items: baseline;
  gap: 1px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
}

.dm-footer-logo span {
  color: var(--subtle);
}

.dm-footer-brand p {
  max-width: 34ch;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

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

.dm-footer-nav section {
  display: grid;
  align-content: start;
  gap: 8px;
}

.dm-footer-nav h2 {
  margin: 0 0 5px;
  color: var(--subtle);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dm-footer-nav a {
  width: max-content;
  max-width: 100%;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.dm-footer-nav a:hover {
  color: var(--ink);
}

.dm-tools-page {
  padding-top: 74px;
}

.dm-tools-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.45fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 42px;
}

.dm-tools-hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(58px, 8vw, 108px);
  font-weight: 540;
  letter-spacing: 0;
  line-height: 0.88;
}

.dm-tools-hero p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.42;
}

.dm-tools-featured {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 54px;
}

.dm-tools-featured a {
  display: grid;
  min-height: 176px;
  align-content: start;
  gap: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.54);
  color: inherit;
  padding: 22px;
  text-decoration: none;
  transition: background 150ms ease, transform 150ms ease;
}

.dm-tools-featured a:hover {
  background: rgba(255, 255, 255, 0.86);
  transform: translateY(-2px);
}

.dm-tools-featured span {
  color: var(--subtle);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 720;
}

.dm-tools-featured strong {
  max-width: 14ch;
  color: var(--ink);
  font-size: 25px;
  font-weight: 780;
  line-height: 1.02;
}

.dm-tools-featured p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.dm-tools-page .dm-tool-suite {
  gap: 22px;
}

.dm-tools-page .dm-tool-suite-group {
  grid-template-columns: minmax(160px, 0.22fr) minmax(0, 1fr);
  gap: 34px;
  padding-top: 0;
}

.dm-tools-page .dm-tool-suite-group + .dm-tool-suite-group {
  margin-top: 14px;
}

.dm-tools-page .dm-tool-suite-group > header strong {
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 520;
  line-height: 0.96;
}

.dm-tools-page .dm-tool-suite-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.dm-tools-page .dm-tool-suite-link {
  min-height: 126px;
  border: 0;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.38);
  padding: 17px;
}

.dm-tools-page .dm-tool-suite-link:hover {
  background: rgba(255, 255, 255, 0.76);
}

.dm-tools-page .dm-tool-suite-link strong {
  font-size: 19px;
}

.dm-tools-page .dm-tool-suite-link p {
  font-size: 13px;
}

@media (max-width: 980px) {
  .dm-footer,
  .dm-tools-hero {
    grid-template-columns: 1fr;
  }

  .dm-tools-featured,
  .dm-tools-page .dm-tool-suite-list {
    grid-template-columns: 1fr;
  }

  .dm-tools-featured a {
    min-height: 150px;
  }

  .dm-tools-page .dm-tool-suite-group {
    gap: 14px;
  }
}

@media (max-width: 640px) {
  .dm-footer {
    width: min(calc(100% - 24px), 1240px);
    gap: 28px;
    padding: 34px 0 46px;
  }

  .dm-footer-nav {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .dm-tools-page {
    padding-top: 34px;
  }

  .dm-tools-hero {
    gap: 18px;
    margin-bottom: 28px;
  }

  .dm-tools-hero h1 {
    font-size: clamp(48px, 14vw, 66px);
  }

  .dm-tools-featured {
    margin-bottom: 36px;
  }
}
