:root{
  --bg: #f6f7fb;
  --text: rgba(18, 24, 38, 0.92);
  --muted: rgba(18, 24, 38, 0.62);
  --line: rgba(18, 24, 38, 0.10);
  --shadow: 0 18px 55px rgba(15, 23, 42, 0.10);
  --radius: 18px;
  --max: 1160px;
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  --serif: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
}

*{ box-sizing:border-box; }
html{
  height: 100%;
  background-color: var(--bg);

  /* Paint the gradient on the document itself */
  background-image:
    radial-gradient(1200px 700px at 10% 5%, rgba(37,99,235,0.12), transparent 55%),
    radial-gradient(900px 600px at 90% 15%, rgba(245,158,11,0.10), transparent 55%),
    radial-gradient(900px 600px at 50% 95%, rgba(148,163,184,0.08), transparent 60%);
  background-repeat: no-repeat;
  background-attachment: fixed; /* makes it feel continuous while scrolling */
  background-size: cover;
}

body{
  min-height: 100%;
  margin: 0;
  font-family: var(--font);
  color: var(--text);

  /* Important: don't repaint another background on body */
  background: transparent;
}


a{ color:inherit; text-decoration:none; }

.container{
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

/* Top nav */
.nav{
  position: sticky;
  top:0;
  z-index:20;
  backdrop-filter: blur(14px);
  background: rgba(246,247,251,0.72);
  border-bottom: 1px solid var(--line);
}

.nav-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 0;
}

.brand{
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo{
  height: clamp(72px, 10vw, 144px);
  width: auto;
  display: block;
  object-fit: contain;
}

.brand .tag{
  font-size: 12px;
  color: var(--muted);
}

.nav-links{
  display:flex;
  gap:14px;
  align-items:center;
}

.pill{
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.70);
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease;
}
.pill:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,0.95);
  border-color: rgba(18,24,38,0.16);
}

/* Headings */
.hero{
  padding: 46px 0 16px;
}
.h-title{
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.06;
  margin: 0 0 10px;
}
.h-sub{
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  max-width: 100ch;
}

/* Search control */
.controls{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  margin-top: 10px;
}
.control{
  flex: 1 1 260px;
  padding: 12px 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.80);
  border-radius: 14px;
}
.control input{
  width:100%;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 14px;
  outline: none;
}

.section{
  padding: 18px 0 64px;
}

/* Grid: 4 per row desktop */
.grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 1100px){
  .grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px){
  .grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px){
  .grid{ grid-template-columns: 1fr; }
}

/* Tile: 4-stack like screenshot */
.tile-link{
  display:block;
  border-radius: 20px;
  overflow:hidden;
  background: transparent;
  transition: transform 140ms ease;
}
.tile-link:hover{
  transform: translateY(-2px);
}

.tile-domain{
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: rgba(18,24,38,0.95);
  display: block;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
}

.tile-link.tile-text{
  padding: 22px 20px;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(18,24,38,0.10);
  border-radius: 18px;

  display:flex;
  flex-direction:column;
  align-items:flex-start;   /* IMPORTANT */
  gap: 6px;

  transition:
    transform 140ms ease,
    box-shadow 140ms ease,
    border-color 140ms ease,
    background 140ms ease;
}

.tile-link.tile-text:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,0.92);
  box-shadow: 0 16px 40px rgba(15,23,42,0.12);
  border-color: rgba(18,24,38,0.16);
}

.tile-price{
  font-size: 16px;
  font-weight: 600;
  color: rgba(18,24,38,0.75);
}

.tile-price.make-offer{
  font-weight: 500;
  color: rgba(18,24,38,0.55);
}

.tile-subline{
  font-size: 13px;
  font-weight: 500;
  color: rgba(18,24,38,0.52);
  margin-top: 2px;
}

.tile-tld{
  font-size: 12px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 999px;

  background: rgba(18,24,38,0.06);
  color: rgba(18,24,38,0.55);
}


/* Card block (used on contact page too) */
.hero-card{
  border: 1px solid rgba(18,24,38,0.10);
  background: rgba(255,255,255,0.84);
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

/* Forms (contact page) */
.form{
  margin-top: 4px;
  display:grid;
  gap: 12px;
}

.field{
  display:grid;
  gap: 6px;
}

label{
  font-size: 13px;
  font-weight: 600;
  color: rgba(18,24,38,0.74);
}

input[type="text"],
input[type="email"],
textarea{
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(18,24,38,0.14);
  background: rgba(255,255,255,0.92);
  color: rgba(18,24,38,0.92);
  font-size: 14px;
}

textarea{
  min-height: 140px;
  resize: vertical;
}

.btn{
  cursor:pointer;
  border: 1px solid #2563eb;
  background: #2563eb;
  color: white;
  padding: 12px 16px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 14px;
  transition: transform 140ms ease, background 140ms ease, box-shadow 140ms ease;
}

.btn:hover{
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(37,99,235,0.22);
}

.note{
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

/* Footer */
.footer{
  border-top: 1px solid var(--line);
  padding: 26px 0 40px;
  color: var(--muted);
  font-size: 13px;
}

.footer-row{
  display:flex;
  flex-wrap:wrap;
  gap: 12px;
  align-items:center;
  justify-content:space-between;
}

.small-links{
  display:flex;
  gap: 12px;
}

.small-links a{
  color: var(--muted);
}
.small-links a:hover{
  color: rgba(18,24,38,0.85);
}
