/* Gold-cyan glass extended past the welcome mark and view tabs.
   Box sizes of the tabs, the welcome scene, and the hero name motion stay as they are. */
:root {
  --gc-gold: #dcc58a;
  --gc-cyan: #8ed4ce;
  --gc-gold-hi: #f1e2b3;
  --gc-ease: cubic-bezier(.16, 1, .3, 1);
  --gc-text: linear-gradient(100deg, var(--gc-gold-hi) 0%, var(--gc-gold) 38%, var(--gc-cyan) 100%);
  --gc-text-muted: linear-gradient(100deg, #e3d6ae 0%, #cdb97f 40%, #86c4bf 100%);
  --gc-text-link: linear-gradient(100deg, #e8dcb5 0%, #d6c48f 40%, #8ed4ce 100%);
  --gc-line: linear-gradient(90deg, transparent, var(--gc-gold) 20%, var(--gc-cyan) 80%, transparent);
  --gc-glow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 0 18px rgba(220, 197, 138, .14), 0 6px 18px rgba(0, 0, 0, .25);
}

.hero-headline {
  color: var(--gc-gold-hi);
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero-headline,
  .section-header,
  .showcase-card h3 {
    background-image: var(--gc-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--gc-gold-hi);
  }
}

.section-header {
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
  color: var(--gc-gold-hi);
}
.section-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  border-radius: 1px;
  background: var(--gc-line);
  opacity: .85;
  transform: scaleX(1);
  transform-origin: left center;
}

.btn-primary-cyan,
.btn-secondary-outline {
  position: relative;
  text-decoration: none;
  min-height: 46px;
  border-radius: 7px;
  -webkit-backdrop-filter: blur(8px) saturate(130%);
  backdrop-filter: blur(8px) saturate(130%);
}
.btn-primary-cyan {
  background: rgba(28, 42, 59, .88);
  border: 1px solid rgba(220, 197, 138, .22);
  box-shadow: var(--gc-glow);
  color: var(--gc-gold-hi);
}
.btn-secondary-outline {
  background: rgba(17, 26, 37, .5);
  border: 1px solid rgba(202, 218, 235, .1);
  color: #e8dcb5;
}
.nav-link,
.header-contact {
  position: relative;
  text-decoration: none;
  color: #e8dcb5;
}
.btn-primary-cyan .gc-label,
.btn-secondary-outline .gc-label,
.nav-link .gc-label,
.header-contact .gc-label {
  background-image: var(--gc-text-muted);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.btn-primary-cyan .gc-label,
.nav-link.active .gc-label,
.nav-link:hover .gc-label,
.header-contact:hover .gc-label,
.btn-primary-cyan:hover .gc-label,
.btn-secondary-outline:hover .gc-label {
  background-image: var(--gc-text);
}
.btn-primary-cyan::after,
.btn-secondary-outline::after,
.nav-link::after,
.header-contact::after,
.btn-demo-link::after,
.footer-simple a::after,
.directory-item a::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 6px;
  height: 1px;
  border-radius: 1px;
  background: var(--gc-line);
  opacity: .85;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .45s var(--gc-ease), opacity .25s ease;
}
.btn-primary-cyan::after,
.nav-link.active::after,
.btn-demo-link::after,
.footer-simple a::after,
.directory-item a::after {
  transform: scaleX(1);
}
.btn-secondary-outline:hover::after,
.nav-link:not(.active):hover::after,
.header-contact:hover::after {
  transform: scaleX(.6);
  opacity: .6;
}
.btn-primary-cyan:hover,
.btn-secondary-outline:hover {
  transform: none;
  background: rgba(25, 37, 52, .7);
  border-color: rgba(220, 197, 138, .14);
}
.btn-primary-cyan:focus-visible,
.btn-secondary-outline:focus-visible,
.nav-link:focus-visible,
.header-contact:focus-visible,
.footer-simple a:focus-visible,
.directory-item a:focus-visible,
.btn-demo-link:focus-visible {
  outline: 2px solid var(--gc-cyan);
  outline-offset: 3px;
}

.btn-demo-link,
.footer-simple a,
.directory-item a {
  position: relative;
  text-decoration: none;
  color: #e8dcb5;
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .btn-demo-link,
  .footer-simple a,
  .directory-item a {
    background-image: var(--gc-text-link);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}
.footer-simple a,
.directory-item a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.directory-item { padding-block: 8px; }

.showcase-card {
  background: rgba(17, 26, 37, .78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
.showcase-card:hover {
  transform: none;
  border-color: rgba(220, 197, 138, .28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 10px 24px rgba(0, 0, 0, .28), 0 0 18px rgba(220, 197, 138, .12);
}
.brand-title {
  color: var(--gc-gold-hi);
}

.fx-armed.fx-in .section-header::after,
.fx-armed.fx-in .btn-primary-cyan::after,
.fx-armed.fx-in .nav-link.active::after {
  transform: scaleX(1);
}

@media (max-width: 700px) {
  .nav-link,
  .header-contact { letter-spacing: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .btn-primary-cyan,
  .btn-primary-cyan::after,
  .btn-secondary-outline,
  .btn-secondary-outline::after,
  .nav-link,
  .nav-link::after,
  .header-contact,
  .header-contact::after,
  .section-header,
  .section-header::after,
  .showcase-card {
    transition: none !important;
  }
}

/* Guided review: a corner dot and a frosted panel. The intro scene is untouched. */
:root {
  --sat: env(safe-area-inset-top, 0px);
  --sar: env(safe-area-inset-right, 0px);
  --sab: env(safe-area-inset-bottom, 0px);
  --sal: env(safe-area-inset-left, 0px);
  --gr-progress: 0;
}

.guided-review {
  position: fixed;
  z-index: 1200;
  right: max(16px, var(--sar));
  bottom: max(16px, var(--sab));
  width: 48px;
  height: 48px;
}

.guided-hint {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  display: flex;
  align-items: stretch;
  width: min(220px, calc(100vw - 24px));
  margin: 0;
  border-radius: 999px;
  background: rgba(17, 26, 37, .88);
  border: 1px solid rgba(220, 197, 138, .22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 8px 20px rgba(0, 0, 0, .28);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  backdrop-filter: blur(10px) saturate(140%);
}
.guided-review.is-near-left .guided-hint { right: auto; left: 0; }
.guided-hint[hidden] { display: none; }
.guided-hint.is-parked { visibility: hidden; }
.guided-hint-go,
.guided-hint-dismiss {
  border: 0;
  background: transparent;
  color: #f1e2b3;
  cursor: pointer;
  font: 600 .8125rem/1.2 inherit;
}
.guided-hint-go {
  flex: 1 1 auto;
  min-height: 44px;
  padding: 10px 8px 10px 14px;
  text-align: left;
}
.guided-hint-dismiss {
  flex: 0 0 44px;
  min-width: 44px;
  min-height: 44px;
}
.guided-hint-go:focus-visible,
.guided-hint-dismiss:focus-visible,
.guided-dot:focus-visible,
.guided-panel button:focus-visible {
  outline: 2px solid #8ed4ce;
  outline-offset: 3px;
}

.guided-dot {
  position: relative;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  touch-action: none;
}
.guided-dot-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(#8ed4ce calc(var(--gr-progress) * 360deg), rgba(202, 218, 235, .2) 0);
  -webkit-mask: radial-gradient(circle, transparent 62%, #000 64%);
  mask: radial-gradient(circle, transparent 62%, #000 64%);
}
.guided-dot-core {
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: rgba(17, 26, 37, .92);
  border: 1px solid rgba(220, 197, 138, .35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 0 16px rgba(220, 197, 138, .2);
}
.guided-dot-core::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(120deg, #f1e2b3, #8ed4ce);
}
.guided-badge {
  position: absolute;
  top: 0;
  right: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #f1e2b3;
  box-shadow: 0 0 0 2px #0b111a;
}
.guided-badge[hidden] { display: none; }

.guided-panel {
  position: fixed;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: min(360px, calc(100vw - 24px));
  max-height: min(40dvh, 420px);
  padding: 12px 12px 10px;
  overflow: hidden;
  border-radius: 16px;
  color: #f4f7fb;
  background: rgba(17, 26, 37, .82);
  border: 1px solid rgba(220, 197, 138, .22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 16px 40px rgba(0, 0, 0, .35);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
}
.guided-panel[hidden] { display: none; }
.guided-panel-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.guided-kicker {
  margin: 0;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #dcc58a;
}
.guided-title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.guided-narration {
  margin: 0;
  overflow: auto;
  flex: 1 1 auto;
  min-height: 0;
  font-size: .9375rem;
  line-height: 1.45;
  color: #f4f7fb;
}
.guided-progress {
  height: 2px;
  border-radius: 1px;
  background: linear-gradient(90deg, #dcc58a, #8ed4ce);
  transform-origin: left center;
  transform: scaleX(var(--gr-progress));
}
#guided-collapse,
.guided-controls button {
  min-height: 44px;
  min-width: 44px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(202, 218, 235, .14);
  background: rgba(17, 26, 37, .55);
  color: #f4f7fb;
  font: 600 .8125rem/1 inherit;
  cursor: pointer;
}
.guided-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.guided-controls button[aria-pressed="true"] {
  border-color: rgba(220, 197, 138, .4);
  box-shadow: inset 0 0 0 1px rgba(220, 197, 138, .28);
  color: #f1e2b3;
}
.guided-controls button[aria-disabled="true"] {
  opacity: .45;
  cursor: default;
}

.is-guided-target {
  outline: 2px solid #8ed4ce;
  outline-offset: 6px;
  border-radius: 12px;
  box-shadow: 0 0 0 6px rgba(142, 212, 206, .12);
}

@media (max-width: 700px) {
  .guided-panel {
    max-height: 40dvh;
    max-height: 40svh;
  }
  .guided-narration { font-size: .875rem; }
}

@media (prefers-reduced-motion: reduce) {
  .guided-panel,
  .guided-dot,
  .guided-hint,
  .is-guided-target {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .guided-review,
  .guided-panel,
  .guided-hint { display: none !important; }
}
