/* ============================================================
   DomainLookup — design tokens
   ============================================================ */
:root {
  --ink: #0a0a0a;
  --navy: #0f1115;
  --navy-2: #1a1d24;
  --red: #d62839;
  --red-d: #b01e2d;
  --red-l: #fdecee;
  --paper: #f7f7f8;
  --card: #fff;
  --line: #e4e4e8;
  --mut: #5c5c64;
  --ok: #127a43;
  --ok-l: #e6f5ec;
  --blue: #1e5eff;
  --blue-l: #eaf0ff;
  --amber: #b26a00;
  --amber-l: #fff4e0;
  --r: 9px;
  --cut: 18px;
  --sh:
    0 1px 2px rgba(10, 10, 10, 0.05), 0 8px 22px -14px rgba(10, 10, 10, 0.2);
  --sh-lg:
    0 2px 6px rgba(10, 10, 10, 0.06), 0 20px 40px -20px rgba(10, 10, 10, 0.28);
  --f-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: ui-monospace, Menlo, Consolas, "SF Mono", monospace;
  --chamfer: polygon(
    var(--cut) 0,
    100% 0,
    100% calc(100% - var(--cut)),
    calc(100% - var(--cut)) 100%,
    0 100%,
    0 var(--cut)
  );
}

/* ============================================================
   Base
   ============================================================ */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font: 15px/1.6 var(--f-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: var(--red-d);
  text-underline-offset: 3px;
}
a:hover {
  color: var(--red);
}
.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.sr {
  position: absolute;
  left: -9999px;
}
h1,
h2,
h3,
h4 {
  font-family: var(--f-display);
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
h1 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 700;
}
h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
}
h3 {
  font-size: 1.05rem;
  font-weight: 650;
}
h4 {
  font-size: 0.95rem;
  font-weight: 650;
}
p {
  margin: 0 0 12px;
}

/* ============================================================
   Buttons
   ============================================================ */
button {
  font: inherit;
  cursor: pointer;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  padding: 7px 13px;
  font-size: 0.92rem;
  transition:
    background 0.15s,
    border-color 0.15s,
    color 0.15s;
}
button:hover {
  border-color: var(--red);
  color: var(--red-d);
}
button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 3px solid #f08a95;
  outline-offset: 2px;
}

.primary,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--r);
  border: 1px solid var(--red);
  background: var(--red);
  color: #fff;
  font-weight: 650;
  font-size: 0.94rem;
  text-decoration: none;
  cursor: pointer;
}
.primary:hover,
.btn:hover {
  background: var(--red-d);
  border-color: var(--red-d);
  color: #fff;
}
.primary:disabled {
  opacity: 0.65;
  cursor: wait;
}

.btn.alt {
  background: transparent;
  color: #fff;
  text-align: center;
  border-color: rgba(255, 255, 255, 0.45);
}
.btn.alt:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}
.btn.line {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}
.btn.line:hover {
  border-color: var(--red);
  color: var(--red-d);
}
.ghost {
  border: 0;
  background: transparent;
  color: var(--mut);
  padding: 6px 10px;
}

/* Gradient buttons */
.btn.grad,
.primary.grad {
  background: linear-gradient(135deg, #ff4d5e 0%, #d62839 55%, #b01e2d 100%);
  border: 1px solid transparent;
  box-shadow: 0 6px 18px -8px rgba(214, 40, 57, 0.6);
}
.btn.grad:hover,
.primary.grad:hover {
  background: linear-gradient(135deg, #ff6473 0%, #c9202f 55%, #8f1622 100%);
  box-shadow: 0 8px 22px -8px rgba(214, 40, 57, 0.75);
}

/* ============================================================
   Header
   ============================================================ */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 1);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font: 700 1.12rem/1 var(--f-display);
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.03em;
}
.logo b {
  color: var(--red);
  font-weight: 700;
}
.bar > .logo-img {
  width: auto !important;
  height: 100% !important;
  flex: none;
  display: block;
  border-radius: 8px;
}
footer .logo-img {
  width: 90%;
  height: auto;
  border-radius: 8px;
}
nav.main {
  display: flex;
  align-items: center;
  gap: 2px;
}
nav.main a {
  padding: 7px 12px;
  border-radius: 8px;
  color: var(--mut);
  text-decoration: none;
  font-weight: 550;
  font-size: 0.9rem;
}
nav.main a:hover {
  color: var(--ink);
  background: var(--paper);
}
nav.main a[aria-current="page"] {
  color: var(--ink);
  box-shadow: inset 0 -2px 0 var(--red);
  border-radius: 0;
}
.bar .btn {
  padding: 8px 15px;
  font-size: 0.88rem;
}
.burger {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  place-items: center;
}
.burger span,
.burger span:before,
.burger span:after {
  display: block;
  width: 17px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  content: "";
  position: relative;
}
.burger span:before {
  position: absolute;
  top: -6px;
}
.burger span:after {
  position: absolute;
  top: 6px;
}

/* ============================================================
   Hero — centered
   ============================================================ */
.hero {
  color: #fff;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      1200px 500px at 15% 0%,
      rgba(214, 40, 57, 0.28),
      transparent 60%
    ),
    radial-gradient(
      900px 400px at 100% 100%,
      rgba(30, 94, 255, 0.18),
      transparent 55%
    ),
    linear-gradient(180deg, #0f1115 0%, #141821 100%);
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0/44px
      44px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0
      0/44px 44px;
  mask-image: linear-gradient(90deg, #000 20%, transparent 85%);
  -webkit-mask-image: linear-gradient(90deg, #000 20%, transparent 85%);
}
.hero .wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 72px;
  padding-bottom: 88px;
}
.head-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 720px;
  width: 100%;
}
.hero h1 {
  max-width: 800px;
  margin: 0 auto;
}
.hero .lead {
  margin: 18px auto 28px;
  font-size: 1.05rem;
  color: #c8c8d0;
  max-width: 56ch;
}
.search {
  display: flex;
  gap: 8px;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 6px;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.55);
}
.search:focus-within {
  box-shadow:
    0 0 0 3px rgba(240, 138, 149, 0.7),
    0 18px 40px -18px rgba(0, 0, 0, 0.55);
}
.search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0 !important;
  padding: 11px 13px;
  font: inherit;
  font-size: 1rem;
  background: transparent;
  color: var(--ink);
}
.search input::placeholder {
  color: #8a8a92;
}
.search .primary {
  padding: 11px 22px;
  border-radius: 8px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  justify-content: center;
  margin: 18px auto 0;
  font-size: 0.86rem;
  color: #b0b0b8;
}
.chips button {
  padding: 3px 11px;
  border-radius: 99px;
  font-size: 0.84rem;
  color: #ececf0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.chips button:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}
.note {
  margin: 14px auto 0;
  font-size: 0.84rem;
  color: #9a9aa2;
  max-width: 56ch;
  text-align: center;
}
.hero-art {
  position: relative;
}
.frame {
  clip-path: var(--chamfer);
  background: var(--navy-2) linear-gradient(135deg, var(--navy-2), var(--ink));
  border: 1px solid var(--red);
}
.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-art .frame {
  aspect-ratio: 4/5;
  max-height: 420px;
  margin-left: auto;
}
.sample {
  position: absolute;
  left: -32px;
  bottom: 26px;
  width: min(280px, 86%);
  background: #fff;
  color: var(--ink);
  border-radius: var(--r);
  padding: 14px 16px;
  box-shadow: var(--sh-lg);
}
.sample .tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ok);
  background: var(--ok-l);
  border-radius: 99px;
  padding: 2px 10px;
}
.sample b.dn {
  display: block;
  margin: 7px 0;
  font: 700 1.2rem/1.1 var(--f-display);
  letter-spacing: -0.02em;
}
.sample dl {
  margin: 0;
  font-size: 0.82rem;
}
.sample .r {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 5px 0;
  border-top: 1px dashed var(--line);
}
.sample dt {
  flex: none;
  color: var(--mut);
}
.sample dd {
  margin: 0;
  text-align: right;
  font-weight: 600;
}
.sample small {
  display: block;
  margin-top: 7px;
  color: var(--mut);
  font-size: 0.7rem;
}

/* ============================================================
   Generic sections
   ============================================================ */
.block {
  padding: 50px 0;
}
.block.tight {
  padding: 48px 0;
}
.block.white {
  background: #fff;
  border-block: 1px solid var(--line);
}
.block.dark {
  background: var(--ink);
  color: #fff;
}
.block.dark p {
  color: #bdbdc4;
}
.head-s {
  max-width: 700px;
  margin-bottom: 25px;
}
.head-s p {
  color: var(--mut);
  font-size: 1rem;
  margin-top: 8px;
}
.head-s h2 {
  position: relative;
  display: inline-block;
}
.head-s h2:after {
  content: "";
  display: block;
  margin-top: 10px;
  height: 3px;
  width: 64px;
  border-radius: 99px;
  background: linear-gradient(90deg, #ff4d5e, #d62839 50%, #1e5eff);
}
.dark .head-s p {
  color: #bdbdc4;
}
.center {
  text-align: center;
  margin-inline: auto;
}
.grid3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 15px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 15px;
}
.card p {
  color: var(--mut);
  margin: 6px 0 0;
  font-size: 0.94rem;
}
.card.grad-top {
  position: relative;
  overflow: hidden;
}
.card.grad-top:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ff4d5e, #d62839 50%, #1e5eff);
}
/* .prose {
  max-width: 740px;
} */
.prose h2 {
  font-size: 1.35rem;
  margin: 10px 0 5px;
}
.prose h3 {
  margin: 22px 0 8px;
}
.prose p,
.prose li {
  color: #3d3d44;
  font-size: 0.96rem;
}
.prose ul {
  padding-left: 10px;
  margin: 8px 0 8px 20px;
}
.prose code,
.split code {
  background: #ececef;
  padding: 1px 6px;
  border-radius: 5px;
  font-size: 0.9em;
  font-family: var(--f-mono);
}
.muted {
  color: var(--mut);
}

/* ============================================================
   Points strip
   ============================================================ */
.points {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  /* box-shadow: var(--sh); */
  margin-top: -40px;
  position: relative;
  z-index: 2;
}
.points div {
  padding: 18px 16px;
  border-right: 1px solid var(--line);
  display: grid;
  gap: 7px;
  align-content: start;
}
.points div:last-child {
  border-right: 0;
}
.points svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.points div:nth-child(1) svg {
  stroke: #d62839;
}
.points div:nth-child(2) svg {
  stroke: #1e5eff;
}
.points div:nth-child(3) svg {
  stroke: #b26a00;
}
.points div:nth-child(4) svg {
  stroke: #5b2bd6;
}
.points div:nth-child(5) svg {
  stroke: #127a43;
}
.points div:nth-child(6) svg {
  stroke: #0a7a8a;
}
.points b {
  font: 650 0.92rem/1.2 var(--f-display);
}
.points span {
  font-size: 0.82rem;
  color: var(--mut);
  line-height: 1.4;
}

/* ============================================================
   Split (image + content)
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 30px;
  align-items: center;
}
.split.rev .split-img {
  order: 2;
}
.split-img .frame {
  aspect-ratio: 1/1;
  width: 100%;
  /* max-width: 400px; */
  margin-inline: auto;
}
.split h2 {
  margin-bottom: 10px;
}
.split p {
  color: var(--mut);
  font-size: 1rem;
}
.dark .split p {
  color: #bdbdc4;
}
.ticks {
  list-style: none;
  margin: 15px 0 15px;
  padding: 0;
  display: grid;
  gap: 8px;
}
.ticks li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
}
.ticks svg {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  stroke: var(--red);
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ticks b {
  display: block;
  font-family: var(--f-display);
  font-weight: 650;
  font-size: 0.98rem;
}
.ticks span {
  color: var(--mut);
  font-size: 0.9rem;
}
.dark .ticks span {
  color: #bdbdc4;
}
.dark .ticks svg {
  stroke: #ff6b7a;
}

/* ============================================================
   Steps
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  counter-reset: s;
  border: 1px solid var(--line);
  border-radius: 13px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--sh);
}
.step {
  padding: 0 0 22px;
  border-right: 1px solid var(--line);
  counter-increment: s;
}
.step:last-child {
  border-right: 0;
}
.step .ph {
  aspect-ratio: 3/2;
  background: var(--navy-2) linear-gradient(135deg, var(--navy-2), var(--ink));
  overflow: hidden;
}
.step .ph img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}
.step h3,
.step p {
  padding: 0 20px;
}
.step h3 {
  margin-top: 18px;
}
.step h3:before {
  content: counter(s);
  display: inline-grid;
  place-items: center;
  width: 25px;
  height: 25px;
  margin-right: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff4d5e, #b01e2d);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  vertical-align: 2px;
}
.step p {
  margin-top: 7px;
  color: var(--mut);
  font-size: 0.93rem;
}

/* ============================================================
   Use-case cards
   ============================================================ */
.uc {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 15px;
}
.uc article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  overflow: hidden;
  box-shadow: var(--sh);
  display: flex;
  flex-direction: column;
}
.uc .ph {
  aspect-ratio: 16/8;
  background: var(--navy-2) linear-gradient(135deg, var(--navy-2), var(--ink));
  overflow: hidden;
}
.uc .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.uc article:hover .ph img {
  transform: scale(1.04);
}
.uc .b {
  padding: 15px;
}
.uc p {
  color: var(--mut);
  margin: 8px 0 0;
  font-size: 0.94rem;
}

/* ============================================================
   Developer
   ============================================================ */
.dev-img {
  position: relative;
}
.split-img.dev-img {
  /* max-width: 340px; */
  margin-inline: auto;
  width: 100%;
}
.dev-img .frame {
  /* aspect-ratio: 3/4; */
  max-width: none;
}
.dev-img .frame img {
  object-position: center top;
}
.dev-badge {
  position: absolute;
  left: -20px;
  bottom: 24px;
  background: var(--red);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--r);
  font-family: var(--f-display);
  line-height: 1.15;
}
.dev-badge b {
  display: block;
  font-size: 1.5rem;
}
.dev-badge span {
  font-size: 0.78rem;
  opacity: 0.9;
}
.dev-name {
  font: 700 1.05rem var(--f-display);
  color: #ff8f9b;
  margin-bottom: 10px;
  display: block;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  list-style: none;
  margin: 0 0 15px;
  padding: 0;
}
.tags li {
  padding: 4px 11px;
  border-radius: 99px;
  background: linear-gradient(
    135deg,
    rgba(255, 77, 94, 0.14),
    rgba(30, 94, 255, 0.12)
  );
  border: 1px solid rgba(255, 255, 255, 0.18);
  /* color: #e2e2e6; */
  font-size: 0.82rem;
}
.light .tags li {
  background: linear-gradient(135deg, #fdecee, #eaf0ff);
  border-color: #f5c2c7;
  color: var(--red-d);
}
.btn-row {
  display: flex;
  gap: 11px;
  flex-wrap: wrap;
}
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin: 30px 0 0;
}
.stats div {
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, #ff4d5e, #d62839) 1;
  padding-top: 12px;
}
.stats b {
  display: block;
  font: 700 1.6rem/1 var(--f-display);
}
.stats span {
  color: var(--mut);
  font-size: 0.88rem;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  display: grid;
  gap: 11px;
}
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 18px;
}
.faq summary {
  cursor: pointer;
  font: 650 1rem var(--f-display);
  padding: 16px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary:after {
  content: "+";
  font-size: 1.4rem;
  line-height: 1;
  color: var(--red);
  transition: transform 0.2s;
}
.faq details[open] summary:after {
  transform: rotate(45deg);
}
.faq details p {
  color: var(--mut);
  padding-bottom: 16px;
  margin: 0;
  font-size: 0.94rem;
}

/* ============================================================
   Page hero (inner pages)
   ============================================================ */
.page-hero {
  color: #fff;
  padding: 52px 0 46px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      900px 380px at 10% 0%,
      rgba(214, 40, 57, 0.22),
      transparent 60%
    ),
    linear-gradient(180deg, #0f1115 0%, #141821 100%);
}
.page-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0/44px
      44px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0
      0/44px 44px;
  mask-image: linear-gradient(90deg, #000 10%, transparent 80%);
  -webkit-mask-image: linear-gradient(90deg, #000 10%, transparent 80%);
}
.page-hero .wrap {
  position: relative;
}
.page-hero p {
  max-width: 60ch;
  color: #c8c8d0;
  font-size: 1rem;
  margin: 14px 0 0;
}
.crumbs {
  font-size: 0.84rem;
  color: #9a9aa2;
  margin-bottom: 12px;
}
.crumbs a {
  color: #c8c8d0;
}

/* ============================================================
   CTA band
   ============================================================ */
.cta {
  color: #fff;
  clip-path: var(--chamfer);
  padding: 44px 48px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  align-items: center;
  background:
    radial-gradient(
      600px 300px at 90% 10%,
      rgba(255, 255, 255, 0.18),
      transparent 60%
    ),
    linear-gradient(135deg, #ff4d5e 0%, #d62839 55%, #b01e2d 100%);
}
.cta h2 {
  max-width: 20ch;
}
.cta p {
  color: #ffe3e6;
  margin: 10px 0 0;
  font-size: 0.96rem;
}
.cta .search {
  box-shadow: none;
}
.cta-wrap {
  padding: 30px;
}

/* ============================================================
   Footer
   ============================================================ */
footer {
  background: var(--ink);
  color: #bdbdc4;
  position: relative;
}
footer:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ff4d5e, #d62839 35%, #1e5eff 100%);
}
.fgrid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 36px;
  padding: 52px 0 34px;
}
footer .logo {
  color: #fff;
}
footer p {
  font-size: 0.9rem;
  max-width: 34ch;
  margin-top: 12px;
}
footer h4 {
  font: 650 0.9rem var(--f-display);
  color: #fff;
  margin-bottom: 12px;
}
footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
footer a {
  color: #bdbdc4;
  text-decoration: none;
  font-size: 0.9rem;
}
footer a:hover {
  color: #fff;
  text-decoration: underline;
}
.fbar {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.84rem;
}
.fbar strong {
  color: #fff;
}

/* ============================================================
   Lookup output
   ============================================================ */
#out {
  padding-top: 10px;
  padding-bottom: 8px;
}
#out:empty,
#result:empty {
  display: none;
}
.head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 10px;
}
.dname {
  margin: 0;
  font: 700 1.55rem/1.15 var(--f-display);
  letter-spacing: -0.02em;
  word-break: break-all;
}
.sum {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 11px;
  margin-bottom: 14px;
}
.sum .card {
  padding: 13px 15px;
}
.sum small {
  display: block;
  color: var(--mut);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}
.sum b {
  font: 650 1rem var(--f-display);
  word-break: break-word;
  display: block;
  margin-top: 3px;
}
.sections {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: start;
}
.sections .col {
  display: grid;
  gap: 14px;
  align-content: start;
}
.card h3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
}
dl {
  margin: 0;
}
.row {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 7px 0;
  border-bottom: 1px dashed var(--line);
}
.row:last-child {
  border: 0;
}
dt {
  flex: 0 0 130px;
  color: var(--mut);
  font-size: 0.86rem;
}
dd {
  flex: 1;
  margin: 0;
  min-width: 0;
  word-break: break-word;
  display: flex;
  gap: 8px;
  align-items: baseline;
  justify-content: space-between;
  font-size: 0.92rem;
}
.na {
  color: #8e8e96;
  font-style: italic;
  font-size: 0.88rem;
}
.cp {
  flex: none;
  padding: 1px 9px;
  font-size: 0.74rem;
  color: var(--mut);
  line-height: 19px;
  border-radius: 6px;
  height: fit-content;
}
.cp:hover {
  color: var(--red-d);
  border-color: var(--red);
}
.list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.list li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px dashed var(--line);
}
.list li:last-child {
  border: 0;
}
.list small {
  display: block;
  color: var(--mut);
  font-size: 0.82rem;
}
.code {
  font-family: var(--f-mono);
  font-size: 0.86rem;
  overflow-wrap: anywhere;
  min-width: 0;
}
.ns .code {
  flex: 1;
}
.card {
  min-width: 0;
}
.full {
  grid-column: 1/-1;
}
pre {
  max-height: 400px;
  overflow: auto;
  margin: 9px 0 0;
  padding: 13px;
  background: #0f1115;
  color: #e8e8ec;
  border-radius: var(--r);
  font: 0.8rem/1.5 var(--f-mono);
  white-space: pre-wrap;
  word-break: break-word;
}
.state {
  text-align: center;
  padding: 32px 20px;
}
.state h3 {
  border: 0;
  justify-content: center;
  font-size: 1.15rem;
}
.state.err {
  border-color: #f5c2c7;
  background: #fff7f8;
}
.state .row-b {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 12px;
}
.spin {
  width: 28px;
  height: 28px;
  margin: 0 auto 12px;
  border: 3px solid var(--red-l);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: s 0.8s linear infinite;
}
@keyframes s {
  to {
    transform: rotate(1turn);
  }
}
.banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 8px 0 14px;
  border-left: 4px solid var(--ok);
  padding: 16px 18px;
}
.banner.avail {
  border-left-color: var(--ok);
  background: linear-gradient(90deg, #e6f5ec 0%, #f2fbf5 45%, #fff 100%);
}
.banner.taken {
  border-left-color: var(--red);
  background: linear-gradient(90deg, #fdecee 0%, #fff5f6 45%, #fff 100%);
}
.okt {
  margin: 4px 0 0;
  color: var(--ok) !important;
  font-size: 0.92rem;
}
.acts button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.acts {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.warnv {
  color: var(--red);
}
.stack {
  display: grid;
  gap: 6px;
  width: 100%;
}
.stack small {
  display: block;
  color: var(--mut);
  font-size: 0.84rem;
}
.ns {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.col {
  display: grid;
  gap: 14px;
}
.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 2px;
}
.tab.on {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.tabs button:last-child {
  margin-left: auto;
}
.srcnote {
  font-size: 0.82rem;
  color: var(--mut);
  margin-top: 10px;
}

/* ============================================================
   Toasts
   ============================================================ */
.toasts {
  position: fixed;
  right: 16px;
  bottom: 16px;
  display: grid;
  gap: 8px;
  z-index: 50;
}
.toast {
  padding: 10px 15px;
  border-radius: var(--r);
  background: linear-gradient(135deg, #1a1d24, #0f1115);
  color: #fff;
  font-size: 0.88rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.toast.err {
  background: linear-gradient(135deg, #d62839, #b01e2d);
}

/* ============================================================
   Pills
   ============================================================ */
.pill {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 10px;
  border-radius: 99px;
  font: 700 0.7rem/1.5 var(--f-body);
  letter-spacing: 0;
  vertical-align: middle;
}
.pill.ok {
  background: linear-gradient(135deg, #e6f5ec, #d6f0e0);
  color: var(--ok);
}
.pill.taken {
  background: linear-gradient(135deg, #fdecee, #fbd6da);
  color: var(--red-d);
}
.pill.unk {
  background: #ececef;
  color: var(--mut);
}

/* ============================================================
   Alt extensions
   ============================================================ */
.alt {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 9px;
  margin-top: 6px;
}
.altc {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 11px 13px;
  text-align: left;
  border-radius: 9px;
  background: #fff;
}
.altc:hover {
  border-color: var(--ink);
  color: var(--ink);
  box-shadow: var(--sh);
}
.altc.cur {
  background: var(--paper);
  border-style: dashed;
}
.altd {
  font-weight: 600;
  word-break: break-all;
  font-size: 0.9rem;
}
.altc .pill {
  margin: 0;
  flex: none;
}

/* ============================================================
   Colour tones (shared by heading icons, DNS cards, chips)
   ============================================================ */
.tone-blue {
  --tc: #1e5eff;
  --tl: #eaf0ff;
  --tb: #c9d8ff;
}
.tone-green {
  --tc: #127a43;
  --tl: #e6f5ec;
  --tb: #bfe5cf;
}
.tone-amber {
  --tc: #b26a00;
  --tl: #fff4e0;
  --tb: #f5d9a3;
}
.tone-purple {
  --tc: #5b2bd6;
  --tl: #f0eaff;
  --tb: #d6c8fa;
}
.tone-red {
  --tc: #b01e2d;
  --tl: #fdecee;
  --tb: #f6c3c9;
}
.tone-teal {
  --tc: #0a7a8a;
  --tl: #e3f5f7;
  --tb: #b5e2e8;
}
.tone-pink {
  --tc: #c2185b;
  --tl: #fde8f1;
  --tb: #f6bcd6;
}
.tone-slate {
  --tc: #4b5563;
  --tl: #eef0f3;
  --tb: #d3d7de;
}

.ico {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ico.sm {
  width: 13px;
  height: 13px;
}
.ico.lg {
  width: 28px;
  height: 28px;
}

/* Card headings with icon tile */
.card h3 .ht {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.hic {
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--tc, var(--blue));
  background: var(--tl, var(--blue-l));
  border: 1px solid var(--tb, #c9d8ff);
}
.hic .ico {
  width: 17px;
  height: 17px;
}
.sum small {
  display: flex;
  align-items: center;
  gap: 6px;
}
.sum small .ico {
  color: var(--red);
}
.sum .card:nth-child(2) small .ico {
  color: var(--amber);
}
.sum .card:nth-child(3) small .ico {
  color: var(--purple, #5b2bd6);
}
.sum .card:nth-child(4) small .ico {
  color: var(--ok);
}
.sum .card:nth-child(5) small .ico {
  color: var(--blue);
}

/* ============================================================
   DNS Records
   ============================================================ */
.dns-card {
  margin-top: 14px;
}
.dns-card > h3 {
  margin-bottom: 14px;
}
.live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 700 0.72rem/1 var(--f-body);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ok);
  background: var(--ok-l);
  border: 1px solid #bfe5cf;
  padding: 5px 10px;
  border-radius: 99px;
}
.live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(18, 122, 67, 0.5);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  70% {
    box-shadow: 0 0 0 7px rgba(18, 122, 67, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(18, 122, 67, 0);
  }
}

.dns-block {
  display: grid;
  gap: 14px;
}
.dns-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.dns-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px 5px 9px;
  border-radius: 99px;
  background: var(--tl);
  color: var(--tc);
  border: 1px solid var(--tb);
  font-size: 0.8rem;
}
.dns-chip b {
  font: 700 0.8rem var(--f-mono);
}
.dns-chip em {
  font-style: normal;
  font-weight: 700;
  font-size: 0.7rem;
  min-width: 18px;
  text-align: center;
  padding: 1px 5px;
  border-radius: 99px;
  background: var(--tc);
  color: #fff;
}

.dns-zone {
  border: 1px solid var(--tb);
  border-left: 4px solid var(--tc);
  border-radius: 11px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.2s;
}
.dns-zone:hover {
  box-shadow: var(--sh);
}
.dns-zone-h {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: linear-gradient(90deg, var(--tl) 0%, #fff 85%);
  border-bottom: 1px solid var(--tb);
}
.dns-icon-wrap {
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--tc);
  color: #fff;
  box-shadow: 0 6px 14px -8px var(--tc);
}
.dns-icon {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.dns-zone-title {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}
.dns-zone-title b {
  font: 650 0.98rem var(--f-display);
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.dns-zone-title small {
  font-size: 0.78rem;
  color: var(--mut);
  line-height: 1.3;
}
.dns-code {
  font: 700 0.74rem/1 var(--f-mono);
  letter-spacing: 0.06em;
  padding: 5px 9px;
  border-radius: 6px;
  color: var(--tc);
  background: #fff;
  border: 1px solid var(--tb);
}
.dns-count {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--mut);
  white-space: nowrap;
  padding: 3px 10px;
  border-radius: 99px;
  background: #fff;
  border: 1px solid var(--line);
}

.dns-cols,
.dns-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  padding-left: 16px;
  padding-right: 16px;
}
.dns-cols {
  padding-top: 7px;
  padding-bottom: 7px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  font: 700 0.68rem/1 var(--f-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mut);
}
.dns-cols span:nth-child(2) {
  grid-column: 2;
  margin-right: 96px;
}
.dns-row {
  padding-top: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  transition: background 0.12s;
}
.dns-row:last-child {
  border-bottom: 0;
}
.dns-row:hover {
  background: var(--tl);
}
.dns-row > .dns-pri {
  grid-column: 1;
  justify-self: start;
}
.dns-pri {
  font: 700 0.68rem/1 var(--f-body);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--tc);
  background: var(--tl);
  border: 1px solid var(--tb);
  padding: 3px 8px;
  border-radius: 5px;
  margin-bottom: -4px;
}
.dns-val {
  font-family: var(--f-mono);
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--ink);
  overflow-wrap: anywhere;
  grid-column: 1;
}
.dns-pri ~ .dns-val {
  grid-row: 2;
}
.dns-row:has(.dns-pri) {
  row-gap: 4px;
}
.dns-row:has(.dns-pri) .dns-ttl,
.dns-row:has(.dns-pri) .dns-act {
  grid-row: 1 / span 2;
}
.dns-ttl {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--mut);
  padding: 3px 9px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.dns-ttl.none {
  border-color: transparent;
  background: none;
}

.dns-empty {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 26px 16px;
  text-align: center;
  color: var(--mut);
  background: var(--paper);
  border: 1px dashed var(--line);
  border-radius: 10px;
}
.dns-empty .ico {
  color: var(--amber);
}
.dns-empty p {
  margin: 0;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .hero .wrap {
    padding-top: 56px;
    padding-bottom: 64px;
  }
  .points {
    grid-template-columns: repeat(3, 1fr);
  }
  .points div:nth-child(3) {
    border-right: 0;
  }
  .points div:nth-child(-n + 3) {
    border-bottom: 1px solid var(--line);
  }
  .split {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .split.rev .split-img {
    order: 0;
  }
  .split-img .frame {
    max-width: 340px;
  }
  .split-img.dev-img {
    max-width: 280px;
  }
  .dev-badge {
    right: -10px;
  }
  .dev-badge {
    right: 12px;
    bottom: -16px;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .step {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .step:last-child {
    border-bottom: 0;
  }
  .cta {
    grid-template-columns: 1fr;
    padding: 34px 26px;
  }
  .fgrid {
    grid-template-columns: 1fr 1fr;
  }
  .block {
    padding: 52px 0;
  }
}
@media (max-width: 820px) {
  .burger {
    display: grid;
  }
  nav.main {
    display: none;
    position: absolute;
    top: 62px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 10px 20px 16px;
    box-shadow: 0 20px 30px -20px rgba(10, 10, 10, 0.3);
  }
  nav.main.open {
    display: flex;
  }
  nav.main a {
    padding: 12px 8px;
  }
  nav.main a[aria-current="page"] {
    box-shadow: none;
    color: var(--red-d);
  }
  .bar > .btn {
    display: none;
  }
}
@media (max-width: 760px) {
  .sections {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .primary, .btn {
    font-size: 0.8rem;
  }
  .wrap {
    padding: 0 10px;
  }
  .cta-wrap {
    padding: 15px 16px 15px;
  }
  .search {
    flex-wrap: wrap;
  }
  .search input {
    flex-basis: 100%;
  }
  .search .primary {
    flex: 1;
  }
  .points {
    grid-template-columns: 1fr 1fr;
  }
  .points div {
    border-right: 0 !important;
    border-bottom: 1px solid var(--line);
  }
  .points div:last-child {
    border-bottom: 0;
  }
  dt {
    flex-basis: 96px;
  }
  .row {
    flex-wrap: wrap;
  }
  .fgrid {
    grid-template-columns: 1fr;
  }
  .sample {
    position: relative;
    left: 0;
    bottom: 0;
    margin-top: -26px;
    margin-left: 12px;
    width: calc(100% - 24px);
  }
  .dns-cols {
    display: none;
  }
  .dns-row {
    grid-template-columns: minmax(0, 1fr) auto;
    row-gap: 6px;
    padding: 10px 14px;
  }
  .dns-val,
  .dns-pri {
    grid-column: 1 / -1;
  }
  .dns-pri ~ .dns-val {
    grid-row: auto;
  }
  .dns-row:has(.dns-pri) .dns-ttl,
  .dns-row:has(.dns-pri) .dns-act {
    grid-row: auto;
  }
  .dns-ttl {
    justify-self: start;
  }
  .dns-row .dns-act {
    justify-self: end;
  }
  .dns-zone-h {
    padding: 10px 12px;
    gap: 10px;
    flex-wrap: wrap;
  }
  .dns-icon-wrap {
    width: 32px;
    height: 32px;
  }
  .dns-icon {
    width: 17px;
    height: 17px;
  }
  .dns-zone-title {
    flex-basis: calc(100% - 100px);
  }
  .dns-zone-title b {
    font-size: 0.92rem;
  }
  .dns-count {
    font-size: 0.7rem;
    padding: 2px 8px;
  }
}

/* ============================================================
   Add-ons: DNS toolbar, expiry bar, alerts, skeleton, security, subdomains, print
   ============================================================ */
.dns-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  justify-content: space-between;
}
.dns-bar .dns-chips {
  flex: 1 1 320px;
}
button.dns-chip {
  cursor: pointer;
  font-family: inherit;
  transition:
    transform 0.12s,
    box-shadow 0.12s,
    opacity 0.12s;
  opacity: 0.72;
}
button.dns-chip:hover {
  opacity: 1;
  transform: translateY(-1px);
}
button.dns-chip[aria-pressed="true"] {
  opacity: 1;
  box-shadow: 0 0 0 2px var(--tc);
}
.dns-tools {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.dns-tools button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  font-size: 0.8rem;
  font-weight: 600;
}
.dns-zone[hidden] {
  display: none;
}
.dns-act {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ipl {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  color: var(--mut);
  border: 1px solid var(--line);
  background: #fff;
}
.ipl:hover {
  color: var(--tc, var(--blue));
  border-color: var(--tc, var(--blue));
}

/* Expiry life bar + alert */
.life {
  height: 6px;
  border-radius: 99px;
  background: #ececef;
  margin-top: 8px;
  overflow: hidden;
}
.life i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--ok);
  transition: width 0.6s ease;
}
.life.warn i {
  background: var(--amber);
}
.life.bad i {
  background: var(--red);
}
.alert {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  padding: 11px 14px;
  border-radius: var(--r);
  font-size: 0.92rem;
  font-weight: 600;
  border: 1px solid;
}
.alert.warn {
  background: var(--amber-l);
  color: #7a4700;
  border-color: #f5d9a3;
}
.alert.bad {
  background: var(--red-l);
  color: var(--red-d);
  border-color: #f6c3c9;
}

/* Skeleton loading */
.skel {
  height: 12px;
  border-radius: 6px;
  margin: 11px 0;
  background: linear-gradient(90deg, #eceef1 25%, #f6f7f9 37%, #eceef1 63%);
  background-size: 400% 100%;
  animation: shimmer 1.4s ease infinite;
}
.skel.s-sm {
  width: 45%;
  height: 9px;
  margin-top: 2px;
}
.skel.s-md {
  width: 62%;
  height: 15px;
}
@keyframes shimmer {
  0% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0 50%;
  }
}
.skeleton {
  margin-top: 14px;
}

/* Security card */
.sec-card {
  margin-top: 14px;
}
.sec-card > h3 {
  margin-bottom: 14px;
}
.sec-load {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--mut);
}
.sec-load .spin {
  margin: 0;
  flex: none;
}
.sec-load p {
  margin: 0;
}
.sec-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  padding: 14px 16px;
  margin-bottom: 14px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: linear-gradient(90deg, #f6faf7, #fff 70%);
}
.sec-score {
  display: flex;
  align-items: center;
  gap: 16px;
}
.sec-score span {
  display: block;
  color: var(--mut);
  font-size: 0.86rem;
}
.ring {
  width: 84px;
  height: 84px;
  flex: none;
}
.ring-bg {
  fill: none;
  stroke: #e6e8ec;
  stroke-width: 8;
}
.ring-fg {
  fill: none;
  stroke-width: 8;
  stroke-linecap: round;
}
.ring-t {
  font: 700 22px var(--f-display);
  fill: var(--ink);
}
.sec-grade {
  font: 700 1.25rem var(--f-display);
  display: block;
}
.g-a,
.g-b {
  color: var(--ok);
}
.g-c {
  color: var(--amber);
}
.g-d,
.g-e {
  color: var(--red-d);
}
.sec-counts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sc {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 99px;
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid;
}
.sc.pass {
  color: var(--ok);
  background: var(--ok-l);
  border-color: #bfe5cf;
}
.sc.warn {
  color: #8a5200;
  background: var(--amber-l);
  border-color: #f5d9a3;
}
.sc.fail {
  color: var(--red-d);
  background: var(--red-l);
  border-color: #f6c3c9;
}
.sec-group {
  margin-top: 16px;
}
.sec-group h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--mut);
}
.sec-item {
  display: flex;
  gap: 12px;
  padding: 11px 12px;
  margin-bottom: 8px;
  border: 1px solid var(--line);
  border-left-width: 4px;
  border-radius: 10px;
  background: #fff;
}
.sec-item.pass {
  border-left-color: var(--ok);
}
.sec-item.warn {
  border-left-color: var(--amber);
}
.sec-item.fail {
  border-left-color: var(--red);
  background: #fffafa;
}
.sec-item.info {
  border-left-color: #9aa0ab;
}
.sec-ic {
  width: 28px;
  height: 28px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.sec-ic .ico {
  width: 16px;
  height: 16px;
  stroke-width: 2.4;
}
.sec-item.pass .sec-ic {
  background: var(--ok-l);
  color: var(--ok);
}
.sec-item.warn .sec-ic {
  background: var(--amber-l);
  color: var(--amber);
}
.sec-item.fail .sec-ic {
  background: var(--red-l);
  color: var(--red-d);
}
.sec-item.info .sec-ic {
  background: #eef0f3;
  color: #5c6370;
}
.sec-main {
  min-width: 0;
  flex: 1;
}
.sec-main > b {
  font: 650 0.95rem var(--f-display);
}
.sec-main p {
  margin: 3px 0 0;
  font-size: 0.88rem;
  color: var(--mut);
}
.sec-val {
  display: block;
  margin-top: 7px;
  padding: 6px 9px;
  font: 0.78rem/1.45 var(--f-mono);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow-wrap: anywhere;
}
.sec-main .sec-fix {
  color: var(--ink);
  font-size: 0.84rem;
  margin-top: 7px;
}
.sec-main .sec-fix b {
  font: 700 0.84rem var(--f-body);
  color: var(--red-d);
}

/* Subdomains */
.sub-card {
  margin-top: 14px;
}
.sub-card > h3 {
  margin-bottom: 12px;
}
.sub-list {
  display: grid;
  gap: 8px;
}
.sub-item {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 16px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.sub-item > b {
  font: 600 0.9rem var(--f-mono);
  overflow-wrap: anywhere;
}
.sub-recs {
  display: grid;
  gap: 4px;
  justify-items: end;
}
.sub-rec {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
}
.sub-rec code {
  font: 0.82rem var(--f-mono);
  overflow-wrap: anywhere;
}
.sub-rec em {
  font: 700 0.66rem/1 var(--f-mono);
  font-style: normal;
  padding: 3px 6px;
  border-radius: 5px;
  color: var(--blue);
  background: var(--blue-l);
}
.sub-rec em.cname {
  color: #0a7a8a;
  background: #e3f5f7;
}
.sub-rec em.aaaa {
  color: var(--ok);
  background: var(--ok-l);
}

@media (max-width: 560px) {
  .dns-bar {
    align-items: stretch;
  }
  .sec-top {
    padding: 12px;
  }
  .sub-recs {
    justify-items: start;
  }
  .sec-item {
    padding: 10px;
    gap: 10px;
  }
}

/* Print / Save as PDF: show only the result */
@media print {
  @page {
    margin: 14mm;
  }
  body {
    background: #fff;
  }
  .top,
  footer,
  .hero,
  .points,
  .block,
  .cta-wrap,
  .toasts,
  .acts,
  .cp,
  .ipl,
  .dns-tools,
  .tabs,
  .altcard,
  .dns-chips,
  .skeleton,
  #site-header,
  #site-footer {
    display: none !important;
  }
  main > section:not(#out),
  main > div:not(#out) {
    display: none !important;
  }
  .card,
  .dns-zone,
  .sec-item {
    box-shadow: none !important;
    break-inside: avoid;
  }
  .dns-zone[hidden] {
    display: block !important;
  }
  pre {
    max-height: none;
    white-space: pre-wrap;
  }
  * {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}

@media (prefers-reduced-motion: reduce) {
  .spin {
    animation-duration: 2s;
  }
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}

/* 320px phones: grid children must be allowed to shrink (fixes 8px horizontal scroll on pages with the bottom CTA) */
.cta > *,
.cta .search,
.cta .search input {
  min-width: 0;
}
@media (max-width: 380px) {
  .cta {
    padding: 28px 18px;
  }
  .cta-wrap {
    padding-left: 12px;
    padding-right: 12px;
  }
}
