/* ==========================================================================
   Dyggur.com — Main Stylesheet
   Mobile-first, Vanilla CSS
   Brand: Arctic Blue #0077B6 · Nordic Teal #00A896 · Midnight #003E5C
   Fonts: Manrope (headlines/UI) + Open Sans (body)
   ========================================================================== */

/* --------------------------------------------------------------------------
   Google Fonts — Manrope + Open Sans
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700&family=Open+Sans:wght@400;500&display=swap');

/* --------------------------------------------------------------------------
   CSS Custom Properties (Design Tokens)
   -------------------------------------------------------------------------- */

:root {
  /* Brand Palette */
  --color-primary: #0077B6;        /* Arctic Blue */
  --color-primary-hover: #005f91;
  --color-accent: #00A896;         /* Nordic Teal */
  --color-accent-hover: #007f72;
  --color-deep: #003E5C;           /* Midnight */
  --color-graphite: #2C2C2E;       /* Neutral Dark */

  /* Surface & Background */
  --color-bg: #ffffff;
  --color-surface: #F5F7FA;        /* Glacier */
  --color-surface-2: #eaecf0;
  --color-border: #dde1e7;

  /* Text */
  --color-text: #2C2C2E;           /* Graphite */
  --color-text-secondary: #5a6272;
  --color-text-tertiary: #8e96a3;

  /* Semantic */
  --color-success: #059669;
  --color-success-bg: #ecfdf5;
  --color-upcoming: #6b7280;
  --color-upcoming-bg: #f9fafb;

  /* Brand gradient (header accent, hero use) */
  --gradient-brand: linear-gradient(135deg, #003E5C 0%, #0077B6 55%, #00A896 100%);

  /* Typography — Manrope for headings/UI, Open Sans for body */
  --font-heading: 'Manrope', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Open Sans', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: var(--font-body); /* alias kept for existing rules */
  --font-mono: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;

  /* Type scale (brand spec: H1=48/56, H2=36/44, H3=24/32, Body=16/24, Small=14/20) */
  --text-xs: 0.75rem;    /* 12px */
  --text-sm: 0.875rem;   /* 14px — Small */
  --text-base: 1rem;     /* 16px — Body */
  --text-lg: 1.125rem;   /* 18px */
  --text-xl: 1.25rem;    /* 20px */
  --text-2xl: 1.5rem;    /* 24px — H3 */
  --text-3xl: 2.25rem;   /* 36px — H2 */
  --text-4xl: 3rem;      /* 48px — H1 */

  /* Line heights (brand spec) */
  --leading-tight: 1.167; /* H1: 56/48 */
  --leading-snug:  1.222; /* H2: 44/36 */
  --leading-heading: 1.333; /* H3: 32/24 */
  --leading-normal: 1.5;  /* Body: 24/16 */
  --leading-relaxed: 1.625;
  --leading-sm: 1.429;   /* Small: 20/14 */

  /* Font weights */
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;

  /* Spacing (8px grid) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Layout */
  --max-width: 1120px;
  --max-width-prose: 72ch;
  --header-height: 4rem;

  /* Borders */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.07), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.07), 0 4px 6px -4px rgb(0 0 0 / 0.05);

  /* Transitions */
  --transition-fast: 120ms ease;
  --transition-base: 200ms ease;
}

/* --------------------------------------------------------------------------
   Base / Reset
   -------------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-regular);
  line-height: var(--leading-normal);
  color: var(--color-text);
  background-color: var(--color-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition-fast);
}

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

a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--weight-bold);
  color: var(--color-deep);
  margin-top: 0;
  margin-bottom: var(--space-4);
}

/* Brand type scale */
h1 { font-size: var(--text-4xl); line-height: var(--leading-tight); }
h2 { font-size: var(--text-3xl); line-height: var(--leading-snug); }
h3 { font-size: var(--text-2xl); line-height: var(--leading-heading); font-weight: var(--weight-semibold); }
h4 { font-size: var(--text-lg);  line-height: var(--leading-normal); font-weight: var(--weight-semibold); }

p {
  margin-top: 0;
  margin-bottom: var(--space-4);
  line-height: var(--leading-relaxed);
}

ul, ol {
  padding-left: var(--space-6);
  margin-top: 0;
  margin-bottom: var(--space-4);
}

li {
  margin-bottom: var(--space-2);
  line-height: var(--leading-relaxed);
}

address {
  font-style: normal;
  line-height: var(--leading-relaxed);
}

/* --------------------------------------------------------------------------
   Layout Utilities
   -------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   Site Header & Navigation
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgb(255 255 255 / 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  height: var(--header-height);
}

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

/* Logo */
.site-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

/* PNG logo image — header size */
.site-logo-img {
  height: 2.25rem;
  width: auto;
  display: block;
  object-fit: contain;
}

/* Footer PNG logo — slightly smaller */
.footer-logo-img {
  height: 1.875rem;
  width: auto;
  display: block;
  object-fit: contain;
}

/* Hero PNG logo — larger anchor for the page */
.company-logo-img {
  height: 5rem;
  width: auto;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}

/* Keep .logo-text for any fallback but it won't be rendered */
.logo-text {
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--color-text);
  letter-spacing: -0.025em;
}

.logo-text:hover {
  color: var(--color-text);
}

/* Desktop navigation */
.site-nav {
  display: none;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: var(--space-2) var(--space-3);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text-secondary);
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: color var(--transition-fast), background-color var(--transition-fast);
}

.nav-link:hover {
  color: var(--color-text);
  background-color: var(--color-surface);
}

.nav-link--active {
  color: var(--color-text);
  background-color: var(--color-surface);
}

.nav-link--cta {
  color: var(--color-primary);
  border: 1px solid var(--color-border);
}

.nav-link--cta:hover {
  background-color: var(--color-surface);
  border-color: var(--color-accent);
}

/* Mobile hamburger menu */
.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  cursor: pointer;
  background: none;
  border: none;
  border-radius: var(--radius-md);
  padding: var(--space-2);
  transition: background-color var(--transition-fast);
}

.mobile-menu-toggle:hover {
  background-color: var(--color-surface);
}

.hamburger-line {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--color-text);
  border-radius: var(--radius-full);
  transition: transform var(--transition-base), opacity var(--transition-fast);
  transform-origin: center;
}

/* Mobile menu open state */
.mobile-menu-open .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-open .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-open .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile navigation panel */
.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--header-height) 0 0 0;
  z-index: 99;
  background-color: var(--color-bg);
  border-top: 1px solid var(--color-border);
  overflow-y: auto;
  padding: var(--space-4);
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav .nav-list {
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-1);
}

.mobile-nav .nav-link {
  width: 100%;
  font-size: var(--text-base);
  padding: var(--space-3) var(--space-4);
}

/* --------------------------------------------------------------------------
   Main Content
   -------------------------------------------------------------------------- */

.site-main {
  flex: 1;
}

/* --------------------------------------------------------------------------
   Hero / Company Identity Section
   -------------------------------------------------------------------------- */

.section-hero {
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
  border-bottom: 1px solid var(--color-border);
}

.company-header {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.company-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  background-color: var(--color-text);
  color: var(--color-bg);
  border-radius: var(--radius-lg);
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  letter-spacing: -0.04em;
  flex-shrink: 0;
}

.company-identity {
  max-width: 52rem;
}

.company-name {
  font-family: var(--font-heading);
  font-size: clamp(var(--text-3xl), 5vw, var(--text-4xl));
  font-weight: var(--weight-bold);
  letter-spacing: -0.02em;
  color: var(--color-deep);
  margin-bottom: var(--space-3);
}

.company-tagline {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-6);
  line-height: var(--leading-relaxed);
}

.company-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.meta-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  font-weight: var(--weight-medium);
}

.meta-badge svg {
  flex-shrink: 0;
  color: var(--color-text-tertiary);
}

/* Company registration card */
.company-reg-card {
  margin-top: var(--space-10);
  padding: var(--space-6);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  max-width: 36rem;
}

.reg-card-label {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.125em;
  color: var(--color-text-tertiary);
  margin-bottom: var(--space-4);
}

.reg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.reg-item-label {
  font-size: var(--text-xs);
  color: var(--color-text-tertiary);
  margin-bottom: var(--space-1);
  display: block;
}

.reg-item-value {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text);
}

/* --------------------------------------------------------------------------
   Products Section
   -------------------------------------------------------------------------- */

.section-products {
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
  border-bottom: 1px solid var(--color-border);
}

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

.section-eyebrow {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.125em; /* +20 tracking for small UI labels per brand spec */
  color: var(--color-accent);
  margin-bottom: var(--space-2);
}

.section-title {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  letter-spacing: -0.02em;
  color: var(--color-deep);
  margin-bottom: var(--space-3);
}

.section-description {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  max-width: 48ch;
  margin-bottom: 0;
}

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--space-6);
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: box-shadow var(--transition-base), border-color var(--transition-base);
}

.product-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-text-tertiary);
}

/* Top row: logo placeholder + status badge */
.product-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

/* Colored initials placeholder — swappable for real logo later */
.product-logo-placeholder {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: var(--weight-bold);
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

/* Real logo image (when provided via logoFile field) */
.product-logo-img {
  width: 2.75rem;
  height: 2.75rem;
  object-fit: contain;
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.product-name {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-2);
  letter-spacing: -0.01em;
  color: var(--color-deep);
}

/* Italic tagline below product name */
.product-tagline {
  font-size: var(--text-sm);
  font-style: italic;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-3);
  line-height: var(--leading-snug);
}

.product-status {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  flex-shrink: 0;
}

.product-status::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: currentColor;
}

.product-status--active {
  color: var(--color-success);
  background-color: var(--color-success-bg);
}

.product-status--upcoming {
  color: var(--color-upcoming);
  background-color: var(--color-upcoming-bg);
}

.product-description {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  flex: 1;
  margin-bottom: var(--space-5);
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
}

.product-domain {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-tertiary);
  font-family: var(--font-mono);
}

.product-domain svg {
  flex-shrink: 0;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  text-decoration: none;
  color: var(--color-primary);
  transition: color var(--transition-fast);
}

.product-link:hover {
  color: var(--color-primary-hover);
}

.product-ownership-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-xs);
  color: var(--color-success);
  margin-top: var(--space-3);
  font-weight: var(--weight-medium);
}

.product-ownership-badge svg {
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Contact Section (on index page)
   -------------------------------------------------------------------------- */

.section-contact {
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
}

/* --------------------------------------------------------------------------
   Contact Page
   -------------------------------------------------------------------------- */

.contact-page-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  padding-top: var(--space-12);
  padding-bottom: var(--space-16);
}

.contact-intro {
  max-width: 36rem;
}

.contact-intro h1 {
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-3);
}

.contact-intro p {
  color: var(--color-text-secondary);
  font-size: var(--text-lg);
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

.contact-card {
  padding: var(--space-6);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.contact-card-label {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-tertiary);
  margin-bottom: var(--space-3);
}

.contact-card-value {
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  color: var(--color-text);
  line-height: var(--leading-relaxed);
}

.contact-card-value a {
  font-weight: var(--weight-regular);
}

.contact-address-full {
  font-style: normal;
  line-height: var(--leading-relaxed);
  font-size: var(--text-base);
}

/* --------------------------------------------------------------------------
   Legal Document Pages
   -------------------------------------------------------------------------- */

.legal-page-layout {
  padding-top: var(--space-12);
  padding-bottom: var(--space-16);
}

.legal-document {
  max-width: var(--max-width-prose);
}

.legal-header {
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--color-border);
}

.legal-header h1 {
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-2);
}

.legal-meta {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin-bottom: 0;
}

.legal-toc {
  margin-bottom: var(--space-10);
  padding: var(--space-5) var(--space-6);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.legal-toc h2 {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-3);
}

.legal-toc ol {
  margin-bottom: 0;
  padding-left: var(--space-5);
}

.legal-toc li {
  margin-bottom: var(--space-1);
}

.legal-toc a {
  font-size: var(--text-sm);
  text-decoration: none;
  color: var(--color-text-secondary);
}

.legal-toc a:hover {
  color: var(--color-primary);
}

.legal-document section {
  margin-bottom: var(--space-10);
}

.legal-document section h2 {
  font-size: var(--text-xl);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-5);
}

.legal-document section h3 {
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}

.legal-document address {
  margin-top: var(--space-4);
  padding: var(--space-5);
  background-color: var(--color-surface);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--color-border);
}

/* --------------------------------------------------------------------------
   Site Footer
   -------------------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--color-border);
  background-color: var(--color-surface);
  padding-top: var(--space-8);
  padding-bottom: var(--space-8);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--color-deep);
  text-decoration: none;
  letter-spacing: -0.025em;
}

.footer-logo:hover {
  color: var(--color-primary);
}

.footer-description {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin-bottom: 0;
  max-width: 36ch;
}

.footer-reg {
  font-size: var(--text-xs);
  color: var(--color-text-tertiary);
}

.footer-nav-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-nav-label {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.125em;
  color: var(--color-text-tertiary);
}

.footer-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-nav-list a {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-nav-list a:hover {
  color: var(--color-text);
}

.footer-bottom {
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-copyright {
  font-size: var(--text-xs);
  color: var(--color-text-tertiary);
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Page Hero (for inner pages)
   -------------------------------------------------------------------------- */

.page-hero {
  padding-top: var(--space-10);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--color-border);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  text-decoration: none;
  margin-bottom: var(--space-4);
  transition: color var(--transition-fast);
}

.back-link:hover {
  color: var(--color-text);
}

/* --------------------------------------------------------------------------
   Print Styles
   -------------------------------------------------------------------------- */

@media print {
  .site-header,
  .site-footer,
  .back-link,
  .legal-toc,
  .mobile-menu-toggle {
    display: none;
  }

  body {
    font-size: 12pt;
    color: #000;
  }

  a {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.85em;
    color: #666;
  }

  .legal-document section {
    page-break-inside: avoid;
  }
}

/* --------------------------------------------------------------------------
   Responsive — Tablet (768px+)
   -------------------------------------------------------------------------- */

@media (min-width: 48rem) {
  .site-nav {
    display: flex;
  }

  .mobile-menu-toggle {
    display: none;
  }

  .company-header {
    flex-direction: row;
    align-items: flex-start;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-page-layout {
    grid-template-columns: 1fr 2fr;
  }

  .contact-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .footer-brand {
    flex: 0 0 auto;
    max-width: 20rem;
  }
}

/* --------------------------------------------------------------------------
   Responsive — Desktop (1024px+)
   -------------------------------------------------------------------------- */

@media (min-width: 64rem) {
  h1 { font-size: var(--text-4xl); }

  .section-hero {
    padding-top: var(--space-20);
    padding-bottom: var(--space-20);
  }

  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
