@import url("tokens.css");

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--offwhite);
  font: 400 var(--body)/1.65 Inter, "Source Sans 3", "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
img, svg { max-width: 100%; }
img { height: auto; }
a { color: var(--petrol); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--petrol-light); }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.container { width: var(--page); margin-inline: auto; }
.skip-link { position: fixed; top: .5rem; left: .5rem; z-index: 20; transform: translateY(-160%); background: var(--offwhite); color: var(--petrol); padding: .75rem; }
.skip-link:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 10; padding-top: env(safe-area-inset-top); background: var(--petrol); color: var(--offwhite); border-bottom: 1px solid var(--petrol-deep); }
.site-header::after { content: ""; position: absolute; inset: auto auto -1px 0; height: 3px; width: 0; background: var(--offwhite); opacity: .6; }
@supports (animation-timeline: scroll()) {
  .site-header::after { animation: reading-progress auto linear both; animation-timeline: scroll(root block); }
  @keyframes reading-progress { from { width: 0; } to { width: 100%; } }
}
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.header-inner { min-height: 5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .5rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--offwhite); font-weight: 750; text-decoration: none; letter-spacing: -.03em; }
.brand-name { font-size: 1.15rem; line-height: 1.1; }
.swiss-cross { width: 1.35rem; aspect-ratio: 1; position: relative; background: var(--red); }
.swiss-cross::before, .swiss-cross::after { content: ""; position: absolute; background: white; inset: 42% 20%; }
.swiss-cross::after { inset: 20% 42%; }
.nav-toggle { list-style: none; min-height: 44px; min-width: 44px; display: grid; place-items: center; cursor: pointer; font-size: 1.3rem; color: var(--offwhite); }
.nav-toggle::-webkit-details-marker { display: none; }
.nav-toggle::marker { content: ""; }
.nav-panel { position: absolute; inset: 100% 0 auto; padding: 1rem max(1rem, calc((100vw - 76rem)/2)); background: var(--petrol); border-bottom: 1px solid var(--petrol-deep); box-shadow: 0 1rem 2rem rgb(17 39 46 / .18); }
.nav-panel nav { display: flex; flex-direction: column; gap: .25rem; }
.nav-panel a { min-height: 44px; display: flex; align-items: center; padding: .5rem; font-weight: 650; text-decoration: none; color: var(--offwhite); border-radius: .25rem; }
.nav-panel a:hover, .nav-panel a:focus-visible { background: var(--petrol-light); color: var(--offwhite); }
.site-header :focus-visible { outline-color: var(--offwhite); }
.site-header .button { background: var(--offwhite); color: var(--petrol); border-color: var(--offwhite); }
.site-header .button:hover { background: var(--petrol-tint); border-color: var(--petrol-tint); color: var(--petrol); }
.lang-switch { display: flex; gap: .15rem; font-size: .8rem; font-weight: 700; letter-spacing: .04em; }
.lang-switch a { min-width: 44px; min-height: 44px; display: grid; place-items: center; color: var(--offwhite); text-decoration: none; border-radius: .25rem; opacity: .72; }
.lang-switch a:hover { opacity: 1; background: var(--petrol-light); color: var(--offwhite); }
.lang-switch a[aria-current="true"] { opacity: 1; text-decoration: underline; text-underline-offset: .3em; }
.nav-details:not([open]) .close-label, .nav-details[open] .open-label { display: none; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: .5rem; border: 2px solid var(--petrol); border-radius: var(--radius); padding: .7rem 1.15rem; background: var(--petrol); color: var(--offwhite); font-weight: 700; line-height: 1.3; text-decoration: none; transition: background-color .18s ease, color .18s ease, transform .18s ease; }
.button:hover { background: var(--petrol-light); border-color: var(--petrol-light); color: var(--offwhite); }
.button-secondary { background: transparent; color: var(--petrol); }
.button-secondary:hover { background: var(--petrol-tint); color: var(--petrol); border-color: var(--petrol); }
.button-light { background: var(--offwhite); color: var(--petrol); border-color: var(--offwhite); }
.button-light:hover { background: var(--petrol-tint); color: var(--petrol); }
.hero { padding-block: clamp(3rem, 8vw, 7rem); overflow: hidden; }
.hero-grid { animation: fade-rise .65s ease-out both; }
@keyframes fade-rise { from { opacity: 0; transform: translateY(1rem); } to { opacity: 1; transform: translateY(0); } }
.hero-grid, .two-col { display: grid; gap: var(--space-6); align-items: center; }
.eyebrow { color: var(--petrol); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--petrol); line-height: 1.12; letter-spacing: -.035em; }
h1 { font-size: var(--h1); max-width: 17ch; margin-bottom: 1.4rem; }
h2 { font-size: var(--h2); max-width: 22ch; margin-bottom: 1.25rem; }
h3 { font-size: var(--h3); margin-bottom: .8rem; }
p { max-width: 70ch; }
.lead { font-size: clamp(1.125rem, 1rem + .6vw, 1.35rem); line-height: 1.6; color: var(--ink); }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-block: 1.5rem; }
.swiss-label { display: var(--show-swiss-mark); align-items: center; gap: .4rem; color: var(--petrol); font-size: .85rem; font-weight: 700; }
.section { padding-block: clamp(3.25rem, 7vw, 6.5rem); }
.section-tint { background: var(--petrol-tint); }
.section-dark { background: var(--petrol); color: var(--offwhite); }
.section-dark h2, .section-dark h3, .section-dark a, .section-dark .eyebrow { color: var(--offwhite); }
.section-dark .eyebrow { opacity: .78; }
.section-dark :focus-visible, .cta-band :focus-visible, .site-footer :focus-visible { outline-color: var(--offwhite); }
.section-heading { margin-bottom: var(--space-6); }
.section-heading p { color: var(--grey); font-size: 1.08rem; }
.section-dark .section-heading p { color: var(--offwhite); opacity: .85; }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 1rem; }
.card { height: 100%; padding: clamp(1.2rem, 2vw, 1.8rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.card p:last-child { margin-bottom: 0; }
.section-dark .card { color: var(--ink); }
.section-dark .card h3, .section-dark .card a { color: var(--petrol); }
.card-icon { width: 2.75rem; height: 2.75rem; margin-bottom: 1rem; color: var(--petrol); }
.stat { font-size: 2.25rem; color: var(--petrol); font-weight: 750; }
.placeholder-note { color: var(--grey); font-size: var(--small); }
.task-map { padding: 1rem; border: 1px solid var(--line); border-radius: 1rem; background: linear-gradient(145deg, var(--surface), var(--petrol-tint)); }
.task-map figcaption { margin-top: .65rem; font-size: .8rem; color: var(--grey); }
.task-node { fill: var(--line); animation: task-light 7s infinite; }
.task-node:nth-child(2n) { animation-delay: 1.2s; }
.task-node:nth-child(3n) { animation-delay: 2.4s; }
@keyframes task-light { 0%, 22%, 100% { fill: #C9CECC; } 35%, 75% { fill: #183B46; } }
.stage-list { display: grid; gap: 1.5rem; }
.stage-number { font-size: .8rem; font-weight: 800; letter-spacing: .12em; opacity: .75; }
.deliverable-list, .check-list { padding-left: 1.25rem; }
.deliverable-list li, .check-list li { padding-left: .25rem; margin-block: .4rem; }
.quote { border-left: 4px solid var(--petrol); padding-left: 1rem; color: var(--petrol); font-size: 1.3rem; font-weight: 650; }
.cta-band { padding-block: clamp(3rem, 6vw, 5rem); background: var(--petrol); color: var(--offwhite); }
.cta-band h2 { color: var(--offwhite); }
.site-footer { padding-block: 3rem calc(3rem + env(safe-area-inset-bottom)); background: var(--petrol); color: var(--offwhite); }
.site-footer a, .site-footer h3, .site-footer .brand, .site-footer .swiss-label { color: var(--offwhite); }
.site-footer a:hover { color: var(--petrol-tint); }
.footer-grid { display: grid; gap: 2rem; }
.footer-links { display: grid; gap: .5rem; }
.footer-links a { width: fit-content; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; border-top: 1px solid var(--petrol-light); margin-top: 2rem; padding-top: 1.25rem; font-size: .9rem; }
.lang-list { display: flex; gap: .75rem; }
.breadcrumbs { padding-block: 1rem; color: var(--grey); font-size: .9rem; }
.breadcrumbs a { color: var(--petrol); }
.page-hero { padding-block: 3.25rem 2rem; }
.page-hero h1 { font-size: clamp(2.6rem, 1.9rem + 3vw, 4.2rem); }
.anchor-nav { display: flex; gap: .5rem; flex-wrap: wrap; margin-block: 1.5rem; }
.anchor-nav a { display: inline-flex; min-height: 44px; align-items: center; border: 1px solid var(--line); border-radius: 99px; padding: .45rem .85rem; font-weight: 650; }
.task-example { display: grid; gap: .75rem; background: var(--petrol-tint); padding: 1.25rem; border-radius: var(--radius); }
.task-example strong { color: var(--petrol); }
.timeline { display: grid; gap: 1rem; counter-reset: step; }
.timeline-item { border-top: 3px solid var(--petrol); padding-top: 1rem; }
.timeline-item::before { counter-increment: step; content: "0" counter(step); color: var(--petrol); font-weight: 800; }
details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
summary { cursor: pointer; color: var(--petrol); font-weight: 700; min-height: 44px; display: flex; align-items: center; }
.article-meta { color: var(--grey); font-size: .9rem; }
.article-copy { max-width: 72ch; }
.article-copy h2 { margin-top: 2.5rem; font-size: clamp(1.65rem, 1.4rem + 1vw, 2.25rem); }
.article-copy p { line-height: 1.75; }
.form-grid { display: grid; gap: 1rem; }
label { display: block; font-weight: 700; color: var(--petrol); }
input, select, textarea { width: 100%; min-height: 48px; margin-top: .35rem; padding: .65rem .75rem; border: 1px solid var(--grey); border-radius: .25rem; color: var(--ink); background: var(--surface); }
textarea { min-height: 9rem; resize: vertical; }
.check-field { display: flex; align-items: flex-start; gap: .6rem; }
.check-field input { width: 1.2rem; height: 1.2rem; min-height: 1.2rem; margin-top: .3rem; flex: 0 0 auto; }
.form-state { padding: 1rem; border-radius: var(--radius); background: var(--petrol-tint); color: var(--petrol); }
.honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.legal-draft { border: 2px solid var(--red); padding: .8rem 1rem; font-weight: 800; color: #8a1024; }
.primer-sheet { max-width: 52rem; margin: 2rem auto; padding: 2rem; border: 1px solid var(--line); }
.not-found { min-height: 50vh; display: grid; place-content: center; }
@media (min-width: 64rem) {
  .nav-details { position: static; }
  .nav-toggle { display: none; }
  .nav-panel { position: static; inset: auto; padding: 0; background: transparent; border: 0; box-shadow: none; }
  .nav-panel nav { flex-direction: row; align-items: center; gap: .1rem; }
  .nav-panel a { padding: .45rem .55rem; font-size: .92rem; }
  .header-inner { gap: 1.5rem; }
  .hero-grid, .two-col { grid-template-columns: 1.05fr .95fr; }
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stage-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .timeline { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .span-2 { grid-column: span 2; }
}
@media (max-width: 63.99rem) {
  .header-inner { flex-wrap: wrap; }
  .header-inner > .button { padding-inline: .7rem; font-size: .85rem; }
  .nav-details { order: 3; }
  .nav-details[open] .nav-panel { display: block; }
  .hero { padding-top: 2.5rem; }
  .cta-row .button { width: 100%; }
}
@media (min-width: 48rem) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stage-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .timeline { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .span-2 { grid-column: span 2; }
}
@media (min-width: 52.125rem) {
  .hero-grid, .two-col { grid-template-columns: 1.05fr .95fr; }
}
@media (min-width: 24.375rem) {
  :root { --page: min(100% - 2.5rem, 76rem); }
}
@media (min-width: 64rem) {
  :root { --page: min(100% - 3rem, 76rem); }
}
@media (min-width: 74.625rem) {
  .container { max-width: 74rem; }
}
@media (min-width: 80rem) {
  .container { max-width: 76rem; }
}
@media (min-width: 90rem) {
  .hero { padding-block: 7rem; }
}
@media (min-width: 120rem) {
  .container { max-width: 80rem; }
  :root { --h1: clamp(4rem, 3rem + 2vw, 5.5rem); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media print {
  .site-header, .site-footer, .skip-link, .cta-row, .anchor-nav { display: none !important; }
  body { color: black; font-size: 12pt; }
  .section, .hero { padding: 1rem 0; }
  a { color: black; text-decoration: none; }
  .primer-sheet { border: 0; margin: 0; padding: 0; max-width: none; }
}
