:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f6f1e8;
  color: #111827;
  --navy: #111b31;
  --gold: #dba858;
  --gold-soft: #f7dfb8;
  --paper: #fffdf9;
  --muted: #566178;
  --border: #ddd3c2;
  --green: #0f8d70;
  --gold-text: #74480b;
  --focus: #005fcc;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: radial-gradient(circle at 15% 0%, #fffaf0 0, transparent 34rem), #f6f1e8; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
  border-radius: 5px;
}
.skip-link {
  position: fixed;
  z-index: 20;
  top: 10px;
  left: 10px;
  padding: 11px 15px;
  border-radius: 9px;
  background: var(--navy);
  color: white;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header, main, footer {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  min-height: 82px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.brand { text-decoration: none; font-size: 1.42rem; letter-spacing: -.04em; color: var(--navy); }
.brand span { font-weight: 600; }
.brand strong { color: #86520c; font-weight: 900; }
.primary-nav, .header-actions, .footer-links, .legal-links, .language-links { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.primary-nav { justify-content: center; font-size: .88rem; color: #48546a; }
.primary-nav a, .footer-links a, .language-links a { text-decoration: none; }
.primary-nav a { min-height: 44px; display: inline-flex; align-items: center; }
.primary-nav a:hover, .primary-nav a[aria-current="page"], .footer-links a:hover { color: var(--gold-text); }
.header-actions { justify-content: flex-end; }
.sign-in { min-height: 44px; display: inline-flex; align-items: center; padding: 10px 16px; border: 1px solid #b98a47; border-radius: 12px; text-decoration: none; font-weight: 800; color: var(--navy); background: rgba(255,255,255,.72); }
.mobile-nav { display: none; }

.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 13px 22px; border-radius: 13px; text-decoration: none; font-weight: 850; background: var(--gold); color: var(--navy); box-shadow: 0 12px 30px rgba(117, 76, 21, .13); }
.button:hover { background: #edbd70; transform: translateY(-1px); }
.button.small { min-height: 42px; padding: 10px 16px; font-size: .9rem; }
.text-link { font-weight: 800; color: var(--gold-text); text-underline-offset: 4px; }

main { padding: 60px 0 110px; }
.hero { min-height: 620px; padding: 82px clamp(24px, 5vw, 68px); display: flex; flex-direction: column; justify-content: center; border: 1px solid var(--border); border-radius: 34px; background: linear-gradient(135deg, rgba(255,255,255,.95), rgba(249,236,214,.88)); box-shadow: 0 30px 70px rgba(69, 49, 20, .08); }
.topic-hero { min-height: 520px; }
.eyebrow { margin: 0 0 18px; color: var(--gold-text); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 900; }
h1, h2, h3 { overflow-wrap: break-word; hyphens: manual; }
h1 { max-width: 980px; margin: 0; font-size: clamp(2.7rem, 7vw, 6.3rem); line-height: .98; letter-spacing: -.065em; color: var(--navy); }
.topic-hero h1 { font-size: clamp(2.7rem, 6vw, 5.4rem); }
.lead, .section-lead { max-width: 790px; margin: 28px 0 0; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.35rem); line-height: 1.65; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 34px; }
.pilot-note { margin: 18px 0 0; color: #657087; font-size: .88rem; }

.section { margin-top: 86px; padding-top: 66px; border-top: 1px solid var(--border); }
.section h2 { max-width: 840px; margin: 0; font-size: clamp(2rem, 4vw, 3.7rem); line-height: 1.08; letter-spacing: -.045em; color: var(--navy); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 42px; }
.cards article { min-height: 245px; padding: 30px; border: 1px solid var(--border); border-radius: 23px; background: rgba(255,253,249,.85); }
.cards article h2, .cards article h3 { margin: 0; font-size: 1.35rem; line-height: 1.25; letter-spacing: -.025em; color: var(--navy); }
.cards article h3 a { text-decoration: none; }
.cards article p { margin: 18px 0 0; color: var(--muted); line-height: 1.68; }
.outcomes .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 55px; align-items: start; }
.split .section-lead { margin-top: 0; }

.adoption-journey {
  margin-top: 32px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255,253,249,.76);
}
.adoption-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.adoption-step {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 15px;
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--muted);
  font-weight: 760;
}
.adoption-step span {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #eee5d8;
  color: var(--navy);
  font-size: .8rem;
}
.adoption-step[aria-current="step"] {
  border-color: #b47b26;
  background: #fff4df;
  color: var(--navy);
}
.journey-note { margin: 14px 0 0; color: var(--muted); font-size: .78rem; }

.product-flow ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
}
.product-flow li {
  padding: 28px;
  border-radius: 21px;
  background: var(--navy);
  color: white;
}
.product-flow h3 { margin: 0; font-size: 1.3rem; }
.product-flow p { margin: 14px 0 0; color: #d8deea; line-height: 1.6; }

.testimonials article { display: flex; flex-direction: column; }
.fictive-badge, .plan-badge {
  align-self: flex-start;
  padding: 6px 9px;
  border-radius: 999px;
  background: #f5dfb9;
  color: #5f3a08;
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.testimonials blockquote {
  margin: 26px 0 0;
  color: var(--navy);
  font-size: 1.08rem;
  line-height: 1.65;
  font-weight: 650;
}
.testimonials article > p:last-child { margin-top: auto; padding-top: 24px; font-weight: 800; }

.plan-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 38px;
  scroll-margin-top: 24px;
}
.plan-card {
  min-width: 0;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 23px;
  background: var(--paper);
  scroll-margin-top: 24px;
}
.plan-card--recommended { border: 2px solid #a96e18; box-shadow: 0 18px 45px rgba(102,66,15,.1); }
.plan-badge--neutral { background: #e7edf5; color: var(--navy); }
.plan-card h2, .plan-card h3 { margin: 20px 0 0; color: var(--navy); font-size: 1.5rem; line-height: 1.2; letter-spacing: -.02em; }
.plan-count { margin: 8px 0 0; color: var(--gold-text); font-weight: 850; }
.plan-price { margin: 24px 0 0; color: var(--navy); font-size: 2rem; font-weight: 900; }
.plan-price small { margin-left: 4px; color: var(--muted); font-size: .9rem; font-weight: 650; }
.annual-price { margin: 7px 0 0; color: var(--muted); font-size: .78rem; }
.plan-card > p:not(.plan-count, .plan-price, .annual-price) { color: var(--muted); line-height: 1.6; }
.tax-note { margin: 14px 0 0; color: var(--muted); font-size: .82rem; }

.table-hint { margin: 22px 0 0; color: var(--muted); font-size: .86rem; }
.table-scroll { margin-top: 12px; overflow-x: auto; border: 1px solid var(--border); border-radius: 18px; background: var(--paper); }
table { width: 100%; min-width: 780px; border-collapse: collapse; }
th, td { padding: 15px 16px; border-bottom: 1px solid var(--border); text-align: left; }
thead th { position: sticky; top: 0; background: #f3eadc; color: var(--navy); font-size: .86rem; }
tbody th { color: var(--navy); font-size: .9rem; }
td { color: var(--muted); font-size: .8rem; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
.module-status { display: inline-flex; align-items: center; min-height: 28px; padding: 5px 8px; border-radius: 999px; font-weight: 850; white-space: nowrap; }
.module-status--included { background: #d9f1e9; color: #075c49; }
.module-status--required { background: #f8e7c8; color: #68420b; }
.module-status--recommended { background: #e3edff; color: #17457c; }
.module-status--off { padding-inline: 12px; background: #edf0f4; color: var(--muted); }
.activation-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.activation-legend p { flex-basis: 100%; margin: 2px 0 0; color: var(--muted); font-size: .86rem; line-height: 1.55; }
.common-surfaces { margin: 16px 0 0; color: var(--muted); line-height: 1.55; font-size: .86rem; }

.adoption-nudge {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 40px;
  padding: 44px;
  border: 1px solid #d2a45c;
  border-radius: 25px;
  background: #fff3df;
}
.adoption-copy p:last-child { max-width: 720px; color: var(--muted); line-height: 1.6; }
.adoption-actions { display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 14px; text-align: center; }
.reassurance { grid-column: 1 / -1; margin: 0; padding-top: 18px; border-top: 1px solid #e1c99f; color: #59637a; font-size: .85rem; }

.breadcrumbs { margin: 0 0 24px; display: flex; gap: 10px; color: var(--muted); font-size: .9rem; }
.breadcrumbs a { color: var(--gold-text); }
.faq { max-width: 900px; }
.faq details { margin-top: 14px; padding: 20px 22px; border: 1px solid var(--border); border-radius: 15px; background: var(--paper); }
.faq summary { cursor: pointer; font-weight: 850; color: var(--navy); }
.faq details p { margin: 14px 0 0; color: var(--muted); line-height: 1.65; }
.source { margin-top: 24px; }
.source a { color: var(--gold-text); }
.cta { padding: 54px; border: 1px solid #e0bc7c; border-radius: 26px; background: #fff6e7; }
.cta p { color: var(--muted); }

footer { padding: 42px 0 56px; border-top: 1px solid var(--border); color: var(--muted); font-size: .88rem; }
.footer-links { margin-bottom: 22px; }
.legal-links { margin-bottom: 22px; }
.legal-links a { color: var(--gold-text); text-underline-offset: 3px; }
.language-links { margin-bottom: 30px; }
.language-links a { padding: 7px 10px; border-radius: 9px; background: rgba(255,255,255,.6); }
.language-links a[aria-current="page"] { background: var(--gold-soft); color: var(--navy); font-weight: 800; }
.swiss-mark { margin: 0 0 8px; color: var(--navy); font-weight: 750; }
footer > p:last-child { margin: 0; }

@media (max-width: 1120px) {
  .site-header { grid-template-columns: auto 1fr; padding: 16px 0; }
  .primary-nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .header-actions { grid-column: 2; grid-row: 1; }
}

@media (max-width: 920px) {
  .cards, .outcomes .cards, .plan-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .adoption-nudge { grid-template-columns: 1fr; }
  .reassurance { grid-column: 1; }
  .adoption-actions { align-items: flex-start; }
}

@media (max-width: 760px) {
  .site-header, main, footer { width: min(100% - 24px, 1180px); }
  .site-header { gap: 12px; }
  .primary-nav { display: none; }
  .header-actions .button { display: none; }
  .sign-in { padding: 10px 14px; }
  .mobile-nav { display: block; grid-column: 1 / -1; width: 100%; border: 1px solid var(--border); border-radius: 14px; background: rgba(255,253,249,.88); }
  .mobile-nav summary { min-height: 48px; display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; cursor: pointer; font-weight: 850; color: var(--navy); list-style: none; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav summary::after { content: "＋"; color: var(--gold-text); }
  .mobile-nav[open] summary::after { content: "−"; }
  .mobile-nav nav { display: grid; padding: 0 10px 10px; }
  .mobile-nav nav a { min-height: 48px; display: flex; align-items: center; padding: 8px 6px; border-top: 1px solid var(--border); text-decoration: none; color: #48546a; }
  .mobile-nav nav a[aria-current="page"] { color: var(--gold-text); font-weight: 800; }
  main { padding-top: 28px; }
  .hero { min-height: 0; padding: 54px 22px; border-radius: 24px; }
  h1 { font-size: clamp(2.55rem, 13vw, 4.2rem); }
  .section { margin-top: 58px; padding-top: 46px; }
  .cards, .outcomes .cards, .plan-cards, .split, .adoption-steps, .product-flow ol { grid-template-columns: 1fr; }
  .cards article { min-height: 0; }
  .cta { padding: 34px 22px; }
  .adoption-nudge { padding: 32px 22px; }
  .adoption-actions { align-items: stretch; }
  .actions .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button:hover { transform: none; }
}
