@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/cormorant-garamond-latin-wght-normal.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --ink: #111820;
  --muted: #4d545d;
  --hairline: #e9dde2;
  --paper: #fffdfc;
  --shell: #fff6f9;
  --blush: #fce8f1;
  --brand: #e6007e;
  --brand-deep: #bf006b;
  --shadow: 0 22px 54px rgba(191, 0, 107, 0.13);
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: Avenir, "Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 84% 12%, rgba(230, 0, 126, 0.08), transparent 28rem),
    linear-gradient(180deg, #fff 0%, #fff8fa 50%, #fff 100%);
}

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

img,
svg {
  display: block;
  max-width: 100%;
}

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--brand), white 20%);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 5.6vw;
  background: rgba(255, 255, 255, 0.91);
  border-bottom: 1px solid var(--hairline);
  backdrop-filter: blur(18px);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.82rem;
  color: var(--ink);
}

.logo img,
.footer-logo img {
  width: 50px;
  height: auto;
  flex: 0 0 auto;
}

.logo span,
.footer-logo span {
  display: inline-block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.66rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.38em;
}

.language-picker {
  position: relative;
}

.language-picker summary {
  min-width: 136px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.62rem;
  padding: 0 1rem;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 28px rgba(20, 21, 24, 0.05);
  cursor: pointer;
  list-style: none;
  font-weight: 700;
}

.language-picker summary::-webkit-details-marker {
  display: none;
}

.language-picker[open] summary {
  border-color: color-mix(in srgb, var(--brand), white 46%);
}

.language-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  min-width: 190px;
  margin: 0;
  padding: 0.45rem;
  list-style: none;
  border: 1px solid var(--hairline);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
}

.language-menu a {
  display: block;
  padding: 0.78rem 0.9rem;
  border-radius: 12px;
  color: var(--muted);
  font-weight: 700;
}

.language-menu a[aria-current="page"],
.language-menu a:hover {
  background: var(--shell);
  color: var(--ink);
}

.page-shell {
  overflow: clip;
}

.hero {
  position: relative;
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.95fr);
  align-items: stretch;
  padding: 4.7rem 5.6vw 2.2rem;
  border-bottom: 1px solid var(--hairline);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 248, 250, 0.68) 45%, rgba(255, 255, 255, 0.48) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.68), transparent 36%),
    radial-gradient(circle at 18% 12%, rgba(230, 0, 126, 0.08), transparent 18rem);
  pointer-events: none;
}

.hero-copy,
.hero-art {
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 570px;
}

.hero h1 {
  max-width: 13ch;
  margin: 0;
  font-family: var(--serif);
  font-size: 5.25rem;
  line-height: 0.92;
  letter-spacing: 0;
  font-weight: 500;
}

.hero h1 .accent {
  color: var(--brand);
  display: block;
}

.title-line {
  display: block;
  white-space: nowrap;
}

.short-rule {
  width: 62px;
  height: 3px;
  margin: 2.2rem 0 1.65rem;
  border-radius: 999px;
  background: var(--brand);
}

.hero p {
  max-width: 440px;
  margin: 0;
  color: #202a33;
  font-size: 1.18rem;
  line-height: 1.58;
}

.hero-art {
  min-height: 360px;
  align-self: end;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.hero-art picture {
  width: min(58vw, 760px);
  max-width: none;
  mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 100%);
}

.hero-art img {
  width: 100%;
  border-radius: 0;
  object-fit: cover;
  filter: drop-shadow(0 26px 46px rgba(230, 0, 126, 0.14));
  mix-blend-mode: multiply;
}

.market-section {
  position: relative;
  z-index: 2;
  max-width: 1320px;
  margin: -3.2rem auto 0;
  padding: 0 5.2vw;
}

.suggestion {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
  margin: 0 auto 1rem;
  padding: 1rem 1rem 1rem 1.2rem;
  border: 1px solid color-mix(in srgb, var(--brand), white 70%);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.suggestion[hidden] {
  display: none;
}

.suggestion p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.suggestion strong {
  color: var(--ink);
}

.suggestion a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
}

.country-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
}

.country-card {
  min-height: 270px;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto auto 1fr;
  align-items: end;
  gap: 0.8rem 1rem;
  padding: 1.75rem 1.85rem 1.55rem;
  border: 1px solid rgba(255, 210, 230, 0.8);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.country-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--brand), white 48%);
  box-shadow: 0 28px 62px rgba(191, 0, 107, 0.19);
}

.country-card.is-suggested {
  border-color: color-mix(in srgb, var(--brand), white 35%);
}

.flag {
  width: 58px;
  height: 40px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 8px 14px rgba(14, 18, 24, 0.12);
}

.country {
  grid-column: 1 / -1;
  margin-top: 0.3rem;
  font-family: var(--serif);
  font-size: 1.55rem;
  line-height: 1;
}

.domain {
  grid-column: 1 / -1;
  align-self: start;
  font-family: var(--serif);
  font-size: 3rem;
  line-height: 0.95;
  letter-spacing: 0;
}

.domain span {
  color: var(--brand);
}

.hint {
  position: relative;
  align-self: end;
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 700;
}

.hint::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: calc(100% + 1rem);
  width: 44px;
  height: 2px;
  border-radius: 999px;
  background: var(--brand);
}

.arrow {
  width: 52px;
  height: 52px;
  display: inline-grid;
  place-items: center;
  align-self: end;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 1.7rem;
  font-weight: 400;
  transition: transform 180ms ease, background 180ms ease;
}

.country-card:hover .arrow {
  transform: translateX(3px);
  background: var(--brand-deep);
}

.benefits {
  max-width: 1320px;
  margin: 2.2rem auto 0;
  padding: 1.85rem 5.2vw 2.2rem;
  border-bottom: 1px solid var(--hairline);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.benefit {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1.1rem;
  padding: 0 1.4rem;
  border-left: 1px solid var(--hairline);
}

.benefit:first-child {
  border-left: 0;
  padding-left: 0;
}

.benefit-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--blush);
  color: var(--brand);
}

.benefit-icon svg {
  width: 31px;
  height: 31px;
  stroke-width: 1.8;
}

.benefit h2 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  line-height: 1.3;
}

.benefit p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.site-footer {
  max-width: 1320px;
  margin: 0 auto;
  padding: 1.6rem 5.2vw 1.45rem;
}

.footer-main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.82rem;
  color: var(--ink);
  justify-self: start;
}

.footer-logo img {
  width: 48px;
}

.footer-logo span {
  font-size: 1.45rem;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.3;
  text-align: center;
}

.footer-links a:hover {
  color: var(--brand-deep);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.social-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.social-links a,
.social-links span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid #d7d7dc;
  border-radius: 999px;
  color: #1e262f;
  font-weight: 800;
}

.copyright {
  margin: 1.35rem 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid var(--hairline);
  color: var(--muted);
  font-size: 0.88rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 980px) {
  .site-header {
    height: 72px;
    padding: 0 5.4vw;
  }

  .logo {
    gap: 0.72rem;
  }

  .logo img {
    width: 46px;
  }

  .logo span {
    font-size: 1.45rem;
    letter-spacing: 0.34em;
  }

  .language-picker summary {
    min-width: 122px;
  }

  .hero {
    min-height: 398px;
    display: block;
    padding: 3.05rem 5.6vw 1.4rem;
  }

  .hero h1 {
    font-size: 4.25rem;
    max-width: 7.6ch;
  }

  .short-rule {
    margin: 1.55rem 0 1.25rem;
  }

  .hero p {
    max-width: 390px;
    font-size: 1.04rem;
  }

  .hero-art {
    position: absolute;
    z-index: 0;
    right: -13rem;
    bottom: -0.8rem;
    width: 720px;
    min-height: 290px;
    opacity: 0.88;
  }

  .hero-art picture {
    width: 720px;
    mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 100%);
  }

  .hero-copy {
    position: relative;
    z-index: 1;
  }

  .market-section {
    margin-top: -0.2rem;
  }

  .country-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .country-card {
    min-height: 128px;
    grid-template-columns: 116px 1fr auto;
    grid-template-rows: auto auto auto;
    align-items: center;
    padding: 1.05rem 1.6rem;
    border-radius: 20px;
  }

  .country-card + .country-card {
    margin-top: 1px;
  }

  .flag {
    grid-row: 1 / 4;
    width: 78px;
    height: 55px;
  }

  .country {
    grid-column: 2;
    margin: 0;
    font-size: 1.35rem;
  }

  .domain {
    grid-column: 2;
    font-size: 2.55rem;
  }

  .hint {
    grid-column: 2;
    font-size: 0.98rem;
  }

  .hint::before {
    display: none;
  }

  .arrow {
    grid-column: 3;
    grid-row: 1 / 4;
    width: 58px;
    height: 58px;
  }

  .benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem 0;
  }

  .benefit:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }

  .footer-main {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 1.25rem;
    text-align: center;
  }

  .footer-logo {
    justify-self: center;
  }

  .footer-links {
    gap: 0.75rem 1.5rem;
  }

  .copyright {
    text-align: center;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 0 1.35rem;
  }

  .logo {
    gap: 0.58rem;
  }

  .logo img {
    width: 42px;
  }

  .logo span {
    font-size: 1.16rem;
    letter-spacing: 0.28em;
  }

  .language-picker summary {
    min-width: 112px;
    min-height: 46px;
    padding: 0 0.8rem;
    font-size: 0.96rem;
  }

  .hero {
    min-height: 394px;
    padding: 2.7rem 1.35rem 1rem;
  }

  .hero h1 {
    font-size: 3.7rem;
  }

  .hero p {
    max-width: 305px;
    font-size: 1rem;
  }

  .hero-art {
    right: -20.6rem;
    bottom: -0.5rem;
    opacity: 0.9;
  }

  .market-section {
    padding: 0 1.35rem;
  }

  .suggestion {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .suggestion a {
    justify-self: start;
  }

  .country-card {
    grid-template-columns: 92px 1fr 56px;
    min-height: 120px;
    padding: 1rem;
  }

  .flag {
    width: 66px;
    height: 46px;
  }

  .country {
    font-size: 1.2rem;
  }

  .domain {
    font-size: 2.15rem;
  }

  .hint {
    font-size: 0.9rem;
  }

  .arrow {
    width: 52px;
    height: 52px;
  }

  .benefits {
    padding: 2rem 1.35rem 2.1rem;
  }

  .benefit-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .benefit {
    grid-template-columns: 62px 1fr;
    gap: 1rem;
    padding: 1rem 0 0;
    border-left: 0;
    border-top: 1px solid var(--hairline);
  }

  .benefit:first-child {
    border-top: 0;
    padding-top: 0;
  }

  .benefit-icon {
    width: 58px;
    height: 58px;
  }

  .site-footer {
    padding: 1.5rem 1.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
