/* ====================================================================
   Zeitstempeluhr · Public Pages Stylesheet
   Editorial Swiss Design, Fraunces Display + Inter Body
   ==================================================================== */

:root {
  --bg: #f6f4ee;
  --bg-alt: #eceae2;
  --surface: #ffffff;
  --ink: #14120f;
  --ink-soft: #4a4842;
  --ink-mute: #8a8780;
  --border: rgba(20, 18, 15, 0.10);
  --border-strong: rgba(20, 18, 15, 0.22);

  --accent: #0f6e56;            /* deep teal — primary */
  --accent-ink: #08342c;
  --accent-bg: #e1f5ee;
  --accent-border: #1d9e75;

  --coral: #d85a30;             /* accent 2 */
  --coral-ink: #4a1b0c;
  --coral-bg: #faece7;

  --purple: #3c3489;            /* pro */
  --purple-bg: #eeedfe;

  --warn-bg: #faeeda;
  --warn-fg: #854f0b;
  --err-bg:  #fcebeb;
  --err-fg:  #791f1f;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-mono: 'SF Mono', Menlo, Consolas, monospace;
}

/* =================== Reset / Base =================== */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body.public {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.public a { color: var(--accent); text-decoration: none; transition: color .15s; }
body.public a:hover { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }

body.public h1, body.public h2, body.public h3, body.public h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
  font-variation-settings: "opsz" 60, "SOFT" 30;
}

body.public p { margin: 0 0 1em; }
body.public p + p { margin-top: 0.5em; }
body.public ul, body.public ol { margin: 0 0 1em; padding-left: 1.25em; }
body.public li { margin-bottom: 0.3em; }
body.public code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: var(--bg-alt);
  padding: 1px 6px;
  border-radius: 4px;
}
body.public em {
  font-style: italic;
  font-variation-settings: "opsz" 60, "SOFT" 60;
}

.skip-link {
  position: absolute; left: -9999px;
  background: var(--ink); color: white;
  padding: 10px 14px; border-radius: 4px;
  z-index: 999;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container-narrow { max-width: 760px; }

/* =================== Header =================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 244, 238, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center;
  height: 72px; gap: 2rem;
}

.logo {
  display: flex; align-items: center; gap: 10px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.logo:hover { text-decoration: none; color: var(--accent); }
.logo-mark { color: var(--accent); display: inline-flex; }

.main-nav {
  display: flex; gap: 0.5rem;
  flex: 1;
  font-size: 14px;
}
.main-nav a {
  color: var(--ink-soft);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all .15s;
}
.main-nav a:hover {
  color: var(--ink);
  background: rgba(20,18,15,0.05);
  text-decoration: none;
}
.main-nav a[aria-current="page"] {
  color: var(--ink);
  background: rgba(20,18,15,0.06);
}

.header-cta {
  display: flex; align-items: center; gap: 12px;
  flex-shrink: 0;
}
.nav-link-secondary {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
}

.mobile-toggle {
  display: none;
  background: none; border: none;
  width: 36px; height: 36px;
  padding: 0; cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.mobile-toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--ink);
  transition: transform .2s;
}

.mobile-nav {
  display: none;
  padding: 1rem 1.5rem 2rem;
  border-top: 1px solid var(--border);
  flex-direction: column;
  gap: 4px;
  background: var(--bg);
}
.mobile-nav a {
  padding: 12px;
  color: var(--ink);
  border-radius: var(--radius-sm);
  font-size: 16px;
}
.mobile-nav a.btn { margin-top: 8px; text-align: center; }

body.nav-open .mobile-nav { display: flex; }

/* =================== Buttons =================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 6px;
  padding: 12px 22px;
  font-family: var(--font-body);
  font-size: 15px; font-weight: 500;
  line-height: 1.2;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all .15s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 8px 14px; font-size: 14px; }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-block { display: flex; width: 100%; }

.btn-primary {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.btn-primary:hover {
  background: var(--accent-ink);
  border-color: var(--accent-ink);
  color: #fff;
}

.btn-accent {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-accent:hover {
  background: var(--accent-ink);
  border-color: var(--accent-ink);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

/* =================== Typography =================== */
.display {
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  margin-bottom: 1.5rem;
}
.display em {
  color: var(--accent);
  font-style: italic;
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 70;
}

.display-sm {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 400;
  font-variation-settings: "opsz" 72, "SOFT" 40;
  margin-bottom: 0.75rem;
}

.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 56ch;
  margin-bottom: 2rem;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body);
  font-size: 13px; font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 1rem;
}
.eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.muted { color: var(--ink-mute); }

/* =================== Hero =================== */
.hero {
  padding: 4rem 0 6rem;
  position: relative;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-text { max-width: 580px; }
.hero-ctas {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 1.75rem;
}
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 1.25rem;
  font-size: 14px; color: var(--ink-soft);
}

/* Hero Visual / Device Mockup */
.hero-visual {
  position: relative;
  perspective: 1000px;
}
.device-frame {
  background: #1a1a1a;
  border-radius: 14px;
  padding: 6px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15), 0 4px 12px rgba(0,0,0,0.08);
  transform: rotate(-1.5deg);
  position: relative;
  z-index: 2;
}
.device-bar {
  display: flex; gap: 5px; padding: 7px 10px 4px;
}
.device-bar span {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #3a3a3a;
}
.device-bar span:nth-child(1) { background: #ff5f56; }
.device-bar span:nth-child(2) { background: #ffbd2e; }
.device-bar span:nth-child(3) { background: #27c93f; }

.device-screen {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  padding: 1rem;
  display: flex; flex-direction: column;
  gap: 0.75rem;
}
.mock-clock {
  display: flex; justify-content: space-between; align-items: baseline;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
}
.mock-time {
  font-family: var(--font-body);
  font-size: 28px; font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
.mock-date {
  font-size: 12px;
  color: var(--ink-mute);
}
.mock-cam {
  background: #1a1a1a;
  border-radius: 6px;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.mock-status {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px;
  color: var(--ink-soft);
}
.mock-dot {
  width: 8px; height: 8px;
  background: var(--accent-border);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

/* Dekorative Akzent-Shapes */
.hero-accent {
  position: absolute;
  border-radius: 50%;
  z-index: 0;
  filter: blur(50px);
  opacity: 0.35;
}
.hero-accent-1 {
  width: 180px; height: 180px;
  background: var(--accent);
  top: -20px; right: -30px;
}
.hero-accent-2 {
  width: 220px; height: 220px;
  background: var(--coral);
  bottom: -40px; left: -30px;
}

/* =================== Trust Strip =================== */
.trust-strip {
  background: var(--ink);
  color: #faf8f3;
  padding: 2.5rem 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}
.trust-item {
  display: flex; flex-direction: column; gap: 4px;
}
.trust-item strong {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  font-variation-settings: "opsz" 36, "SOFT" 40;
  letter-spacing: -0.01em;
}
.trust-item span {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}

/* =================== Section Head =================== */
.section-head {
  max-width: 680px;
  margin: 0 auto 3rem;
  text-align: center;
}
.section-lead {
  color: var(--ink-soft);
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

/* =================== Features Section =================== */
.features {
  padding: 6rem 0;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.feature-card {
  background: var(--surface);
  padding: 2rem 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
  border-color: var(--accent-border);
}
.feature-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  background: var(--accent-bg);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  font-variation-settings: "opsz" 36, "SOFT" 40;
}
.feature-card p {
  color: var(--ink-soft);
  font-size: 15px;
  margin-bottom: 0;
}

/* =================== How It Works =================== */
.howto {
  padding: 6rem 0;
  background: var(--bg-alt);
}
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}
.step {
  position: relative;
  padding-top: 2rem;
  border-top: 2px solid var(--ink);
}
.step-num {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.step h3 {
  font-size: 1.35rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
  font-variation-settings: "opsz" 36, "SOFT" 40;
}
.step p {
  color: var(--ink-soft);
  font-size: 15px;
  margin-bottom: 0;
}

/* =================== Pricing =================== */
.pricing-teaser, .pricing-full {
  padding: 6rem 0;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 820px;
  margin: 0 auto 3rem;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  display: flex; flex-direction: column;
  position: relative;
}
.price-card-featured {
  border-color: var(--ink);
  border-width: 2px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.05);
}
.price-ribbon {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: #fff;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.price-name {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.price-value {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.price-number {
  font-size: 3.2rem;
  line-height: 1;
  letter-spacing: -0.04em;
}
.price-currency {
  font-size: 1.5rem;
  color: var(--ink-soft);
}
.price-period {
  color: var(--ink-mute);
  font-size: 14px;
  margin-bottom: 1.5rem;
}
.price-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  flex: 1;
  font-size: 15px;
}
.price-features li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  color: var(--ink-soft);
}
.price-features li:last-child { border-bottom: none; }
.price-features li strong { color: var(--ink); }
.price-fine {
  color: var(--ink-mute);
  font-size: 13px;
  margin-top: 1rem;
  margin-bottom: 0;
  font-style: italic;
}

.pricing-note {
  text-align: center;
  color: var(--ink-soft);
  margin-top: 2rem;
}

/* Pricing Compare Table */
.pricing-compare {
  max-width: 820px;
  margin: 5rem auto;
}
.pricing-compare h2 {
  text-align: center;
  margin-bottom: 2rem;
}
.compare-table-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
}
.compare-table th, .compare-table td {
  padding: 14px 20px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}
.compare-table th:first-child, .compare-table td:first-child {
  text-align: left;
  color: var(--ink-soft);
}
.compare-table th {
  font-family: var(--font-display);
  font-weight: 400;
  background: var(--bg-alt);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.compare-table .featured-col {
  background: rgba(15, 110, 86, 0.04);
  position: relative;
}
.compare-table tr:last-child td { border-bottom: none; }

/* Pricing FAQ */
.pricing-faq {
  max-width: 720px;
  margin: 5rem auto 0;
}
.pricing-faq h2 { text-align: center; margin-bottom: 2rem; }
.faq-compact details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 8px;
  overflow: hidden;
}
.faq-compact summary {
  padding: 1rem 1.25rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
}
.faq-compact summary::-webkit-details-marker { display: none; }
.faq-compact summary::after {
  content: '+';
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--accent);
  transition: transform .2s;
}
.faq-compact details[open] summary::after {
  transform: rotate(45deg);
}
.faq-compact details p {
  padding: 0 1.25rem 1rem;
  margin: 0;
  color: var(--ink-soft);
}
.faq-more {
  text-align: center;
  color: var(--ink-soft);
  margin-top: 2rem;
}

/* =================== Final CTA =================== */
.final-cta {
  padding: 5rem 0;
}
.cta-card {
  max-width: 820px;
  margin: 0 auto;
  background: var(--ink);
  color: #fff;
  padding: 4rem 2rem;
  border-radius: var(--radius-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.2;
  filter: blur(80px);
  top: -100px; right: -100px;
  z-index: 0;
}
.cta-card::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: var(--coral);
  opacity: 0.2;
  filter: blur(80px);
  bottom: -100px; left: -100px;
  z-index: 0;
}
.cta-card > * { position: relative; z-index: 1; }
.cta-card h2 { color: #fff; margin-bottom: 1rem; }
.cta-card p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  max-width: 520px;
  margin: 0 auto 2rem;
}
.cta-card .btn-primary {
  background: #fff; color: var(--ink); border-color: #fff;
}
.cta-card .btn-primary:hover {
  background: var(--accent); border-color: var(--accent); color: #fff;
}
.cta-card .btn-ghost {
  color: #fff; border-color: rgba(255,255,255,0.3);
}
.cta-card .btn-ghost:hover {
  background: #fff; color: var(--ink); border-color: #fff;
}
.cta-buttons {
  display: flex; justify-content: center; gap: 12px; flex-wrap: wrap;
}

/* =================== Page Hero (sub-pages) =================== */
.page-hero {
  padding: 5rem 0 3rem;
  border-bottom: 1px solid var(--border);
}
.page-hero-sm {
  padding: 4rem 0 2rem;
}
.page-hero .display { margin-bottom: 1rem; }

/* =================== Feature Deep Rows =================== */
.feature-deep {
  padding: 4rem 0 2rem;
}
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
  border-bottom: 1px solid var(--border);
}
.feature-row:last-child { border-bottom: none; }
.feature-row-reverse .feature-row-text {
  order: 2;
}
.feature-row-text h2 {
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  line-height: 1.15;
  font-weight: 400;
  margin-bottom: 1rem;
  font-variation-settings: "opsz" 72, "SOFT" 40;
}
.feature-row-text p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin-bottom: 1rem;
}
.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}
.feature-list li {
  padding: 8px 0 8px 24px;
  position: relative;
  color: var(--ink);
  font-size: 15px;
}
.feature-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 14px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent-bg);
  border: 2px solid var(--accent);
}

.visual-box {
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: 1rem;
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
  overflow: hidden;
}
.visual-box-light {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1.5rem;
}
.visual-box-code {
  background: var(--ink);
  color: #faf8f3;
  padding: 1.5rem 2rem;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.8;
}
.visual-box-code pre { margin: 0; }
.visual-box-code code { background: transparent; color: inherit; padding: 0; }
.visual-box-code strong { color: var(--accent-border); font-weight: 500; }

.mock-users {
  display: flex; flex-direction: column; gap: 12px;
}
.mock-user {
  display: flex; align-items: center; gap: 12px;
  padding: 12px; background: var(--bg);
  border-radius: var(--radius);
}
.mock-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
}
.mock-user strong { display: block; font-weight: 500; font-size: 14px; }
.mock-user small { color: var(--ink-mute); font-size: 12px; }

.mock-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 1rem;
}
.mock-stats > div {
  background: var(--bg);
  padding: 12px;
  border-radius: var(--radius);
}
.mock-stat-n {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  font-variation-settings: "opsz" 36;
}
.mock-stat-l {
  font-size: 11px;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.mock-license {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--bg);
  padding: 12px; border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 13px;
}
.mock-badge {
  background: var(--accent-bg);
  color: var(--accent);
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-family: var(--font-body);
  font-weight: 500;
}

.mock-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.mock-table th, .mock-table td {
  padding: 10px 8px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-variant-numeric: tabular-nums;
}
.mock-table th {
  font-weight: 500;
  color: var(--ink-mute);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.mock-pill {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 500;
}
.mock-pill-in { background: var(--accent-bg); color: var(--accent); }
.mock-pill-out { background: #e6f1fb; color: #0c447c; }

/* =================== FAQ Page =================== */
.faq-page {
  padding: 4rem 0 6rem;
}
.faq-category {
  margin-bottom: 3rem;
}
.faq-cat-title {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--ink);
  font-variation-settings: "opsz" 48, "SOFT" 40;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 8px;
  transition: border-color .15s;
}
.faq-item:hover { border-color: var(--border-strong); }
.faq-item summary {
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem;
  font-weight: 500;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-chevron {
  color: var(--accent);
  transition: transform .2s;
  flex-shrink: 0;
}
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: var(--ink-soft);
}
.faq-answer p { margin: 0; }

.faq-still {
  text-align: center;
  margin-top: 4rem;
  padding: 3rem 2rem;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
}
.faq-still h2 { color: #fff; margin-bottom: 0.5rem; }
.faq-still p { color: rgba(255,255,255,0.7); margin-bottom: 1.5rem; }
.faq-still .btn-primary {
  background: #fff; color: var(--ink); border-color: #fff;
}
.faq-still .btn-primary:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* =================== Contact Page =================== */
.contact-page {
  padding: 4rem 0 6rem;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
}
.contact-form-wrap h2 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.form {
  display: flex; flex-direction: column; gap: 1rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form label {
  display: flex; flex-direction: column; gap: 6px;
}
.form label > span {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
}
.form input, .form select, .form textarea {
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 15px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  transition: border-color .15s;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(15, 110, 86, 0.1);
}
.form textarea { resize: vertical; min-height: 120px; font-family: inherit; }
.form-privacy {
  font-size: 12px;
  color: var(--ink-mute);
  margin-top: 0.5rem;
}

.contact-info {
  display: flex; flex-direction: column; gap: 1rem;
}
.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.info-card h3 {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  font-variation-settings: "opsz" 36, "SOFT" 40;
}
.info-card dl {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.25rem 1rem;
  font-size: 14px;
}
.info-card dt { color: var(--ink-mute); }
.info-card dd { margin: 0; }
.info-card address {
  font-style: normal;
  font-size: 14px;
  line-height: 1.6;
}

.success-card {
  background: var(--surface);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
}
.success-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--accent-bg);
  color: var(--accent);
  font-size: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.success-card h2 { margin-bottom: 0.5rem; }
.success-card p { color: var(--ink-soft); margin-bottom: 1.5rem; }

.flash {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  font-size: 14px;
}
.flash-error {
  background: var(--err-bg);
  color: var(--err-fg);
  border-left: 3px solid var(--err-fg);
}

/* =================== Legal Pages =================== */
.legal-page {
  padding: 3rem 0 6rem;
}
.legal-article {
  font-size: 16px;
  line-height: 1.7;
}
.legal-article h2 {
  font-size: 1.5rem;
  font-weight: 400;
  margin: 2.5rem 0 0.75rem;
  font-variation-settings: "opsz" 48, "SOFT" 40;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border);
}
.legal-article h2:first-of-type { margin-top: 0; }
.legal-article p { margin-bottom: 1rem; }
.legal-article ul { margin-bottom: 1rem; }
.legal-article li { margin-bottom: 0.5rem; }
.legal-address {
  font-style: normal;
  background: var(--surface);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
  display: block;
}
.legal-dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem 1.5rem;
}
.legal-dl dt { font-weight: 500; color: var(--ink-soft); }
.legal-dl dd { margin: 0; }
.legal-date {
  color: var(--ink-mute);
  font-size: 14px;
  margin-bottom: 2rem;
}
.legal-highlight {
  background: var(--warn-bg);
  color: var(--warn-fg);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  border-left: 3px solid var(--warn-fg);
}
.legal-note {
  background: var(--bg-alt);
  color: var(--ink-soft);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-size: 14px;
  margin-top: 3rem;
}

/* =================== Footer =================== */
.site-footer {
  background: var(--ink);
  color: #faf8f3;
  padding: 4rem 0 2rem;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-col h3 {
  font-family: var(--font-body);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1rem;
  font-weight: 500;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  transition: color .15s;
}
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-brand .logo { color: #fff; }
.footer-brand .logo-mark { color: var(--accent-border); }
.footer-brand p { color: rgba(255,255,255,0.6); margin-top: 1rem; font-size: 14px; }

.footer-bottom {
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}
.footer-meta { font-variant: small-caps; letter-spacing: 0.03em; }

/* =================== Responsive =================== */
@media (max-width: 960px) {
  .header-inner { gap: 1rem; }
  .main-nav, .header-cta { display: none; }
  .mobile-toggle { display: flex; }

  .hero { padding: 2.5rem 0 4rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3rem 0;
  }
  .feature-row-reverse .feature-row-text { order: 0; }

  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .container { padding: 0 1.25rem; }
  .display { font-size: 2.2rem; }
  .lead { font-size: 1rem; }

  .feature-grid, .pricing-grid {
    grid-template-columns: 1fr;
  }

  .features, .howto, .pricing-teaser, .pricing-full, .contact-page, .faq-page {
    padding: 3.5rem 0;
  }

  .compare-table th, .compare-table td {
    padding: 10px 8px;
    font-size: 13px;
  }
  .compare-table td:first-child { font-size: 13px; }

  .cta-card { padding: 3rem 1.5rem; }
  .cta-buttons { flex-direction: column; }
  .cta-buttons .btn { width: 100%; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* =================== Accessibility =================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

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