@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/manrope-400.ttf") format("truetype");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/manrope-500.ttf") format("truetype");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/manrope-600.ttf") format("truetype");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/manrope-700.ttf") format("truetype");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("fonts/manrope-800.ttf") format("truetype");
}

:root {
  --navy: #020814;
  --ink: #07111f;
  --slate: #5b687c;
  --line: #dce6f2;
  --surface: #ffffff;
  --surface-soft: #f5f8fc;
  --blue: #1268ff;
  --blue-deep: #0758dd;
  --blue-soft: #66aaff;
  --cyan: #73d8ff;
  --mint: #20b486;
  --shadow: 0 24px 70px rgba(6, 16, 31, 0.16);
  --soft-shadow: 0 16px 36px rgba(8, 22, 44, 0.07);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--surface-soft);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(2, 8, 20, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: #fff;
  line-height: 1;
  white-space: nowrap;
  flex: 0 0 auto;
}

.brand-logo {
  width: auto;
  height: 38px;
  max-width: 178px;
  display: block;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 27px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 760;
}

.nav-links a {
  padding: 9px 0;
  transition: color 160ms ease;
}

.nav-links a:hover {
  color: #fff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 850;
  font-size: 14px;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button:focus-visible,
.field:focus-visible,
.select:focus-visible {
  outline: 3px solid rgba(102, 170, 255, 0.5);
  outline-offset: 2px;
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, #1878ff, var(--blue-deep));
  box-shadow: 0 12px 32px rgba(18, 104, 255, 0.3);
}

.button-primary:hover {
  box-shadow: 0 16px 36px rgba(18, 104, 255, 0.38);
}

.button-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.055);
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hero {
  position: relative;
  min-height: 618px;
  color: #fff;
  overflow: hidden;
  background: var(--navy);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 8, 20, 0.98) 0%, rgba(2, 8, 20, 0.82) 37%, rgba(2, 8, 20, 0.24) 66%, rgba(2, 8, 20, 0.04) 100%),
    linear-gradient(180deg, rgba(2, 8, 20, 0.05), rgba(2, 8, 20, 0.55)),
    url("skyels-hero.png") right center / auto 100% no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(115, 216, 255, 0.55), transparent);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 86px;
  padding-bottom: 112px;
  max-width: 620px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--blue-soft);
  font-weight: 950;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1 {
  margin: 0;
  font-size: clamp(42px, 5.2vw, 70px);
  line-height: 1;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.accent {
  color: #2f86ff;
}

.hero-copy {
  margin: 24px 0 30px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 520px;
  font-size: 19px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.domain-box {
  position: relative;
  z-index: 3;
  margin: -66px auto 0;
  width: calc(100% - 40px);
  max-width: 960px;
  padding: 20px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, rgba(12, 20, 32, 0.97), rgba(31, 42, 58, 0.97));
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.domain-form {
  display: grid;
  grid-template-columns: 205px minmax(180px, 1fr) 112px 138px;
  gap: 12px;
  align-items: center;
}

.domain-title {
  font-size: 18px;
  font-weight: 930;
}

.field,
.select {
  width: 100%;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: #fff;
  color: #111827;
  padding: 0 14px;
  font-size: 14px;
}

.select {
  appearance: auto;
}

.tlds {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 36px;
  padding-top: 16px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

.tlds b {
  color: #66aaff;
}

[hidden] {
  display: none !important;
}

.domain-search-tools {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}

.domain-mode-toggle {
  border: 0;
  padding: 5px 0;
  color: #8dbbff;
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}

.domain-mode-toggle:hover {
  color: #fff;
}

.domain-multi {
  display: grid;
  grid-template-columns: 205px minmax(260px, 1fr) 156px;
  gap: 12px;
  align-items: center;
  margin-top: 14px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.domain-multi > div {
  display: grid;
  gap: 3px;
}

.domain-multi > div strong {
  font-size: 15px;
}

.domain-multi > div span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

.domain-multi textarea.field {
  min-height: 88px;
  height: 88px;
  padding: 11px 14px;
  line-height: 1.5;
  resize: vertical;
}

.domain-search-feedback:not(:empty) {
  margin-top: 14px;
  font-size: 13px;
  font-weight: 750;
}

.domain-search-feedback[data-state="loading"] {
  color: #b9d4ff;
}

.domain-search-feedback[data-state="success"] {
  color: #69dfb4;
}

.domain-search-feedback[data-state="error"] {
  color: #ff9ca7;
}

.domain-search-results {
  margin-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.domain-result {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 230px) 112px;
  gap: 16px;
  min-height: 82px;
  padding: 14px 0;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.domain-result-identity {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  min-width: 0;
}

.domain-result-identity > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.domain-result-identity strong {
  overflow-wrap: anywhere;
  font-size: 16px;
}

.domain-result-identity span,
.domain-result-price span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

.domain-result-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 900;
}

.domain-result-available .domain-result-icon {
  color: #52d6a5;
}

.domain-result-registered .domain-result-icon {
  color: #ff7f8d;
}

.domain-result-unknown .domain-result-icon {
  color: #ffcc66;
}

.domain-result-price {
  display: grid;
  gap: 3px;
  text-align: right;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.domain-result-price strong {
  color: #fff;
  font-size: 18px;
}

.domain-result-action .button {
  width: 100%;
  min-height: 40px;
  padding: 0 14px;
}

.domain-alternatives {
  margin-top: 20px;
}

.domain-alternatives > .domain-result-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 22px;
}

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

.domain-alternatives .domain-result-identity {
  grid-column: 1 / -1;
}

.domain-alternatives .domain-result-price {
  text-align: left;
}

.domain-alternative-loading {
  grid-column: 1 / -1;
  padding: 18px 0;
  color: #b9d4ff;
  font-size: 13px;
  font-weight: 750;
}

.domain-alternatives-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 0 0 8px;
}

.domain-alternatives-head strong {
  font-size: 15px;
}

.domain-alternatives-head span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

.domain-offers {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.domain-offers-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.domain-offers-head > div {
  display: grid;
  gap: 3px;
}

.domain-offers-head strong {
  font-size: 15px;
}

.domain-offers-head span,
.domain-offers p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

.domain-offers-head > span {
  flex: 0 0 auto;
  color: #9fc5ff;
  font-weight: 850;
}

.domain-offer-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 20px;
}

.domain-offer {
  min-width: 0;
  padding: 12px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  color: #fff;
}

.domain-offer-label,
.domain-offer small {
  grid-column: 1 / -1;
}

.domain-offer-label {
  color: #79b1ff;
  font-size: 12px;
  font-weight: 900;
}

.domain-offer strong {
  font-size: 18px;
}

.domain-offer s {
  align-self: center;
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
}

.domain-offer small {
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.4;
}

.domain-offers p {
  margin: 12px 0 0;
  line-height: 1.55;
}

.trust-row {
  background: #fff;
  border-bottom: 1px solid #e7edf6;
}

.trust-grid {
  min-height: 118px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  align-items: center;
}

.trust-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: center;
}

.icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: #eaf2ff;
}

.icon svg {
  width: 23px;
  height: 23px;
  stroke-width: 2.2;
}

.trust-item strong {
  display: block;
  font-size: 14px;
  margin-bottom: 3px;
}

.trust-item span {
  color: var(--slate);
  font-size: 13px;
}

section {
  padding: 76px 0;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 34px;
}

.section-head h2,
.split h2 {
  margin: 0;
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1.12;
  letter-spacing: 0;
}

.section-head p,
.split p {
  color: var(--slate);
  line-height: 1.7;
  font-size: 16px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.card,
.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.card {
  padding: 25px;
  min-height: 252px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(18, 104, 255, 0.32);
  box-shadow: 0 20px 44px rgba(8, 22, 44, 0.1);
}

.card h3 {
  margin: 20px 0 8px;
  font-size: 20px;
}

.card p {
  margin: 0 0 20px;
  color: var(--slate);
  line-height: 1.58;
}

.learn {
  color: var(--blue);
  font-weight: 900;
}

.learn::after {
  content: " ->";
}

.split-band {
  background: linear-gradient(180deg, #eef5ff, #f8fbff);
}

.split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: center;
}

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

.feature {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  align-items: start;
  min-width: 0;
}

.feature h3 {
  margin: 0 0 6px;
  font-size: 17px;
}

.feature p {
  margin: 0;
  color: var(--slate);
  line-height: 1.55;
  font-size: 14px;
}

.pricing {
  background: #fff;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

.price-card {
  padding: 30px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border-color: var(--blue);
  box-shadow: 0 22px 44px rgba(18, 104, 255, 0.14);
}

.badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 7px 14px;
  border-radius: 999px;
  color: #fff;
  background: var(--blue);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.price-card h3 {
  margin: 0;
  font-size: 22px;
}

.price-card .sub {
  color: var(--slate);
  min-height: 44px;
}

.price {
  margin: 22px 0;
  font-size: clamp(34px, 3.4vw, 42px);
  font-weight: 950;
  line-height: 1.05;
}

.price small {
  font-size: 15px;
  color: var(--slate);
  font-weight: 700;
}

.list {
  display: grid;
  gap: 12px;
  margin: 0 0 28px;
  padding: 0;
  color: #27354a;
  list-style: none;
}

.list li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
}

.list li::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: 9px;
  border-radius: 999px;
  background: var(--mint);
  flex: 0 0 auto;
}

.price-card .button {
  width: 100%;
  margin-top: auto;
}

.cta-band {
  color: #fff;
  background: linear-gradient(135deg, #06101f, #020814 60%, #07245d);
}

.cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.cta h2 {
  margin: 0 0 10px;
  font-size: clamp(30px, 3vw, 36px);
}

.cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.65;
}

.footer {
  color: rgba(255, 255, 255, 0.78);
  background: #020814;
  padding: 48px 0 28px;
}

.footer .brand-logo {
  height: 32px;
  max-width: 150px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 34px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer h3 {
  color: #fff;
  font-size: 15px;
  margin: 0 0 14px;
}

.footer p,
.footer a {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  font-size: 14px;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
}

@media (max-width: 1100px) {
  .nav-links {
    gap: 18px;
  }

  .cards,
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .domain-form,
  .pricing-grid,
  .split,
  .footer-grid,
  .cta {
    grid-template-columns: 1fr;
  }

  .domain-form .button {
    width: 100%;
  }

  .domain-multi {
    grid-template-columns: 1fr;
  }

  .domain-multi .button {
    width: 100%;
  }

  .trust-grid {
    padding: 28px 0;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .domain-offer-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .container {
    padding: 0 14px;
  }

  .nav {
    min-height: 66px;
    padding-top: 12px;
    padding-bottom: 12px;
    gap: 14px;
  }

  .brand {
    max-width: 156px;
  }

  .brand-logo {
    height: 32px;
    max-width: 156px;
  }

  .nav-actions .button-ghost {
    display: none;
  }

  .nav-actions .button-primary {
    min-height: 40px;
    padding: 0 13px;
    font-size: 13px;
  }

  .hero {
    min-height: 642px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(2, 8, 20, 0.98) 0%, rgba(2, 8, 20, 0.82) 45%, rgba(2, 8, 20, 0.36) 100%),
      url("skyels-hero.png") center bottom / cover no-repeat;
  }

  .hero-content {
    padding-top: 54px;
    padding-bottom: 112px;
  }

  h1 {
    font-size: clamp(35px, 9vw, 42px);
    line-height: 1.04;
  }

  .hero h1 .accent {
    display: block;
  }

  .hero-copy {
    font-size: 16px;
    line-height: 1.6;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .button {
    width: 100%;
  }

  .domain-box {
    margin-top: -58px;
    width: calc(100% - 28px);
    padding: 16px;
  }

  .domain-title {
    font-size: 16px;
  }

  .tlds {
    justify-content: flex-start;
    gap: 12px 18px;
  }

  .domain-offers-head {
    display: grid;
  }

  .domain-offer-list {
    grid-template-columns: 1fr;
  }

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

  .domain-result-identity {
    grid-column: 1 / -1;
  }

  .domain-result-price {
    text-align: left;
  }

  .domain-alternatives > .domain-result-list {
    grid-template-columns: 1fr;
  }

  .trust-grid,
  .cards {
    grid-template-columns: 1fr;
  }

  section {
    padding: 56px 0;
  }

  .card,
  .price-card {
    padding: 22px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .hero-content {
    max-width: 362px;
    margin-left: 0;
    margin-right: auto;
  }

  .domain-box {
    width: auto;
    max-width: 362px;
    margin-left: 14px;
    margin-right: auto;
  }

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

  .domain-result-action .button {
    width: 100%;
  }

  .domain-alternatives-head {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button,
  .card {
    transition: none;
  }

  .button:hover,
  .card:hover {
    transform: none;
  }
}

/* Hero composition: content stays on the container's left edge. */
.hero {
  min-height: 580px;
  padding: 0;
}

.hero-content {
  width: 100%;
  max-width: 1180px;
  padding-top: 56px;
  padding-bottom: 108px;
}

.hero-content > .eyebrow,
.hero-content > h1,
.hero-content > .hero-copy,
.hero-content > .hero-actions {
  max-width: 680px;
}

.hero-content > .eyebrow {
  width: fit-content;
  margin-bottom: 16px;
  padding: 7px 10px;
  border: 1px solid rgba(102, 170, 255, 0.25);
  border-radius: 999px;
  background: rgba(18, 104, 255, 0.08);
  line-height: 1;
}

.hero h1 {
  max-width: 680px;
  font-size: clamp(44px, 4vw, 54px);
  line-height: 1.04;
}

.hero-copy {
  max-width: 510px;
  margin: 22px 0 28px;
  font-size: 17px;
  line-height: 1.62;
}

.hero-content > .hero-copy {
  max-width: 510px;
}

.hero-actions .button-primary::after {
  content: "→";
  font-size: 17px;
}

html[data-theme="light"] .hero-content > .eyebrow {
  border-color: #c8dcf7;
  background: rgba(18, 104, 255, 0.06);
}

@media (max-width: 980px) {
  .hero-content {
    max-width: 100%;
  }

  .hero-content > .eyebrow,
  .hero-content > h1,
  .hero-content > .hero-copy,
  .hero-content > .hero-actions {
    max-width: 560px;
  }
}

@media (max-width: 680px) {
  .hero {
    min-height: 642px;
  }

  .hero-content {
    padding-top: 52px;
    padding-bottom: 112px;
  }

  .hero h1 {
    font-size: clamp(35px, 9vw, 42px);
    line-height: 1.04;
  }

  .hero-copy {
    font-size: 16px;
  }
}

@media (max-width: 520px) {
  .hero-content {
    width: auto;
    max-width: 362px;
    margin-left: 0;
    margin-right: auto;
  }
}

/* Header alignment and three-mode appearance control */
html[data-theme="standard"],
html[data-theme="light"] {
  color-scheme: light;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f4f8ff;
  --slate: #9caec6;
  --line: #1a3150;
  --surface: #081425;
  --surface-soft: #030a15;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  --soft-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
}

body,
.topbar,
.hero,
.trust-row,
.card,
.price-card,
.split-band,
.pricing,
.cta-band,
.footer,
.domain-box {
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.nav {
  min-height: 74px;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) 220px;
  gap: 22px;
}

.brand-logo {
  height: 30px;
  max-width: 158px;
}

.nav-links {
  justify-content: center;
}

.nav-actions {
  justify-content: flex-end;
}

.theme-picker {
  position: relative;
  flex: 0 0 auto;
}

.theme-trigger {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.055);
  cursor: pointer;
}

.theme-trigger span {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  font-size: 18px;
  line-height: 1;
}

.theme-trigger:hover {
  background: rgba(255, 255, 255, 0.1);
}

.theme-trigger:focus-visible,
.theme-menu button:focus-visible {
  outline: 3px solid rgba(102, 170, 255, 0.5);
  outline-offset: 2px;
}

.theme-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 184px;
  padding: 6px;
  border: 1px solid #23364f;
  border-radius: 8px;
  color: #eaf2ff;
  background: #0a1424;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.32);
}

.theme-menu button {
  width: 100%;
  min-height: 40px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 9px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  color: inherit;
  background: transparent;
  text-align: left;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}

.theme-menu button:hover,
.theme-menu button[aria-checked="true"] {
  color: #fff;
  background: #142641;
}

.theme-menu button[aria-checked="true"]::after {
  content: "✓";
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  color: #66aaff;
}

/* Light mode */
html[data-theme="light"] body {
  background: #ffffff;
}

html[data-theme="light"] .topbar {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: #e3ebf5;
  box-shadow: 0 8px 28px rgba(16, 41, 77, 0.08);
}

html[data-theme="light"] .nav-links {
  color: #34435a;
}

html[data-theme="light"] .nav-links a:hover {
  color: var(--blue);
}

html[data-theme="light"] .theme-trigger,
html[data-theme="light"] .topbar .button-ghost {
  color: #12223a;
  border-color: #cfdaea;
  background: #f8fbff;
}

html[data-theme="light"] .theme-trigger:hover,
html[data-theme="light"] .topbar .button-ghost:hover {
  background: #edf4ff;
}

html[data-theme="light"] .theme-menu {
  color: #26364d;
  border-color: #d9e4f1;
  background: #fff;
  box-shadow: 0 18px 48px rgba(15, 40, 76, 0.16);
}

html[data-theme="light"] .theme-menu button:hover,
html[data-theme="light"] .theme-menu button[aria-checked="true"] {
  color: #07111f;
  background: #edf4ff;
}

html[data-theme="light"] .hero {
  color: #07111f;
  background: #f8fbff;
}

html[data-theme="light"] .hero::before {
  background:
    linear-gradient(90deg, #f8fbff 0%, rgba(248, 251, 255, 0.98) 39%, rgba(248, 251, 255, 0.74) 62%, rgba(248, 251, 255, 0.34) 100%),
    url("skyels-hero.png") right center / auto 100% no-repeat;
  filter: saturate(0.76) brightness(1.2);
}

html[data-theme="light"] .hero-copy {
  color: #53647a;
}

html[data-theme="light"] .hero .button-ghost {
  color: #10213a;
  border-color: #cbd8e8;
  background: rgba(255, 255, 255, 0.78);
}

html[data-theme="light"] .domain-box {
  color: #07111f;
  background: rgba(255, 255, 255, 0.97);
  border-color: #d9e4f0;
  box-shadow: 0 24px 65px rgba(25, 58, 102, 0.15);
}

html[data-theme="light"] .domain-box .field,
html[data-theme="light"] .domain-box .select {
  border-color: #cfdbea;
  background: #fff;
}

html[data-theme="light"] .tlds,
html[data-theme="light"] .domain-multi > div span,
html[data-theme="light"] .domain-result-identity span,
html[data-theme="light"] .domain-result-price,
html[data-theme="light"] .domain-result-price span,
html[data-theme="light"] .domain-alternatives-head span,
html[data-theme="light"] .domain-offers-head span,
html[data-theme="light"] .domain-offers p,
html[data-theme="light"] .domain-offer small {
  color: #66768b;
}

html[data-theme="light"] .domain-result-price strong,
html[data-theme="light"] .domain-offer {
  color: #07111f;
}

html[data-theme="light"] .domain-mode-toggle {
  color: #0758dd;
}

html[data-theme="light"] .domain-mode-toggle:hover {
  color: #003f9e;
}

html[data-theme="light"] .domain-multi,
html[data-theme="light"] .domain-search-results,
html[data-theme="light"] .domain-offers {
  border-top-color: #dce6f2;
}

html[data-theme="light"] .domain-result,
html[data-theme="light"] .domain-offer {
  border-bottom-color: #e3ebf4;
}

html[data-theme="light"] .trust-row,
html[data-theme="light"] .pricing,
html[data-theme="light"] .footer {
  background: #fff;
}

html[data-theme="light"] .split-band {
  background: #f2f7fd;
}

html[data-theme="light"] .cta-band {
  color: #07111f;
  background: #eaf3ff;
  border-top: 1px solid #d8e6f7;
}

html[data-theme="light"] .cta p {
  color: #5c6c82;
}

html[data-theme="light"] .footer {
  color: #43536a;
  border-top: 1px solid #dfe8f3;
}

html[data-theme="light"] .footer-grid {
  border-bottom-color: #dfe8f3;
}

html[data-theme="light"] .footer h3 {
  color: #07111f;
}

html[data-theme="light"] .footer p,
html[data-theme="light"] .footer a,
html[data-theme="light"] .footer-bottom {
  color: #5c6c82;
}

/* Dark mode */
html[data-theme="dark"] body {
  background: #030a15;
}

html[data-theme="dark"] .topbar {
  background: rgba(2, 8, 20, 0.95);
}

html[data-theme="dark"] .trust-row,
html[data-theme="dark"] .pricing {
  background: #050d1a;
  border-color: #172943;
}

html[data-theme="dark"] .split-band {
  background: #071326;
}

html[data-theme="dark"] .card,
html[data-theme="dark"] .price-card {
  background: #091629;
  border-color: #1c3455;
}

html[data-theme="dark"] .card:hover {
  border-color: #397fe8;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.3);
}

html[data-theme="dark"] .list {
  color: #c5d2e3;
}

html[data-theme="dark"] .icon {
  color: #69a8ff;
  background: #10294e;
}

html[data-theme="dark"] .price-card .button-ghost {
  color: #8abaff !important;
  border-color: #31527b !important;
  background: #0c1c32;
}

html[data-theme="dark"] .cta-band {
  background: #071326;
  border-top: 1px solid #183252;
  border-bottom: 1px solid #183252;
}

html[data-theme="dark"] .footer {
  background: #020713;
}

@media (max-width: 1100px) {
  .nav {
    grid-template-columns: 165px minmax(0, 1fr) 210px;
    gap: 15px;
  }

  .nav-links {
    gap: 16px;
    font-size: 13px;
  }
}

@media (max-width: 980px) {
  .nav {
    display: flex;
  }

  .nav-actions {
    margin-left: auto;
  }
}

@media (max-width: 680px) {
  .brand-logo {
    height: 28px;
    max-width: 146px;
  }

  .theme-trigger {
    width: 40px;
    height: 40px;
  }

  .theme-menu {
    right: -54px;
  }

  html[data-theme="light"] .hero::before {
    background:
      linear-gradient(180deg, #f8fbff 0%, rgba(248, 251, 255, 0.96) 49%, rgba(248, 251, 255, 0.55) 100%),
      url("skyels-hero.png") center bottom / cover no-repeat;
  }
}

@media (max-width: 390px) {
  .nav {
    gap: 9px;
  }

  .brand-logo {
    height: 25px;
    max-width: 128px;
  }

  .nav-actions {
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body,
  .topbar,
  .hero,
  .trust-row,
  .card,
  .price-card,
  .split-band,
  .pricing,
  .cta-band,
  .footer,
  .domain-box {
    transition: none;
  }
}
