:root {
  color-scheme: dark;
  --background: #1a1c20;
  --text: #eeedf0;
  --muted: #c0bec1;
  --gold: #ddc19a;
  --line: #525052;
  font-family: Montserrat, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: radial-gradient(ellipse at 9% 4%, #303134, transparent 61rem), var(--background);
  border-bottom: 1px solid #323235;
}
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid #f4cc97; outline-offset: 5px; }
a:hover { color: var(--gold); }
h1, h2, h3, p { margin: 0; }
.wrap { width: min(86%, 1280px); margin-inline: auto; }
.site-header {
  min-height: 118px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
  color: var(--gold);
  font-size: .91rem;
  text-transform: uppercase;
  line-height: 1.2;
}
.brand-emblem {
  width: 64px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  isolation: isolate;
  border: 1px solid #9a80638c;
}
.brand-emblem img { position: absolute; width: 163%; height: auto; left: -32%; top: -102%; }
.header-nav, .site-footer nav, .install-links { display: flex; flex-wrap: wrap; gap: .65rem 1.55rem; }
.header-nav { justify-content: center; }
.header-nav a, .site-footer nav a { font-size: .92rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  border-radius: 9px;
  padding: .56rem 1.2rem;
  font-weight: 500;
  font-size: .94rem;
  text-align: center;
}
.button-outline { border: 1px solid #a99172; color: var(--gold); box-shadow: 0 1px 7px #10101355; }
.button-outline:hover { background: #ddc19a14; color: #f7e5c7; }

.hero { overflow: hidden; padding-block: clamp(2rem, 5vw, 5.5rem) clamp(4rem, 8.7vw, 8.5rem); }
.hero-inner { display: grid; grid-template-columns: 54% 46%; align-items: center; }
.hero-copy { z-index: 1; }
.hero h1 {
  font-size: clamp(2.15rem, 5.2vw, 5rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.04em;
  text-transform: uppercase;
}
.hero h1 span { display: block; color: var(--gold); }
.hero p { max-width: 37ch; margin-top: 1.25rem; color: var(--muted); font-size: clamp(1rem, 1.56vw, 1.3rem); }
.hero-art {
  position: relative;
  margin-left: 4%;
  width: calc(96% + max(7vw, (100vw - 1280px) / 2));
  aspect-ratio: 418 / 311;
  overflow: hidden;
  border-radius: 17px 0 0 17px;
  filter: drop-shadow(0 18px 26px #0c0d10a0);
}
.hero-art img { position: absolute; width: 228.71%; height: auto; left: -128.71%; top: -47.59%; }

.products { scroll-margin: 1.5rem; }
.section-title {
  margin-bottom: clamp(1.4rem, 3.8vw, 3rem);
  color: var(--gold);
  text-align: center;
  text-transform: uppercase;
  font-size: clamp(1.26rem, 3.1vw, 2.5rem);
  font-weight: 400;
  line-height: 1.3;
}
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); }
.glass {
  border: 1px solid var(--line);
  border-radius: 13px;
  background: radial-gradient(ellipse at 30% 0%, #49494d, transparent 53%), linear-gradient(145deg, #292b2f, #202126 68%);
  box-shadow: 0 14px 30px #0d0e1078, inset 0 1px 0 #ffffff10;
}
.product { padding: clamp(1.2rem, 3vw, 2.4rem); display: flex; flex-direction: column; align-items: stretch; }
.product-brand { display: flex; align-items: center; justify-content: space-between; gap: .65rem; }
.product-brand img { display: block; width: 48px; height: 48px; border-radius: 11px; object-fit: cover; }
.product-brand span { border: 1px solid #888589; border-radius: calc(1em + 8px); color: #dedbde; font-size: .8rem; padding: .17rem .7rem; }
.slot .product-brand span { color: var(--gold); border-color: #a99172; }
.product h3 { font-size: clamp(1.7rem, 3.45vw, 2.6rem); font-weight: 500; margin-top: .8rem; line-height: 1.17; }
.product p { max-width: 39ch; color: var(--muted); margin-top: .55rem; font-size: clamp(.98rem, 1.55vw, 1.2rem); }
.product-button { width: 100%; margin-top: clamp(1.5rem, 3.3vw, 2.75rem); }
.slot .product-button { color: #2b181f; background: #e8a0aa; }
.slot .product-button:hover { background: #f4b7bf; color: #2b181f; }
.vibe .product-button { color: #fff4f5; background: linear-gradient(120deg, #4e162b, #9b4f69); box-shadow: inset 0 0 0 1px #cf91a5a0; }
.vibe .product-button:hover { color: #fff; background: linear-gradient(120deg, #65203a, #a85b76); }
.product-links { display: flex; flex-wrap: wrap; gap: .5rem 1.12rem; margin-top: .95rem; }
.product-links a, .install-links a, .install-source { text-decoration: underline; text-underline-offset: .22em; font-size: .88rem; color: var(--muted); }
.product-links a:hover, .install-links a:hover, .install-source:hover { color: var(--gold); }

.crm { margin-top: clamp(3.25rem, 8vw, 6rem); padding: clamp(1.5rem, 3.5vw, 2.7rem); display: grid; justify-items: center; gap: 1rem; text-align: center; }
.crm h2 { font-size: clamp(1.13rem, 3vw, 2.35rem); line-height: 1.2; font-weight: 500; text-transform: uppercase; }
.install {
  margin-top: clamp(2rem, 4vw, 3.5rem);
  padding: clamp(1.25rem, 3vw, 2rem);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: start;
  gap: .6rem 1.8rem;
  scroll-margin: 1rem;
}
.install h2, .vibe-existing h2 { color: var(--gold); font-size: clamp(1.12rem, 2.4vw, 1.55rem); font-weight: 500; }
.install p { color: var(--muted); margin-block: .5rem .6rem; }
.install ol { margin: 0; padding-left: 1.3rem; color: var(--text); }
.install li + li { margin-top: .28rem; }
.install-source { grid-column: 2; }
.site-footer { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: .9rem 1rem; padding-block: 2.4rem 1.5rem; color: var(--muted); }
.domain { color: var(--gold); }
.vibe-page { max-width: 660px; margin-top: 2rem; }
.vibe-page h1 { font-size: clamp(2.5rem, 8vw, 4.4rem); font-weight: 500; }
.vibe-existing { border-top: 1px solid var(--line); margin-top: 1.4rem; padding-top: 1.15rem; }

@media (max-width: 850px) {
  .site-header { min-height: 95px; }
  .header-nav { gap: .6rem 1rem; }
  .brand-emblem { width: 51px; }
}
@media (max-width: 680px) {
  .wrap { width: 90%; }
  .site-header { display: grid; grid-template-columns: 1fr auto; row-gap: .55rem; padding-block: .95rem; }
  .header-nav { order: 1; grid-column: 1 / -1; justify-content: space-between; }
  .brand { font-size: .73rem; gap: .45rem; }
  .brand-emblem { width: 46px; }
  .account-link { padding-inline: .6rem; font-size: .78rem; }
  .hero { padding-block: 1.8rem 3.2rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 1.55rem; }
  .hero h1 { font-size: clamp(1.85rem, 7.9vw, 3.3rem); }
  .hero-art { margin-left: 0; width: min(105.5%, 31rem); }
  .product-grid, .install { grid-template-columns: 1fr; }
  .install-source { grid-column: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
