:root {
  --navy: #0b1f33;
  --navy-2: #16324f;
  --blue: #1f5f99;
  --blue-dark: #174a78;
  --gold: #b68a3a;
  --ink: #172433;
  --muted: #647181;
  --line: #dce2e8;
  --paper: #ffffff;
  --wash: #f4f6f8;
  --soft-blue: #eaf1f7;
  --sale-ribbon-total: 45px;
  --shadow: 0 14px 40px rgba(11, 31, 51, 0.09);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.bg-glow {
  display: none;
}

.fire-sale-ribbon {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  color: #fff;
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.fire-sale-ribbon-inner {
  width: min(1180px, 92%);
  margin: auto;
}

.fire-sale-ribbon-main {
  min-height: 45px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.fire-sale-tagline {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
}

.fire-sale-label {
  padding-right: 14px;
  color: #bdcad6;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fire-sale-headline {
  font-size: 0.9rem;
  font-weight: 500;
}

.fire-sale-headline strong {
  color: #fff;
  font-weight: 700;
}

.ribbon-link {
  flex: none;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
}

.ribbon-link span {
  margin-left: 5px;
}

.fire-marquee,
.fire-countdown,
.fire-pulse {
  display: none;
}

.top-nav {
  position: sticky;
  top: var(--sale-ribbon-total);
  z-index: 40;
  width: 100%;
  min-height: 72px;
  padding: 0 max(4%, calc((100% - 1180px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: rgba(255, 255, 255, 0.96);
  border: 0;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--navy);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--navy);
  font-family: "Newsreader", serif;
  font-weight: 600;
}

nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
  color: #4b5867;
  font-size: 0.9rem;
  font-weight: 600;
}

nav a {
  transition: color 160ms ease;
}

nav a:hover {
  color: var(--blue);
}

.header-actions {
  display: flex;
  align-items: center;
}

.theme-toggle {
  display: none;
}

.btn {
  min-height: 44px;
  padding: 10px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  background: var(--navy);
  border: 1px solid var(--navy);
  border-radius: 3px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.btn:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-1px);
}

.btn-sale {
  background: var(--blue);
  border-color: var(--blue);
}

.btn-small {
  min-height: 38px;
  padding: 8px 14px;
  font-size: 0.84rem;
}

.btn-ghost {
  color: var(--navy);
  background: transparent;
  border-color: #aeb8c2;
}

.btn-ghost:hover {
  color: var(--blue);
  background: var(--soft-blue);
  border-color: var(--blue);
}

main {
  width: 100%;
}

.hero {
  min-height: 660px;
  padding: 80px max(4%, calc((100% - 1180px) / 2));
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: 76px;
  background: linear-gradient(90deg, #fff 0%, #fff 54%, var(--wash) 54%, var(--wash) 100%);
  border-bottom: 1px solid var(--line);
}

h1,
h2 {
  color: var(--navy);
  font-family: "Newsreader", Georgia, serif;
  font-weight: 600;
}

h1 {
  max-width: 720px;
  margin: 0 0 22px;
  font-size: clamp(3rem, 5.3vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.grad-text {
  display: block;
  color: var(--blue);
}

.hero-sub {
  max-width: 630px;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.price-callout,
.price-callout-inline {
  color: var(--navy);
  font-weight: 700;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.metrics {
  margin-top: 44px;
  padding-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  border-top: 1px solid var(--line);
}

.metrics div {
  display: flex;
  flex-direction: column;
}

.metrics strong {
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 700;
}

.metrics span {
  color: var(--muted);
  font-size: 0.78rem;
}

.hero-art {
  position: relative;
  min-height: 480px;
}

.sketch-card {
  position: absolute;
  width: min(92%, 470px);
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.sketch-card:first-child {
  top: 0;
  left: 0;
}

.sketch-card:last-child {
  right: 0;
  bottom: 0;
}

.sketch-card p {
  margin: 12px 0 0;
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 600;
}

.sketch-svg {
  width: 100%;
  height: 185px;
  background: var(--wash);
}

.sketch-svg path,
.sketch-svg rect {
  fill: none;
  stroke: #8291a1;
  stroke-width: 1.5;
}

.sale-badge {
  position: absolute;
  top: 30px;
  right: 30px;
  z-index: 2;
  padding: 5px 9px;
  color: #fff;
  background: var(--navy);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.inline-price {
  margin-left: auto;
  color: var(--blue);
  font-weight: 700;
  white-space: nowrap;
}

.domains,
.why {
  padding: 90px max(4%, calc((100% - 1180px) / 2));
}

.domains {
  background: #fff;
}

.section-head {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-head h2,
.contact h2 {
  margin: 0;
  font-size: clamp(2.4rem, 4vw, 3.7rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.section-head .grad-text {
  display: inline;
}

.section-sub {
  max-width: 670px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.eyebrow {
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.domain-category-filters {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.category-chip {
  padding: 9px 15px;
  color: #4a5867;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
}

.category-chip:hover,
.category-chip.is-active {
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
}

.domain-groups {
  display: grid;
  gap: 64px;
}

.group-card {
  background: transparent;
  border: 0;
}

.group-title {
  margin-bottom: 18px;
  padding-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 11px;
  border-bottom: 1px solid var(--line);
}

.group-title h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 700;
}

.group-icon {
  width: 28px;
  height: 28px;
  padding: 5px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  background: var(--soft-blue);
}

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

.domain-card {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 6px 22px rgba(11, 31, 51, 0.05);
  transition: border-color 170ms ease, box-shadow 170ms ease, transform 170ms ease;
}

.domain-card:hover {
  border-color: #a7b5c2;
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.domain-card.is-booked {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px rgba(31, 95, 153, 0.12);
}

.domain-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--navy);
  border-bottom: 1px solid var(--line);
}

.domain-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.domain-thumb-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 12px 16px;
  text-align: center;
  color: #fff;
  font-size: clamp(1.2rem, 1.80vw, 1.48rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

.domain-body {
  flex: 1;
  padding: 18px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 14px 10px;
}

.domain-name {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--navy);
  font-size: 1.03rem;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.domain-body .btn {
  min-height: 40px;
  padding: 9px 12px;
  font-size: 0.8rem;
}

.domain-body .btn-ghost {
  margin: 0 !important;
}

.domain-price-ribbon {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
}

.domain-price-ribbon-text {
  display: block;
  padding: 6px 9px;
  color: #fff;
  background: rgba(11, 31, 51, 0.94);
  font-size: 0;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.domain-price-ribbon-text::after {
  content: "AU$1,499";
  font-size: 0.7rem;
}

.why {
  background: var(--wash);
  border-top: 1px solid var(--line);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 34px 0 28px;
  background: var(--line);
  border: 1px solid var(--line);
}

.why-item {
  min-height: 230px;
  padding: 28px;
  background: #fff;
}

.process-number {
  color: var(--gold);
  font-family: "Newsreader", serif;
  font-size: 1.35rem;
}

.why-item h3,
.why-detail-card h3 {
  margin: 34px 0 8px;
  color: var(--navy);
  font-size: 1.02rem;
}

.why-item p,
.why-detail-card p,
.why-detail-card li {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.why-detail-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
}

.why-detail-card {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
}

.why-detail-card h3 {
  margin-top: 0;
}

.why-detail-card ul {
  padding-left: 20px;
}

.why-detail-card a {
  color: var(--blue);
  text-decoration: underline;
}

.why-table-wrap {
  overflow-x: auto;
}

.why-summary-table {
  width: 100%;
  min-width: 420px;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.why-summary-table th,
.why-summary-table td {
  padding: 10px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.why-summary-table th {
  color: var(--navy);
  background: var(--wash);
  font-weight: 700;
}

.why-full-disclaimer {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.contact {
  padding: 82px max(4%, calc((100% - 900px) / 2)) 34px;
  color: #fff;
  background: var(--navy);
  scroll-margin-top: 110px;
}

.contact > h2 {
  color: #fff;
  text-align: center;
}

.contact > p {
  max-width: 620px;
  margin: 15px auto 30px;
  color: #b9c5d0;
  text-align: center;
}

.contact-form {
  padding: 28px;
  color: var(--ink);
  background: #fff;
  border: 0;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.contact-form label,
.selected-domains-ms {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea,
.selected-domains-ms-trigger {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cbd3db;
  border-radius: 2px;
  outline: 0;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus,
.selected-domains-ms-trigger:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(31, 95, 153, 0.12);
}

.contact-form textarea {
  resize: vertical;
}

.selected-domains-row {
  margin-bottom: 16px;
}

.selected-domains-ms-wrap {
  position: relative;
}

.selected-domains-ms-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.selected-domains-ms-chevron {
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
}

.selected-domains-ms-panel {
  position: absolute;
  inset: calc(100% + 4px) 0 auto;
  z-index: 20;
  max-height: 250px;
  overflow: auto;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.selected-domains-ms-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.selected-domains-ms-option {
  padding: 8px;
  display: flex;
  flex-direction: row !important;
  align-items: center;
}

.selected-domains-ms-option input {
  width: 18px;
  min-height: 18px;
}

.selected-domains-ms-empty {
  margin: 8px;
  color: var(--muted);
  font-size: 0.82rem;
}

.selected-domains-ms-panel.has-items .selected-domains-ms-empty {
  display: none;
}

.consent-checkbox {
  margin: 15px 0;
  flex-direction: row !important;
  align-items: flex-start;
}

.consent-checkbox input {
  width: 18px;
  min-height: 18px;
  margin-top: 3px;
}

.consent-checkbox a {
  color: var(--blue);
  text-decoration: underline;
}

.req-star {
  color: #a43a35;
}

.my-2 {
  margin: 16px 0;
}

.contact-email,
.footer-meta {
  display: block;
  color: #b9c5d0;
  text-align: center;
}

.contact-email {
  margin-top: 28px;
  font-weight: 600;
}

.footer-meta {
  margin-top: 14px;
  font-size: 0.76rem;
}

body.modal-open {
  overflow: hidden;
}

.domain-modal-backdrop,
.enquiry-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  padding: 20px;
  display: grid;
  place-items: center;
  background: rgba(6, 18, 31, 0.72);
}

.domain-modal-backdrop[hidden],
.enquiry-modal-backdrop[hidden] {
  display: none;
}

.domain-modal,
.enquiry-modal {
  width: min(540px, 100%);
  padding: 28px;
  background: #fff;
  border: 0;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.domain-modal h3,
.enquiry-modal h3 {
  margin: 0;
  color: var(--navy);
}

.domain-modal-subtitle,
.enquiry-modal p {
  color: var(--muted);
}

.domain-modal-actions,
.enquiry-modal-actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

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

  .hero {
    grid-template-columns: 1fr;
    background: #fff;
  }

  .hero-art {
    width: min(620px, 100%);
  }

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

  .why-detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  :root {
    --sale-ribbon-total: 62px;
  }

  .fire-sale-ribbon-main {
    min-height: 62px;
  }

  .fire-sale-label,
  .ribbon-link {
    display: none;
  }

  .top-nav {
    min-height: 64px;
  }

  .brand > span:last-child {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 58px;
    gap: 48px;
  }

  h1 {
    font-size: clamp(2.7rem, 13vw, 4rem);
  }

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

  .hero-art {
    min-height: 370px;
  }

  .sketch-card {
    width: 94%;
  }

  .sketch-svg {
    height: 145px;
  }

  .domains,
  .why {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .domain-grid,
  .why-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

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

  .domain-name {
    grid-column: auto;
  }

  .why-grid {
    gap: 1px;
  }

  .contact-form {
    padding: 20px;
  }
}

/* Privacy & terms */
body.legal-doc {
  background: var(--wash);
}

.legal-main {
  width: min(760px, 92%);
  margin: 0 auto;
  padding: 48px 0 72px;
}

.legal-hero {
  padding: 0;
  min-height: 0;
  display: block;
  background: transparent;
  border: none;
}

.legal-copy h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 8px;
}

.legal-copy h3 {
  margin: 2rem 0 0.75rem;
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
}

.legal-copy p,
.legal-copy li {
  color: var(--ink);
  font-size: 0.98rem;
}

.legal-copy a:not(.btn) {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-copy .eyebrow {
  margin: 0 0 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}

.legal-copy .hero-sub {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.legal-copy .btn {
  margin-top: 8px;
}
