/* tolkly.allygenix.com layout (F006). Tokens and components come from the design system (tokens.css, bundle.css). */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-text); }
a { color: var(--ink); text-underline-offset: 2px; }
a:hover { color: var(--ink-muted); }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
p, h1, h2, h3, ul, ol { margin: 0; }
/* Long compound words (German Datenschutzerklärung) must not push the page sideways on phones. */
h1, h2, h3, .title, .button { overflow-wrap: break-word; hyphens: auto; }
img, svg { max-width: 100%; }
.muted { color: var(--ink-muted); }

.skip { position: absolute; left: 16px; top: -48px; padding: 8px 12px; background: var(--surface); border-radius: var(--radius-sm); z-index: 10; }
.skip:focus { top: 12px; }

.wrap { max-width: 1120px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.stack-6, .stack-8, .stack-10, .stack-12, .stack-32 { display: flex; flex-direction: column; }
.stack-6 { gap: 6px; } .stack-8 { gap: 8px; } .stack-10 { gap: 10px; } .stack-12 { gap: 12px; } .stack-32 { gap: 32px; }

.site-header { max-width: 1120px; margin: 0 auto; padding: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.brand { font-size: 28px; line-height: 32px; text-decoration: none; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.site-nav > a { display: inline-flex; align-items: center; min-height: 44px; }

.lang { position: relative; }
.lang > summary { list-style: none; }
.lang > summary::-webkit-details-marker { display: none; }
.lang > summary .tk-ico { width: 16px; height: 16px; }
.lang__list { position: absolute; right: 0; top: calc(100% + 8px); z-index: 5; min-width: 200px; margin: 0; padding: 8px; list-style: none; background: var(--surface); border-radius: var(--radius-md); box-shadow: var(--shadow-2); }
.lang__list a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: var(--radius-sm); text-decoration: none; font-size: 17px; }
.lang__list a:hover { background: var(--sunken); color: var(--ink); }
.lang__list a[aria-current="true"] { font-weight: 700; }

.hero { padding-top: 48px; padding-bottom: 72px; display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.hero__text { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero__title { font-size: clamp(40px, 7vw, 60px); line-height: 1.07; text-wrap: balance; }
.hero__lead { max-width: 34rem; font-weight: 400; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.store { width: auto; padding: 0 28px; cursor: default; }
.hero__demo { flex: 1 1 320px; min-width: 0; display: flex; justify-content: center; }
.phone { width: 320px; max-width: 100%; display: flex; flex-direction: column; gap: 12px; padding: 20px 16px 24px; border-radius: 40px; background: var(--surface); box-shadow: var(--shadow-2); }
.phone__thread { gap: 10px; padding: 8px 0; }
.phone__talk { align-self: center; }
.phone__talk .tk-talk { width: 64px; height: 64px; }

.band--surface { background: var(--surface); }
.band--sunken { background: var(--sunken); }
.band > .wrap { padding-top: 72px; padding-bottom: 72px; }
.section { padding-top: 72px; padding-bottom: 72px; }
.h2 { font-size: clamp(30px, 5vw, 40px); line-height: 1.1; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.feature { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: var(--radius-md); background: var(--paper); }
.feature__icon { background: var(--signal); color: var(--on-signal); }
.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.step { display: flex; flex-direction: column; gap: 8px; }
.pair { display: flex; flex-wrap: wrap; gap: 32px; }
.pair > * { flex: 1 1 320px; min-width: 0; }

.doc { max-width: 720px; margin: 0 auto; padding: 32px 24px 80px; display: flex; flex-direction: column; gap: 28px; }
.doc__title { font-size: clamp(34px, 6vw, 44px); line-height: 1.1; }
.list { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.card { padding: 20px; border-radius: var(--radius-md); background: var(--surface); box-shadow: var(--shadow-1); }
.doc a, .band a, .card a { overflow-wrap: anywhere; }

.site-footer { max-width: 1120px; margin: 0 auto; padding: 32px 24px 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; }
