/*
Theme Name: Register.ly
Theme URI: https://smileops.demo.ly
Author: Register.ly
Description: A focused marketing theme for the Register.ly domain and business registration website.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: registerly
*/

:root {
  --ink: #060b0a;
  --navy: #071f3d;
  --muted: #536461;
  --line: #dbe8e3;
  --panel: #ffffff;
  --soft: #f5fbf9;
  --mint: #b0fcce;
  --green: #007342;
  --aqua: #2bfff8;
  --dark: #060b0a;
  --hero: #062719;
  --shadow: 0 24px 70px rgba(6, 11, 10, 0.12);
  --radius: 8px;
  --radius-lg: 18px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-weight: 400;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(43, 255, 248, 0.72);
  outline-offset: 3px;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

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

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: #fff;
  background: rgba(6, 11, 10, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 76px;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  color: #fff;
  font-size: clamp(1.8rem, 2.7vw, 2.45rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
}

.brand-logo span,
.hero h1 span,
.ly-hero h1 span,
.tld-card h3 span,
.section-header h2 span {
  color: var(--aqua);
}

.primary-nav {
  justify-self: center;
}

.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list > li {
  position: relative;
}

.nav-list > li > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 76px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
}

.nav-list > li > a:hover {
  color: #fff;
}

.mega-menu {
  position: absolute;
  top: calc(100% - 6px);
  left: 50%;
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 18px;
  width: min(760px, calc(100vw - 48px));
  padding: 22px;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 12px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.mega-wide {
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  width: min(1020px, calc(100vw - 48px));
}

.has-mega:hover .mega-menu,
.has-mega:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.mega-column {
  display: grid;
  gap: 10px;
}

.mega-column h2 {
  margin: 0 0 4px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.mega-column a {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  min-height: 74px;
  padding: 12px;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: #fff;
}

.mega-column a:hover {
  border-color: rgba(0, 115, 66, 0.18);
  background: #f7fbf9;
}

.mega-column a span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--green);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #e8fff4, #d9ffff);
  font-size: 0.9rem;
  font-weight: 800;
}

.mega-column strong,
.mega-column small {
  display: block;
}

.mega-column strong {
  font-size: 0.95rem;
  font-weight: 700;
}

.mega-column small {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

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

.icon-link {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 800;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button-primary {
  color: var(--dark);
  background: var(--aqua);
  box-shadow: 0 16px 34px rgba(43, 255, 248, 0.2);
}

.button-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.button-dark {
  width: 100%;
  color: #fff;
  background: var(--dark);
}

.hero {
  position: relative;
  padding: clamp(104px, 12vw, 156px) 0 clamp(92px, 11vw, 132px);
  color: #fff;
  background:
    radial-gradient(circle at 25% 20%, rgba(43, 255, 248, 0.18), transparent 26%),
    radial-gradient(circle at 76% 62%, rgba(176, 252, 206, 0.16), transparent 34%),
    linear-gradient(180deg, #060b0a 0%, #072719 58%, #12815e 100%);
}

.hero-center {
  display: grid;
  justify-items: center;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.ly-hero .eyebrow {
  color: var(--mint);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  max-width: 920px;
  font-size: clamp(3rem, 7vw, 6.2rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2.1rem, 4vw, 4.1rem);
  font-weight: 750;
}

h3 {
  font-size: 1.22rem;
  font-weight: 750;
}

.hero-copy {
  max-width: 660px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
}

.domain-search {
  display: grid;
  grid-template-columns: 1fr 52px 52px;
  align-items: center;
  gap: 8px;
  width: min(760px, 100%);
  margin: 34px auto 0;
  padding: 8px;
  border: 1px solid rgba(6, 11, 10, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.22);
}

.domain-search input {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  border: 0;
  padding: 0 18px;
  color: #8b9693;
  background: transparent;
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
  font-weight: 500;
  outline: 0;
}

.domain-search .icon-action {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 0;
  border-radius: 12px;
  color: #007342;
  background: #e8fff4;
  cursor: pointer;
}

.domain-search .search-submit {
  color: var(--dark);
  background: var(--aqua);
}

.domain-search .icon-action span {
  display: block;
  font-size: 1.15rem;
  line-height: 1;
}

.transfer-note {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.transfer-note a {
  color: #fff;
  font-weight: 700;
}

.breadcrumbs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.breadcrumbs a {
  text-decoration: none;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.hero-links a {
  color: #fff;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}

.trust-row {
  padding: 42px 0 36px;
  background: #fff;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  align-items: start;
  text-align: center;
}

.trust-grid div {
  display: grid;
  justify-items: center;
  gap: 6px;
}

.trust-grid span {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  color: var(--green);
  border-radius: 14px;
  background: #ecfff5;
  font-weight: 800;
}

.trust-grid small {
  color: var(--muted);
  font-weight: 600;
}

.trust-grid strong {
  font-size: 1rem;
  line-height: 1.25;
}

.section {
  padding: clamp(72px, 9vw, 116px) 0;
}

.soft {
  background: var(--soft);
}

.section-header {
  max-width: 760px;
  margin: 0 0 36px;
}

.section-header.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-header p,
.split-copy p,
.feature-row p,
.policy-notice p,
.cta-panel p {
  color: var(--muted);
  font-size: 1.04rem;
}

.split {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 52px;
  align-items: center;
}

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.inline-actions .button-secondary,
.cta-panel .button-secondary {
  color: var(--ink);
  border-color: var(--line);
  background: #fff;
}

.idea-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(176, 252, 206, 0.28), rgba(43, 255, 248, 0.08)),
    #fff;
  box-shadow: var(--shadow);
}

.idea-panel div {
  padding: 22px;
  border: 1px solid rgba(0, 115, 66, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
}

.idea-panel strong,
.idea-panel span {
  display: block;
}

.idea-panel strong {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
}

.idea-panel span {
  color: var(--muted);
  font-weight: 600;
}

.tld-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.tld-card {
  position: relative;
  display: grid;
  min-height: 318px;
  align-content: start;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 18px 48px rgba(6, 11, 10, 0.06);
}

.tld-card.featured {
  border: 2px solid #4778ff;
}

.badge {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  height: 36px;
  place-items: center;
  color: #fff;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(90deg, #4778ff, #6f47ff);
  font-size: 0.82rem;
  font-weight: 800;
}

.tld-card.featured h3 {
  margin-top: 30px;
}

.tld-card h3 {
  font-size: clamp(2rem, 3vw, 2.7rem);
}

.tld-card[data-tld=".com.ly"] h3 span {
  color: #4778ff;
}

.tld-card[data-tld=".net.ly"] h3 span {
  color: #2fbf4a;
}

.tld-card[data-tld=".org.ly"] h3 span {
  color: #9277ff;
}

.tld-card[data-tld=".id.ly"] h3 span {
  color: #e85c66;
}

.tld-card p {
  margin: 0;
  color: var(--muted);
}

.tld-price {
  margin-top: auto;
}

.tld-price small,
.tld-price strong {
  display: block;
}

.tld-price small {
  color: var(--muted);
  font-weight: 600;
}

.tld-price strong {
  font-size: 1rem;
}

.feature-row {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-list article,
.card,
.policy-notice,
.check-panel article,
.namespace-list article {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 16px 44px rgba(6, 11, 10, 0.06);
}

.service-list article {
  padding: 24px;
}

.service-list span,
.icon-pill,
.check-panel span {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  place-items: center;
  color: var(--green);
  border-radius: 12px;
  background: #dfffee;
  font-weight: 800;
}

.service-list p,
.card p,
.check-panel p,
.namespace-list p {
  color: var(--muted);
}

.dashboard-showcase {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(rgba(0, 115, 66, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 115, 66, 0.04) 1px, transparent 1px),
    #fff;
  background-size: 26px 26px;
  box-shadow: var(--shadow);
}

.dashboard-showcase aside {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: #f2fbf7;
}

.dashboard-showcase aside strong {
  margin-bottom: 10px;
}

.dashboard-showcase aside span {
  padding: 10px 12px;
  color: var(--muted);
  border-radius: 999px;
  font-weight: 650;
}

.dashboard-showcase aside .active {
  color: var(--green);
  background: #dfffee;
}

.dashboard-main {
  display: grid;
  gap: 16px;
}

.dashboard-hero-card {
  padding: 30px;
  color: #fff;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 86% 22%, rgba(43, 255, 248, 0.18), transparent 28%),
    linear-gradient(135deg, #007342, #071f3d);
}

.dashboard-hero-card small {
  color: var(--mint);
  font-weight: 800;
  text-transform: uppercase;
}

.dashboard-hero-card h3 {
  max-width: 560px;
  margin-top: 10px;
  font-size: clamp(1.7rem, 3vw, 3rem);
}

.dashboard-hero-card p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.78);
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.dashboard-stats span,
.dashboard-table div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.84);
}

.dashboard-stats strong,
.dashboard-stats small,
.dashboard-table strong,
.dashboard-table small {
  display: block;
}

.dashboard-table {
  display: grid;
  gap: 10px;
}

.dashboard-table div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 18px;
  align-items: center;
}

.dashboard-table small {
  color: var(--muted);
}

.dashboard-table em {
  grid-row: 1 / span 2;
  grid-column: 2;
  color: var(--green);
  font-style: normal;
  font-weight: 800;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 40px;
  color: #fff;
  border-radius: 24px;
  background:
    radial-gradient(circle at 82% 24%, rgba(43, 255, 248, 0.2), transparent 26%),
    linear-gradient(135deg, #060b0a, #007342);
}

.cta-panel p,
.cta-panel .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 42px;
}

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

.faq-list details {
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 750;
}

.faq-list p {
  color: var(--muted);
}

.final-search {
  padding: 76px 0;
  color: #fff;
  background: #060b0a;
}

.namespace-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.namespace-list article {
  padding: 22px;
}

.namespace-list strong,
.namespace-list span {
  display: block;
}

.namespace-list strong {
  color: var(--green);
  font-size: 2rem;
}

.namespace-list span {
  margin-top: 10px;
  font-weight: 800;
}

.policy-notice {
  padding: 28px;
}

.requirement-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 42px;
}

.check-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.check-panel article {
  padding: 22px;
}

.pricing-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}

.price-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.price-table th {
  padding: 22px;
  color: #fff;
  background: var(--navy);
  text-align: left;
  font-weight: 800;
}

.price-table td {
  padding: 22px;
  border-top: 1px solid var(--line);
  font-weight: 650;
}

.table-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--green);
  border-radius: 999px;
  background: #e8fff4;
  text-decoration: none;
  font-weight: 800;
}

.card {
  padding: 28px;
}

.card a {
  color: var(--green);
  font-weight: 800;
  text-decoration: none;
}

.site-footer {
  padding: 82px 0 40px;
  color: rgba(255, 255, 255, 0.72);
  background: #062719;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 34px;
  padding-bottom: 54px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

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

.footer-column h2 {
  color: #fff;
  font-size: 1rem;
  font-weight: 650;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.94rem;
  font-weight: 400;
  text-decoration: none;
}

.footer-column a:hover,
.footer-legal a:hover {
  color: #fff;
}

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: end;
  padding-top: 42px;
}

.footer-brand p,
.footer-copy {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.48);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.84rem;
  line-height: 1.8;
}

.footer-legal a {
  color: inherit;
  text-decoration: none;
}

.footer-legal a + a::before {
  content: "/";
  margin: 0 10px;
  color: rgba(255, 255, 255, 0.28);
}

.footer-copy {
  grid-column: 2;
  justify-self: end;
}

.page-hero {
  padding: 82px 0 54px;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(2.6rem, 4.2vw, 4.7rem);
}

.page-content {
  max-width: 820px;
  padding: 64px 0 88px;
}

.page-content h2 {
  margin-top: 42px;
  font-size: clamp(1.8rem, 2.4vw, 2.6rem);
}

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

@media (max-width: 1080px) {
  .header-inner {
    grid-template-columns: 1fr;
    padding: 18px 0;
  }

  .primary-nav {
    justify-self: start;
    width: 100%;
  }

  .nav-list {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 14px 22px;
  }

  .nav-list > li > a {
    min-height: 42px;
  }

  .mega-menu,
  .mega-wide {
    left: 0;
    grid-template-columns: 1fr;
    width: min(720px, calc(100vw - 48px));
    transform: translate(0, 12px);
  }

  .has-mega:hover .mega-menu,
  .has-mega:focus-within .mega-menu {
    transform: translate(0, 0);
  }

  .header-actions {
    justify-content: flex-start;
  }

  .trust-grid,
  .tld-grid,
  .service-list,
  .namespace-list,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split,
  .feature-row,
  .faq-layout,
  .requirement-grid,
  .dashboard-showcase {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .wrap {
    width: min(100% - 30px, var(--max));
  }

  .hero {
    padding-top: 86px;
  }

  .header-actions {
    flex-wrap: wrap;
  }

  .domain-search {
    grid-template-columns: 1fr 48px 48px;
    border-radius: 14px;
  }

  .domain-search input,
  .domain-search .icon-action {
    min-height: 48px;
    height: 48px;
  }

  .trust-grid,
  .tld-grid,
  .service-list,
  .idea-panel,
  .dashboard-stats,
  .check-panel,
  .namespace-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cta-panel,
  .footer-bottom {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .footer-copy {
    grid-column: auto;
    justify-self: start;
  }

  .dashboard-showcase,
  .cta-panel {
    padding: 22px;
  }
}
