/* ==========================================================
   RESET & TOKENS
   ========================================================== */
:root {
  --bg: #f7f7f5;
  --bg-gradient-1: #ffd93d;
  --bg-gradient-2: #ff8a5c;
  --bg-gradient-3: #a78bfa;

  --surface: rgba(255, 255, 255, 0.72);
  --surface-border: rgba(255, 255, 255, 0.9);
  --surface-shadow: 0 24px 60px -20px rgba(15, 17, 21, 0.18),
                    0 8px 24px -12px rgba(15, 17, 21, 0.08);

  --text: #0d0e12;
  --muted: #6b6f76;
  --muted-soft: #9195a0;

  --accent: #0d0e12;
  --accent-contrast: #ffffff;
  --accent-glow: rgba(13, 14, 18, 0.25);

  --radius: 24px;

  --font: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto,
          Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";

  --max-width: 760px;
  --side-padding: clamp(20px, 6vw, 64px);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #08090c;
    --bg-gradient-1: #4c3a00;
    --bg-gradient-2: #3a1a12;
    --bg-gradient-3: #221a4d;

    --surface: rgba(22, 24, 30, 0.72);
    --surface-border: rgba(255, 255, 255, 0.08);
    --surface-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6),
                      0 8px 24px -12px rgba(0, 0, 0, 0.4);

    --text: #f5f6f8;
    --muted: #a2a6b0;
    --muted-soft: #7c8089;

    --accent: #ffffff;
    --accent-contrast: #0d0e12;
    --accent-glow: rgba(255, 255, 255, 0.35);
  }
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

/* ==========================================================
   BODY & BACKGROUND GLOW
   ========================================================== */
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}

body::before {
  width: 520px;
  height: 520px;
  background: var(--bg-gradient-1);
  top: -180px;
  left: -180px;
}

body::after {
  width: 560px;
  height: 560px;
  background: linear-gradient(135deg, var(--bg-gradient-2), var(--bg-gradient-3));
  bottom: -220px;
  right: -180px;
  opacity: 0.4;
}

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

a {
  color: inherit;
}

/* ==========================================================
   MAIN CONTAINER
   ========================================================== */
main {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 80px var(--side-padding) 56px;
}

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  max-width: var(--max-width);
  width: 100%;
  text-align: center;
  margin: 0 auto;
  animation: rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero__eyebrow {
  display: inline-block;
  max-width: 100%;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  line-height: 1.45;
  text-align: center;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--surface-border);
  padding: 9px 20px;
  border-radius: 999px;
  margin: 0 0 28px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-title {
  font-size: clamp(2.25rem, 6.5vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin: 0 0 20px;
  font-weight: 700;
  color: var(--text);
}

.hero-title__lead {
  display: block;
  font-weight: 500;
  color: var(--muted);
  font-size: 0.55em;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.hero-title__subject {
  display: inline-block;
  max-width: 100%;
}

.hero-title__domain {
  display: inline;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.hero-title__mark {
  display: inline;
  color: var(--muted-soft);
}

.hero__sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 500;
  color: var(--text);
  margin: 0 0 12px;
}

.hero__desc {
  font-size: 1rem;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ==========================================================
   DOMAIN CARD
   ========================================================== */
.inquiry {
  max-width: var(--max-width);
  width: 100%;
  margin: 56px auto 0;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 44px 32px;
  box-shadow: var(--surface-shadow);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  text-align: center;
  position: relative;
  overflow: hidden;
  animation: rise 0.9s 0.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.inquiry::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.9), transparent);
  opacity: 0.6;
}

.inquiry__label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted-soft);
  margin: 0 0 20px;
}

.inquiry__domain {
  font-size: clamp(1.65rem, 4.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 14px;
  overflow-wrap: anywhere;
  word-break: break-word;
  color: var(--text);
}

.inquiry__hint {
  font-size: 0.98rem;
  color: var(--muted);
  margin: 0 0 32px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================
   CTA BUTTON
   ========================================================== */
.cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--accent);
  color: var(--accent-contrast);
  text-decoration: none;
  padding: 18px 40px;
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.3s ease,
              opacity 0.2s ease;
  box-shadow: 0 12px 32px -10px var(--accent-glow);
  overflow: hidden;
  isolation: isolate;
}

.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg,
              transparent 0%,
              rgba(255, 255, 255, 0.18) 45%,
              transparent 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: -1;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px -12px var(--accent-glow);
}

.cta:hover::after {
  opacity: 1;
}

.cta:active {
  transform: translateY(0);
  box-shadow: 0 8px 20px -8px var(--accent-glow);
}

.cta:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.inquiry__note {
  font-size: 0.85rem;
  color: var(--muted-soft);
  margin: 20px 0 0;
}

/* ==========================================================
   FOOTER
   ========================================================== */
.site-footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px var(--side-padding);
  font-size: 0.85rem;
  color: var(--muted-soft);
  width: 100%;
  border-top: 1px solid var(--surface-border);
  margin-top: auto;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.site-footer p {
  margin: 4px 0;
}

.footer-email {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-email:hover {
  color: var(--text);
  border-bottom-color: var(--text);
}

/* ==========================================================
   ENTRANCE ANIMATION
   ========================================================== */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (min-width: 640px) {
  main {
    padding: 100px var(--side-padding) 72px;
  }

  .inquiry {
    padding: 56px 48px;
    margin-top: 64px;
  }

  .cta {
    padding: 20px 48px;
    font-size: 1.1rem;
  }

  .site-footer {
    padding: 48px var(--side-padding);
  }
}

@media (min-width: 1024px) {
  body::before,
  body::after {
    opacity: 0.5;
  }
}

/* ==========================================================
   REDUCED MOTION
   ========================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}