:root {
  color-scheme: dark light;
  --bg: #0e1114;
  --bg-deep: #090b0d;
  --panel: #15191e;
  --panel-soft: #1d2329;
  --panel-raised: #202833;
  --text: #f1efe8;
  --muted: #b9b2a7;
  --line: #303842;
  --accent: #8fb6c9;
  --accent-strong: #c89b5f;
  --accent-soft: rgba(143, 182, 201, 0.14);
  --copper-soft: rgba(200, 155, 95, 0.14);
  --shadow: rgba(0, 0, 0, 0.34);
  --max: 1120px;
  --motion-x: 0;
  --motion-y: 0;
}

* { box-sizing: border-box; }

html {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  background: var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at calc(14% + var(--motion-x) * 2%) calc(2% + var(--motion-y) * 2%), rgba(143, 182, 201, 0.17), transparent 30rem),
    radial-gradient(circle at calc(86% - var(--motion-x) * 2%) calc(14% - var(--motion-y) * 2%), rgba(200, 155, 95, 0.13), transparent 26rem),
    linear-gradient(180deg, var(--bg) 0%, #11161a 52%, var(--bg-deep) 100%);
}

a {
  color: var(--accent);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover { text-decoration-thickness: 0.14em; }

.site-header,
.site-footer { border-color: var(--line); }

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(14, 17, 20, 0.84);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-weight: 850;
  letter-spacing: 0.08em;
  color: var(--text);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.96rem;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--text); }

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3rem) 1rem clamp(4rem, 8vw, 6rem);
}

main > section + section {
  margin-top: clamp(3.5rem, 7vw, 6rem);
}

.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3.5rem); }

.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.78fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero-copy { position: relative; z-index: 2; }

.hero-visual-card {
  position: relative;
  min-height: clamp(340px, 44vw, 540px);
  border: 1px solid rgba(143, 182, 201, 0.32);
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(140deg, rgba(143, 182, 201, 0.08), rgba(200, 155, 95, 0.06)), var(--panel);
  box-shadow: 0 38px 100px -50px rgba(0, 0, 0, 0.85);
  transform: translate3d(calc(var(--motion-x) * -8px), calc(var(--motion-y) * -6px), 0);
}

.hero-visual-card::before {
  content: "";
  position: absolute;
  inset: -4%;
  background: url('/assets/img/lgct-hero.svg') center / cover no-repeat;
  filter: saturate(1.2) contrast(1.12) brightness(1.18);
  opacity: 0.92;
  transform: scale(1.04) translate3d(calc(var(--motion-x) * 10px), calc(var(--motion-y) * 8px), 0);
  transition: transform 180ms linear;
}

.hero-visual-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 17, 20, 0.00), rgba(14, 17, 20, 0.10)),
    radial-gradient(circle at 72% 18%, rgba(241, 239, 232, 0.15), transparent 20rem);
  pointer-events: none;
}

.hero-visual-badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  max-width: 320px;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(241, 239, 232, 0.16);
  border-radius: 20px;
  background: rgba(9, 11, 13, 0.66);
  backdrop-filter: blur(14px);
}

.hero-visual-badge p { margin: 0; color: var(--text); }

.eyebrow {
  color: var(--accent);
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.76rem;
}

h1, h2, h3 {
  line-height: 1.12;
  margin: 0 0 1rem;
}

h1 {
  font-size: clamp(2.2rem, 6.6vw, 5.25rem);
  letter-spacing: -0.068em;
  max-width: 940px;
}

h2 {
  font-size: clamp(1.55rem, 4vw, 2.45rem);
  letter-spacing: -0.035em;
  margin-top: 0;
}

h3 {
  font-size: 1.22rem;
  margin-top: 1.6rem;
}

p, li { color: var(--muted); }

.lead {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  max-width: 760px;
}

.subtitle {
  color: var(--accent-strong);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 700;
  margin-top: -0.5rem;
}

.wide-text { max-width: 840px; }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.actions.compact { margin-top: 1rem; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.78rem 1.05rem;
  min-height: 44px;
  color: var(--text);
  text-decoration: none;
  background: rgba(21, 25, 30, 0.86);
  box-shadow: 0 14px 32px -24px var(--shadow);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.button.primary {
  border-color: transparent;
  color: #091016;
  background: linear-gradient(135deg, var(--accent), #b9d4df);
  font-weight: 750;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.grid.three { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card,
.identity-card,
.feature-card,
.service-detail,
.method-step,
.visual-panel {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(29, 35, 41, 0.92), rgba(21, 25, 30, 0.94));
  border-radius: 24px;
  box-shadow: 0 24px 60px -44px var(--shadow);
}

.card {
  position: relative;
  overflow: hidden;
  padding: 1.35rem;
  min-height: 180px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(143, 182, 201, 0.10), transparent 54%);
  opacity: 0;
  transition: opacity 180ms ease;
}

.card > * { position: relative; }
.card:hover { transform: translateY(-3px); border-color: rgba(143, 182, 201, 0.42); }
.card:hover::before { opacity: 1; }
.card h3, .card h2 { margin-top: 0; }

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  margin-bottom: 1rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(143, 182, 201, 0.20), rgba(200, 155, 95, 0.10));
  color: var(--text);
  border: 1px solid rgba(143, 182, 201, 0.18);
}

.service-icon svg {
  width: 1.28rem;
  height: 1.28rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: clamp(1.3rem, 3vw, 2rem);
  background:
    linear-gradient(135deg, var(--accent-soft), transparent 45%),
    linear-gradient(180deg, var(--panel-soft), var(--panel));
}

.studio-card {
  position: relative;
  overflow: hidden;
}

.studio-card::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -110px;
  top: -150px;
  background: radial-gradient(circle, rgba(200, 155, 95, 0.22), transparent 68%);
  pointer-events: none;
}

.visual-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(1.25rem, 3vw, 2rem);
  min-height: 260px;
  background:
    radial-gradient(circle at 80% 20%, rgba(200, 155, 95, 0.18), transparent 16rem),
    radial-gradient(circle at 12% 85%, rgba(143, 182, 201, 0.18), transparent 18rem),
    linear-gradient(180deg, rgba(29, 35, 41, 0.92), rgba(21, 25, 30, 0.94));
}

.visual-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('/assets/img/lgct-hero.svg') center / cover no-repeat;
  opacity: 0.20;
  filter: saturate(1.15) brightness(1.2);
}

.visual-panel > * { position: relative; }

.project-list { display: grid; gap: 1rem; max-width: 780px; }
.project-card { padding: 1.5rem; }

.status-pill {
  display: inline-flex;
  width: fit-content;
  border: 1px solid rgba(200, 155, 95, 0.42);
  background: var(--copper-soft);
  color: var(--text);
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  margin: 0 0 1rem;
  font-size: 0.84rem;
  font-weight: 650;
}

.section-heading h2 { margin-top: 0; }

.kicker-list,
.services-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding: 0;
  list-style: none;
}

.kicker-list { margin: 1.2rem 0 0; }
.services-strip { margin: 1.2rem 0 0; }

.kicker-list li,
.services-strip li {
  border: 1px solid rgba(143, 182, 201, 0.26);
  background: rgba(143, 182, 201, 0.08);
  color: var(--text);
  border-radius: 999px;
  padding: 0.45rem 0.72rem;
  font-size: 0.92rem;
}

.notice {
  border-left: 4px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 18px;
  padding: 1rem;
  margin: 1.5rem 0;
}

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

.method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1rem;
  counter-reset: method;
}

.method-step {
  position: relative;
  min-height: 190px;
  padding: 1.25rem;
  overflow: hidden;
}

.method-step::before {
  counter-increment: method;
  content: "0" counter(method);
  display: block;
  color: var(--accent-strong);
  font-weight: 850;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.service-detail { padding: 1.35rem; }
.service-detail h2 { margin-top: 0; }

.product-nav {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin: 1.5rem 0 clamp(2.5rem, 6vw, 4.5rem);
  padding: 0.65rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(21, 25, 30, 0.72);
  width: fit-content;
  max-width: 100%;
}

.product-nav a {
  color: var(--muted);
  text-decoration: none;
  border-radius: 999px;
  padding: 0.48rem 0.72rem;
  white-space: nowrap;
}

.product-nav a:hover,
.product-nav a[aria-current="page"] {
  color: var(--text);
  background: rgba(143, 182, 201, 0.12);
}

.product-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 420px);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.phone-mockup {
  position: relative;
  width: min(100%, 360px);
  min-height: 560px;
  margin-inline: auto;
  border: 1px solid rgba(143, 182, 201, 0.30);
  border-radius: 42px;
  background:
    radial-gradient(circle at 50% 16%, rgba(143, 182, 201, 0.24), transparent 11rem),
    linear-gradient(180deg, #141a20, #090b0d);
  box-shadow: 0 34px 100px -46px rgba(0, 0, 0, 0.92);
  overflow: hidden;
  transform: translate3d(calc(var(--motion-x) * -5px), calc(var(--motion-y) * -7px), 0);
}

.phone-mockup::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0.8rem;
  transform: translateX(-50%);
  width: 5.2rem;
  height: 0.34rem;
  border-radius: 999px;
  background: rgba(241, 239, 232, 0.18);
}

.phone-screen {
  position: absolute;
  inset: 3.1rem 1.05rem 1.05rem;
  border-radius: 30px;
  padding: 1.1rem;
  background:
    linear-gradient(180deg, rgba(143, 182, 201, 0.12), rgba(200, 155, 95, 0.05)),
    #0e1114;
  border: 1px solid rgba(241, 239, 232, 0.10);
}

.player-art {
  aspect-ratio: 1;
  border-radius: 26px;
  background:
    radial-gradient(circle at 34% 28%, rgba(143, 182, 201, 0.55), transparent 34%),
    radial-gradient(circle at 70% 75%, rgba(200, 155, 95, 0.38), transparent 36%),
    linear-gradient(135deg, #1d2329, #080a0c);
  border: 1px solid rgba(143, 182, 201, 0.18);
}

.player-line,
.player-line.short {
  height: 0.72rem;
  border-radius: 999px;
  background: rgba(241, 239, 232, 0.18);
  margin-top: 1rem;
}

.player-line.short { width: 62%; background: rgba(143, 182, 201, 0.28); }

.player-wave {
  display: flex;
  gap: 0.28rem;
  align-items: end;
  height: 4.3rem;
  margin: 1.3rem 0;
}

.player-wave span {
  flex: 1;
  min-width: 5px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent), var(--accent-strong));
  opacity: 0.72;
}

.player-wave span:nth-child(1) { height: 30%; }
.player-wave span:nth-child(2) { height: 62%; }
.player-wave span:nth-child(3) { height: 42%; }
.player-wave span:nth-child(4) { height: 78%; }
.player-wave span:nth-child(5) { height: 52%; }
.player-wave span:nth-child(6) { height: 88%; }
.player-wave span:nth-child(7) { height: 38%; }
.player-wave span:nth-child(8) { height: 65%; }
.player-wave span:nth-child(9) { height: 48%; }
.player-wave span:nth-child(10) { height: 72%; }

.player-controls {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
}

.player-controls span {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  background: rgba(143, 182, 201, 0.16);
  border: 1px solid rgba(143, 182, 201, 0.18);
}

.player-controls span:nth-child(2) {
  width: 3.4rem;
  height: 3.4rem;
  margin-top: -0.4rem;
  background: var(--accent);
}

.premium-visual {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(200, 155, 95, 0.28);
  background:
    radial-gradient(circle at 72% 32%, rgba(200, 155, 95, 0.26), transparent 18rem),
    linear-gradient(180deg, rgba(29, 35, 41, 0.92), rgba(21, 25, 30, 0.94));
  min-height: 260px;
  padding: 1.4rem;
}

.premium-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent, rgba(241, 239, 232, 0.10), transparent),
    url('/assets/img/lgct-hero.svg') center / cover no-repeat;
  opacity: 0.28;
}

.premium-visual > * { position: relative; }

.equalizer {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 0.5rem;
  align-items: end;
  height: 180px;
  margin-top: 1rem;
}

.equalizer span {
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, var(--accent-strong), var(--accent));
  opacity: 0.72;
}

.equalizer span:nth-child(1) { height: 42%; }
.equalizer span:nth-child(2) { height: 70%; }
.equalizer span:nth-child(3) { height: 52%; }
.equalizer span:nth-child(4) { height: 88%; }
.equalizer span:nth-child(5) { height: 61%; }
.equalizer span:nth-child(6) { height: 78%; }
.equalizer span:nth-child(7) { height: 38%; }
.equalizer span:nth-child(8) { height: 92%; }
.equalizer span:nth-child(9) { height: 58%; }
.equalizer span:nth-child(10) { height: 76%; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible { opacity: 1; transform: translateY(0); }

.legal-page h1,
.product-hero h1 { font-size: clamp(2rem, 6vw, 3.8rem); }

.legal-page section {
  border-top: 1px solid var(--line);
  padding-top: clamp(1.4rem, 3vw, 2rem);
  margin-top: clamp(2rem, 5vw, 3.5rem);
}

.legal-page .hero {
  border-top: 0;
  padding-top: clamp(2rem, 6vw, 5rem);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
  margin-top: clamp(2rem, 6vw, 4rem);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 2.3rem) 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}

.footer-inner p,
.footer-inner a {
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .hero-split,
  .feature-card,
  .product-hero-layout { grid-template-columns: 1fr; }
  .hero-visual-card { min-height: 340px; }
  .phone-mockup { min-height: 520px; }
}

@media (max-width: 780px) {
  .nav { align-items: flex-start; flex-direction: column; }
  .nav-links {
    width: 100%;
    justify-content: flex-start;
    gap: 0.8rem;
    overflow-x: auto;
    padding-bottom: 0.2rem;
  }
  main { padding-top: 1.5rem; }
  main > section + section { margin-top: 3rem; }
  h1 { letter-spacing: -0.055em; }
  .product-nav {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    border-radius: 22px;
  }
  .phone-mockup { min-height: 470px; }
}

@media (max-width: 520px) {
  .hero-visual-badge { max-width: calc(100% - 2rem); }
  .card { min-height: auto; }
  .phone-screen { inset: 2.8rem 0.8rem 0.8rem; }
  .phone-mockup { min-height: 430px; border-radius: 32px; }
  .player-wave { height: 3.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-visual-card,
  .hero-visual-card::before,
  .phone-mockup { transform: none; }
}
