:root {
  --primary: #009b4f;
  --primary-deep: #0b5a3b;
  --primary-soft: #dff3e5;
  --sage: #8fb69c;
  --sage-light: #f5f8f3;
  --revel-gold: #d6ae5d;
  --revel-gold-soft: #f3d58d;
  --revel-ink: #0d1110;
  --dark: #06120d;
  --surface: #0b1712;
  --light: #f7faf6;
  --white: #f7fbf6;
  --muted: #b8c9ba;
  --text: #102018;
  --soft-text: #657368;
  --line: rgba(16, 32, 24, 0.12);
  --dark-line: rgba(247, 251, 246, 0.13);
  --shadow: 0 22px 70px rgba(9, 26, 18, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 16px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: rgba(6, 18, 13, 0.78);
  border-bottom: 1px solid var(--dark-line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.05rem;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(0, 155, 79, 0.34);
}

.brand-logo {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 8px;
  clip-path: inset(1px round 8px);
  filter: drop-shadow(0 12px 22px rgba(0, 155, 79, 0.28));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 30px);
  font-size: 0.94rem;
  font-weight: 600;
}

.site-nav a {
  color: rgba(247, 251, 246, 0.78);
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.nav-dropdown:hover .nav-dropdown-trigger,
.nav-dropdown:focus-within .nav-dropdown-trigger {
  color: #fff;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.nav-dropdown-trigger::after {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: translateY(-2px) rotate(45deg);
  transition: transform 160ms ease;
}

.nav-dropdown:hover .nav-dropdown-trigger::after,
.nav-dropdown:focus-within .nav-dropdown-trigger::after {
  transform: translateY(1px) rotate(225deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  min-width: 176px;
  padding: 8px;
  background: rgba(6, 18, 13, 0.96);
  border: 1px solid rgba(214, 174, 93, 0.22);
  border-radius: 8px;
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.nav-dropdown-menu::before {
  position: absolute;
  top: -15px;
  left: 0;
  right: 0;
  height: 15px;
  content: "";
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 11px 12px;
  color: var(--revel-gold-soft);
  border-radius: 8px;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible {
  color: #fff;
  background: rgba(214, 174, 93, 0.1);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 9px;
  border: 1px solid var(--dark-line);
  border-radius: 999px;
}

.language-switch button {
  padding: 3px;
  color: var(--muted);
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 0.82rem;
  cursor: pointer;
}

.language-switch button.active {
  color: var(--primary);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--dark-line);
  border-radius: 8px;
}

.menu-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  background: #fff;
  transition: transform 180ms ease;
}

.menu-toggle span + span {
  margin-top: 5px;
}

.dark-section {
  color: var(--white);
  background:
    radial-gradient(circle at 15% 15%, rgba(0, 155, 79, 0.24), transparent 31%),
    radial-gradient(circle at 85% 20%, rgba(214, 174, 93, 0.13), transparent 25%),
    linear-gradient(135deg, #06120d 0%, #0a1711 54%, #102018 100%);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  align-items: center;
  gap: clamp(30px, 5vw, 72px);
  min-height: 100svh;
  padding: 118px clamp(18px, 5vw, 72px) 58px;
  overflow: hidden;
}

.hero-copy,
.section-heading,
.cta > div {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--primary);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.dark-section .eyebrow {
  color: var(--revel-gold-soft);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  font-size: clamp(3rem, 8vw, 6.9rem);
}

h2 {
  font-size: clamp(2.35rem, 5vw, 4.8rem);
}

h3 {
  margin: 0 0 13px;
  font-size: clamp(1.16rem, 2vw, 1.45rem);
  line-height: 1.12;
}

p {
  margin: 0;
  color: var(--soft-text);
}

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

.lead {
  margin-top: 26px;
  color: #e6f3e8;
  font-size: clamp(1.06rem, 1.8vw, 1.35rem);
}

.hero-copy > p:not(.eyebrow):not(.lead) {
  margin-top: 20px;
  max-width: 700px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 8px;
  font-weight: 800;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.button.primary {
  color: #fff;
  background: var(--primary);
  box-shadow: 0 18px 42px rgba(0, 155, 79, 0.33);
}

.button.secondary {
  color: #fff;
  border: 1px solid var(--dark-line);
  background: rgba(255, 255, 255, 0.06);
}

.button:hover,
.button:focus-visible,
.product-card:hover,
.feature-card:hover,
.process-grid article:hover {
  transform: translateY(-3px);
}

.button.primary:hover,
.button.primary:focus-visible {
  box-shadow: 0 22px 52px rgba(0, 155, 79, 0.43);
}

.hero-visual {
  position: relative;
  min-height: 470px;
}

.hero-visual img {
  width: min(780px, 100%);
  margin-left: auto;
  border: 1px solid rgba(247, 251, 246, 0.12);
  border-radius: 8px;
  box-shadow: 0 30px 95px rgba(0, 0, 0, 0.42);
}

.section {
  padding: clamp(78px, 10vw, 132px) clamp(18px, 5vw, 72px);
}

.light-section {
  background: var(--light);
}

.section-heading {
  margin-bottom: clamp(34px, 5vw, 58px);
}

.section-heading p:not(.eyebrow) {
  margin-top: 22px;
  max-width: 780px;
  font-size: 1.05rem;
}

.section-heading.split {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.75fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
}

.section-heading.wide {
  max-width: 980px;
}

.feature-grid,
.product-grid,
.app-pair,
.revel-flow,
.process-grid {
  display: grid;
  gap: 18px;
}

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

.feature-card,
.product-card,
.app-panel,
.process-grid article {
  border-radius: var(--radius);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.feature-card {
  padding: clamp(22px, 3vw, 34px);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.feature-card.compact {
  box-shadow: none;
}

.feature-card p {
  margin-top: 12px;
}

.icon-dot {
  display: block;
  width: 14px;
  height: 14px;
  margin-bottom: 28px;
  background: var(--primary);
  border-radius: 999px;
  box-shadow: 0 0 0 8px rgba(0, 155, 79, 0.12);
}

.icon-dot.sage {
  background: var(--sage);
  box-shadow: 0 0 0 8px rgba(143, 182, 156, 0.16);
}

.icon-dot.gold {
  background: var(--revel-gold);
  box-shadow: 0 0 0 8px rgba(214, 174, 93, 0.16);
}

.product-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
}

.product-card {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(24px, 4vw, 44px);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.product-card.featured {
  color: var(--white);
  background:
    radial-gradient(circle at 18% 14%, rgba(243, 213, 141, 0.22), transparent 30%),
    linear-gradient(135deg, #151006 0%, var(--revel-ink) 48%, #050607 100%);
  border-color: rgba(214, 174, 93, 0.3);
  box-shadow: 0 24px 76px rgba(11, 17, 24, 0.28);
}

.product-card.featured p {
  color: rgba(247, 251, 246, 0.76);
}

.product-card.featured .product-meta {
  color: var(--revel-gold-soft);
}

.product-card h3 {
  margin-top: 8px;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.product-logo-row {
  display: flex;
  gap: 12px;
  margin-bottom: 34px;
}

.product-logo-row img,
.app-logo {
  width: 68px;
  height: 68px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

.product-logo-row img {
  border: 1px solid rgba(214, 174, 93, 0.42);
}

.product-meta {
  color: var(--primary);
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.text-link {
  width: fit-content;
  margin-top: 28px;
  color: var(--revel-gold-soft);
  font-weight: 800;
  border-bottom: 2px solid var(--revel-gold);
}

.status-pill {
  width: fit-content;
  margin-top: 28px;
  padding: 9px 12px;
  color: var(--primary);
  font-weight: 800;
  font-size: 0.86rem;
  background: rgba(0, 155, 79, 0.12);
  border-radius: 999px;
}

.revel-section {
  padding-bottom: clamp(88px, 11vw, 146px);
}

.app-pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 42px;
}

.app-panel {
  padding: clamp(24px, 4vw, 42px);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--dark-line);
}

.app-panel.guest {
  background: rgba(0, 155, 79, 0.13);
}

.app-panel .product-meta {
  color: var(--revel-gold-soft);
}

.app-logo {
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.app-panel h3 {
  margin-top: 10px;
  color: #fff;
}

.app-panel ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.app-panel li {
  position: relative;
  padding-left: 23px;
  color: #e6f3e8;
}

.app-panel li::before {
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 8px;
  height: 8px;
  content: "";
  background: var(--revel-gold);
  border-radius: 999px;
}

.revel-flow {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  margin-top: 18px;
}

.revel-flow article {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--dark-line);
  border-radius: var(--radius);
}

.revel-flow h3 {
  color: #fff;
}

.result-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.result-row span {
  padding: 9px 11px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--dark-line);
  border-radius: 999px;
}

.process-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.process-grid article {
  min-height: 230px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
}

.process-grid span {
  display: block;
  margin-bottom: 38px;
  color: var(--primary);
  font-weight: 800;
}

.about-section {
  background: #fff;
}

.cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(76px, 9vw, 124px) clamp(18px, 5vw, 72px);
}

.cta h2 {
  max-width: 820px;
}

.cta p:not(.eyebrow) {
  max-width: 720px;
  margin-top: 20px;
}

.contact-actions {
  display: flex;
  min-width: 240px;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.contact-actions a:not(.button) {
  color: var(--muted);
  font-weight: 700;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 34px clamp(18px, 5vw, 72px);
  color: var(--white);
  background: #030b08;
  border-top: 1px solid var(--dark-line);
}

.site-footer p {
  margin-top: 10px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 980px) {
  .hero,
  .section-heading.split,
  .product-grid,
  .app-pair,
  .revel-flow,
  .cta {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 116px;
  }

  .hero-visual {
    min-height: auto;
  }

  .feature-grid.three,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta {
    align-items: start;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 68px;
  }

  .menu-toggle {
    display: grid;
  }

  .site-nav {
    position: fixed;
    inset: 68px 12px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 16px;
    background: rgba(6, 18, 13, 0.96);
    border: 1px solid var(--dark-line);
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    min-height: 46px;
    display: flex;
    align-items: center;
    padding: 0 8px;
    font-size: 1.05rem;
  }

  .nav-dropdown {
    display: grid;
    gap: 2px;
  }

  .nav-dropdown-trigger {
    min-height: 46px;
    padding: 0 8px;
  }

  .nav-dropdown-trigger::after {
    display: none;
  }

  .nav-dropdown-menu {
    position: static;
    min-width: 0;
    padding: 0 0 0 16px;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-dropdown-menu::before {
    display: none;
  }

  .nav-dropdown-menu a {
    min-height: 40px;
    padding: 0 8px;
    color: var(--revel-gold-soft);
    font-size: 0.98rem;
  }

  .language-switch {
    justify-content: center;
    margin-top: 8px;
  }

  .menu-open .menu-toggle span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-open .menu-toggle span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .hero {
    min-height: auto;
    padding-bottom: 46px;
  }

  h1 {
    font-size: clamp(2.75rem, 15vw, 4.4rem);
  }

  h2 {
    font-size: clamp(2.15rem, 12vw, 3.45rem);
  }

  .button-row,
  .button {
    width: 100%;
  }

  .feature-grid.three,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .product-card,
  .process-grid article {
    min-height: auto;
  }

  .site-footer {
    flex-direction: column;
  }
}
