/* ScriptyLabs default page for newly registered domains. Plain CSS, no build step. */
@font-face {
  font-family: "DM Sans";
  src: url(./assets/fonts/dm-sans.woff2) format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --paper: #ffffff;
  --ink: #18181b;
  --muted: #52525b;
  --soft: #71717a;
  --fill: #f4f6f5;
  --line: #e4e4e7;
  --grid: rgba(24, 24, 27, 0.06);
  --brand: #0b5a43;
  --brand-ink: #ffffff;
  --accent: #0b835f;
  --accent-soft: #ecfdf7;
  --orange: #ff881b;
  --dark: #02150f;
  --dark-ink: #ffffff;
  --dark-muted: rgba(255, 255, 255, 0.66);
  --dark-line: rgba(255, 255, 255, 0.14);
}


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

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

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.page {
  display: flex;
  flex-direction: column;
  max-width: 1200px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 24px 16px;
}

/* Top bar */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 8px;
}

.brand {
  display: inline-flex;
}

.logo {
  display: block;
  width: 136px;
  height: auto;
}



.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent);
  animation: ping 2s ease-out infinite;
}

/* Hero */
main {
  flex: 1;
}

.hero {
  padding: 64px 0 40px;
}

.kicker {
  margin: 0;
  color: var(--accent);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.domain {
  margin: 18px 0 0;
  font-size: clamp(44px, 10vw, 132px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.055em;
  white-space: nowrap;
}

.domain.wrap {
  white-space: normal;
  overflow-wrap: anywhere;
}

.lead {
  max-width: 560px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.5;
}

/* Status: three hairline cells */
.status {
  display: grid;
  grid-template-columns: 1fr;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 12px;
}

.status li {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  overflow: hidden;
  background: var(--fill);
}

.num {
  color: var(--soft);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.label {
  font-size: 17px;
  font-weight: 500;
}

.state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}

.done .state {
  color: var(--accent);
}

.next .state {
  color: var(--orange);
}

.state svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.spinner {
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

.bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  overflow: hidden;
}

.bar span {
  position: absolute;
  inset: 0;
  width: 40%;
  background: var(--orange);
  animation: slide 2.4s ease-in-out infinite;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 16px;
}

.card {
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  background: var(--fill);
}

.card-kicker {
  margin: 0;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
}

.card h2 {
  margin: 10px 0 0;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  align-self: flex-start;
  margin-top: 24px;
  padding: 14px 18px;
  background: var(--brand);
  color: var(--brand-ink);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.btn:hover {
  filter: brightness(1.12);
}

.btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  transition: transform 0.2s ease;
}

.btn:hover svg {
  transform: translateX(3px);
}

.card-dark {
  background: var(--dark);
  color: var(--dark-ink);
}

.card-dark .card-kicker {
  color: #34d3a6;
}

.card-dark .small {
  color: var(--dark-muted);
  font-size: 13px;
}

.search {
  display: flex;
  align-items: center;
  margin-top: 22px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.06);
  transition: border-color 0.2s ease;
}

.search:focus-within {
  border-color: #34d3a6;
}

.search svg {
  flex: none;
  width: 20px;
  height: 20px;
  margin-left: 14px;
  fill: none;
  stroke: rgba(255, 255, 255, 0.6);
  stroke-width: 2;
}

.search input {
  flex: 1;
  min-width: 0;
  padding: 15px 12px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 16px;
}

.search input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.search button {
  align-self: stretch;
  padding: 0 20px;
  border: 0;
  background: #10b98c;
  color: #02150f;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: filter 0.2s ease;
}

.search button:hover {
  filter: brightness(1.08);
}

/* Footer */
.foot {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 40px;
  padding-top: 8px;
  color: var(--soft);
  font-size: 13px;
}

.foot a {
  text-decoration: none;
}

.foot a:hover strong {
  color: var(--accent);
}

.foot strong {
  color: var(--ink);
  font-weight: 600;
  transition: color 0.2s ease;
}

.tag {
  margin: 0;
  letter-spacing: 0.08em;
}

.tag .accent {
  color: var(--orange);
}

/* Larger screens */
@media (min-width: 720px) {
  .page {
    padding: 32px 32px;
  }
  .logo {
    width: 160px;
  }
  .hero {
    padding: 96px 0 56px;
  }
  .status {
    grid-template-columns: repeat(3, 1fr);
  }
  .status li {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    padding: 22px 24px 24px;
  }
  .status .state {
    grid-column: 2;
  }
  .cards {
    grid-template-columns: 1fr 1fr;
  }
  .card {
    padding: 36px 36px;
  }
  .foot {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* Motion */
.enter {
  opacity: 0;
  transform: translateY(14px);
  animation: enter 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--d, 0ms);
}

@keyframes enter {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes ping {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 140, 0.55);
  }
  100% {
    box-shadow: 0 0 0 9px rgba(16, 185, 140, 0);
  }
}

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

@keyframes slide {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(260%);
  }
}

@keyframes drift {
  to {
    transform: translate(96px, 96px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .enter,
  .dot,
  .spinner,
  .bar span {
    animation: none;
  }
  .enter {
    opacity: 1;
    transform: none;
  }
}
