:root {
  --font-serif: Georgia, 'Times New Roman', Cambria, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  
  --bg-page: #FAF7F5;
  --bg-surface: #FFFFFF;
  --bg-surface-soft: #F5EFEF;
  --bg-banner: #FFF0F2;
  --border-color: #E7DDDD;
  --border-subtle: #EFE6E6;
  
  --text-main: #24222E;
  --text-muted: #575464;
  --text-dim: #797686;
  
  --color-cta: #7C2849;
  --color-cta-hover: #621E38;
  --color-cta-text: #FFFFFF;
  --color-brand-purple: #6552C4;
  --color-brand-soft: #EEEAFE;
  --color-brand-strong: #46358F;
  
  --max-width: 1140px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  
  --shadow-card: 0 4px 20px rgba(40, 37, 49, 0.05);
}

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

html {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Keep section titles below the sticky navigation when following page links. */
main[id], main section[id] {
  scroll-margin-top: 120px;
}

/* Accessibility Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--color-cta);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  z-index: 1000;
  text-decoration: none;
  font-weight: 600;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 16px;
}

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

/* Preview / Draft Alert Banner */
.draft-banner {
  background-color: var(--bg-banner);
  border-bottom: 1px solid #F5C6CB;
  color: #721C24;
  padding: 10px 16px;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
}

/* Header & Navigation */
.site-header {
  background-color: rgba(250, 247, 245, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
  min-width: 0;
}

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: block;
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: bold;
  letter-spacing: -0.02em;
  color: var(--text-main);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.15s ease;
}
.nav-link:hover {
  color: var(--text-main);
}

.nav-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

/* Language Switcher */
.lang-selector {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  list-style: none;
  font-size: 0.85rem;
  font-weight: 600;
}

.lang-selector a {
  text-decoration: none;
  color: var(--text-dim);
  padding: 4px 6px;
  border-radius: 4px;
  transition: all 0.15s ease;
}
.lang-selector a:hover {
  color: var(--color-cta);
}
.lang-selector a[aria-current="page"] {
  color: var(--color-cta);
  background-color: var(--bg-surface-soft);
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text-main);
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

/* Layout container */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  min-width: 0;
}

main {
  flex: 1;
  min-width: 0;
}

/* Hero Section */
.hero-section {
  padding: 64px 0 72px;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
}

.hero-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 24px;
}

.hero-tagline {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 560px;
}

.hero-trial-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--bg-surface-soft);
  border: 1px solid var(--border-color);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-cta);
  margin-bottom: 24px;
}

.hero-trial-badge .badge-dot {
  color: var(--color-cta);
  font-size: 0.65rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background-color: var(--color-cta);
  color: var(--color-cta-text);
  border: 2px solid var(--color-cta);
}
.btn-primary:hover {
  background-color: var(--color-cta-hover);
  border-color: var(--color-cta-hover);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-cta);
  border: 2px solid var(--color-cta);
}
.btn-outline:hover {
  background-color: var(--bg-surface-soft);
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(40, 37, 49, 0.08);
  border: 1px solid var(--border-color);
  background-color: var(--bg-surface);
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.image-caption {
  font-size: 0.75rem;
  color: var(--text-dim);
  padding: 8px 12px;
  background: var(--bg-surface-soft);
  text-align: center;
}

/* General Section Styling */
.section {
  padding: 72px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 52px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-cta);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* Feature Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 28px;
}

.feature-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(40, 37, 49, 0.08);
}

.feature-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: var(--bg-surface-soft);
  color: var(--color-cta);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
}

.feature-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
}

.feature-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Platform Status Section */
.status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 24px;
}

.status-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px 24px;
}

.status-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}
.badge-prep {
  background-color: #FFF2D7;
  color: #91600C;
}
.badge-dev {
  background-color: var(--color-brand-soft);
  color: var(--color-brand-strong);
}
.badge-ready {
  background-color: #E4F5ED;
  color: #217455;
}

.status-platform {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.status-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* FAQ Accordion / Cards */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 820px;
  margin: 0 auto;
}

.faq-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px;
}

.faq-question {
  font-family: var(--font-serif);
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
}

.faq-answer {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Insights Section */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 28px;
}

.insight-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.insight-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(40, 37, 49, 0.08);
}

.insight-card-photos {
  border: 1.5px dashed #D5B4BF;
  background: #FCF8F9;
}

.insight-title {
  font-family: var(--font-serif);
  font-size: 1.28rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
  overflow-wrap: break-word;
  hyphens: auto;
}

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

.insight-list {
  list-style: none;
  margin-top: auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.insight-list li {
  font-size: 0.9rem;
  color: var(--text-main);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.insight-bullet {
  color: var(--color-cta);
  font-weight: bold;
  flex-shrink: 0;
}

.insight-ai-note {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  color: var(--text-dim);
  font-style: italic;
  line-height: 1.5;
}

/* Salon Workstation & Adaptive Layout */
.workstation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 22px;
  margin-bottom: 36px;
}

.workstation-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  box-shadow: var(--shadow-card);
  min-width: 0;
}

.workstation-icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
}

.workstation-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-main);
  overflow-wrap: break-word;
  hyphens: auto;
}

.workstation-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Pricing & Trial Section */
.trial-banner {
  background: linear-gradient(135deg, #FCF7F8 0%, #FFFFFF 100%);
  border: 1.5px solid #E6B8C2;
  border-radius: var(--radius-md);
  padding: 30px 32px;
  margin-bottom: 36px;
  box-shadow: 0 4px 16px rgba(124, 40, 73, 0.04);
}

.trial-banner-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.badge-trial {
  background-color: #F8D7DA;
  color: var(--color-cta);
  font-weight: 700;
}

.trial-status-chip {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dim);
  padding: 4px 12px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
}

.trial-title {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
  overflow-wrap: break-word;
  hyphens: auto;
}

.trial-desc {
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 900px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 26px;
  margin-bottom: 36px;
  align-items: stretch;
}

.pricing-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 34px 26px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  position: relative;
  min-width: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pricing-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(40, 37, 49, 0.08);
}

.pricing-card-popular {
  border: 2px solid var(--color-cta);
}

.pricing-popular-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background-color: var(--color-cta);
  color: #FFFFFF;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}

.pricing-card-header {
  margin-bottom: 24px;
}

.pricing-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-weight: 600;
  background-color: var(--bg-surface-soft);
  color: var(--text-dim);
  margin-bottom: 12px;
}

.plan-name {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 14px;
  overflow-wrap: break-word;
  hyphens: auto;
}

.plan-pricing {
  margin-bottom: 14px;
}

.price-monthly {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-amount {
  font-size: 2.3rem;
  font-weight: 700;
  font-family: var(--font-serif);
  color: var(--color-cta);
  line-height: 1;
}

.price-period {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

.price-annual {
  margin-top: 6px;
  font-size: 0.88rem;
  color: var(--text-dim);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px;
}

.price-annual-amount {
  font-weight: 600;
  color: var(--text-muted);
}

.price-note {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.plan-capacity {
  display: inline-block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--color-brand-strong);
  background-color: var(--color-brand-soft);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  margin-top: 8px;
  overflow-wrap: break-word;
  hyphens: auto;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.plan-features li {
  font-size: 0.92rem;
  color: var(--text-main);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.feature-check {
  color: var(--color-cta);
  font-weight: 700;
  flex-shrink: 0;
}

.plan-footer {
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.plan-status-note {
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.45;
  display: block;
  text-align: center;
  font-style: italic;
}

.pricing-disclaimer {
  background-color: var(--bg-surface-soft);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 26px 30px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.pricing-disclaimer-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.pricing-disclaimer-text {
  margin: 0;
}

/* Legal Page Layout */
.legal-page-header {
  padding: 48px 0 32px;
  border-bottom: 1px solid var(--border-subtle);
  background-color: var(--bg-surface-soft);
  min-width: 0;
}

.legal-header-content {
  max-width: 840px;
  margin: 0 auto;
  min-width: 0;
}

.legal-title {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 3.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 14px;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
  min-width: 0;
}

.legal-meta {
  font-size: 0.9rem;
  color: var(--text-dim);
  overflow-wrap: anywhere;
  min-width: 0;
}

.legal-container {
  max-width: 840px;
  margin: 48px auto 72px;
  min-width: 0;
}

.legal-article {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  box-shadow: var(--shadow-card);
  min-width: 0;
  overflow-wrap: anywhere;
}

.legal-article section,
.legal-section {
  min-width: 0;
  overflow-wrap: anywhere;
}

.legal-article h1,
.legal-article h2,
.legal-article h3,
.legal-article h4 {
  overflow-wrap: anywhere;
  hyphens: auto;
  min-width: 0;
}

.legal-article h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 36px;
  margin-bottom: 16px;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 8px;
  overflow-wrap: anywhere;
  hyphens: auto;
  min-width: 0;
}
.legal-article h2:first-of-type {
  margin-top: 0;
}

.legal-article h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 10px;
  color: var(--text-main);
  overflow-wrap: anywhere;
  hyphens: auto;
  min-width: 0;
}

.legal-article p {
  margin-bottom: 18px;
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.7;
  overflow-wrap: anywhere;
  min-width: 0;
}

.legal-article ul, .legal-article ol {
  margin-bottom: 20px;
  padding-left: 24px;
  min-width: 0;
}

.legal-article li {
  margin-bottom: 8px;
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.6;
  overflow-wrap: anywhere;
  min-width: 0;
}

code,
.legal-article code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.88em;
  background-color: var(--bg-surface-soft);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.callout {
  background-color: var(--bg-surface-soft);
  border-left: 4px solid var(--color-cta);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
  font-size: 0.92rem;
  color: var(--text-main);
  overflow-wrap: anywhere;
  min-width: 0;
}

/* Operator Identity Card (Legal Pages) */
.operator-identity-card {
  background-color: var(--bg-surface-soft);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-bottom: 36px;
  min-width: 0;
  overflow-wrap: anywhere;
}

.operator-identity-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
  min-width: 0;
}

.operator-identity-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}

.operator-identity-role {
  font-size: 0.85rem;
  color: var(--text-dim);
  min-width: 0;
  overflow-wrap: anywhere;
}

.operator-identity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 16px 20px;
  min-width: 0;
}

.operator-identity-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.operator-identity-term {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  min-width: 0;
  overflow-wrap: anywhere;
}

.operator-identity-desc {
  font-size: 0.92rem;
  color: var(--text-main);
  word-break: break-word;
  overflow-wrap: anywhere;
  min-width: 0;
}

.operator-identity-desc a {
  color: var(--color-cta);
  text-decoration: none;
}
.operator-identity-desc a:hover {
  text-decoration: underline;
}

.pending-badge {
  display: inline-block;
  font-size: 0.78rem;
  color: #85530B;
  background-color: #FEF3D6;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-style: normal;
  vertical-align: middle;
}

/* Footer */
.site-footer {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  padding: 56px 0 36px;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-brand-logo {
  border-radius: 6px;
  display: block;
}

.footer-brand-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
}

.footer-contact-owner {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.footer-contact-line {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.footer-contact-line a {
  color: var(--text-muted);
  text-decoration: none;
}
.footer-contact-line a:hover {
  color: var(--color-cta);
  text-decoration: underline;
}

.footer-status-label {
  font-size: 0.8em;
  opacity: 0.85;
  margin-left: 4px;
}

.footer-brand h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  color: var(--text-main);
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  text-decoration: none;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.15s ease;
}
.footer-col a:hover {
  color: var(--color-cta);
}

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

.footer-attribution {
  font-style: italic;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 36px;
  }
  
  .hero-content h1 {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-tagline {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-ctas {
    justify-content: center;
  }
  
  .hero-image-wrapper {
    max-width: 520px;
    margin: 0 auto;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  /* Progressive enhancement: show toggle button when JS is active */
  html:not(.no-js) .mobile-nav-toggle,
  html.js .mobile-nav-toggle {
    display: inline-flex;
  }
  
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.06);
    z-index: 101;
  }
  
  .nav-links.open,
  #main-nav:target .nav-links {
    display: flex;
  }

  /* Progressive enhancement: when JS is disabled, show navigation inline */
  html.no-js .mobile-nav-toggle {
    display: none;
  }

  html.no-js .nav-links {
    display: flex;
    position: static;
    flex-direction: column;
    width: 100%;
    padding: 12px 0;
    gap: 10px;
    box-shadow: none;
    border-top: 1px solid var(--border-subtle);
    border-bottom: none;
  }

  html.no-js .nav-links li {
    width: 100%;
  }

  html.no-js .nav-link {
    display: block;
    padding: 4px 0;
  }
  
  .legal-article {
    padding: 32px 20px;
  }
}

/* Typography & German long labels overflow protection down to 320px */
.brand-name,
.nav-link,
.status-badge,
.pricing-badge,
.plan-capacity,
.plan-name,
.feature-title,
.insight-title,
.workstation-title,
.trial-title,
.section-title,
.faq-question,
.btn {
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: break-word;
  word-break: normal;
}

/* Mobile 320px - 480px narrow screens */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .nav-container {
    padding: 10px 14px;
    gap: 8px 10px;
  }

  .brand-logo {
    width: 32px;
    height: 32px;
  }

  .brand-name {
    font-size: 1.25rem;
  }

  .lang-selector {
    font-size: 0.78rem;
    gap: 2px;
  }

  .lang-selector a {
    padding: 3px 5px;
  }

  .features-grid,
  .status-grid,
  .pricing-grid,
  .insights-grid,
  .workstation-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .feature-card,
  .status-card,
  .insight-card,
  .workstation-card {
    padding: 22px 18px;
  }

  .pricing-card {
    padding: 26px 18px;
  }

  .trial-banner {
    padding: 22px 18px;
  }

  .pricing-disclaimer {
    padding: 20px 18px;
  }

  .hero-trial-badge {
    font-size: 0.78rem;
    padding: 5px 12px;
    text-align: left;
  }

  .price-amount {
    font-size: 2rem;
  }

  .legal-title {
    font-size: clamp(1.4rem, 5.5vw, 1.85rem);
    overflow-wrap: anywhere;
  }

  .legal-article {
    padding: 24px 14px;
    min-width: 0;
  }

  .legal-article h2 {
    font-size: 1.25rem;
    overflow-wrap: anywhere;
  }

  .legal-article h3 {
    font-size: 1.05rem;
    overflow-wrap: anywhere;
  }

  .legal-article ul,
  .legal-article ol {
    padding-left: 18px;
    min-width: 0;
  }

  .operator-identity-card {
    padding: 18px 16px;
  }

  .operator-identity-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero-section {
    padding: 36px 0 44px;
  }

  .section {
    padding: 44px 0;
  }
}

/* Ultra-compact screens down to 320px */
@media (max-width: 360px) {
  .container {
    padding: 0 12px;
  }

  .nav-container {
    padding: 8px 10px;
  }

  .btn {
    padding: 12px 18px;
    font-size: 0.92rem;
    width: 100%;
  }

  .hero-ctas {
    width: 100%;
  }

  .trial-banner {
    padding: 18px 14px;
  }

  .pricing-card {
    padding: 22px 14px;
  }

  .price-amount {
    font-size: 1.85rem;
  }
}

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