:root {
  --bg: #0b0c10;
  --surface: #16181f;
  --surface-raised: #1e212b;
  --text: #f5f3ee;
  --text-secondary: rgba(245, 243, 238, 0.64);
  --text-muted: rgba(245, 243, 238, 0.38);
  --primary: #ff6a3d;
  --on-primary: #1a0a06;
  --border: rgba(245, 243, 238, 0.09);
  --border-strong: rgba(245, 243, 238, 0.16);
  --ring: #ff6a3d;
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 20px;
  --space-xl: 32px;
  --space-xxl: 48px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --font-sans: Manrope, ui-sans-serif, system-ui, sans-serif;
  --font-display: "Barlow Condensed", ui-sans-serif, system-ui, sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --max: 1080px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background:
    radial-gradient(900px 480px at 50% -8%, rgba(255, 106, 61, 0.16), transparent 58%),
    var(--bg);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.skip {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 20;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--surface-raised);
  color: var(--text);
  text-decoration: none;
  transform: translateY(-140%);
}

.skip:focus {
  transform: none;
}

.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: 20px 0 8px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: var(--text);
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
  color: var(--text-secondary);
  text-decoration: none;
  cursor: pointer;
  transition: color 160ms var(--ease-out);
}

.nav-link:hover {
  color: var(--text);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  justify-content: flex-end;
}

.nav-link:focus-visible,
.brand:focus-visible,
.btn:focus-visible,
.team-contact:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 3px;
  border-radius: 10px;
}

.hero {
  display: grid;
  justify-items: center;
  text-align: center;
  padding: 48px 0 24px;
}

.logo-wrap {
  width: 148px;
  height: 148px;
  margin-bottom: 28px;
  filter: drop-shadow(0 18px 40px rgba(255, 106, 61, 0.22));
}

.logo-wrap img {
  width: 148px;
  height: 148px;
  border-radius: 32px;
}

.kicker {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
}

h1,
.display {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(40px, 8vw, 72px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

.lede {
  max-width: 38rem;
  margin: 18px 0 0;
  font-size: 18px;
  color: var(--text-secondary);
  text-wrap: pretty;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  transition:
    transform 140ms var(--ease-out),
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.btn-primary {
  color: var(--on-primary);
  background: var(--primary);
}

.btn-ghost {
  color: var(--text);
  background: transparent;
  border-color: var(--border-strong);
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    background: #ff7d56;
  }

  .btn-ghost:hover {
    border-color: rgba(245, 243, 238, 0.28);
  }

  .btn:hover {
    transform: translateY(-1px);
  }
}

.btn:active {
  transform: scale(0.97);
}

.soon {
  margin: 16px 0 0;
  color: var(--text-muted);
  font-size: 14px;
}

.features {
  display: grid;
  gap: 16px;
  padding: 40px 0 24px;
}

@media (min-width: 768px) {
  .features {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.icon {
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  color: var(--primary);
}

.card h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.card p {
  margin: 0;
  color: var(--text-secondary);
}

.team {
  scroll-margin-top: 24px;
  padding: 32px 0 72px;
  text-align: center;
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(32px, 6vw, 48px);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.section-lede {
  max-width: 32rem;
  margin: 10px auto 28px;
  color: var(--text-secondary);
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  text-align: left;
}

@media (min-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.team-card {
  display: block;
  width: 100%;
  overflow: hidden;
}

.team-role {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

.team-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

.team-contact {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: 20px;
  min-height: 44px;
  color: var(--text-secondary);
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
}

.tg-icon {
  display: block;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  overflow: hidden;
  color: var(--primary);
}

@media (hover: hover) and (pointer: fine) {
  .team-contact:hover {
    color: var(--text);
  }
}

.site-footer {
  padding: 24px 0 40px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 14px;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text-secondary);
  text-decoration: none;
  cursor: pointer;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--text);
}

.page {
  padding: 32px 0 80px;
}

.page h1 {
  font-size: clamp(36px, 6vw, 56px);
  margin-bottom: 8px;
}

.page .meta {
  margin: 0 0 32px;
  color: var(--text-muted);
}

.page h2 {
  margin: 32px 0 8px;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
}

.page p,
.page li {
  color: var(--text-secondary);
}

.page ul {
  padding-left: 1.2em;
}

.hero,
.features .card,
.page {
  animation: rise 520ms var(--ease-out) both;
}

.features .card:nth-child(2) {
  animation-delay: 70ms;
}

.features .card:nth-child(3) {
  animation-delay: 140ms;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero,
  .features .card,
  .page,
  .btn {
    animation: none;
    transition: none;
  }
}
