:root {
  --color-bg: #ffffff;
  --color-bg-elevated: #ffffff;
  --color-bg-surface: rgba(255, 255, 255, 0.9);
  --color-bg-glass: rgba(255, 247, 237, 0.75);
  --color-border-glass: rgba(249, 115, 22, 0.26);
  --color-border-subtle: rgba(226, 232, 240, 0.95);
  --color-text-main: #0f172a;
  --color-text-muted: #334155;
  --color-text-subtle: #64748b;
  --color-accent-orange: #ea580c;
  --color-accent-orange-light: #f97316;
  --color-accent-emerald: #059669;
  --color-accent-glow: rgba(249, 115, 22, 0.24);
  --color-button-bg: #ea580c;
  --color-button-hover: #c2410c;
  --color-button-text: #ffffff;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --space-4: 4px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-32: 32px;
  --space-40: 40px;
  --space-64: 64px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
}

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

body {
  font-family: var(--font-family);
  background-color: var(--color-bg);
  color: var(--color-text-main);
  line-height: 1.65;
  font-size: 16px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% -15%, rgba(249, 115, 22, 0.12), transparent 70%),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(251, 146, 60, 0.09), transparent 60%),
    radial-gradient(ellipse 50% 50% at 0% 85%, rgba(254, 215, 170, 0.16), transparent 60%);
  background-attachment: fixed;
}

h1, h2, h3, h4, h5, h6, .brand-text, .nav-item {
  overflow-wrap: anywhere;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.15;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: var(--space-24);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  line-height: 1.25;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: var(--space-24);
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  line-height: 1.35;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: var(--space-16);
}

p {
  margin-bottom: var(--space-24);
  color: var(--color-text-muted);
}

a {
  color: var(--color-accent-orange);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-button-hover);
}

:focus-visible {
  outline: 3px solid var(--color-accent-orange);
  outline-offset: 3px;
}

.site-container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-24);
  padding-right: var(--space-24);
  min-width: 0;
}

/* Site Header */
.site-header {
  position: relative;
  height: 64px;
  border-bottom: 1px solid var(--color-border-glass);
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  z-index: 100;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-16);
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  text-decoration: none;
  min-width: 0;
}

.brand-logo-svg {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  fill: none;
}

.brand-logo-svg polygon[stroke] {
  stroke: var(--color-accent-orange);
}

.brand-logo-svg polygon[fill] {
  fill: rgba(249, 115, 22, 0.28);
}

.brand-logo-svg path {
  stroke: var(--color-accent-orange-light);
}

.brand-text {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: #0f172a;
}

.main-navigation {
  display: flex;
  align-items: center;
  gap: var(--space-24);
}

.nav-link {
  text-decoration: none;
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--color-text-muted);
  padding: var(--space-8) var(--space-4);
  position: relative;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--color-accent-orange);
}

.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--color-accent-orange);
  border-radius: 2px;
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: var(--space-16);
}

.button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8) var(--space-16);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-button-text);
  background-color: var(--color-accent-orange);
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  box-shadow: 0 4px 14px var(--color-accent-glow);
  transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.button-primary:hover {
  background-color: var(--color-button-hover);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(249, 115, 22, 0.32);
}

.nav-toggle-btn {
  display: none;
  background: #ffffff;
  border: 1px solid var(--color-border-glass);
  border-radius: var(--radius-sm);
  padding: var(--space-8);
  cursor: pointer;
  color: #0f172a;
}

.nav-toggle-btn svg {
  width: 24px;
  height: 24px;
  display: block;
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 52px;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  padding: var(--space-24);
  flex-direction: column;
  gap: var(--space-16);
  z-index: 99;
  border-top: 1px solid var(--color-border-glass);
}

.mobile-nav-overlay.is-visible {
  display: flex;
}

.mobile-nav-link {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text-main);
  text-decoration: none;
  padding: var(--space-12) 0;
  border-bottom: 1px solid var(--color-border-subtle);
}

.mobile-nav-link[aria-current="page"] {
  color: var(--color-accent-orange);
}

/* Hero Section */
.hero-section {
  padding-top: var(--space-64);
  padding-bottom: var(--space-64);
  position: relative;
}

.hero-content {
  max-width: 780px;
}

.badge-tag {
  display: inline-block;
  padding: var(--space-4) var(--space-12);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #c2410c;
  background-color: rgba(249, 115, 22, 0.13);
  border: 1px solid var(--color-border-glass);
  border-radius: 999px;
  margin-bottom: var(--space-16);
}

.lead-text {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  margin-bottom: var(--space-24);
}

/* Section styling */
.page-section {
  padding-top: var(--space-64);
  padding-bottom: var(--space-64);
}

.section-header {
  margin-bottom: var(--space-40);
}

/* Cards in Row Style (One after another) */
.fjord-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-32);
}

.fjord-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: #ffffff;
  border: 1px solid var(--color-border-glass);
  box-shadow: 0 6px 24px rgba(249, 115, 22, 0.08);
  display: grid;
  grid-template-columns: 420px 1fr;
  min-height: 280px;
  min-width: 0;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.fjord-card:hover {
  transform: translateY(-3px);
  border-color: rgba(249, 115, 22, 0.55);
  box-shadow: 0 12px 32px rgba(249, 115, 22, 0.16);
}

.fjord-card-media {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 260px;
  overflow: hidden;
}

.fjord-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.fjord-card:hover .fjord-card-media img {
  transform: scale(1.03);
}

.fjord-glass-panel {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: var(--space-32) var(--space-40);
  background: rgba(255, 247, 237, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: none;
  border-left: 1px solid var(--color-border-glass);
  border-radius: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-16);
  box-shadow: none;
}

.card-title {
  margin-bottom: 0;
  font-size: 1.45rem;
}

.card-title a {
  color: #0f172a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.card-title a:hover {
  color: var(--color-accent-orange);
}

.card-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

.card-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-12);
  padding-top: var(--space-16);
  border-top: 1px solid rgba(249, 115, 22, 0.18);
}

.meta-spec {
  font-size: 0.85rem;
  color: var(--color-accent-orange);
  font-weight: 700;
}

.card-cta-link {
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--color-accent-orange);
  display: inline-flex;
  align-items: center;
  gap: var(--space-4);
  transition: transform 0.15s ease, color 0.15s ease;
}

.card-cta-link:hover {
  color: var(--color-button-hover);
  transform: translateX(3px);
}

/* Content Details for Subpages */
.article-header {
  padding-top: var(--space-64);
  padding-bottom: var(--space-40);
  border-bottom: 1px solid var(--color-border-glass);
  margin-bottom: var(--space-40);
}

.article-hero-media {
  width: 100%;
  height: clamp(260px, 40vw, 460px);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: var(--space-24);
  border: 1px solid var(--color-border-glass);
  box-shadow: 0 8px 28px rgba(249, 115, 22, 0.08);
}

.article-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.article-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-40);
  margin-bottom: var(--space-64);
}

.article-body {
  min-width: 0;
}

.article-body h2 {
  margin-top: var(--space-40);
}

.article-body h3 {
  margin-top: var(--space-24);
}

.article-body ul, .article-body ol {
  margin-bottom: var(--space-24);
  padding-left: var(--space-24);
  color: var(--color-text-muted);
}

.article-body li {
  margin-bottom: var(--space-8);
}

.sidebar-panel {
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
  min-width: 0;
}

.glass-box {
  background: var(--color-bg-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--color-border-glass);
  border-radius: var(--radius-md);
  padding: var(--space-24);
  box-shadow: 0 4px 20px rgba(249, 115, 22, 0.06);
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  margin-bottom: var(--space-16);
  padding-bottom: var(--space-16);
  border-bottom: 1px solid rgba(249, 115, 22, 0.16);
}

.stat-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.stat-value {
  font-size: 1.4rem;
  font-weight: 700;
  color: #0f172a;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--color-text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Feature Matrix & Data Tables */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin-bottom: var(--space-24);
  border: 1px solid var(--color-border-glass);
  border-radius: var(--radius-sm);
  background-color: #ffffff;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.data-table th, .data-table td {
  padding: var(--space-16);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  min-width: 140px;
}

.data-table th {
  background-color: rgba(249, 115, 22, 0.12);
  color: #0f172a;
  font-weight: 700;
}

.data-table tr:hover td {
  background-color: rgba(255, 247, 237, 0.55);
}

/* Comparison section */
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-24);
  margin-top: var(--space-24);
  margin-bottom: var(--space-24);
}

.pros-cons-card {
  padding: var(--space-24);
  border-radius: var(--radius-sm);
  background: rgba(255, 247, 237, 0.6);
  border: 1px solid var(--color-border-glass);
}

.pros-cons-card.pros {
  border-top: 3px solid var(--color-accent-emerald);
}

.pros-cons-card.cons {
  border-top: 3px solid #f43f5e;
}

/* Forms and Inputs */
.form-group {
  margin-bottom: var(--space-24);
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: var(--space-8);
}

.form-control {
  width: 100%;
  padding: var(--space-12) var(--space-16);
  background: #ffffff;
  border: 1px solid rgba(203, 213, 225, 0.95);
  border-radius: var(--radius-sm);
  color: var(--color-text-main);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  border-color: var(--color-accent-orange);
  outline: none;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.18);
}

.form-control.is-invalid {
  border-color: #f43f5e;
}

.field-error {
  color: #f43f5e;
  font-size: 0.8rem;
  margin-top: var(--space-4);
  display: none;
}

.form-control.is-invalid + .field-error {
  display: block;
}

.form-status {
  padding: var(--space-16);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-24);
  display: none;
}

.form-status.is-visible {
  display: block;
}

.form-status.success {
  background-color: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--color-accent-emerald);
  color: #065f46;
}

/* Map Mock Block */
.map-container {
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-glass);
  overflow: hidden;
  background: #fff7ed;
  position: relative;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: var(--space-24);
  text-align: center;
}

.map-svg-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
}

.map-content-overlay {
  position: relative;
  z-index: 2;
}

/* Site Footer */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--color-border-glass);
  background-color: #f8fafc;
  padding-top: var(--space-64);
  padding-bottom: var(--space-40);
  font-size: 0.875rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-40);
  margin-bottom: var(--space-40);
}

.footer-brand-col p {
  font-size: 0.875rem;
  margin-bottom: var(--space-12);
}

.footer-heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: var(--space-16);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.footer-links a {
  color: var(--color-text-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--color-accent-orange);
}

.footer-bottom {
  padding-top: var(--space-24);
  border-top: 1px solid rgba(226, 232, 240, 0.95);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-16);
  color: var(--color-text-subtle);
  font-size: 0.8125rem;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--color-border-glass);
  padding: var(--space-24);
  z-index: 1000;
  display: none;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.1);
}

.cookie-banner.is-visible {
  display: block;
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-24);
  max-width: 1200px;
  margin: 0 auto;
  min-width: 0;
}

.cookie-text {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  flex-shrink: 0;
}

.cookie-btn-secondary {
  padding: var(--space-8) var(--space-16);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid var(--color-border-glass);
  color: #0f172a;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.cookie-btn-secondary:hover {
  background: rgba(249, 115, 22, 0.2);
}

/* Cookie Preferences Modal */
.cookie-modal-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(6px);
  z-index: 1001;
  align-items: center;
  justify-content: center;
  padding: var(--space-16);
}

.cookie-modal-backdrop.is-visible {
  display: flex;
}

.cookie-modal {
  background: #ffffff;
  border: 1px solid var(--color-border-glass);
  border-radius: var(--radius-md);
  max-width: 520px;
  width: 100%;
  padding: var(--space-24);
  color: var(--color-text-main);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.2);
}

.cookie-modal label {
  color: #0f172a !important;
}

.cookie-pref-group {
  margin-bottom: var(--space-16);
  padding: var(--space-12);
  background: rgba(255, 247, 237, 0.65);
  border: 1px solid rgba(249, 115, 22, 0.16);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: flex-start;
  gap: var(--space-12);
}

.cookie-pref-group input[type="checkbox"] {
  margin-top: 4px;
}

/* Media Queries */
@media (max-width: 900px) {
  .article-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .fjord-card {
    grid-template-columns: 1fr;
  }
  .fjord-card-media {
    height: 250px;
  }
  .fjord-glass-panel {
    border-left: none;
    border-top: 1px solid var(--color-border-glass);
    padding: var(--space-24);
  }
}

@media (max-width: 768px) {
  .site-header {
    height: 52px;
  }
  .main-navigation {
    display: none;
  }
  .header-cta-group .button-primary {
    display: none;
  }
  .nav-toggle-btn {
    display: block;
  }
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }
  .cookie-actions {
    width: 100%;
    flex-wrap: wrap;
  }
  .cookie-actions button {
    flex: 1 1 120px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-24);
  }
}

@media (max-width: 400px) {
  .site-container {
    padding-left: var(--space-16);
    padding-right: var(--space-16);
  }
  .fjord-glass-panel {
    padding: var(--space-16);
  }
}

/* Accessibility & Motion */
@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;
  }
}