:root {
  --bg: #ffffff;
  --bg-elev: #ffffff;
  --bg-soft: #f4f6fa;
  --bg-band: #1e4ed8;
  --line: #e5e7eb;
  --text: #111827;
  --muted: #6b7280;
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-soft: #eff4ff;
  --ok: #16a34a;
  --warn: #ca8a04;
  --danger: #dc2626;
  --radius: 10px;
  --shadow: 0 8px 24px rgba(17, 24, 39, 0.08);
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
  --container: 1120px;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--primary-hover);
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}

.brand:hover {
  color: inherit;
}

.brand-mark {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  line-height: 1.1;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
  color: #111827;
}

.brand-x {
  color: var(--primary);
}

.brand-tag {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.brand-footer {
  margin-bottom: 0.85rem;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.site-nav a {
  color: #374151;
  font-weight: 500;
  font-size: 0.92rem;
}

.site-nav a:hover {
  color: var(--primary);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--text);
  border-radius: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 8px;
  padding: 0.75rem 1.15rem;
  font-weight: 600;
  font-family: var(--font-body);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  text-decoration: none;
  font-size: 0.94rem;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-hover);
  color: #fff;
}

.btn-secondary {
  background: #fff;
  border-color: #111827;
  color: #111827;
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-ghost {
  background: #fff;
  border-color: var(--line);
  color: var(--text);
}

.btn-ghost:hover,
a.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.site-nav .btn-ghost {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.site-nav .btn-ghost:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  color: #fff;
}

.btn-sm {
  padding: 0.48rem 0.95rem;
  font-size: 0.86rem;
}

.btn-block {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 55%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.hero-wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 85% 10%, rgba(37, 99, 235, 0.1), transparent 55%),
    radial-gradient(ellipse 40% 35% at 5% 90%, rgba(37, 99, 235, 0.06), transparent 60%);
  animation: washPulse 12s ease-in-out infinite;
}

.hero-lines {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 5px,
    rgba(37, 99, 235, 0.03) 5px,
    rgba(37, 99, 235, 0.03) 6px
  );
  animation: linesShift 18s linear infinite;
}

@keyframes washPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

@keyframes linesShift {
  from { transform: translateY(0); }
  to { transform: translateY(8px); }
}

.hero-inner {
  position: relative;
  display: grid;
  gap: 1.15rem;
  padding: clamp(2.5rem, 8vw, 4.5rem) 0 clamp(3rem, 8vw, 5rem);
  text-align: left;
  justify-items: start;
  z-index: 1;
  max-width: 720px;
}

.hero-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.15rem;
}

.hero-mark {
  width: clamp(72px, 14vw, 104px);
  height: auto;
  flex-shrink: 0;
}

.hero-brand-text {
  display: grid;
  gap: 0.2rem;
}

.hero-brand-name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.85rem, 4.5vw, 2.65rem);
  letter-spacing: -0.03em;
  line-height: 1;
  color: #111827;
}

.hero-brand-tag {
  margin: 0;
  font-size: clamp(0.7rem, 1.4vw, 0.8rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.8vw, 2.45rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
  max-width: 20ch;
  font-weight: 700;
  color: #111827;
}

.hero-lead {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.6vw, 1.08rem);
  max-width: 34rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.25rem;
}

.section {
  padding: clamp(3rem, 7vw, 4.5rem) 0;
}

.section-head {
  text-align: left;
  max-width: 36rem;
  margin: 0 0 2rem;
}

.section-head h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  letter-spacing: -0.02em;
  color: #111827;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.feature-item {
  padding: 1.15rem 1.1rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.feature-item h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 0.98rem;
  color: #111827;
  font-weight: 600;
}

.feature-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.billing-toggle {
  display: inline-flex;
  padding: 3px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  margin: 0 0 1.75rem;
  gap: 2px;
}

.billing-toggle button {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-family: var(--font-body);
  font-weight: 600;
  cursor: pointer;
}

.billing-toggle button.is-active {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.toggle-center {
  display: flex;
  justify-content: flex-start;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.85rem;
  align-items: stretch;
}

.plan {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--plan-accent, var(--primary));
  border-radius: var(--radius);
  padding: 1.2rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  opacity: 0;
  transform: translateY(14px);
  transition: border-color 0.2s ease, opacity 0.45s ease, transform 0.45s ease, box-shadow 0.2s ease;
}

.plan.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.plan:hover {
  border-color: #c7d2fe;
  box-shadow: var(--shadow);
}

.plan.is-featured {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.plan-badge {
  position: absolute;
  top: -10px;
  left: 12px;
  background: var(--primary);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.22rem 0.55rem;
  border-radius: 4px;
  white-space: nowrap;
}

.plan-name {
  margin: 0.35rem 0 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: #111827;
}

.plan-tagline {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  min-height: 2.4em;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.plan-price .amount {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #111827;
}

.plan-price .cycle {
  color: var(--muted);
  font-size: 0.85rem;
}

.plan-specs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
  font-size: 0.86rem;
  color: #374151;
}

.plan-specs li {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  border-bottom: 1px dashed #e5e7eb;
  padding-bottom: 0.3rem;
}

.plan-specs span {
  color: var(--muted);
}

.plan-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: var(--muted);
  flex: 1;
}

.plan-features li::before {
  content: "✓";
  color: var(--ok);
  margin-right: 0.35rem;
  font-weight: 700;
}

.plan .btn {
  margin-top: auto;
}

/* Domains */
.domain-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  max-width: 640px;
  margin: 0 0 1.75rem;
  padding: 0.75rem;
  border-radius: var(--radius);
  border: 0;
  background: var(--bg-band);
}

.domain-search input {
  border: 0;
  background: #fff;
  color: var(--text);
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-family: var(--font-body);
  outline: none;
  min-width: 0;
  border-radius: 8px;
}

.domain-search input::placeholder {
  color: #9ca3af;
}

.domain-search .btn-primary {
  background: #3b82f6;
}

.domain-search .btn-primary:hover {
  background: #60a5fa;
  color: #fff;
}

.tld-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.tld-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.tld-table th,
.tld-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.tld-table th {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--bg-soft);
}

.tld-table tr:last-child td {
  border-bottom: 0;
}

.tld-ext {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: #111827;
}

.hot-pill {
  display: inline-block;
  margin-left: 0.4rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
  padding: 0.12rem 0.4rem;
  border-radius: 4px;
  vertical-align: middle;
}

/* Reviews */
.reviews-section {
  overflow: hidden;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.reviews-section .section-head {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.reviews-root {
  max-width: 720px;
  margin: 0 auto;
  min-height: 240px;
}

.reviews-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.65rem;
  align-items: center;
}

.review-nav {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.15s ease, border-color 0.15s ease;
  flex-shrink: 0;
}

.review-nav:hover:not(:disabled) {
  border-color: var(--primary);
  color: var(--primary);
}

.review-nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.reviews-slider {
  position: relative;
  overflow: hidden;
  min-height: 230px;
}

.reviews-track {
  position: relative;
  min-height: 220px;
}

.review-slide-card {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.3rem;
  opacity: 0;
  transition: transform 0.45s ease, opacity 0.45s ease;
  box-shadow: var(--shadow);
}

.review-slide-card.is-enter-next {
  opacity: 0;
  transform: translateX(40px);
}

.review-slide-card.is-enter-prev {
  opacity: 0;
  transform: translateX(-40px);
}

.review-slide-card.is-in {
  opacity: 1;
  transform: translateX(0);
  position: relative;
}

.review-slide-card.is-out-next {
  opacity: 0;
  transform: translateX(-40px);
  position: absolute;
}

.review-slide-card.is-out-prev {
  opacity: 0;
  transform: translateX(40px);
  position: absolute;
}

.review-top {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.65rem;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.85rem;
  background: var(--primary-soft);
  border: 1px solid #dbe4ff;
  color: var(--primary);
  flex-shrink: 0;
}

.review-name {
  margin: 0;
  font-weight: 600;
  font-size: 1rem;
  color: #111827;
}

.review-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.review-stars {
  color: #ca8a04;
  letter-spacing: 0.06em;
  font-size: 0.9rem;
  margin-bottom: 0.45rem;
}

.review-quote {
  margin: 0;
  color: #374151;
  font-size: 0.98rem;
  line-height: 1.55;
}

.review-plan {
  display: inline-block;
  margin-top: 0.9rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--primary);
  border: 1px solid #dbe4ff;
  background: var(--primary-soft);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-item.reveal,
.plan.reveal {
  opacity: 0;
}

.feature-item.is-visible,
.plan.is-visible {
  opacity: 1;
}

.cta-band {
  text-align: left;
  padding: clamp(2.5rem, 6vw, 3.5rem) 0;
}

.cta-band-inner {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  background: var(--bg-soft);
}

.cta-band h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  color: #111827;
}

.cta-band p {
  margin: 0 0 1.1rem;
  color: var(--muted);
  max-width: 36rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-start;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 3rem 0 1.5rem;
  margin-top: 0;
  background: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}

.footer-brand p,
.footer-meta {
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer h3 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1rem;
  color: #111827;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.site-footer a {
  color: #4b5563;
}

.site-footer a:hover {
  color: var(--primary);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.legal-page {
  padding: clamp(2.5rem, 6vw, 4rem) 0 4rem;
  background: #fff;
}

.legal-page article {
  max-width: 780px;
  margin: 0 auto;
}

.legal-page h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
  color: #111827;
}

.legal-meta {
  color: var(--muted);
  margin: 0 0 2rem;
  font-size: 0.92rem;
}

.legal-page h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 2rem 0 0.65rem;
  color: #111827;
}

.legal-page p,
.legal-page li {
  color: #374151;
}

.legal-page ul {
  padding-left: 1.2rem;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1100px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 800px) {
  .nav-toggle {
    display: inline-grid;
  }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 0.75rem 1rem 1rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid #f3f4f6;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .domain-search {
    grid-template-columns: 1fr;
  }

  .domain-search .btn {
    width: 100%;
  }

  .reviews-shell {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "slider slider"
      "prev next";
  }

  .reviews-slider {
    grid-area: slider;
  }

  .review-nav-prev {
    grid-area: prev;
    width: 100%;
  }

  .review-nav-next {
    grid-area: next;
    width: 100%;
  }
}

@media (max-width: 560px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: none;
  }

  .brand-tag {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-wash,
  .hero-lines,
  .plan,
  .reveal {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .review-slide-card {
    transition: none !important;
  }
}
