:root {
  --bg: #f7f8fa;
  --bg-elevated: #ffffff;
  --ink: #0b0d10;
  --ink-2: #1a1f27;
  --muted: #5c6675;
  --line: rgba(11, 13, 16, 0.08);
  --line-strong: rgba(11, 13, 16, 0.14);
  --accent: #fbb040;
  --accent-2: #e09220;
  --accent-soft: rgba(251, 176, 64, 0.14);
  --glow: rgba(251, 176, 64, 0.35);
  --shadow: 0 24px 80px rgba(11, 13, 16, 0.08);
  --radius: 18px;
  --max: 1180px;
  --font-display: "Syne", sans-serif;
  --font-body: "Manrope", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

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

.shell {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* ——— Header ——— */
.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.logo img {
  display: block;
  height: 28px;
  width: auto;
}

.page-header .logo img {
  height: 30px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.page-header .nav a {
  color: var(--muted);
}

.nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.page-header .nav a:hover {
  color: var(--ink);
  background: rgba(11, 13, 16, 0.05);
}

.nav-cta {
  margin-left: 0.35rem !important;
  background: #fff !important;
  color: var(--ink) !important;
}

.page-header .nav-cta {
  background: var(--ink) !important;
  color: #fff !important;
}

.nav-cta:hover {
  transform: translateY(-1px);
}

.page-header {
  position: relative;
  padding: 1.35rem 0;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: clip;
  color: #fff;
  isolation: isolate;
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 50% at 18% 22%, rgba(251, 176, 64, 0.3), transparent 60%),
    radial-gradient(50% 45% at 88% 28%, rgba(249, 237, 50, 0.14), transparent 55%),
    radial-gradient(70% 60% at 55% 100%, rgba(251, 176, 64, 0.12), transparent 55%),
    linear-gradient(160deg, #07090c 0%, #12151a 45%, #1a1510 100%);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 35%, #000 10%, transparent 72%);
  animation: gridShift 22s linear infinite;
}

.hero-visual::after {
  content: "";
  position: absolute;
  width: min(70vw, 720px);
  aspect-ratio: 1.1;
  right: -12%;
  bottom: -28%;
  border-radius: 42% 58% 48% 52%;
  background: conic-gradient(
    from 180deg,
    rgba(251, 176, 64, 0.48),
    rgba(249, 237, 50, 0.18),
    transparent 55%,
    rgba(251, 176, 64, 0.32)
  );
  filter: blur(8px);
  animation: orbFloat 16s ease-in-out infinite;
}

@keyframes gridShift {
  to { transform: translate3d(-84px, -84px, 0); }
}

@keyframes orbFloat {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  50% { transform: translate3d(-40px, -28px, 0) rotate(12deg) scale(1.05); }
}

.hero-inner {
  padding: 8rem 0 5rem;
}

.hero-brand {
  margin: 0 0 1.5rem;
  opacity: 0;
  transform: translateY(32px);
  animation: rise 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.05s forwards;
}

.hero-brand img {
  display: block;
  width: min(72vw, 420px);
  height: auto;
}

.hero h1 {
  margin: 0 0 1rem;
  max-width: 16ch;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.55rem, 3.4vw, 2.35rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: rgba(255, 255, 255, 0.92);
  opacity: 0;
  transform: translateY(24px);
  animation: rise 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.18s forwards;
}

.hero-lead {
  margin: 0 0 2.1rem;
  max-width: 38ch;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.62);
  opacity: 0;
  transform: translateY(20px);
  animation: rise 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.42s forwards;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-dark:hover {
  background: var(--ink-2);
  box-shadow: 0 12px 36px rgba(11, 13, 16, 0.18);
}

.btn-accent {
  background: var(--accent);
  color: #1a1200;
}

.btn-accent:hover {
  background: #ffc45a;
  box-shadow: 0 12px 36px var(--glow);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-weight: 700;
  color: var(--ink-2);
}

.footer-brand img {
  height: 22px;
  width: auto;
}

.btn-line {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}

.btn-line:hover {
  box-shadow: inset 0 0 0 1px var(--ink);
}

.btn:disabled {
  opacity: 0.55;
  cursor: wait;
  transform: none;
}

/* ——— Sections ——— */
.section {
  padding: 6.5rem 0;
}

.section-label {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.section h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 4.8vw, 3.5rem);
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.section-intro {
  margin: 0 0 2.75rem;
  max-width: 46ch;
  color: var(--muted);
  font-size: 1.08rem;
}

.products {
  display: grid;
  gap: 1rem;
}

@media (min-width: 860px) {
  .products {
    grid-template-columns: 1fr 1fr;
    gap: 1.15rem;
  }
}

.product {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  padding: 1.85rem;
  border-radius: calc(var(--radius) + 4px);
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  text-decoration: none;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(28px);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.product::before {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft), transparent 70%);
  transition: transform 0.45s ease;
}

.product:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 194, 168, 0.35);
  box-shadow: 0 28px 70px rgba(11, 13, 16, 0.12);
}

.product:hover::before {
  transform: scale(1.35) translate(-12px, -12px);
}

.product.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.product:nth-child(2).is-visible {
  transition-delay: 0.1s;
}

.product:hover.is-visible {
  transform: translateY(-6px);
}

.product-logo {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 48px;
  margin: 0 0 1rem;
}

.product-logo img {
  display: block;
  height: 40px;
  width: auto;
  max-width: min(100%, 220px);
  object-fit: contain;
  object-position: left center;
}

.product-kicker {
  position: relative;
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.product h3 {
  position: relative;
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.55rem);
  font-weight: 750;
  letter-spacing: -0.04em;
}

.product p {
  position: relative;
  margin: 0 0 1.75rem;
  color: var(--muted);
  flex: 1;
}

.product-cta {
  position: relative;
  margin-top: auto;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.product-cta span {
  transition: transform 0.2s ease;
}

.product:hover .product-cta span {
  transform: translateX(4px);
}

.split {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 4rem;
    align-items: center;
  }
}

.stats {
  display: grid;
  gap: 0.85rem;
}

.stat {
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  background: var(--bg-elevated);
  border: 1px solid var(--line);
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.25rem;
}

.stat span {
  color: var(--muted);
  font-size: 0.95rem;
}

.band {
  background:
    radial-gradient(60% 80% at 0% 50%, var(--accent-soft), transparent 55%),
    linear-gradient(180deg, #eef1f5 0%, #f7f8fa 100%);
  border-block: 1px solid var(--line);
}

.contact-panel {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .contact-panel {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3.5rem;
    align-items: start;
  }
}

.form {
  display: grid;
  gap: 0.9rem;
  padding: 1.5rem;
  border-radius: calc(var(--radius) + 2px);
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  gap: 0.9rem;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink-2);
}

.form input,
.form textarea,
.form select {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: #fbfcfd;
  font: inherit;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.form textarea {
  min-height: 140px;
  resize: vertical;
}

.honeypot {
  position: absolute;
  left: -10000px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.form-status {
  min-height: 1.25rem;
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
}

.form-status[data-state="ok"] {
  color: var(--accent-2);
}

.form-status[data-state="error"] {
  color: #c0392b;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 2.25rem 0 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer a {
  text-decoration: none;
  font-weight: 600;
  color: var(--ink-2);
}

.site-footer a:hover {
  color: var(--accent-2);
}

/* Inner pages */
.page-main {
  padding: 2rem 0 5rem;
}

.page-hero {
  padding: 1.5rem 0 0.5rem;
}

.page-hero h1 {
  margin: 0.35rem 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 750;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  letter-spacing: -0.05em;
  line-height: 1;
}

.page-hero p {
  margin: 0;
  max-width: 52ch;
  color: var(--muted);
  font-size: 1.1rem;
}

.prose {
  max-width: 64ch;
  margin-top: 2rem;
}

.prose h2 {
  margin: 2.4rem 0 0.7rem;
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: -0.03em;
}

.prose p {
  color: var(--muted);
}

.not-found {
  min-height: 68svh;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 0.85rem;
}

.not-found h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 7rem);
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.not-found p {
  margin: 0 0 0.75rem;
  color: var(--muted);
}

@media (max-width: 760px) {
  .nav a:not(.nav-cta) {
    display: none;
  }

  .hero-inner {
    padding-bottom: 3.75rem;
  }

  .section {
    padding: 4.5rem 0;
  }
}
