:root {
  --bg-canvas: #1c1f24;
  --bg-surface: #29363a;
  --bg-surface-glass: rgba(41, 54, 58, 0.78);
  --text-primary: #e5e7eb;
  --text-muted: #bcc8cb;
  --accent-primary: #14b8a6;
  --accent-dark: #0f766e;
  --border-subtle: #678285;
  --radius: 4px;
  --font-stack: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

body {
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  font-family: var(--font-stack);
  font-size: 1rem;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--accent-primary);
  color: #1c1f24;
  padding: 0.5rem 1rem;
  font-weight: 700;
  z-index: 1000;
  border-radius: var(--radius);
}
.skip-link:focus {
  top: 1rem;
}

/* Site Header */
.site-header {
  position: static;
  background: #181b1f;
  border-bottom: 1px solid rgba(103, 130, 133, 0.35);
  padding: 10px 1.5rem;
  width: 100%;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.brand-link {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.brand-link span {
  color: var(--accent-primary);
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  border-radius: var(--radius);
  padding: 6px 12px;
  font-size: 1.25rem;
  cursor: pointer;
  line-height: 1;
}

.header-nav {
  margin-top: 0.5rem;
  border-top: 1px solid rgba(103, 130, 133, 0.2);
  padding-top: 0.5rem;
}

.nav-list {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius);
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-link:hover, .nav-link.active {
  color: #1c1f24;
  background: var(--accent-primary);
}

/* Core Layout Containers */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.page-main {
  flex: 1;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

h1 {
  font-size: clamp(2rem, 4vw, 2.85rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.85rem;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1.15rem;
  overflow-wrap: anywhere;
}

.lead-text {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 70ch;
  line-height: 1.7;
}

/* Teal Table Buttons */
.btn-teal {
  display: inline-block;
  background-color: var(--accent-primary);
  color: #1c1f24;
  font-weight: 800;
  text-decoration: none;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius);
  border: 1px solid var(--accent-primary);
  box-shadow: 4px 4px 0 #121417;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  text-align: center;
}
.btn-teal:hover, .btn-teal:focus-visible {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 #121417;
  background-color: #2dd4bf;
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  font-weight: 700;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  box-shadow: 4px 4px 0 #121417;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-secondary:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 #121417;
  background: rgba(103, 130, 133, 0.2);
}

/* Translucent Glass Cards & Panels */
.glass-panel {
  background: var(--bg-surface);
  background: var(--bg-surface-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(103, 130, 133, 0.45);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 2.5vw, 2rem);
}

.lead-card {
  margin-bottom: 2.5rem;
}

/* Two-column editorial grid */
.editorial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

/* Card variations */
.restaurant-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.card-media {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  margin-bottom: 1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(103, 130, 133, 0.3);
  position: relative;
}
.card-media img {
  width: 100%;
  height: 100%;
}
.media-caption {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  font-style: italic;
}

.card-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
}

/* Hero Section */
.hero-section {
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 3rem;
  border-bottom: 1px solid rgba(103, 130, 133, 0.25);
}
.hero-wrapper {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}
.hero-text {
  min-width: 0;
}
.hero-image-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: #181b1f;
}
.hero-image-wrap img {
  width: 100%;
  height: 100%;
}

/* Teal Band: bold full-width block with dark text */
.teal-band {
  background-color: var(--accent-primary);
  color: #121417;
  padding: clamp(2.5rem, 4vw, 3.5rem) 0;
  margin: 3.5rem 0;
}
.teal-band h2, .teal-band h3 {
  color: #121417;
}
.teal-band p, .teal-band li {
  color: #1f2937;
  font-weight: 500;
}
.teal-band .glass-panel {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(18, 20, 23, 0.2);
  color: #121417;
}
.teal-band .card-tag {
  color: #0f766e;
}

/* Sections General */
.content-section {
  padding: 3rem 0;
}
.section-header {
  margin-bottom: 2rem;
  max-width: 75ch;
}

/* Comparison Table (Scroll Wrapped) */
.table-scroll-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 1.5rem;
  border: 1px solid rgba(103, 130, 133, 0.4);
  border-radius: var(--radius);
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 600px;
  background: var(--bg-surface);
}
.data-table th, .data-table td {
  padding: 0.85rem 1.15rem;
  border-bottom: 1px solid rgba(103, 130, 133, 0.3);
}
.data-table th {
  background: #1f272a;
  color: var(--accent-primary);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.data-table tr:last-child td {
  border-bottom: none;
}

/* Definitions & List Modules */
.definition-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.def-item {
  border-left: 3px solid var(--accent-primary);
  padding-left: 1rem;
}
.def-item dt {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}
.def-item dd {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Contact Drafting Tool */
.tool-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-top: 2rem;
}
.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
}
.form-control {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-subtle);
  background: #181b1f;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
}
.form-control:focus {
  outline: 2px solid var(--accent-primary);
  border-color: transparent;
}
textarea.form-control {
  min-height: 120px;
  resize: vertical;
}
.draft-preview-panel {
  background: #14171a;
  border: 1px solid rgba(103, 130, 133, 0.4);
  border-radius: var(--radius);
  padding: 1rem;
  margin-top: 1.25rem;
  font-family: monospace;
  font-size: 0.85rem;
  white-space: pre-wrap;
  color: var(--text-muted);
}
.tool-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

/* Site Footer */
.site-footer {
  background: #14171a;
  border-top: 1px solid rgba(103, 130, 133, 0.3);
  padding: 3rem 0 2rem;
  margin-top: 4rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer-col h4 {
  color: var(--text-primary);
  font-size: 1rem;
  margin-bottom: 0.85rem;
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 0.5rem;
}
.footer-links a:hover {
  color: var(--accent-primary);
}
.footer-legal-block {
  border-top: 1px solid rgba(103, 130, 133, 0.2);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Responsive Breakpoints */
@media (max-width: 860px) {
  .hero-wrapper {
    grid-template-columns: 1fr;
  }
  .hero-image-wrap {
    order: 2;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: inline-block;
  }
  .header-nav {
    display: none;
    margin-top: 0.75rem;
  }
  .header-nav.is-open {
    display: block;
  }
  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }
  .nav-link {
    display: block;
    width: 100%;
    padding: 0.5rem 0.75rem;
  }
  .editorial-grid {
    grid-template-columns: 1fr;
  }
}

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