@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/fonts/PlusJakartaSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/fonts/PlusJakartaSans-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/fonts/PlusJakartaSans-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/fonts/PlusJakartaSans-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg-deep: #1C0D05;
  --bg: #2B1A0A;
  --bg-mid: #241409;
  --card: rgba(43, 26, 10, 0.72);
  --card-solid: #2B1A0A;
  --border: rgba(217, 198, 182, 0.1);
  --border-strong: #4B3F38;
  --title: #FEFFFF;
  --subtitle: #D9C6B6;
  --muted: #9F9086;
  --accent: #FF7800;
  --accent-light: #FFAE32;
  --accent-dark: #C04F00;
  --accent-soft: rgba(255, 120, 0, 0.15);
  --on-accent: #FEFFFF;
  --live: #4ADE80;
  --gradient-primary: linear-gradient(135deg, #FFAE32 0%, #FF7800 100%);
  --gradient-text: linear-gradient(90deg, #FFAE32 0%, #FF7800 100%);
  --gradient-alt: linear-gradient(135deg, #FF9E02 0%, #C04F00 100%);
  --glow: 0 0 40px rgba(255, 120, 0, 0.45);
  --shadow-card: 0 10px 40px rgba(12, 5, 2, 0.6);
  --radius-btn: 18px;
  --radius-card: 18px;
  --radius-tile: 14px;
  --radius-frame: 32px;
  --radius-pill: 100px;
  --gutter: 16px;
  --max: 1200px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg-deep);
  color: var(--subtitle);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

h1,
h2,
h3,
p,
blockquote {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 12px;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.filled {
  fill: currentColor;
  stroke: none;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  padding: 10px 16px;
  background: var(--card-solid);
  color: var(--title);
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  z-index: 100;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.hl {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.section-title .hl,
.hero-title .hl {
  white-space: nowrap;
}

.hero-lead,
.section-lead,
.cta-card-hint {
  text-wrap: balance;
}

.card-text {
  text-wrap: pretty;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 54px;
  padding: 0 24px;
  background: var(--accent);
  color: var(--on-accent);
  border-radius: var(--radius-btn);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--glow);
  transition: background-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.btn .icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s var(--ease);
}

.btn:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 0 56px rgba(255, 120, 0, 0.55);
}

.btn:hover .icon {
  transform: translateX(3px);
}

.btn:active {
  transform: scale(0.98);
}

.btn-sm {
  height: 38px;
  padding: 0 16px;
  border-radius: 12px;
  font-size: 14px;
  box-shadow: none;
}

.btn-sm:hover {
  box-shadow: none;
}

.btn-lg {
  min-width: 240px;
}

.btn-block {
  width: 100%;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 120, 0, 0.25);
  background: var(--accent-soft);
  color: var(--accent-light);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
}

.pill .icon {
  width: 16px;
  height: 16px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(28, 13, 5, 0.92);
  border-bottom: 1px solid var(--border);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.is-top {
  background: transparent;
  border-color: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.site-header:not(.is-top) {
  box-shadow: 0 8px 24px rgba(12, 5, 2, 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  height: 32px;
  width: auto;
  aspect-ratio: 127 / 100;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--subtitle);
  border-radius: 12px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.lang-toggle .icon {
  width: 16px;
  height: 16px;
}

.lang-toggle:hover {
  color: var(--title);
  border-color: rgba(255, 120, 0, 0.4);
  background: var(--accent-soft);
}

.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: min(100vh, 960px);
  min-height: min(100svh, 960px);
  padding: 104px 0 88px;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(255, 120, 0, 0.16), transparent 70%),
    linear-gradient(180deg, #1C0D05 0%, #2B1A0A 70%, #1C0D05 100%);
}

.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 200px;
  background: linear-gradient(180deg, rgba(28, 13, 5, 0) 0%, #1C0D05 100%);
  pointer-events: none;
}

.scroll-hint {
  z-index: 1;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}

.blob-1 {
  width: 320px;
  height: 320px;
  top: -80px;
  left: -120px;
  background: var(--gradient-primary);
}

.blob-2 {
  width: 280px;
  height: 280px;
  bottom: 10%;
  right: -120px;
  background: var(--gradient-alt);
  opacity: 0.3;
}

.blob-3 {
  width: 220px;
  height: 220px;
  top: 40%;
  left: 60%;
  background: #C04F00;
  opacity: 0.18;
}

.note {
  position: absolute;
  color: var(--accent);
  font-size: 24px;
  line-height: 1;
  opacity: 0.35;
  animation: float 6s ease-in-out infinite;
}

.note-1 {
  top: 18%;
  left: 10%;
}

.note-2 {
  top: 28%;
  right: 12%;
  font-size: 30px;
  color: var(--accent-light);
  animation-delay: -1.5s;
}

.note-3 {
  bottom: 22%;
  left: 16%;
  font-size: 20px;
  animation-delay: -3s;
}

.note-4 {
  bottom: 16%;
  right: 20%;
  color: var(--accent-light);
  animation-delay: -4.5s;
}

.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-logo {
  height: 88px;
  width: auto;
  aspect-ratio: 127 / 100;
  margin-top: 24px;
  filter: drop-shadow(0 8px 32px rgba(255, 120, 0, 0.35));
}

.hero-title {
  margin-top: 32px;
  max-width: 14ch;
  color: var(--title);
  font-size: 40px;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-lead {
  margin-top: 18px;
  max-width: 640px;
  font-size: 18px;
  line-height: 1.55;
}

.cta-card {
  width: 100%;
  max-width: 448px;
  margin-top: 38px;
  padding: 24px;
  background: rgba(28, 13, 5, 0.7);
  border: 1px solid var(--border);
  border-radius: 24px;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-card);
}

.cta-card-title {
  margin-bottom: 18px;
  color: var(--title);
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
}

.cta-card-hint {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: -22px;
  color: var(--subtitle);
  opacity: 0.7;
  border-radius: 50%;
  animation: bounce 2s ease-in-out infinite;
}

.scroll-hint .icon {
  width: 32px;
  height: 32px;
}

.scroll-hint:hover {
  opacity: 1;
  color: var(--title);
}

.section {
  position: relative;
  padding: 72px 0;
}

.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 768px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-title {
  color: var(--title);
  font-size: 32px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-head .pill + .section-title {
  margin-top: 18px;
}

.section-lead {
  margin-top: 14px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--subtitle);
}

.card {
  min-width: 0;
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.24);
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 120, 0, 0.35);
  box-shadow: var(--shadow-card);
}

.tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: var(--radius-tile);
  background: var(--gradient-primary);
  color: var(--bg-deep);
  transition: transform 0.3s var(--ease);
}

.card:hover .tile {
  transform: scale(1.1) rotate(3deg);
}

.card-title {
  color: var(--title);
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;
  transition: color 0.3s var(--ease);
}

.card:hover .card-title {
  color: var(--accent-light);
}

.card-text {
  margin-top: 8px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--subtitle);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.closing {
  padding-top: 24px;
}

.closing-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 880px;
  margin: 0 auto;
  padding: 38px 24px;
  text-align: center;
  background:
    radial-gradient(ellipse 80% 80% at 50% 120%, rgba(255, 120, 0, 0.28), transparent 70%),
    var(--card-solid);
  border: 1px solid rgba(255, 120, 0, 0.2);
  border-radius: var(--radius-frame);
  box-shadow: var(--shadow-card);
}

.closing-card .section-lead {
  max-width: 520px;
}

.closing-card .btn {
  margin-top: 32px;
}

.site-footer {
  background: linear-gradient(90deg, var(--bg-deep) 0%, var(--bg-mid) 50%, var(--bg-deep) 100%);
  border-top: 1px solid var(--border);
  padding: 38px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  justify-items: center;
  text-align: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--muted);
}

.footer-logo {
  height: 40px;
  width: auto;
  aspect-ratio: 127 / 100;
}

.footer-social {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--subtitle);
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  background: var(--bg-deep);
  color: var(--subtitle);
  border-radius: 12px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.social-links .icon {
  width: 18px;
  height: 18px;
}

.social-links a:hover {
  color: var(--accent-light);
  border-color: rgba(255, 120, 0, 0.4);
  background: var(--accent-soft);
}

.footer-made {
  font-size: 14px;
  color: var(--muted);
}

.footer-made a {
  color: var(--accent-light);
  font-weight: 600;
  text-decoration: none;
}

.footer-made a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
}

.footer-links a {
  color: var(--muted);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.footer-links a:hover {
  color: var(--accent-light);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.js .card.reveal.is-visible:hover {
  transform: translateY(-6px);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
}

@media (max-width: 639px) {
  .note-3,
  .note-4 {
    display: none;
  }

  .feature {
    display: grid;
    grid-template-columns: 48px 1fr;
    column-gap: 16px;
    padding: 18px;
  }

  .feature .tile {
    grid-row: span 2;
    margin-bottom: 0;
  }

  .feature .card-title {
    font-size: 18px;
  }

  .feature .card-text {
    margin-top: 4px;
    font-size: 15px;
  }

  .feature-grid {
    gap: 12px;
  }
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 52px;
  }

  .hero-logo {
    height: 112px;
  }

  .hero-lead {
    font-size: 20px;
  }

  .cta-card {
    padding: 32px;
  }

  .section-title {
    font-size: 40px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .closing-card {
    padding: 64px 38px;
  }
}

@media (min-width: 768px) {
  .header-inner {
    min-height: 72px;
  }

  .header-actions {
    gap: 12px;
  }

  .brand-logo {
    height: 38px;
  }

  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
  }

  .footer-brand {
    align-items: flex-start;
    justify-self: start;
    text-align: left;
  }

  .footer-made {
    justify-self: end;
    text-align: right;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 32px;
  }

  .hero-title {
    font-size: 64px;
  }

  .blob-1 {
    width: 480px;
    height: 480px;
  }

  .blob-2 {
    width: 420px;
    height: 420px;
  }

  .note {
    font-size: 32px;
  }

  .note-2 {
    font-size: 40px;
  }

  .section {
    padding: 96px 0;
  }

  .section-head {
    margin-bottom: 64px;
  }

  .section-title {
    font-size: 48px;
  }

  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
  }

  .card {
    padding: 32px;
  }

  .closing {
    padding-top: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
