/* =========================================================
   Henosys — Software Factory
   Lightweight static site
   ========================================================= */

:root {
  --bg: #080808;
  --bg-deep: #050505;
  --surface: #0e0d0b;
  --surface-2: #141210;
  --line: rgba(255, 255, 255, 0.075);
  --line-strong: rgba(255, 255, 255, 0.15);
  --text: #f4f1ea;
  --muted: #a8a399;
  --muted-2: #746f65;
  --accent: #c9a45c;
  --accent-2: #e3c784;
  --gold: #d8b25e;
  --gold-light: #f2dca4;
  --gold-deep: #a57c34;
  --gold-line: rgba(216, 178, 94, 0.22);
  --lunami: #e0b07a;
  --gymbit: #d8b25e;
  --radius: 24px;
  --maxw: 1160px;
  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  color-scheme: dark;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(820px 620px at 16% -8%, rgba(216, 178, 94, 0.12), transparent 65%),
    radial-gradient(680px 520px at 88% -4%, rgba(216, 178, 94, 0.065), transparent 62%),
    radial-gradient(900px 700px at 50% 112%, rgba(216, 178, 94, 0.05), transparent 65%);
}

img {
  max-width: 100%;
  height: auto;
}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.03em;
  margin: 0;
}

p {
  margin: 0;
}

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

::selection {
  background: rgba(216, 178, 94, 0.35);
  color: #fff;
}

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

section[id] {
  scroll-margin-top: 96px;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 200;
  background: var(--gold-light);
  color: #080808;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  transition: top 0.2s ease;
}

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

/* ----------------------------- Header ----------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 8, 8, 0.55);
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease;
}

@supports (backdrop-filter: blur(1px)) {
  .site-header {
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
  }
}

.site-header.is-scrolled {
  background: rgba(8, 8, 8, 0.9);
  border-bottom-color: rgba(216, 178, 94, 0.14);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 78px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
}

.brand img {
  width: 182px;
  height: auto;
  display: block;
  opacity: 0.96;
}

.brand-sub {
  font-size: 7.5px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #9d8c66;
  padding-left: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.nav a {
  font-size: 13.5px;
  color: #b3aa99;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--gold-light);
}

.header-cta {
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  margin-left: auto;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(216, 178, 94, 0.22);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.menu-toggle:hover {
  border-color: rgba(216, 178, 94, 0.42);
  background: rgba(216, 178, 94, 0.05);
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

.mobile-menu {
  border-top: 1px solid var(--line);
  background: rgba(8, 8, 8, 0.98);
  padding: 10px 28px 26px;
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
}

.mobile-menu nav a:not(.btn) {
  padding: 13px 2px;
  font-size: 15.5px;
  color: #d3cbbb;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-menu .btn {
  margin-top: 18px;
  justify-content: center;
}

/* ----------------------------- Buttons ----------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.btn:hover svg {
  transform: translateX(2px);
}

.btn-primary {
  background: linear-gradient(135deg, #f4e2b4 0%, #d8b25e 48%, #b98c3c 100%);
  color: #0a0908;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 14px 34px -18px rgba(216, 178, 94, 0.65);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #f9eac2 0%, #e4c37d 48%, #c69a45 100%);
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(216, 178, 94, 0.03);
  border-color: rgba(216, 178, 94, 0.26);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(216, 178, 94, 0.08);
  border-color: rgba(216, 178, 94, 0.48);
  transform: translateY(-1px);
}

.btn-sm {
  height: 40px;
  padding: 0 18px;
  font-size: 13.5px;
}

.btn-lg {
  height: 56px;
  padding: 0 30px;
  font-size: 15.5px;
}

/* ----------------------------- Hero ----------------------------- */

.hero {
  position: relative;
  padding: clamp(64px, 8vw, 104px) 0 clamp(76px, 9vw, 120px);
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: -10% -5% auto;
  height: 115%;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(216, 178, 94, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(216, 178, 94, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 72% 62% at 50% 18%, #000 10%, transparent 74%);
  mask-image: radial-gradient(ellipse 72% 62% at 50% 18%, #000 10%, transparent 74%);
  opacity: 0.65;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 1020px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 32px;
  padding: 0 14px;
  border: 1px solid rgba(216, 178, 94, 0.22);
  border-radius: 999px;
  background: rgba(216, 178, 94, 0.045);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #cbbb9a;
}

.pill-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(216, 178, 94, 0.9);
}

.hero h1 {
  margin-top: 28px;
  max-width: 16ch;
  font-size: clamp(2.7rem, 6.6vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.grad {
  background: linear-gradient(97deg, #f7e7bd 0%, #e3c784 40%, #d8b25e 68%, #b98c3c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  margin-top: 26px;
  max-width: 620px;
  font-size: clamp(15.5px, 1.35vw, 17.5px);
  line-height: 1.68;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 26px;
  margin-top: 46px;
  font-size: 12.5px;
  color: var(--muted-2);
}

.hero-meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px rgba(216, 178, 94, 0.8);
}

/* ----------------------------- Sections ----------------------------- */

.section {
  padding: clamp(72px, 9vw, 120px) 0;
}

.section-alt {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(216, 178, 94, 0.022), rgba(255, 255, 255, 0));
}

.section-head {
  max-width: 660px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.section h2 {
  margin-top: 16px;
  font-size: clamp(2rem, 3.7vw, 3.05rem);
  line-height: 1.07;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.dim {
  color: #6f6a60;
}

.section-lead {
  margin-top: 18px;
  max-width: 580px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--muted);
}

/* ----------------------------- Products ----------------------------- */

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(216, 178, 94, 0.32);
  box-shadow: 0 28px 80px -44px rgba(216, 178, 94, 0.55);
}

.product-cover {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 232px;
  padding: 26px 28px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.product-card--lunami .product-cover {
  background:
    radial-gradient(120% 140% at 12% 4%, rgba(255, 196, 150, 0.34), transparent 55%),
    radial-gradient(110% 130% at 94% 90%, rgba(216, 178, 94, 0.34), transparent 62%),
    linear-gradient(160deg, #1a1108, #0b0907);
}

.product-card--gymbit .product-cover {
  background:
    radial-gradient(120% 140% at 12% 4%, rgba(235, 214, 150, 0.26), transparent 56%),
    radial-gradient(110% 130% at 94% 90%, rgba(180, 138, 60, 0.4), transparent 62%),
    linear-gradient(160deg, #17130a, #0a0908);
}

.product-cover::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  right: -86px;
  top: -110px;
  border: 1px solid rgba(216, 178, 94, 0.18);
  border-radius: 50%;
}

.product-cover::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -26px;
  top: -50px;
  border: 1px solid rgba(216, 178, 94, 0.12);
  border-radius: 50%;
}

.product-tag {
  position: absolute;
  top: 22px;
  left: 26px;
  z-index: 1;
  padding: 6px 11px;
  border: 1px solid rgba(216, 178, 94, 0.26);
  border-radius: 999px;
  background: rgba(8, 8, 8, 0.3);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #d7c5a0;
  backdrop-filter: blur(6px);
}

.product-name {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 3.6vw, 2.9rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #fff;
}

.product-domain {
  position: relative;
  z-index: 1;
  margin-top: 8px;
  font-size: 12.5px;
  letter-spacing: 0.01em;
  color: rgba(244, 241, 234, 0.52);
}

.product-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 26px 28px 28px;
}

.product-body h3 {
  font-size: 20px;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.product-body > p {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.68;
  color: var(--muted);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.tags li {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  font-size: 11.5px;
  color: #c1b9a8;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 26px;
  font-size: 13.5px;
  font-weight: 500;
  color: #fff;
  transition: color 0.2s ease;
}

.product-link svg {
  width: 15px;
  height: 15px;
  transition: transform 0.2s ease;
}

.product-link:hover {
  color: var(--gold-light);
}

.product-link:hover svg {
  transform: translate(2px, -2px);
}

.next-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 24px;
  padding: 28px 32px;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 22px;
  background:
    linear-gradient(90deg, rgba(216, 178, 94, 0.06), rgba(255, 255, 255, 0.01) 60%);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.next-card:hover {
  border-color: rgba(216, 178, 94, 0.42);
}

.next-card h3 {
  margin-top: 10px;
  max-width: 560px;
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: -0.018em;
}

.next-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
  font-size: 13.5px;
  font-weight: 500;
  color: #fff;
  transition: color 0.2s ease;
}

.next-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.next-link:hover {
  color: var(--gold-light);
}

.next-link:hover svg {
  transform: translateX(3px);
}

/* ----------------------------- Services ----------------------------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.service-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.018);
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.service-card:hover {
  transform: translateY(-2px);
  border-color: rgba(216, 178, 94, 0.28);
  background: rgba(216, 178, 94, 0.035);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border: 1px solid rgba(216, 178, 94, 0.22);
  border-radius: 12px;
  background: linear-gradient(155deg, rgba(216, 178, 94, 0.2), rgba(255, 255, 255, 0.015));
  color: #e7cb8c;
}

.service-icon svg {
  width: 21px;
  height: 21px;
}

.service-card h3 {
  font-size: 17.5px;
  letter-spacing: -0.012em;
}

.service-card p {
  margin-top: 9px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--muted);
}

/* ----------------------------- Process ----------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.steps li {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--gold);
}

.steps h3 {
  margin-top: 26px;
  font-size: 17.5px;
  letter-spacing: -0.012em;
}

.steps p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}

/* ----------------------------- About ----------------------------- */

.about-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: clamp(36px, 6vw, 72px);
  align-items: start;
}

.about-copy h2 {
  margin-top: 16px;
  font-size: clamp(1.85rem, 3.1vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.about-copy > p {
  margin-top: 18px;
  max-width: 570px;
  font-size: 15px;
  line-height: 1.72;
  color: var(--muted);
}

.stack {
  margin-top: 34px;
}

.stack-label {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.stack ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 13px;
}

.stack li {
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px;
  color: #d1c9ba;
  background: rgba(255, 255, 255, 0.018);
}

.about-panel {
  padding: 6px 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(216, 178, 94, 0.035), rgba(255, 255, 255, 0.006));
}

.stat {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.stat:last-of-type {
  border-bottom: 0;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  background: linear-gradient(120deg, #f7e7bd, #d8b25e 60%, #b98c3c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat span {
  display: block;
  margin-top: 7px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}

.about-note {
  padding: 20px 0 24px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted-2);
}

.about-note a {
  color: #e2d8c4;
  border-bottom: 1px solid rgba(216, 178, 94, 0.35);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.about-note a:hover {
  color: var(--gold-light);
  border-color: var(--gold);
}

/* ----------------------------- Contact ----------------------------- */

.contact-card {
  position: relative;
  overflow: hidden;
  padding: clamp(42px, 6vw, 78px) clamp(24px, 5vw, 64px);
  border: 1px solid rgba(216, 178, 94, 0.16);
  border-radius: 28px;
  text-align: center;
  background:
    radial-gradient(600px 320px at 50% 0%, rgba(216, 178, 94, 0.1), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.006));
}

.contact-glow {
  position: absolute;
  top: -160px;
  left: 50%;
  width: 460px;
  height: 460px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 178, 94, 0.2), transparent 68%);
  filter: blur(20px);
  pointer-events: none;
}

.contact-card .eyebrow {
  position: relative;
}

.contact-card h2 {
  position: relative;
  margin-top: 18px;
  font-size: clamp(2.1rem, 4.4vw, 3.5rem);
  line-height: 1.06;
}

.contact-lead {
  position: relative;
  max-width: 520px;
  margin: 20px auto 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

.contact-card .btn {
  position: relative;
  margin-top: 32px;
}

.contact-meta {
  position: relative;
  margin-top: 20px;
  font-size: 12px;
  color: var(--muted-2);
}

.contact-meta a {
  color: #d8c8a8;
  border-bottom: 1px solid rgba(216, 178, 94, 0.3);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.contact-meta a:hover {
  color: var(--gold-light);
  border-color: var(--gold);
}

/* ----------------------------- Footer ----------------------------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
  padding: clamp(48px, 6vw, 68px) 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand img {
  width: 200px;
  height: auto;
  opacity: 0.92;
}

.footer-brand p {
  margin-top: 18px;
  max-width: 300px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted-2);
}

.footer-mail {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  color: #e0d6c2;
  border-bottom: 1px solid rgba(216, 178, 94, 0.3);
  padding-bottom: 1px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.footer-mail:hover {
  color: var(--gold-light);
  border-color: var(--gold);
}

.footer-legal {
  margin-top: 14px;
  font-size: 11px;
  line-height: 1.65;
  color: #6f6a60;
}

.footer-col h3 {
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #93876f;
}

.footer-col ul {
  display: grid;
  gap: 11px;
  margin-top: 17px;
}

.footer-col a {
  font-size: 13px;
  color: #bdb5a6;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: 52px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--muted-2);
}

/* ----------------------------- Legal pages ----------------------------- */

.legal-page {
  padding: clamp(56px, 8vw, 96px) 0 clamp(80px, 9vw, 110px);
}

.legal {
  max-width: 740px;
  margin: 0 auto;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: var(--muted);
  transition: color 0.2s ease;
}

.legal-back svg {
  width: 14px;
  height: 14px;
}

.legal-back:hover {
  color: var(--gold-light);
}

.legal h1 {
  margin-top: 26px;
  font-size: clamp(2.1rem, 4vw, 3rem);
  line-height: 1.08;
}

.legal-updated {
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted-2);
}

.legal-intro {
  margin-top: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
  line-height: 1.72;
  color: #c3bbab;
}

.legal h2 {
  margin-top: 38px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.legal h3 {
  margin-top: 22px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-body);
  letter-spacing: 0;
}

.legal p {
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 1.75;
  color: #b0a99c;
}

.legal ul {
  margin-top: 12px;
  padding-left: 20px;
  list-style: disc;
}

.legal li {
  margin-top: 7px;
  font-size: 14.5px;
  line-height: 1.7;
  color: #b0a99c;
}

.legal a {
  color: #ecd9a9;
  border-bottom: 1px solid rgba(216, 178, 94, 0.32);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.legal a:hover {
  color: var(--gold-light);
  border-color: var(--gold-light);
}

.legal-cta {
  margin-top: 44px;
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
}

.legal-cta h2 {
  margin-top: 0;
  font-size: 16px;
}

.legal-cta p {
  margin-top: 8px;
  font-size: 13.5px;
}

/* ----------------------------- Reveal ----------------------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--d, 0s);
}

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

/* ----------------------------- Responsive ----------------------------- */

@media (max-width: 980px) {
  .nav {
    gap: 22px;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-panel {
    max-width: 520px;
  }

  .footer-grid {
    grid-template-columns: 1.6fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .header-inner {
    height: 70px;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .product-cover {
    min-height: 210px;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 34px 28px;
  }

  .hero-meta {
    max-width: 420px;
  }
}

@media (max-width: 680px) {
  .container {
    padding: 0 20px;
  }

  .mobile-menu {
    padding: 8px 20px 24px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .next-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
  }

  .next-link {
    white-space: normal;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    margin-top: 40px;
  }

  .legal h1 {
    margin-top: 20px;
  }
}

@media (max-width: 560px) {
  .hero {
    padding-top: 52px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 340px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-meta {
    flex-direction: column;
    gap: 8px;
    margin-top: 38px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .product-cover {
    min-height: 190px;
    padding: 22px 22px;
  }

  .product-tag {
    top: 20px;
    left: 22px;
  }

  .product-body {
    padding: 22px;
  }

  .service-card {
    padding: 24px;
  }

  .about-panel {
    padding: 4px 22px;
  }

  .brand img {
    width: 158px;
  }

  .brand-sub {
    font-size: 6.5px;
    letter-spacing: 0.36em;
  }

  .contact-card {
    border-radius: 22px;
  }

  .contact-card .btn {
    width: 100%;
  }

  .footer-brand img {
    width: 180px;
  }
}

/* ----------------------------- Motion preferences ----------------------------- */

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

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
