:root {
  --bg-canvas: #1c1f24;
  --bg-surface: #2c3038;
  --text-primary: #e5e7eb;
  --text-muted: #9ca3af;
  --accent-teal: #14b8a6;
  --font-family: Charter, Cambria, Georgia, serif;
  --space-unit: 8px;
  --radius-none: 0px;
  --radius-pill: 50px;
  --ease-kinetic: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow-soft: 0 4px 15px rgba(0, 0, 0, 0.2);
  --shadow-lift: 0 12px 30px rgba(0, 0, 0, 0.4);
}

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

body {
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  font-family: var(--font-family);
  line-height: 1.6;
  font-size: 1.125rem;
  overflow-wrap: anywhere;
  hyphens: auto;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: calc(var(--space-unit) * 3);
  color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.75rem; }

p { margin-bottom: calc(var(--space-unit) * 3); max-width: 68ch; }

a {
  color: var(--accent-teal);
  text-decoration: underline;
  text-underline-offset: 4px;
}

a:hover { color: var(--text-primary); }

ul, ol {
  margin-bottom: calc(var(--space-unit) * 3);
  padding-left: calc(var(--space-unit) * 3);
  max-width: 68ch;
}

li { margin-bottom: calc(var(--space-unit) * 1); }

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-none);
}

.struct-label {
  font-variant: small-caps;
  text-transform: lowercase;
  font-size: 1rem;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  display: block;
  margin-bottom: calc(var(--space-unit) * 1);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Floating Header */
.site-header {
  position: relative;
  background-color: var(--bg-surface);
  margin: 24px auto;
  max-width: 1152px;
  border-radius: var(--radius-pill);
  padding: 16px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  width: calc(100% - 48px);
}

.brand {
  font-size: 1.25rem;
  text-decoration: none;
  color: var(--text-primary);
  font-variant: small-caps;
  text-transform: lowercase;
  letter-spacing: 0.02em;
}

.main-nav { display: flex; gap: 24px; }
.main-nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 1rem;
  font-variant: small-caps;
  text-transform: lowercase;
}
.main-nav a:hover, .main-nav a[aria-current="page"] {
  color: var(--accent-teal);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: radial-gradient(circle at center 30%, rgba(20, 184, 166, 0.12) 0%, var(--bg-canvas) 60%);
  padding: 80px 20px;
  margin-bottom: 80px;
}

.hero h1 { max-width: 20ch; margin: 0 auto 24px; }
.hero p { max-width: 50ch; margin: 0 auto; font-size: 1.25rem; color: var(--text-muted); }

/* Buttons */
.btn {
  background-color: var(--accent-teal);
  color: var(--bg-canvas);
  border: none;
  border-radius: var(--radius-pill);
  padding: 14px 32px;
  font-size: 1.125rem;
  font-family: var(--font-family);
  font-variant: small-caps;
  text-transform: lowercase;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.2s ease, transform 0.2s ease;
  margin-top: 24px;
}
.btn:hover { background-color: #11998e; transform: translateY(-2px); }

/* Split Sections */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 120px;
}
.split-section:nth-child(even) .split-content { order: -1; }
.split-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background-color: var(--bg-surface);
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-bottom: 80px;
}

.card {
  background-color: var(--bg-surface);
  border-radius: var(--radius-none);
  padding: 40px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s var(--ease-kinetic), box-shadow 0.3s var(--ease-kinetic);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lift);
}

.card h3 { margin-bottom: 16px; font-size: 1.5rem; }
.card p { color: var(--text-muted); margin-bottom: 0; font-size: 1rem; }

/* Table */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 40px;
  text-align: left;
}
th, td {
  padding: 16px;
  border-bottom: 1px solid var(--bg-surface);
}
th { font-variant: small-caps; color: var(--text-muted); }

/* Form Elements */
.form-group { margin-bottom: 24px; }
label { display: block; margin-bottom: 8px; font-variant: small-caps; color: var(--text-muted); }
input, select, textarea {
  width: 100%;
  background-color: var(--bg-surface);
  border: none;
  border-radius: var(--radius-none);
  color: var(--text-primary);
  padding: 16px;
  font-family: var(--font-family);
  font-size: 1rem;
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--accent-teal);
  outline-offset: -2px;
}

/* Footer */
.site-footer {
  background-color: var(--bg-surface);
  padding: 60px 20px;
  margin-top: 120px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}
.footer-col h4 {
  font-variant: small-caps;
  font-size: 1.125rem;
  margin-bottom: 24px;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 12px; }
.footer-col a {
  text-decoration: none;
  color: var(--text-muted);
}
.footer-col a:hover { color: var(--accent-teal); }
.footer-bottom {
  max-width: 1200px;
  margin: 60px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.05);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Media Queries */
@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-surface);
    padding: 24px;
    flex-direction: column;
    border-radius: 20px;
    box-shadow: var(--shadow-lift);
    margin-top: 16px;
  }
  .main-nav.active { display: flex; }
  .mobile-menu-btn { display: block; }
  .split-section { grid-template-columns: 1fr; gap: 40px; }
  .split-section:nth-child(even) .split-content { order: 0; }
  .hero h1 { font-size: 2.5rem; }
  .site-header { margin: 12px auto; padding: 12px 24px; border-radius: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
/* ENDFILE */