:root {
  --bg: #0b0f17;
  --bg-elev: #111727;
  --text: #e7ecf3;
  --muted: #a9b3c7;
  --card: #121a2b;
  --accent: #55d3ff;
  --accent-2: #7c4dff;
  --ring: rgba(85, 211, 255, .6);
  --btn-w: 240px;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f7f9fc;
    --bg-elev: #ffffff;
    --text: #0e1320;
    --muted: #5b667a;
    --card: #ffffff;
    --accent: #0066ff;
    --accent-2: #8b5cf6;
    --ring: rgba(0, 102, 255, .25);
  }
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(124, 77, 255, .25), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, rgba(85, 211, 255, .18), transparent 60%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container {
  width: min(1100px, 92%);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(0, 0, 0, .25);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  display: flex;
  gap: .6rem;
  align-items: center;
  color: var(--text);
  font-weight: 700;
}

.brand-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, .5);
  background: #fff;
}

.brand-name {
  letter-spacing: .2px
}

.hero {
  padding: 64px 0 24px;
}

.hero-inner {
  display: grid;
  gap: 2rem;
  align-items: center;
  grid-template-columns: 140px 1fr;
}

.hero-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, .65);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25), 0 0 0 10px rgba(85, 211, 255, .15);
  background: #fff;
}

.hero-text h1 {
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.15;
  margin: 0 0 .25rem;
  font-weight: 800;
}

.subtitle {
  margin: .2rem 0 1rem;
  color: var(--muted);
  font-weight: 700
}

.tagline {
  font-size: 1.05rem;
  max-width: 65ch;
}

.links {
  padding: 24px 0 12px
}

.link-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: center;
}

.link-grid>li {
  flex: 0 1 var(--btn-w);
}

@media (max-width:1000px) {
  :root {
    --btn-w: 220px;
  }
}

@media (max-width:720px) {
  :root {
    --btn-w: 48%;
  }
}

@media (max-width:440px) {
  :root {
    --btn-w: 100%;
  }
}

.link-card {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 12px 10px;
  min-height: 66px;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--card), color-mix(in oklab, var(--card), black 6%));
  color: var(--text);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .06);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .14);
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
  width: 100%;
}

.link-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in oklab, var(--accent), white 60%);
  box-shadow: 0 12px 26px rgba(0, 0, 0, .22), 0 0 0 6px var(--ring);
}

.link-title {
  font-weight: 700;
  font-size: 0.98rem;
}

.contact {
  padding: 48px 0 72px
}

.contact h2 {
  font-size: 1.8rem;
  margin: 0 0 .5rem
}

.contact-lead {
  color: var(--muted);
  max-width: 70ch
}

.contact-form {
  margin-top: 18px;
  background: var(--bg-elev);
  padding: 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .06);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
}

.field-row {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr
}

@media (max-width:720px) {
  .field-row {
    grid-template-columns: 1fr
  }
}

.field label {
  display: block;
  font-weight: 600;
  margin: 8px 0 6px
}

.field input,
.field textarea {
  width: 100%;
  color: var(--text);
  background: #0e1526;
  border: 1px solid rgba(255, 255, 255, .12);
  padding: 12px 12px;
  border-radius: 10px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

@media (prefers-color-scheme: light) {

  .field input,
  .field textarea {
    background: #fff;
    border-color: #e6eaf2
  }
}

.field input:focus,
.field textarea:focus {
  border-color: color-mix(in oklab, var(--accent), white 30%);
  box-shadow: 0 0 0 6px var(--ring);
}

.btn-primary {
  margin-top: 8px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: white;
  font-weight: 800;
  letter-spacing: .2px;
  padding: 12px 16px;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .2);
}

.btn-primary:hover {
  filter: brightness(1.05)
}

.form-status {
  margin: 10px 0 0;
  min-height: 1.25rem;
  color: var(--muted)
}

.site-footer {
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: var(--muted);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center
}