/* Sicherheit: data sheet on the colour band, data route, fixed rules, documents, leaving, outages */

.sc-hero .h1 { max-width: 19ch; }
.sc-hero .lede { text-wrap: pretty; }
.sc-head .h2 { max-width: 18ch; }
.sc-head .lede { max-width: 34rem; margin-top: 1.2rem; }
.sc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Data sheet on the colour band, like the product frame on the landing */
.sc-stage { position: relative; }
.sc-band { --brand: var(--green); position: absolute; inset: auto 0 0; height: 62%; display: flex; flex-direction: column; }
.sc-band > i { flex: 1; }
.sc-band > .dz { flex: none; }
.sc-band > i:last-child { flex: none; height: clamp(2.5rem, 6vw, 4rem); }
.sc-stage .wrap { position: relative; padding-bottom: clamp(2.5rem, 6vw, 4rem); }
.sc-sheet { max-width: 44rem; margin-inline: auto; }
.sc-sheet .sheet__top h2 { font-size: 1rem; font-weight: 650; letter-spacing: -.02em; color: var(--ink); }
.sc-sheet dl > div { grid-template-columns: 10rem 1fr; }
.sc-sheet__foot { display: flex; align-items: center; gap: .5rem; padding: .85rem 1.3rem; border-top: 1px solid var(--line); background: #F7F4EE; font-size: .8rem; color: var(--muted); }
.sc-sheet__foot svg { flex: none; width: .95rem; height: .95rem; color: var(--brand); }

/* 01 Data route, dark */
.sc-route { background: var(--dark); color: var(--on-dark); padding-block: clamp(3rem, 6vw, 4.5rem) clamp(4rem, 8vw, 5.5rem); }
.sc-route .lede { color: var(--on-dark-2); }
.sc-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin: 2.75rem 0 0; padding: 0; list-style: none; }
.sc-flow > li { position: relative; padding: 1.2rem 1.2rem 1.3rem; border-radius: .6rem; background: var(--cream); color: var(--ink); box-shadow: 0 10px 20px -14px rgba(0, 0, 0, .7); }
.sc-flow > li.is-home { box-shadow: 0 0 0 2px var(--lime), 0 10px 20px -14px rgba(0, 0, 0, .7); }
.sc-flow .px { width: 2rem; height: 2rem; }
.sc-flow__where { margin-top: 1rem; font-size: .8rem; font-weight: 600; letter-spacing: 0; color: var(--brand); }
.sc-flow h3 { margin-top: .25rem; font-size: 1.1rem; font-weight: 650; letter-spacing: -.015em; line-height: 1.25; }
.sc-flow p:not(.sc-flow__where) { margin-top: .4rem; font-size: .9rem; line-height: 1.5; color: var(--muted); }
.sc-flow__to { position: absolute; top: 1.7rem; left: calc(100% + .25rem); width: 1rem; height: 1rem; color: var(--lime); }
.sc-boundary { display: flex; align-items: center; gap: .8rem; margin-top: 1.5rem; padding: .9rem 1.1rem; border-radius: .6rem; border: 1px solid var(--dark-line); background: var(--dark-2); font-size: .92rem; line-height: 1.5; color: var(--on-dark-2); }
.sc-boundary b { font-weight: 600; color: var(--on-dark); }
.sc-boundary .px { width: 1.5rem; height: 1.5rem; }

/* Cream sections */
.sc-sec { padding-block: clamp(4rem, 8vw, 6rem); }
.sc-sec--docs { padding-top: 0; }

/* 02 What we do, what we never do */
.sc-rules { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2.75rem; }
.sc-card { padding: 1.5rem 1.5rem 1.4rem; border-radius: .75rem; background: var(--paper); box-shadow: 0 0 0 1px var(--line-2), 0 1px 2px rgba(29, 27, 24, .05); }
.sc-card--no { background: var(--dark); color: var(--on-dark); box-shadow: 0 30px 60px -36px rgba(29, 27, 24, .6); }
.sc-card > h3 { display: flex; align-items: center; gap: .65rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.sc-card--no > h3 { border-color: var(--dark-line); }
.sc-card li { display: grid; grid-template-columns: 1.6rem 1fr; gap: .8rem; padding-top: 1.05rem; }
.sc-card li b { font-weight: 620; color: var(--ink); }
.sc-card--no li b { color: #fff; }
.sc-card li p { margin-top: .2rem; font-size: .9rem; line-height: 1.5; color: var(--muted); }
.sc-card--no li p { color: var(--on-dark-2); }
.sc-yes, .sc-no { position: relative; display: grid; place-items: center; flex: none; width: 1.6rem; height: 1.6rem; border-radius: .4rem; }
.sc-yes { background: light-dark(#E1F1E6, #18291F); color: light-dark(#24774A, #7CC79A); }
.sc-yes svg { width: .95rem; height: .95rem; }
.sc-no { background: rgba(232, 98, 42, .18); }
.sc-no::before, .sc-no::after { content: ""; position: absolute; width: .85rem; height: 2px; background: var(--orange); transform: rotate(45deg); }
.sc-no::after { transform: rotate(-45deg); }
.sc-laws { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1rem; }
.sc-laws p { padding: 1rem 1.1rem; border-radius: .6rem; background: light-dark(#ECE9E2, var(--dark-2)); font-size: .86rem; line-height: 1.5; color: var(--muted); }
.sc-laws b { display: block; margin-bottom: .3rem; font: 600 .78rem var(--mono); color: var(--ink); }

/* 03 Documents before the start */
.sc-docs { display: grid; grid-template-columns: 1fr 1.3fr; gap: 4rem; align-items: start; padding-top: clamp(3.5rem, 7vw, 5rem); border-top: 1px solid var(--line-2); }
.sc-files { display: flow-root; overflow: clip; border-radius: .75rem; background: var(--paper); box-shadow: 0 0 0 1px var(--line-2), 0 20px 40px -30px rgba(29, 27, 24, .35); }
.sc-files li { display: grid; grid-template-columns: 2.6rem 1fr auto; gap: 1rem; align-items: center; padding: 1.1rem 1.3rem; border-top: 1px solid var(--line); }
.sc-files li:first-child { border-top: 0; }
.sc-files__ico { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: .5rem; background: light-dark(#F7F5F0, var(--dark-2)); box-shadow: inset 0 0 0 1px var(--line); color: var(--brand); }
.sc-files__ico .px { width: 1.4rem; height: 1.4rem; }
.sc-files__ico .i { width: 1.2rem; height: 1.2rem; }
.sc-files h3, .sc-training h3 { font-size: 1rem; font-weight: 620; letter-spacing: -.01em; line-height: 1.3; color: var(--ink); }
.sc-files p, .sc-training p { margin-top: .2rem; font-size: .88rem; line-height: 1.5; color: var(--muted); }
.sc-training { display: grid; grid-template-columns: 2.6rem 1fr; gap: 1rem; margin-top: 1rem; padding: 1.15rem 1.3rem; border-radius: .75rem; background: light-dark(#EEF6E8, #18291F); box-shadow: inset 0 0 0 1px light-dark(#CFE5C0, #2C4A35); }
.sc-training .sc-files__ico { background: var(--paper); box-shadow: inset 0 0 0 1px light-dark(#CFE5C0, #2C4A35); }

/* 04 Leaving, brand green */
.sc-exit { background: var(--green); color: #fff; padding-block: clamp(4rem, 8vw, 5.5rem); }
.sc-exit .wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: start; }
.sc-exit__lede { max-width: 30rem; margin-top: 1.3rem; font-size: 1.1rem; line-height: 1.55; color: #CFE6D8; }
.sc-steps { display: grid; gap: 1rem; margin: 0; }
.sc-steps > div { padding: 1.2rem 1.35rem 1.3rem; border-radius: .6rem; background: var(--cream); color: var(--ink); box-shadow: 0 20px 40px -24px rgba(29, 27, 24, .5); }
.sc-steps dt { display: flex; align-items: center; gap: .6rem; font-size: .85rem; font-weight: 600; letter-spacing: 0; color: var(--brand); }
.sc-steps dt .px { width: 1.35rem; height: 1.35rem; }
.sc-steps dd { margin: .55rem 0 0; font-size: 1rem; line-height: 1.5; color: var(--ink-2); }

/* 05 Outages */
.sc-table { margin-top: 2.75rem; overflow: hidden; border-radius: .75rem; background: var(--paper); box-shadow: 0 0 0 1px var(--line-2), 0 20px 40px -30px rgba(29, 27, 24, .35); }
.sc-table table { width: 100%; border-collapse: collapse; font-size: .92rem; line-height: 1.5; }
.sc-table th, .sc-table td { padding: 1.05rem 1.3rem; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.sc-table thead th { padding-block: .7rem; border-top: 0; background: light-dark(#FAF9F6, #171614); font-size: .72rem; font-weight: 600; color: var(--faint); }
.sc-table tbody th { width: 27%; font-weight: 620; color: var(--ink); }
.sc-table tbody th .px { display: inline-block; width: 1.2rem; height: 1.2rem; margin: -.15rem .6rem 0 0; vertical-align: middle; }
.sc-table td { color: var(--ink-2); }
.sc-table td:last-child { color: var(--muted); }
.sc-fine { margin-top: 1.3rem; font-size: .8rem; color: var(--faint); }

/* Further pages */
.sc-more { padding-bottom: clamp(4rem, 8vw, 5.5rem); }
.sc-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.sc-links a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .9rem; padding: 1.1rem 1.2rem; border-radius: .6rem; background: var(--paper); box-shadow: 0 0 0 1px var(--line-2), 0 1px 2px rgba(29, 27, 24, .05); transition: box-shadow .15s; }
.sc-links a:hover { box-shadow: 0 0 0 1px light-dark(#C6BFB2, #9E978C), 0 12px 24px -16px rgba(29, 27, 24, .35); }
.sc-links .px { width: 1.6rem; height: 1.6rem; }
.sc-links b { display: block; font-weight: 620; letter-spacing: -.015em; color: var(--ink); }
.sc-links small { display: block; font-size: .84rem; color: var(--muted); }
.sc-links .i { width: 1rem; height: 1rem; color: var(--faint); }
.sc-links a:hover .i { color: var(--brand); }

/* Current page in the footer */
.foot a[aria-current="page"] { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 66.25em) {
  .sc-flow { grid-template-columns: 1fr 1fr; }
  .sc-flow > li:nth-child(2) .sc-flow__to { display: none; }
}

@media (max-width: 53.75em) {
  .sc-rules, .sc-laws, .sc-links { grid-template-columns: 1fr; }
  .sc-docs, .sc-exit .wrap { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .sc-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .sc-table table, .sc-table tbody, .sc-table tr, .sc-table th, .sc-table td { display: block; width: auto; }
  .sc-table tr { padding: 1rem 1.2rem 1.1rem; border-top: 1px solid var(--line); }
  .sc-table tbody tr:first-child { border-top: 0; }
  .sc-table th, .sc-table td { padding: 0; border: 0; }
  .sc-table tbody th { width: auto; }
  .sc-table td { margin-top: .7rem; }
  .sc-table td::before { content: attr(data-label); display: block; margin-bottom: .1rem; font-size: .7rem; font-weight: 600; color: var(--faint); }
}

@media (max-width: 37.5em) {
  .sc-flow { grid-template-columns: 1fr; gap: 1.75rem; }
  .sc-flow > li:nth-child(2) .sc-flow__to { display: block; }
  .sc-flow__to { top: calc(100% + .38rem); left: 1.4rem; transform: rotate(90deg); }
  .sc-sheet dl > div { grid-template-columns: 1fr; }
  .sc-files li { grid-template-columns: 2.6rem 1fr; }
  .sc-files .tag { grid-column: 2; justify-self: start; }
  .sc-boundary { align-items: flex-start; }
}

@media (prefers-reduced-motion: no-preference) {
  .sc-flow > li:hover > .px, .sc-links a:hover .px, .sc-steps > div:hover .px { animation: hop .5s steps(2); }
  .sc-links .i { transition: transform .2s cubic-bezier(.2, .7, .2, 1); }
  .sc-links a:hover .i { transform: translateX(3px); }
}

