@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700;900&family=Open+Sans:wght@300;400;600&display=swap');

:root {
  --glyco-dark-bg: #0B0F17;
  --glyco-surface: #141A26;
  --glyco-surface-hover: #1E2638;
  --glyco-accent-cyan: #00E5FF;
  --glyco-accent-mint: #00D2A0;
  --glyco-ink-light: #EAEFF5;
  --glyco-ink-muted: #94A3B8;
  --glyco-border-line: rgba(255, 255, 255, 0.12);
  --glyco-gradient-accent: linear-gradient(135deg, #00E5FF 0%, #00D2A0 100%);
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
}

/* Reset & Basic Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--glyco-dark-bg);
  color: var(--glyco-ink-light);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}

body.glyco-body-root {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Typography Rules */
h1, h2, h3, h4, .glyco-brand-name {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.15;
}

.glyco-head-caps {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  margin-bottom: 2rem;
  color: #FFFFFF;
}

.glyco-align-center {
  text-align: center;
}

/* Header Progress Bar (CSS Scroll Timeline) */
.glyco-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--glyco-gradient-accent);
  width: 100%;
  transform-origin: left;
  z-index: 10000;
  animation: glyco-progress-anim linear;
  animation-timeline: scroll();
}

@keyframes glyco-progress-anim {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* Preset H Header */
.glyco-topbar {
  background-color: #FFFFFF;
  color: #0B0F17;
  position: sticky;
  top: 0;
  z-index: 9000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
}

.glyco-shell-frame {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
}

.glyco-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.glyco-brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #0B0F17;
}

.glyco-brand-symbol {
  width: 32px;
  height: 32px;
  color: #0B0F17;
}

.glyco-brand-name {
  font-size: 1.8rem;
  font-weight: 900;
  color: #0B0F17;
}

.glyco-drawer-check {
  display: none;
}

.glyco-drawer-button {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.glyco-drawer-button span {
  width: 25px;
  height: 3px;
  background-color: #0B0F17;
  transition: all 0.3s ease;
}

.glyco-navigation-flyout {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.glyco-nav-item {
  text-decoration: none;
  color: #0B0F17;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  font-variant: small-caps;
  letter-spacing: 0.1em;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease;
}

.glyco-nav-item:hover, .glyco-nav-active {
  border-bottom-color: #0B0F17;
}

/* Preset H Hero Section: Word-by-Word Layout */
.glyco-lead-stage {
  position: relative;
  padding: 10dvh 0;
  overflow: hidden;
  background-color: var(--glyco-dark-bg);
}

.glyco-stage-backdrop {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.08;
  pointer-events: none;
}

.glyco-staggered-headline {
  font-size: clamp(2.8rem, 8vw, 6rem);
  font-weight: 900;
  line-height: 0.95;
  margin-bottom: 2rem;
}

.glyco-word-left {
  display: block;
  text-align: left;
}

.glyco-word-right {
  display: block;
  text-align: right;
  margin-right: 5%;
}

.glyco-highlight-token {
  color: transparent;
  background: var(--glyco-gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  text-decoration: underline;
  text-decoration-color: var(--glyco-accent-mint);
}

.glyco-lead-subphrase {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--glyco-ink-muted);
  max-width: 650px;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.glyco-action-lane {
  display: flex;
  align-items: center;
}

.glyco-action-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--glyco-gradient-accent);
  color: #0B0F17;
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 3px;
  letter-spacing: 0.05em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
  cursor: pointer;
}

.glyco-action-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 229, 255, 0.2);
}

/* Content Segment General */
.glyco-segment {
  padding: 10dvh 0;
  position: relative;
  animation: glyco-view-fade linear both;
  animation-timeline: view();
  animation-range: entry 10% cover 30%;
}

@keyframes glyco-view-fade {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Preset H: 3-Col Masonry Text */
.glyco-masonry-columns {
  column-count: 3;
  column-gap: 3rem;
  column-rule: 1px solid var(--glyco-border-line);
}

.glyco-masonry-item {
  break-inside: avoid;
  margin-bottom: 2.5rem;
}

.glyco-item-head {
  font-size: 1.3rem;
  color: #FFFFFF;
  margin-bottom: 0.75rem;
}

.glyco-item-copy {
  color: var(--glyco-ink-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.glyco-mini-icon {
  width: 24px;
  height: 24px;
  color: var(--glyco-accent-cyan);
}

/* Full Width Image Banner */
.glyco-image-banner {
  width: 100%;
  height: 50vh;
  min-height: 350px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
}

.glyco-image-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(11, 15, 23, 0.75);
}

.glyco-banner-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.glyco-banner-title {
  font-size: 2.2rem;
  color: #FFFFFF;
  margin-bottom: 1rem;
}

.glyco-banner-text {
  font-size: 1.1rem;
  color: var(--glyco-ink-light);
}

/* Preset H: Inline Manifesto Lines */
.glyco-manifesto-stack {
  display: flex;
  flex-direction: column;
}

.glyco-manifesto-row {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--glyco-border-line);
  flex-wrap: wrap;
}

.glyco-manifesto-row:last-child {
  border-bottom: none;
}

.glyco-manifesto-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--glyco-accent-cyan);
}

.glyco-manifesto-inline {
  font-size: 1.4rem;
  font-weight: 700;
  color: #FFFFFF;
  white-space: nowrap;
}

.glyco-manifesto-desc {
  font-size: 1rem;
  color: var(--glyco-ink-muted);
  flex: 1;
  min-width: 250px;
}

/* Preset H: Rotated Step Numbers */
.glyco-steps-asym-flow {
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.glyco-step-asym-box {
  position: relative;
  flex: 1;
  min-width: 280px;
  padding: 2rem 1rem;
}

.glyco-offset-2 {
  margin-top: 2rem;
}

.glyco-offset-3 {
  margin-top: 4rem;
}

.glyco-step-rotated-bg {
  font-family: var(--font-display);
  font-size: 6rem;
  font-weight: 900;
  position: absolute;
  top: -20px;
  left: -10px;
  transform: rotate(-10deg);
  opacity: 0.15;
  color: var(--glyco-accent-cyan);
  pointer-events: none;
}

.glyco-step-foreground {
  position: relative;
  z-index: 2;
}

.glyco-step-title {
  font-size: 1.3rem;
  color: #FFFFFF;
  margin-bottom: 0.5rem;
}

.glyco-step-copy {
  color: var(--glyco-ink-muted);
  font-size: 0.95rem;
}

/* Preset H: CTA Strip */
.glyco-trigger-banner {
  padding: 5dvh 0;
}

.glyco-trigger-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.glyco-trigger-slogan {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: #0B0F17;
  max-width: 700px;
}

.glyco-ghost-link {
  display: inline-block;
  padding: 1rem 2rem;
  border: 2px solid #0B0F17;
  color: #0B0F17;
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 3px;
  transition: all 0.2s ease;
}

.glyco-ghost-link:hover {
  background-color: #0B0F17;
  color: #FFFFFF;
}

/* Expert Editorial Layout */
.glyco-split-container {
  display: flex;
  gap: 4rem;
  align-items: flex-start;
}

.glyco-editorial-text {
  flex: 1;
}

.glyco-editorial-media {
  flex: 1;
}

.glyco-portrait-frame {
  width: 100%;
  height: auto;
  border-radius: 3px;
  object-fit: cover;
  border: 1px solid var(--glyco-border-line);
}

.glyco-dropcap-paragraph::first-letter {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  float: left;
  line-height: 0.8;
  padding-right: 0.75rem;
  color: var(--glyco-accent-cyan);
}

.glyco-body-paragraph {
  color: var(--glyco-ink-muted);
  margin-bottom: 1.25rem;
  font-size: 1rem;
}

.glyco-plain-stats {
  display: flex;
  gap: 3rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--glyco-border-line);
}

.glyco-stat-element {
  display: flex;
  flex-direction: column;
}

.glyco-stat-digit {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: var(--glyco-accent-cyan);
  line-height: 1;
}

.glyco-stat-label {
  font-size: 0.85rem;
  color: var(--glyco-ink-muted);
  text-transform: uppercase;
  margin-top: 0.5rem;
}

/* Reserve Page & Cards */
.glyco-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.glyco-panel-box {
  background-color: var(--glyco-surface);
  padding: 2.5rem 2rem;
  border-radius: 3px;
  border: 1px solid var(--glyco-border-line);
}

.glyco-bullet-list {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.glyco-bullet-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--glyco-ink-light);
}

.glyco-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--glyco-accent-mint);
  display: inline-block;
}

/* Form Underline Style (Preset H) */
.glyco-form-shell {
  max-width: 640px;
  margin: 0 auto;
  background-color: var(--glyco-surface);
  padding: 3rem 2.5rem;
  border-radius: 3px;
  border: 1px solid var(--glyco-border-line);
}

.glyco-field-group {
  margin-bottom: 2rem;
}

.glyco-field-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--glyco-ink-muted);
  margin-bottom: 0.5rem;
}

.glyco-underline-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--glyco-border-line);
  padding: 0.75rem 0;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.glyco-underline-input:focus {
  outline: none;
  border-bottom-color: var(--glyco-accent-cyan);
}

.glyco-checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.glyco-check-input {
  margin-top: 0.25rem;
  accent-color: var(--glyco-accent-cyan);
}

.glyco-check-label {
  font-size: 0.85rem;
  color: var(--glyco-ink-muted);
}

.glyco-check-label a {
  color: var(--glyco-accent-cyan);
}

.glyco-direct-contact {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--glyco-border-line);
  font-size: 0.9rem;
  color: var(--glyco-ink-muted);
}

.glyco-mail-link {
  color: var(--glyco-accent-cyan);
  text-decoration: none;
}

/* FAQ Accordion */
.glyco-faq-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.glyco-faq-item {
  background-color: var(--glyco-surface);
  border: 1px solid var(--glyco-border-line);
  padding: 1.25rem 1.5rem;
  border-radius: 3px;
}

.glyco-faq-question {
  font-family: var(--font-display);
  font-weight: 700;
  color: #FFFFFF;
  cursor: pointer;
  list-style: none;
}

.glyco-faq-question::-webkit-details-marker {
  display: none;
}

.glyco-faq-answer {
  margin-top: 1rem;
  color: var(--glyco-ink-muted);
  font-size: 0.95rem;
}

/* Thank You Page */
.glyco-thank-zone {
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.glyco-thank-card {
  max-width: 650px;
  margin: 0 auto;
  background-color: var(--glyco-surface);
  padding: 3rem 2rem;
  border-radius: 3px;
  border: 1px solid var(--glyco-border-line);
}

.glyco-thank-media {
  width: 100%;
  max-height: 250px;
  object-fit: cover;
  border-radius: 3px;
}

/* Footer Base */
.glyco-footer-base {
  background-color: #06090E;
  padding: 4rem 0 2rem 0;
  margin-top: auto;
  border-top: 1px solid var(--glyco-border-line);
}

.glyco-footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}

.glyco-footer-top .glyco-brand-name, .glyco-footer-top .glyco-brand-symbol {
  color: #FFFFFF;
}

.glyco-footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.glyco-footer-links a {
  color: var(--glyco-ink-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s ease;
}

.glyco-footer-links a:hover {
  color: #FFFFFF;
}

.glyco-disclaimer-box {
  background-color: rgba(255, 255, 255, 0.03);
  padding: 1rem;
  border-radius: 3px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--glyco-ink-muted);
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.glyco-copyright-line {
  text-align: center;
  font-size: 0.8rem;
  color: var(--glyco-ink-muted);
}

/* Cookie Bar */
.glyco-cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--glyco-surface);
  border-top: 2px solid var(--glyco-accent-cyan);
  z-index: 9999;
  padding: 1.25rem 0;
  box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.5);
}

.glyco-cookie-content {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.glyco-cookie-content p {
  font-size: 0.9rem;
  color: var(--glyco-ink-light);
  flex: 1;
  min-width: 280px;
}

.glyco-cookie-actions {
  display: flex;
  gap: 1rem;
}

.glyco-cookie-btn {
  padding: 0.6rem 1.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  border-radius: 3px;
  cursor: pointer;
  border: none;
}

.glyco-cookie-accept {
  background: var(--glyco-gradient-accent);
  color: #0B0F17;
}

.glyco-cookie-decline {
  background: transparent;
  color: var(--glyco-ink-muted);
  border: 1px solid var(--glyco-border-line);
}

/* Responsive Rules (320px - 1440px) */
@media (max-width: 992px) {
  .glyco-masonry-columns {
    column-count: 2;
  }
  .glyco-split-container {
    flex-direction: column;
  }
  .glyco-offset-2, .glyco-offset-3 {
    margin-top: 0;
  }
}

@media (max-width: 768px) {
  .glyco-masonry-columns {
    column-count: 1;
  }

  .glyco-drawer-button {
    display: flex;
  }

  .glyco-navigation-flyout {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #FFFFFF;
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.25rem;
    display: none;
    border-bottom: 2px solid #0B0F17;
  }

  .glyco-drawer-check:checked ~ .glyco-navigation-flyout {
    display: flex;
  }

  .glyco-plain-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .glyco-trigger-flex {
    flex-direction: column;
    text-align: center;
  }
}