:root {
  --bg: #f7fbff;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #ffffff;
  --text: #122033;
  --muted: #65758b;
  --line: rgba(50, 96, 145, 0.14);
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --cyan: #22d3ee;
  --violet: #8b5cf6;
  --shadow: 0 32px 80px rgba(45, 86, 135, 0.16);
  --radius: 32px;
}

* { box-sizing: border-box; }

html {
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 15% 5%, rgba(34, 211, 238, 0.09), transparent 34rem),
    radial-gradient(circle at 90% 85%, rgba(139, 92, 246, 0.10), transparent 32rem),
    var(--bg);
}

a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.page-shell {
  position: relative;
  display: grid;
  min-height: 100vh;
  grid-template-rows: auto 1fr auto;
  isolation: isolate;
}

.site-header, .site-footer {
  position: relative;
  z-index: 10;
  display: flex;
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
}

.site-header { padding-block: 26px; }

.site-footer {
  padding-block: 24px;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.brand,
.brand-by,
.brand-zwen,
.brand-made {
  display: inline-flex;
  align-items: baseline;
  text-decoration: none;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 800;
  letter-spacing: -0.045em;
}

.brand-by { color: var(--muted); }
.brand-made,
.brand-zwen {
  color: var(--text);
}

.brand-by { color: var(--blue);}

.hero {
  position: relative;
  display: grid;
  min-height: 660px;
  place-items: center;
  padding: 54px 20px 70px;
}

.hero::before {
  position: absolute;
  inset: 6% 6% 10%;
  z-index: -3;
  border: 1px solid rgba(37, 99, 235, 0.06);
  border-radius: 48px;
  content: "";
}

.grid-glow {
  position: absolute;
  inset: 0;
  z-index: -4;
  opacity: 0.38;
  background-image:
    linear-gradient(rgba(36, 99, 235, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 99, 235, 0.035) 1px, transparent 1px);
  background-position: center;
  background-size: 38px 38px;
  mask-image: radial-gradient(circle at center, black 12%, transparent 72%);
}

.ambient {
  position: absolute;
  z-index: -2;
  border-radius: 999px;
  filter: blur(12px);
  opacity: 0.68;
  animation: drift 13s ease-in-out infinite alternate;
}

.ambient--one {
  top: 14%; left: 8%; width: 250px; height: 250px;
  background: linear-gradient(145deg, rgba(34, 211, 238, 0.24), rgba(37, 99, 235, 0.04));
}

.ambient--two {
  right: 8%; bottom: 10%; width: 290px; height: 290px;
  background: linear-gradient(145deg, rgba(139, 92, 246, 0.18), rgba(37, 99, 235, 0.04));
  animation-delay: -4s;
}

.hero-card {
  --card-padding: clamp(34px, 6vw, 78px);

  position: relative;
  width: min(960px, 100%);
  min-height: 520px;
  overflow: hidden;
  padding: var(--card-padding);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius);
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.94),
      rgba(248, 252, 255, 0.74)
    ),
    var(--surface);
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
  transition:
    transform 520ms cubic-bezier(.2, .8, .2, 1),
    box-shadow 520ms ease;
  will-change: transform;
  backdrop-filter: blur(18px);
}

.hero-card::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.05);
  content: "";
}

.hero-card:hover { box-shadow: 0 38px 95px rgba(45, 86, 135, 0.20); }

.hero-card__spotlight {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(380px circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(37, 99, 235, 0.12), transparent 52%);
  opacity: 0;
  transition: opacity 260ms ease;
}

.hero-card:hover .hero-card__spotlight { opacity: 1; }

.eyebrow {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.48);
  animation: pulse 2.4s ease-out infinite;
}

h1 {
  position: relative;
  z-index: 2;
  max-width: 810px;
  margin: 34px 0 0;
  font-size: clamp(3.35rem, 8vw, 7.7rem);
  line-height: 0.92;
  letter-spacing: -0.075em;
}

h1 span {
  display: block;
  color: transparent;
  background: linear-gradient(96deg, var(--blue) 8%, var(--violet) 92%);
  background-clip: text;
  -webkit-background-clip: text;
}

.intro {
  position: relative;
  z-index: 2;
  max-width: 590px;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.65;
}

.actions {
  position: relative;
  z-index: 2;
  display: flex;
  margin-top: 38px;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.github-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 220ms ease, background-color 220ms ease, color 220ms ease, box-shadow 220ms ease;
}

.github-link svg { width: 18px; height: 18px; }
.github-link:hover { transform: translateY(-2px); }

.github-link--small {
  padding: 10px 15px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
  color: var(--text);
  font-size: 0.9rem;
}

.github-link--small:hover { background: var(--surface-strong); box-shadow: 0 12px 28px rgba(45, 86, 135, 0.12); }

.github-link--primary {
  min-height: 52px;
  padding: 0 22px;
  background: var(--blue);
  color: white;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.22);
}

.github-link--primary:hover { background: var(--blue-dark); box-shadow: 0 18px 36px rgba(37, 99, 235, 0.28); }

.domain {
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.88rem;
}

.coming-soon {
position: absolute;
right: var(--card-padding);
bottom: clamp(26px, 5vw, 56px);
left: var(--card-padding);
z-index: 2;
display: grid;
grid-template-columns: auto 1fr auto;
align-items: center;
gap: 18px;
color: rgba(18, 32, 51, 0.46);
font-size: 0.72rem;
font-weight: 900;
letter-spacing: 0.24em;
}


.coming-soon__line { height: 1px; overflow: hidden; background: rgba(37, 99, 235, 0.13); }

.coming-soon__line::after {
  display: block;
  width: 36%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  content: "";
  animation: scan 3.8s ease-in-out infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.42); }
  65%, 100% { box-shadow: 0 0 0 12px rgba(34, 211, 238, 0); }
}

@keyframes scan { from { transform: translateX(-110%); } to { transform: translateX(380%); } }
@keyframes drift { from { transform: translate3d(-8px, -8px, 0) scale(0.98); } to { transform: translate3d(18px, 16px, 0) scale(1.05); } }

@media (max-width: 720px) {
  .site-header, .site-footer { width: min(100% - 28px, 1180px); }
  .site-header { padding-block: 18px; }
  .hero { min-height: 650px; padding-inline: 14px; padding-top: 34px; }
  .hero::before { inset: 4% 3% 8%; border-radius: 30px; }
  .hero-card { min-height: 560px; border-radius: 24px; }
  h1 { font-size: clamp(3rem, 17vw, 5.3rem); }
  .coming-soon { gap: 11px; letter-spacing: 0.16em; }
  .site-footer { align-items: flex-start; gap: 8px; flex-direction: column; }
}

@media (max-width: 480px) {
  .github-link--small { width: 42px; height: 42px; padding: 0; border-radius: 50%; font-size: 0; }
  .github-link--small svg { width: 20px; height: 20px; }
  .hero-card { min-height: 585px; padding: 32px 25px 108px; }
  .intro { font-size: 1rem; }
  .actions { align-items: flex-start; flex-direction: column; }
}

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

.contact-link {
  display: inline-flex;
  min-height: 52px;
  padding: 0 22px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background-color 220ms ease,
    box-shadow 220ms ease;
}

.contact-link:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, 0.26);
  background: var(--surface-strong);
  box-shadow: 0 14px 30px rgba(45, 86, 135, 0.14);
}

.contact-link:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.25);
  outline-offset: 3px;
}

.footer-mail {
  color: var(--muted);
  text-decoration: none;
  transition: color 200ms ease;
}

.footer-mail:hover {
  color: var(--blue);
}