:root {
  --bg: #ffffff;
  --ink: #111827;
  --muted: #5d6675;
  --line: #dbe3ee;
  --blue: #1358f4;
  --blue-dark: #0d3ea8;
  --green: #22c55e;
  --amber: #c77916;
  --surface: rgba(255, 255, 255, 0.86);
  --shadow: 0 24px 70px rgba(17, 24, 39, 0.12);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
}

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

.site-header {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(20px, 5vw, 72px);
}

.brand,
nav,
.hero-actions,
.transfer-list div {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-size: 15px;
  font-weight: 760;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.2);
}

nav {
  gap: 22px;
  color: #293241;
  font-size: 14px;
  font-weight: 640;
}

.nav-cta {
  padding: 10px 15px;
  border: 1px solid rgba(17, 24, 39, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: center;
  padding: 124px clamp(20px, 5vw, 72px) 68px;
  overflow: hidden;
  background: #eef4fb url("/assets/domain-portfolio-hero.png") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 30%, rgba(255, 255, 255, 0.16) 58%, rgba(255, 255, 255, 0) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0) 22%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  max-width: 610px;
  font-size: clamp(46px, 6vw, 82px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero p {
  max-width: 540px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 20px;
  font-size: 15px;
  font-weight: 760;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.button:hover,
.domain-card a:hover,
.nav-cta:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--blue);
  color: white;
  box-shadow: 0 18px 40px rgba(19, 88, 244, 0.28);
}

.button.secondary {
  border: 1px solid rgba(17, 24, 39, 0.16);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
}

.section {
  padding: 92px clamp(20px, 5vw, 72px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(280px, 0.55fr);
  gap: 36px;
  align-items: end;
  max-width: 1180px;
  margin: 0 auto 34px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(31px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-heading p,
.transfer p,
.contact p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.domain-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.domain-card {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(19, 88, 244, 0.06), rgba(19, 88, 244, 0)),
    #ffffff;
  box-shadow: 0 16px 45px rgba(17, 24, 39, 0.07);
}

.domain-card h3 {
  margin-bottom: 18px;
  font-size: clamp(25px, 2.8vw, 36px);
  line-height: 1;
  letter-spacing: 0;
}

.domain-card p {
  min-height: 76px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.domain-card a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  border-bottom: 2px solid var(--green);
  color: var(--blue-dark);
  font-weight: 780;
}

.transfer {
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) minmax(320px, 0.75fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: start;
  background: #f5f8fc;
}

.transfer > div,
.transfer-list {
  max-width: 560px;
}

.transfer-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.transfer-list div {
  gap: 18px;
  align-items: flex-start;
  padding: 18px 0;
  border-top: 1px solid #d9e2ed;
}

dt {
  min-width: 100px;
  color: var(--blue-dark);
  font-weight: 800;
}

dd {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.contact {
  margin: 0;
  padding: 78px clamp(20px, 5vw, 72px) 88px;
  text-align: center;
  background: #111827;
  color: white;
}

.contact h2 {
  margin-bottom: 16px;
}

.contact p {
  margin-bottom: 28px;
  color: #cbd5e1;
}

@media (max-width: 920px) {
  .site-header {
    position: relative;
    background: white;
  }

  nav {
    gap: 14px;
  }

  .hero {
    min-height: auto;
    padding-top: 80px;
    background-position: 61% center;
  }

  .hero::after {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.74));
  }

  .hero-content {
    padding: 32px 0 90px;
  }

  .section-heading,
  .transfer,
  .domain-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 16px;
  }

  nav {
    width: 100%;
    justify-content: space-between;
    font-size: 13px;
  }

  .hero {
    padding: 40px 20px 32px;
    background-position: 72% center;
  }

  .hero::after {
    background: rgba(255, 255, 255, 0.9);
  }

  h1 {
    font-size: clamp(40px, 13vw, 58px);
  }

  .hero p,
  .section-heading p,
  .transfer p,
  .contact p {
    font-size: 16px;
  }

  .section {
    padding: 64px 20px;
  }

  .domain-card {
    min-height: auto;
  }

  .domain-card p {
    min-height: auto;
  }

  .transfer-list div {
    display: grid;
    gap: 6px;
  }
}
