/* DoorTag website – design based on the Kickstarter campaign (red #C00000, Barlow ≈ Bahnschrift, Roboto). */

/* ---------- fonts (self-hosted, no requests to Google) ---------- */
@font-face {
    font-family: "Barlow Semi Condensed";
    font-weight: 600;
    font-style: normal;
    font-display: swap;
    src: url("../fonts/barlow-semi-condensed-latin-600-normal.woff2") format("woff2");
}

@font-face {
    font-family: "Barlow Semi Condensed";
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    src: url("../fonts/barlow-semi-condensed-latin-700-normal.woff2") format("woff2");
}

@font-face {
    font-family: "Barlow Condensed";
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    src: url("../fonts/barlow-condensed-latin-700-normal.woff2") format("woff2");
}

@font-face {
    font-family: "Roboto";
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    src: url("../fonts/roboto-latin-400-normal.woff2") format("woff2");
}

@font-face {
    font-family: "Roboto";
    font-weight: 500;
    font-style: normal;
    font-display: swap;
    src: url("../fonts/roboto-latin-500-normal.woff2") format("woff2");
}

@font-face {
    font-family: "Roboto";
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    src: url("../fonts/roboto-latin-700-normal.woff2") format("woff2");
}

:root {
    --red: #C00000;
    --red-2: #A00000;
    --red-soft: #FBEAEA;
    --red-on-dark: #FF5A5A;
    --ep-red: #C8101A;
    --ep-paper: #ECEBE6;
    --ink: #141414;
    --text: #2B2D30;
    --grey: #5F6368;
    --grey-2: #8A8F94;
    --line: #E4E5E2;
    --bg-light: #F4F5F3;
    --dark: #141416;
    --font-head: "Barlow Semi Condensed", "Bahnschrift", "Arial Narrow", Arial, sans-serif;
    --font-cond: "Barlow Condensed", "Bahnschrift", "Arial Narrow", Arial, sans-serif;
    --font-body: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    --radius: 22px;
    --radius-sm: 14px;
    --shadow: 0 1px 2px rgba(20, 20, 20, .05), 0 10px 30px rgba(20, 20, 20, .07);
    --topbar-h: 68px;
    --wrap: 1120px;
    --pad: clamp(16px, 4vw, 32px);
    --gutter: 240px;
    /* room for the left chapter navigation */
}

/* ---------- base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--topbar-h) + 12px);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font: 400 1.0625rem/1.65 var(--font-body);
    color: var(--text);
    background: #fff;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img,
video,
svg {
    max-width: 100%;
}

img {
    height: auto;
    display: block;
}

a {
    color: var(--red);
}

p {
    margin: 0 0 1em;
}

h1,
h2,
h3,
h4 {
    margin: 0;
}

main {
    padding-top: var(--topbar-h);
}

.sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.skip {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 100;
    background: var(--ink);
    color: #fff;
    padding: 10px 14px;
    border-radius: 10px;
    text-decoration: none;
}

.skip:focus {
    top: 12px;
}

:focus-visible {
    outline: 3px solid rgba(192, 0, 0, .45);
    outline-offset: 3px;
    border-radius: 4px;
}

.icon {
    width: 1.25em;
    height: 1.25em;
    flex: none;
    vertical-align: middle;
}

.icon--sm {
    width: 1em;
    height: 1em;
}

.icon--flip {
    transform: scaleX(-1);
}

.wrap {
    width: min(var(--wrap), 100% - 2 * var(--pad));
    margin-inline: auto;
}

.wrap--text {
    max-width: 820px;
}

@media (min-width: 1200px) {
    .home .wrap {
        margin-left: max(var(--gutter), calc((100% - var(--wrap)) / 2));
        margin-right: auto;
        width: min(var(--wrap), 100% - var(--gutter) - var(--pad));
    }
}

.section {
    padding-block: clamp(64px, 8vw, 110px);
}

.section--light {
    background: var(--bg-light);
}

.section--compact {
    padding-block: clamp(48px, 6vw, 80px);
}

.section--dark {
    background: var(--dark);
    color: #D8DADD;
}

.block {
    margin-top: clamp(68px, 8vw, 116px);
}

/* ---------- typography ---------- */
.eyebrow {
    font: 600 .84rem/1 var(--font-head);
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--red);
    margin: 0 0 14px;
}

.title {
    font: 700 clamp(2.1rem, 4.2vw, 3.4rem)/1.04 var(--font-head);
    color: var(--ink);
    letter-spacing: -.005em;
    margin: 0 0 20px;
    text-wrap: balance;
}

.title .hl {
    color: var(--red);
    display: block;
}

.title--xl {
    font-size: clamp(2.7rem, 5.4vw, 4.5rem);
    line-height: 1;
}

.title--md {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.title--md .hl {
    display: inline;
}

.title--sm {
    font-size: 1.45rem;
    margin-bottom: 10px;
}

.heading--sub .title {
    font-size: clamp(1.9rem, 3.4vw, 2.8rem);
}

.lead {
    font-size: clamp(1.1rem, 1.45vw, 1.26rem);
    color: var(--grey);
    max-width: 44em;
}

.lead--narrow {
    max-width: 38em;
}

.lead strong {
    color: var(--ink);
    font-weight: 500;
}

.footnote {
    font-size: .82rem;
    color: var(--grey-2);
    margin: 16px 0 0;
}

.note {
    display: flex;
    gap: 10px;
    align-items: center;
    color: var(--grey);
    margin: 20px 0 0;
    font-size: .98rem;
}

.note .icon {
    color: var(--red);
}

.actions.box__cta {
    margin: 28px 0 0;
    align-items: center;
}

.box__cta .price-note {
    margin: 0;
}

.section--dark .title,
.app .title,
.buy .title,
.ask .title {
    color: #fff;
}

.section--dark .title .hl,
.app .title .hl,
.buy .title .hl {
    color: var(--red-on-dark);
}

.section--dark .eyebrow,
.buy .eyebrow,
.app .eyebrow {
    color: var(--red-on-dark);
}

.section--dark .lead {
    color: #B3B5BA;
}

.section--dark .footnote {
    color: #7F8287;
}

/* ---------- buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--red);
    color: #fff;
    font: 500 1rem/1 var(--font-body);
    padding: 14px 22px;
    border: 0;
    border-radius: 999px;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s, transform .2s, box-shadow .2s;
    box-shadow: 0 6px 18px rgba(192, 0, 0, .22);
}

.btn:hover {
    background: var(--red-2);
    transform: translateY(-1px);
}

/* optional "Sale" tag on the shop buttons (config 'sale_tag') */
.btn {
    position: relative;
}

.sale-tag {
    position: absolute;
    top: 0;
    right: 16px;
    transform: translateY(-58%);
    padding: 5px 9px 4px;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    font: 700 .74rem/1 var(--font-head);
    letter-spacing: .07em;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .18);
    pointer-events: none;
}

.btn--light .sale-tag {
    background: var(--red);
}

.btn .icon {
    width: 19px;
    height: 19px;
}

.btn--lg {
    padding: 17px 28px;
    font-size: 1.06rem;
}

.btn--sm {
    padding: 10px 16px;
    font-size: .92rem;
    box-shadow: none;
}

.btn--ghost {
    background: transparent;
    color: var(--ink);
    box-shadow: inset 0 0 0 2px var(--ink);
}

.btn--ghost:hover {
    background: var(--ink);
    color: #fff;
}

.btn--light {
    background: #fff;
    color: var(--ink);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

.btn--light:hover {
    background: #F1F1EF;
}

.btn[disabled] {
    opacity: .6;
    cursor: wait;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 30px 0 12px;
}

.price-note {
    color: var(--grey);
    font-size: .95rem;
    margin: 6px 0 0;
}

/* Kickstarter line for visitors outside the EU */
.ks-line {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 22px 0 0;
    padding: 14px 18px;
    border-radius: 14px;
    background: rgba(5, 206, 120, .07);
    border: 1px solid rgba(5, 206, 120, .28);
    color: var(--text);
    font-size: .95rem;
    max-width: 36em;
    text-decoration: none;
    transition: background .2s, border-color .2s;
}

a.ks-line:hover {
    background: rgba(5, 206, 120, .13);
    border-color: rgba(5, 206, 120, .6);
}

a.ks-line:focus-visible {
    outline: 3px solid rgba(5, 206, 120, .55);
    outline-offset: 3px;
}

.ks-line__arrow {
    color: #04804F;
    transition: transform .2s;
}

a.ks-line:hover .ks-line__arrow {
    transform: translateX(3px);
}

.ks-line img {
    align-self: flex-start;
    width: auto;
    height: 13px;
}

.ks-line strong {
    color: var(--ink);
    font-weight: 500;
}

.ks-line--dark {
    background: rgba(5, 206, 120, .08);
    border-color: rgba(5, 206, 120, .3);
    color: #C9CBCF;
}

.ks-line--dark strong {
    color: #fff;
}

.ks-line--dark .ks-line__arrow {
    color: #2BE29A;
}

/* ---------- top bar ---------- */
.topbar {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 50;
    height: var(--topbar-h);
    background: rgba(255, 255, 255, .88);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid rgba(20, 20, 20, .06);
    transition: box-shadow .25s;
}

.topbar.is-scrolled {
    box-shadow: 0 2px 14px rgba(20, 20, 20, .05);
}

.topbar__inner {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 26px;
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 var(--pad);
}

.topbar__logo img {
    height: 40px;
    width: auto;
}

.topbar__nav {
    display: none;
    gap: 26px;
    margin-left: 10px;
}

.topbar__nav a,
.topbar__app {
    color: var(--ink);
    text-decoration: none;
    font-weight: 500;
    font-size: .96rem;
    opacity: .82;
    transition: opacity .2s, color .2s;
}

.topbar__nav a:hover,
.topbar__app:hover {
    opacity: 1;
    color: var(--red);
}

.topbar__actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 16px;
}

.topbar__app {
    display: none;
    align-items: center;
    gap: 8px;
}

.topbar__burger {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    border-radius: 12px;
}

.topbar__burger .icon {
    width: 26px;
    height: 26px;
}

.topbar__burger .icon--close,
.topbar__burger[aria-expanded="true"] .icon--open {
    display: none;
}

.topbar__burger[aria-expanded="true"] .icon--close {
    display: block;
}

.lang {
    display: flex;
    gap: 2px;
}

.lang a {
    font-size: .85rem;
    color: var(--grey);
    text-decoration: none;
    padding: 4px 7px;
    border-radius: 8px;
}

.lang a[aria-current] {
    color: var(--ink);
    font-weight: 700;
}

@media (min-width: 1020px) {
    .topbar__nav {
        display: flex;
    }

    .topbar__burger {
        display: none;
    }
}

@media (min-width: 1180px) {
    .topbar__app {
        display: inline-flex;
    }
}

/* never wrap a menu item; a bit tighter between 1020 and 1180 px (longer German labels) */
.topbar__nav a {
    white-space: nowrap;
}

@media (min-width: 1020px) and (max-width: 1179px) {

    .topbar__inner,
    .topbar__nav {
        gap: 18px;
    }

    .topbar__nav {
        margin-left: 0;
    }

    .topbar__nav a {
        font-size: .92rem;
    }
}

@media (max-width: 420px) {
    .topbar .btn--sm span {
        display: none;
    }
}

.menu {
    position: fixed;
    top: var(--topbar-h);
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--topbar-h));
    overflow: auto;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 14px var(--pad) 28px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .08);
}

.menu nav {
    display: grid;
}

.menu nav a {
    color: var(--ink);
    text-decoration: none;
    font: 600 1.3rem/1.2 var(--font-head);
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
}

.menu nav .btn {
    justify-self: start;
    margin-top: 18px;
    padding: 14px 22px;
    font: 500 1rem/1 var(--font-body);
    border: 0;
    color: #fff;
}

.menu__label {
    margin: 24px 0 8px;
    font: 600 .78rem var(--font-head);
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--grey-2);
}

.menu__chapters {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 16px;
}

.menu__chapters a {
    display: block;
    color: var(--grey);
    text-decoration: none;
    padding: 7px 0;
}

body.menu-open {
    overflow: hidden;
}

/* ---------- left chapter navigation ---------- */
.chapnav {
    display: none;
}

@media (min-width: 1200px) {
    .chapnav {
        display: block;
        position: fixed;
        left: clamp(14px, 1.8vw, 34px);
        top: 50%;
        transform: translateY(-50%);
        z-index: 40;
        max-width: 200px;
        padding: 14px 20px 14px 14px;
        border-radius: 18px;
        background: rgba(255, 255, 255, .8);
        -webkit-backdrop-filter: blur(12px) saturate(160%);
        backdrop-filter: blur(12px) saturate(160%);
        box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 10px 30px rgba(0, 0, 0, .09);
    }
}

.chapnav ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

.chapnav a {
    display: block;
    position: relative;
    padding: 5px 0 5px 18px;
    color: var(--ink);
    opacity: .42;
    text-decoration: none;
    font: 600 .98rem/1.25 var(--font-head);
    transition: opacity .2s;
}

.chapnav a::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 50%;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    transform: translateY(-50%) scale(.55);
    transition: transform .2s, background .2s;
}

.chapnav a:hover {
    opacity: .75;
}

.chapnav a[aria-current="true"] {
    opacity: 1;
    font-weight: 700;
}

.chapnav a[aria-current="true"]::before {
    background: var(--red);
    transform: translateY(-50%) scale(1.15);
}

/* ---------- hero ---------- */
.hero {
    padding: clamp(36px, 6vw, 84px) 0 clamp(48px, 6vw, 80px);
    background: linear-gradient(180deg, #F0F0F0 0%, #F0F0F0 62%, #F8F8F7 100%);
    overflow: hidden;
}

.hero__grid {
    display: grid;
    gap: clamp(24px, 4vw, 48px);
    align-items: center;
}

.hero .lead {
    max-width: 33em;
}

.hero__visual {
    position: relative;
}

.hero__img {
    width: 100%;
}

@media (min-width: 1000px) {
    .hero__grid {
        grid-template-columns: 1.04fr 1fr;
    }
}

.chips {
    list-style: none;
    padding: 0;
    margin: clamp(32px, 4vw, 52px) 0 0;
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.chip {
    display: flex;
    gap: 14px;
    align-items: center;
    background: #fff;
    border-radius: var(--radius-sm);
    padding: 16px 18px;
    box-shadow: var(--shadow);
}

.chip__icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--red-soft);
    color: var(--red);
    display: grid;
    place-items: center;
    flex: none;
}

.chip strong {
    display: block;
    font: 700 1.1rem/1.2 var(--font-head);
    color: var(--ink);
}

.chip>span:last-child {
    color: var(--grey);
    font-size: .93rem;
    line-height: 1.35;
}

/* ---------- problem ---------- */
.scenes {
    list-style: none;
    padding: 0;
    margin: 36px 0 0;
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.scene {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius);
    overflow: hidden;
    background: #222;
    box-shadow: var(--shadow);
}

.scene__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.scene::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 38%, rgba(0, 0, 0, .8) 100%);
    pointer-events: none;
}

.scene__text {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 20px;
    z-index: 1;
    display: grid;
    gap: 2px;
    color: #fff;
}

.scene__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .16);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: #fff;
    display: grid;
    place-items: center;
    margin-bottom: 10px;
}

.scene strong {
    font: 700 1.55rem/1.1 var(--font-head);
    color: #fff;
}

.scene__text>span:last-child {
    color: rgba(255, 255, 255, .86);
}

.scene__tag {
    position: absolute;
    left: 16px;
    top: 16px;
    z-index: 1;
    font: 700 .74rem/1 var(--font-head);
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(20, 20, 20, .62);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    padding: 8px 12px;
    border-radius: 999px;
}

.scene--good {
    box-shadow: 0 0 0 3px var(--red), var(--shadow);
}

.scene--good .scene__tag,
.scene--good .scene__icon {
    background: var(--red);
}

.compare-ps__title {
    margin-top: clamp(56px, 7vw, 96px);
}

.ps {
    margin-top: 24px;
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow);
}

.ps__head,
.ps__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.ps__head span {
    padding: 16px 24px;
    font: 600 .82rem var(--font-head);
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--grey);
}

.ps__head span:last-child {
    background: var(--ink);
    color: #fff;
}

.ps__row {
    border-top: 1px solid var(--line);
}

.ps__old,
.ps__new {
    display: flex;
    gap: 14px;
    padding: 20px 24px;
    align-items: flex-start;
}

.ps__new {
    background: #FFF7F7;
}

.ps strong {
    display: block;
    font: 700 1.18rem/1.2 var(--font-head);
    color: var(--ink);
    margin-bottom: 2px;
}

.ps__old strong {
    color: #6D7075;
}

.ps__old>span:last-child,
.ps__new>span:last-child {
    color: var(--grey);
    font-size: .96rem;
    line-height: 1.45;
}

.ps__mark {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex: none;
}

.ps__mark .icon {
    width: 16px;
    height: 16px;
    stroke-width: 3;
}

.ps__mark--x {
    background: #ECECEA;
    color: #9A9C9F;
}

.ps__mark--ok {
    background: var(--red);
    color: #fff;
}

@media (max-width: 700px) {
    .ps__head {
        display: none;
    }

    .ps__row {
        grid-template-columns: 1fr;
    }

    .ps__old {
        padding-bottom: 10px;
    }

    .ps__new {
        padding-top: 14px;
    }
}

/* ---------- how it works ---------- */
.steps {
    list-style: none;
    padding: 0;
    margin: 40px 0 0;
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.step {
    position: relative;
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 16px 16px 26px;
}

/* app screenshot format (296 / 477) for all three steps, so the screenshots are never cropped */
.step__media {
    aspect-ratio: 296 / 477;
    width: min(100%, 320px);
    margin-inline: auto;
    border-radius: 14px;
    overflow: hidden;
    background: #E6E7E4;
}

.step__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.step__media--ui {
    background: #1D1F23;
}

.step__media--ui img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.step__num {
    position: absolute;
    top: 28px;
    left: 28px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    font: 700 1.25rem/42px var(--font-head);
    text-align: center;
    box-shadow: 0 6px 16px rgba(192, 0, 0, .35);
}

.step h3 {
    font: 700 1.55rem var(--font-head);
    margin: 20px 6px 6px;
    color: var(--ink);
}

.step p {
    margin: 0 6px;
    color: var(--grey);
}

/* phones: the three steps side by side as a swipe row instead of three tall cards */
@media (max-width: 640px) {
    .steps {
        display: flex;
        gap: 14px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        margin-inline: calc(-1 * var(--pad));
        padding: 0 var(--pad) 4px;
        scroll-padding-inline: var(--pad);
    }

    .steps::-webkit-scrollbar {
        display: none;
    }

    .step {
        flex: 0 0 78%;
        scroll-snap-align: start;
    }

    .step__media {
        width: 100%;
    }
}

.split {
    display: grid;
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
}

@media (min-width: 960px) {
    .split {
        grid-template-columns: 1fr 1fr;
    }

    .split.split--video {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
    }
}

.flow {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 12px;
}

.flow__item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 6px 8px;
}

.flow__item:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 43px;
    bottom: -13px;
    width: 2px;
    height: 14px;
    background: var(--red);
}

.flow__icon {
    width: 62px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex: none;
}

.flow__icon img {
    width: 28px;
    height: auto;
}

.flow__icon img[width="36"] {
    width: 38px;
    border-radius: 10px;
}

.flow__icon .icon {
    width: 30px;
    height: 30px;
    color: #1D6FE0;
}

.flow strong {
    display: block;
    font: 700 1.12rem/1.2 var(--font-head);
    color: var(--ink);
}

.flow__item>span:last-child {
    color: var(--grey);
    font-size: .94rem;
}

.ticks {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
    display: grid;
    gap: 9px;
}

.ticks li {
    display: flex;
    gap: 10px;
    align-items: center;
}

.ticks .icon {
    color: var(--red);
    width: 20px;
    height: 20px;
    stroke-width: 3;
}

.ticks--2col {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    margin-top: 24px;
}

.video-card {
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.video-card__video {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.video-card figcaption {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 14px 18px;
    background: #fff;
    color: var(--grey);
    font-size: .95rem;
}

.badge {
    font: 600 .72rem/1 var(--font-head);
    letter-spacing: .14em;
    text-transform: uppercase;
    background: var(--red);
    color: #fff;
    padding: 6px 10px;
    border-radius: 999px;
    flex: none;
}

.map {
    margin-top: 44px;
    display: grid;
    gap: 16px;
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 20px clamp(18px, 2.4vw, 26px) 22px;
}

.map__intro {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 14px;
}

.map__intro .title {
    margin: 0;
}

.map__intro p {
    color: var(--grey);
    margin: 0;
}

.map__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.map__item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #fff;
    border-radius: 14px;
    padding: 12px 12px 14px;
}

.status {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--ink);
}

.status__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex: none;
}

.status__dot--green {
    background: #6BB700;
}

.status__dot--red {
    background: #C4314B;
}

.status__dot--amber {
    background: #FFAA44;
}

.status {
    font-size: .92rem;
}

@media (max-width: 560px) {
    .map__list {
        grid-template-columns: 1fr 1fr;
    }
}

/* e-paper sign drawn in CSS: 172 x 62 mm frame, 140 x 50 mm display */
.sign {
    container-type: inline-size;
    display: block;
    width: 100%;
    aspect-ratio: 172 / 62;
    padding: 3.5% 9.3%;
    border-radius: 2.4% / 6.6%;
    background: linear-gradient(180deg, #2C2C2F, #151517);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 6px 16px rgba(0, 0, 0, .18);
}

.sign--alu {
    background: linear-gradient(180deg, #DADCDF, #A8ABAF 55%, #CDCFD2);
}

.sign__display {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 1.4% / 4%;
    background: var(--ep-paper);
    color: #161616;
    text-align: center;
    line-height: 1.04;
    font-family: Roboto, Arial, sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    overflow: hidden;
}

.sign--red .sign__display {
    background: var(--ep-red);
    color: #F5F3EF;
}

.sign__l1 {
    font-size: var(--fs1, 11cqw);
    letter-spacing: .01em;
    white-space: nowrap;
}

.sign__l2 {
    font-size: var(--fs2, 5.6cqw);
    margin-top: 1.4cqw;
    white-space: nowrap;
}

.day {
    list-style: none;
    padding: 0;
    margin: 34px 0 0;
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.day__item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.day__time {
    font: 700 2rem/1 var(--font-cond);
    color: var(--ink);
}

.day__source {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--grey);
    font-size: .9rem;
    line-height: 1.35;
    min-height: 2.7em;
}

.day__source .icon {
    color: var(--red);
    margin-top: 1px;
}

.day__source strong {
    display: block;
    color: var(--ink);
    font-weight: 500;
}

.day .sign {
    margin-top: auto;
}

@media (max-width: 560px) {
    .day__item {
        display: grid;
        grid-template-columns: 1fr 150px;
        grid-template-areas: "time sign" "source sign";
        align-items: center;
        gap: 6px 14px;
        padding: 14px 14px 14px 16px;
    }

    .day__time {
        grid-area: time;
        font-size: 1.6rem;
    }

    .day__source {
        grid-area: source;
        min-height: 0;
    }

    .day .sign {
        grid-area: sign;
        margin: 0;
    }
}

.app {
    display: grid;
    gap: 40px;
    align-items: center;
    background: linear-gradient(135deg, #1F2125, #111215);
    color: #D8DADD;
    border-radius: 28px;
    padding: clamp(28px, 5vw, 60px);
    overflow: hidden;
}

.app .lead {
    color: #B3B5BA;
}

.app .note {
    color: #8E9196;
}

.app .note .icon {
    color: var(--red-on-dark);
}

.carousel {
    position: relative;
    min-width: 0;
}

.carousel__track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    border-radius: 20px;
    background: radial-gradient(circle at 50% 35%, #30333A, #17181B 78%);
}

.carousel__track::-webkit-scrollbar {
    display: none;
}

.carousel__track:focus-visible {
    outline: 3px solid rgba(255, 90, 90, .55);
    outline-offset: 3px;
}

.carousel__slide {
    flex: 0 0 100%;
    scroll-snap-align: center;
    margin: 0;
    padding: 26px 22px 20px;
    display: flex;
    flex-direction: column;
}

.carousel__img {
    height: clamp(360px, 42vw, 540px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel__img img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    border-radius: 10px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
}

.carousel figcaption {
    margin-top: 18px;
    text-align: center;
    color: #B3B5BA;
    font-size: .95rem;
}

.carousel figcaption strong {
    display: block;
    color: #fff;
    font: 700 1.2rem/1.2 var(--font-head);
    margin-bottom: 2px;
}

.carousel__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 16px;
}

.carousel__btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: background .2s;
}

.carousel__btn:hover {
    background: rgba(255, 255, 255, .2);
}

.carousel__btn[disabled] {
    opacity: .35;
    cursor: default;
}

.carousel__dots {
    display: flex;
    gap: 8px;
}

.carousel__dots button {
    width: 9px;
    height: 9px;
    border-radius: 99px;
    border: 0;
    padding: 0;
    background: rgba(255, 255, 255, .3);
    cursor: pointer;
    transition: width .25s, background .25s;
}

.carousel__dots button[aria-current="true"] {
    width: 26px;
    background: var(--red-on-dark);
}

@media (max-width: 560px) {
    .carousel__img {
        height: 400px;
    }
}

@media (min-width: 960px) {
    .app {
        grid-template-columns: .9fr 1.1fr;
    }
}

.stores {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 24px 0 12px;
}

.store {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    color: var(--ink);
    border-radius: 12px;
    padding: 10px 18px 10px 12px;
    text-decoration: none;
    font: 500 1.05rem/1.15 var(--font-body);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
    transition: transform .2s;
}

.store:hover {
    transform: translateY(-2px);
}

.store small {
    display: block;
    font-weight: 400;
    font-size: .72rem;
    color: var(--grey);
}

.store img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

/* ---------- features ---------- */
.editor {
    display: grid;
    place-items: center;
}

.editor__shot {
    width: min(100%, 470px);
    border-radius: 16px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, .25);
}

.gallery {
    list-style: none;
    padding: 0;
    margin: 48px 0 0;
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.gallery__frame {
    display: block;
    aspect-ratio: 172 / 62;
    padding: 3.5% 9.3%;
    border-radius: 2.4% / 6.6%;
    background: linear-gradient(180deg, #2C2C2F, #151517);
    box-shadow: 0 10px 26px rgba(0, 0, 0, .18);
}

.gallery__frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px;
    background: var(--ep-paper);
}

.cards {
    list-style: none;
    padding: 0;
    margin: 34px 0 0;
    display: grid;
    gap: 18px;
}

.cards--3 {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
    background: #fff;
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: var(--shadow);
}

.card__icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: var(--red-soft);
    color: var(--red);
    display: grid;
    place-items: center;
    margin-bottom: 14px;
}

.card h4 {
    font: 700 1.4rem/1.15 var(--font-head);
    margin: 0 0 6px;
    color: var(--ink);
}

.card p {
    margin: 0;
    color: var(--grey);
}

.bars {
    margin-top: 24px;
    background: #fff;
    border-radius: var(--radius);
    padding: clamp(22px, 3vw, 34px);
    box-shadow: var(--shadow);
}

.bars__title {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
    align-items: baseline;
    margin: 0 0 20px;
}

.bars__title strong {
    font: 700 1.4rem var(--font-head);
    color: var(--ink);
}

.bars__title span {
    color: var(--grey);
    font-size: .95rem;
}

.bars ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 14px;
}

.bar {
    display: grid;
    grid-template-columns: 170px 1fr 200px;
    gap: 16px;
    align-items: center;
}

.bar__label {
    font-weight: 500;
    color: var(--ink);
}

.bar__track {
    height: 14px;
    background: #EEEEEC;
    border-radius: 99px;
    overflow: hidden;
}

.bar__fill {
    display: block;
    height: 100%;
    width: max(var(--pct), 1%);
    background: var(--grey-2);
    border-radius: 99px;
    transform-origin: left;
}

.bar--main .bar__fill {
    background: var(--red);
}

.bar__value {
    color: var(--grey);
    font-size: .95rem;
}

.bar--main .bar__value {
    color: var(--red);
    font-weight: 600;
}

html.js .bars .bar__fill {
    transform: scaleX(0);
    transition: transform 1.4s cubic-bezier(.2, .7, .2, 1) .2s;
}

html.js .bars.is-visible .bar__fill {
    transform: scaleX(1);
}

@media (max-width: 700px) {
    .bar {
        grid-template-columns: 1fr;
        gap: 6px;
    }
}

/* ---------- use cases ---------- */
.tiles {
    list-style: none;
    padding: 0;
    margin: 38px 0 0;
    display: grid;
    gap: 30px 22px;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.tile__img {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius);
    overflow: hidden;
    background: #E6E7E4;
}

.tile__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s cubic-bezier(.2, .7, .2, 1);
}

.tile:hover .tile__img img {
    transform: scale(1.035);
}

.tile h3 {
    font: 700 1.5rem/1.15 var(--font-head);
    color: var(--ink);
    margin: 16px 0 4px;
}

.tile p {
    margin: 0;
    color: var(--grey);
}

.tile__ai {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(20, 20, 20, .72);
    color: #fff;
    font: 600 .72rem/1 var(--font-head);
    letter-spacing: .12em;
    padding: 6px 9px;
    border-radius: 99px;
}

/* ---------- in the box & frames ---------- */
.numlist {
    counter-reset: n;
    list-style: none;
    padding: 0;
    margin: 28px 0 0;
    display: grid;
    gap: 13px;
}

.numlist li {
    counter-increment: n;
    display: grid;
    grid-template-columns: 32px 1fr;
    column-gap: 14px;
    align-items: baseline;
}

.numlist li::before {
    content: counter(n);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    font: 700 1rem/30px var(--font-head);
    text-align: center;
    grid-row: span 2;
}

.numlist strong {
    color: var(--ink);
    font-weight: 500;
}

.numlist span {
    color: var(--grey);
}

.box__img {
    position: relative;
}

.box__img img {
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
}

/* numbers 1–5 on the photo, same style as the list */
.box__dot {
    position: absolute;
    width: clamp(24px, 2.4vw, 32px);
    height: clamp(24px, 2.4vw, 32px);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    display: grid;
    place-items: center;
    font: 700 clamp(.85rem, 1.1vw, 1.05rem)/1 var(--font-head);
    box-shadow: 0 0 0 3px #fff, 0 4px 12px rgba(0, 0, 0, .25);
    cursor: default;
}

.frames {
    list-style: none;
    padding: 0;
    margin: 28px 0 0;
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.frame-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* the whole card links to the product page in the shop */
.frame-card__link {
    display: block;
    height: 100%;
    padding-bottom: 22px;
    color: inherit;
    text-decoration: none;
    border-radius: inherit;
    transition: background-color .2s;
}

.frame-card__link:hover {
    background: #FAFAF9;
}

.frame-card__link:focus-visible {
    outline-offset: -3px;
    border-radius: var(--radius);
}

.frame-card__img img {
    transition: transform .4s ease;
}

.frame-card__link:hover .frame-card__img img {
    transform: scale(1.03);
}

.frame-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 14px 24px 0;
    color: var(--red);
    font-weight: 500;
}

.frame-card__cta .icon {
    transition: transform .2s;
}

.frame-card__link:hover .frame-card__cta .icon {
    transform: translateX(3px);
}

@media (prefers-reduced-motion: reduce) {
    .frame-card__img img,
    .frame-card__cta .icon {
        transition: none;
    }
}

.frame-card__img {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #F2F2F1;
}

.frame-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.frame-card h4 {
    font: 700 1.45rem var(--font-head);
    margin: 18px 24px 4px;
    color: var(--ink);
}

.frame-card p {
    margin: 0 24px;
    color: var(--grey);
}

/* ---------- under the hood (dark) ---------- */
.inside {
    padding-bottom: clamp(72px, 9vw, 124px);
    background: #1A181B;
}

.inside .heading,
.inside>.wrap>.lead {
    position: relative;
    z-index: 1;
}

.scrub {
    position: relative;
    margin-top: 24px;
}

.scrub__stage {
    position: relative;
    display: grid;
    place-items: center;
    padding: 20px 0 70px;
    --p: .5;
}

.scrub__canvas-wrap {
    position: relative;
    width: min(92vw, 640px);
    aspect-ratio: 1;
}

.scrub__canvas,
.scrub__fallback {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    -webkit-mask-image: radial-gradient(closest-side, #000 70%, transparent 100%);
    mask-image: radial-gradient(closest-side, #000 70%, transparent 100%);
}

.scrub__canvas {
    display: none;
}

.scrub__parts {
    list-style: none;
    margin: 0 auto;
    padding: 0 var(--pad);
    display: grid;
    gap: 12px 22px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    width: min(var(--wrap), 100%);
}

.scrub__parts li {
    border-left: 2px solid var(--red-on-dark);
    padding-left: 14px;
    opacity: clamp(.22, calc((var(--p) - .26 - var(--i) * .055) * 14), 1);
    transition: opacity .2s;
}

.scrub__parts strong {
    display: block;
    font: 700 1.2rem/1.2 var(--font-head);
    color: #fff;
}

.scrub__parts span {
    color: #A6A8AD;
    font-size: .92rem;
}

.scrub__caption {
    position: absolute;
    bottom: 14px;
    left: 0;
    right: 0;
    text-align: center;
    color: #7F8287;
    font-size: .85rem;
    margin: 0;
}

.scrub__progress {
    position: absolute;
    bottom: 46px;
    left: 50%;
    width: 140px;
    height: 3px;
    background: rgba(255, 255, 255, .14);
    transform: translateX(-50%);
    border-radius: 3px;
    overflow: hidden;
    display: none;
}

.scrub__progress span {
    display: block;
    height: 100%;
    width: calc(var(--p) * 100%);
    background: var(--red-on-dark);
}

/* scroll-scrub mode (JS on, motion allowed): tall track, sticky stage */
.scrub.is-active {
    height: 210vh;
}

.scrub.is-active .scrub__stage {
    position: sticky;
    top: var(--topbar-h);
    height: calc(100vh - var(--topbar-h));
    padding: 0;
    overflow: hidden;
}

.scrub.is-active .scrub__canvas {
    display: block;
}

.scrub.is-active .scrub__fallback {
    display: none;
}

.scrub.is-active .scrub__progress {
    display: block;
}

.scrub.is-active .scrub__canvas-wrap {
    width: min(92vw, calc(100vh - var(--topbar-h) - 90px));
}

@media (min-width: 900px) {
    .scrub.is-active .scrub__parts {
        position: absolute;
        right: max(var(--pad), calc((100% - var(--wrap)) / 2));
        top: 50%;
        transform: translateY(-50%);
        width: 250px;
        grid-template-columns: 1fr;
        padding: 0;
        margin: 0;
        gap: 18px;
    }

    .scrub.is-active .scrub__canvas-wrap {
        margin-right: 220px;
    }
}

@media (max-width: 899px) {
    .scrub.is-active .scrub__stage {
        grid-template-rows: 1fr auto;
        align-content: center;
    }

    .scrub.is-active .scrub__canvas-wrap {
        width: min(92vw, calc(100vh - var(--topbar-h) - 260px));
    }

    .scrub.is-active .scrub__parts {
        grid-template-columns: 1fr 1fr;
        gap: 8px 16px;
        padding-bottom: 76px;
    }

    .scrub.is-active .scrub__parts strong {
        font-size: 1rem;
    }

    .scrub.is-active .scrub__parts span {
        font-size: .8rem;
    }
}

.specs {
    display: grid;
    gap: 34px;
    align-items: start;
    margin-top: 30px;
}

@media (min-width: 960px) {
    .specs {
        grid-template-columns: 1fr 1fr;
    }
}

.drawing {
    margin: 0;
    background: rgba(255, 255, 255, .035);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: var(--radius);
    padding: clamp(18px, 3vw, 30px);
}

.drawing svg {
    width: 100%;
    height: auto;
    display: block;
    color: var(--red-on-dark);
    overflow: visible;
}

.drawing__dim line {
    stroke: var(--red-on-dark);
    stroke-width: 2.5;
}

.drawing__dim text {
    fill: var(--red-on-dark);
    font: 700 22px var(--font-head);
}

.drawing__body {
    fill: #252428;
    stroke: #E9E9EA;
    stroke-width: 3;
}

.drawing__display {
    fill: #333236;
    stroke: #8E9095;
    stroke-width: 2;
    stroke-dasharray: 9 7;
}

.drawing__label {
    fill: #fff;
    font: 500 26px var(--font-body);
}

.drawing__sub {
    fill: #A6A8AD;
    font: 400 19px var(--font-body);
}

.specs__list {
    margin: 0;
}

.specs__list div {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 16px;
    padding: 6px 0;
    border-top: 1px solid rgba(255, 255, 255, .05);
    font-size: .97rem;
    line-height: 1.45;
}

.specs__list dt {
    color: #A6A8AD;
    font-weight: 500;
}

.specs__list dd {
    margin: 0;
    color: #F1F1F2;
}

@media (max-width: 520px) {
    .specs__list div {
        grid-template-columns: 1fr;
        gap: 2px;
    }
}

.compare-card {
    background: #fff;
    color: var(--text);
    border-radius: 28px;
    padding: clamp(22px, 3.5vw, 44px);
}

.compare-card .title {
    color: var(--ink);
}

.compare-card .footnote {
    color: var(--grey-2);
}

.table-scroll {
    overflow-x: auto;
    margin-top: 18px;
    -webkit-overflow-scrolling: touch;
}

.compare {
    width: 100%;
    min-width: 760px;
    border-collapse: separate;
    border-spacing: 0;
}

.compare th,
.compare td {
    padding: 15px 10px;
    text-align: center;
    border-bottom: 1px solid var(--line);
}

.compare thead th {
    vertical-align: bottom;
    padding-top: 10px;
}

.compare tbody th {
    text-align: left;
    font-weight: 500;
    color: var(--ink);
    width: 26%;
}

.compare tbody tr:last-child th,
.compare tbody tr:last-child td {
    border-bottom: 0;
}

.compare .is-us {
    background: #FBEDED;
}

.compare thead .is-us {
    border-radius: 22px 22px 0 0;
}

.compare tbody tr:last-child .is-us {
    border-radius: 0 0 22px 22px;
}

.compare__name {
    display: block;
    margin-top: 10px;
    font: 600 1.05rem/1.2 var(--font-head);
    color: var(--ink);
}

.is-us .compare__name {
    color: var(--red);
    font-size: 1.2rem;
}

.cmp-icon {
    display: block;
    width: 100%;
    max-width: 122px;
    height: auto;
    margin: 0 auto;
}

.cmp-icon--doortag {
    max-width: 112px;
    padding: 16px 0 12px;
}

.cmp-icon--doortag .sign {
    box-shadow: 0 8px 18px rgba(0, 0, 0, .22);
}

.mark {
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    vertical-align: middle;
}

.mark .icon {
    width: 16px;
    height: 16px;
    stroke-width: 3;
}

.mark--y {
    background: #fff;
    color: var(--grey);
    box-shadow: inset 0 0 0 3px var(--grey-2);
}

.is-us .mark--y,
.mark--us {
    background: var(--red);
    color: #fff;
    box-shadow: none;
}

.mark--n {
    color: #B0B0AB;
}

.mark--p {
    border: 3px solid var(--grey-2);
    background: linear-gradient(90deg, var(--grey-2) 50%, #fff 50%);
}

.mark-text {
    font: 700 1.2rem var(--font-head);
    color: var(--ink);
}

.is-us .mark-text {
    color: var(--red);
}

.legend {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    margin: 20px 0 0;
    color: var(--grey);
    font-size: .92rem;
}

.legend>span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.legend .mark {
    width: 22px;
    height: 22px;
}

.legend .mark .icon {
    width: 12px;
    height: 12px;
}

/* ---------- made in germany ---------- */
.made {
    list-style: none;
    padding: 0;
    margin: 38px 0 0;
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.made__tile {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--radius);
    overflow: hidden;
    background: #ddd;
}

.made__tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.made__tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, .74));
}

.made__tile span {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 18px;
    z-index: 1;
    color: #fff;
    font: 500 1.05rem/1.3 var(--font-body);
}

.facts {
    list-style: none;
    padding: 0;
    margin: 36px 0 0;
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.facts li {
    display: flex;
    gap: 14px;
    align-items: center;
}

.facts__icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--red-soft);
    color: var(--red);
    display: grid;
    place-items: center;
    flex: none;
}

.facts strong {
    display: block;
    font: 700 1.14rem/1.2 var(--font-head);
    color: var(--ink);
}

.facts li>span:last-child {
    color: var(--grey);
    font-size: .94rem;
}

/* ---------- customers ---------- */
.quotes {
    list-style: none;
    padding: 0;
    margin: 36px 0 0;
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.quote {
    position: relative;
    background: #fff;
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.quote--placeholder {
    border: 2px dashed #CFD0CC;
    box-shadow: none;
    background: rgba(255, 255, 255, .55);
}

.quote__flag {
    position: absolute;
    top: 16px;
    right: 16px;
    font: 600 .7rem/1 var(--font-head);
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--grey-2);
    border: 1px solid #CFD0CC;
    padding: 5px 8px;
    border-radius: 99px;
}

.quote__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 68px;
}

.quote__icon {
    color: var(--red);
    width: 34px;
    height: 34px;
}

/* customer logo (links to the customer's website) */
.quote__logo-link {
    display: inline-flex;
    border-radius: 8px;
    transition: opacity .2s;
}

.quote__logo-link:hover {
    opacity: .72;
}

.quote__logo-link:focus-visible {
    outline: 3px solid rgba(192, 0, 0, .45);
    outline-offset: 4px;
}

.quote blockquote {
    margin: 0;
}

.quote blockquote p {
    margin: 0;
    font: 500 1.18rem/1.45 var(--font-body);
    color: var(--ink);
}

.quote--placeholder blockquote p {
    color: var(--grey-2);
}

.quote__logo {
    max-width: min(100%, 210px);
    object-fit: contain;
    object-position: left center;
}

.quote__logo--empty {
    display: grid;
    place-items: center;
    width: 120px;
    border-radius: 10px;
    color: var(--grey-2);
    font-size: .75rem;
    border: 1px dashed #CFD0CC;
}

.quote__by {
    margin: auto 0 0;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    color: var(--grey);
    font-size: .92rem;
    line-height: 1.4;
}

.quote__by strong {
    display: block;
    color: var(--ink);
}

/* ---------- for businesses ---------- */
.biz {
    display: grid;
    gap: 22px 36px;
    align-items: center;
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: clamp(26px, 4vw, 48px);
}

@media (min-width: 860px) {
    .biz {
        grid-template-columns: auto minmax(0, 1fr) auto;
    }
}

.biz__icon {
    width: 68px;
    height: 68px;
    border-radius: 20px;
    background: #FBEDED;
    color: var(--red);
    display: grid;
    place-items: center;
    align-self: start;
}

.biz__icon .icon {
    width: 32px;
    height: 32px;
}

.biz .lead {
    margin: 12px 0 0;
    max-width: 40em;
}

.biz .lead a {
    white-space: nowrap;
}

.biz__btn {
    justify-self: start;
}

/* ---------- about ---------- */
.founder {
    display: grid;
    gap: clamp(28px, 4vw, 60px);
    margin-top: 36px;
    align-items: start;
}

@media (min-width: 960px) {
    .founder {
        grid-template-columns: .8fr 1.2fr;
    }
}

.founder__photo {
    margin: 0;
}

.founder__photo img {
    width: 100%;
    border-radius: var(--radius);
}

.founder__photo figcaption {
    color: var(--grey);
    font-size: .9rem;
    margin-top: 10px;
}

.founder__name {
    margin: 0 0 18px;
    color: var(--grey);
}

.founder__name strong {
    display: block;
    font: 700 2.1rem/1.1 var(--font-head);
    color: var(--ink);
}

.founder__quote {
    margin: 0 0 30px;
}

.founder__quote .icon {
    color: var(--red);
    width: 40px;
    height: 40px;
}

.founder__quote p {
    font: 700 clamp(1.5rem, 2.4vw, 2.05rem)/1.2 var(--font-head);
    color: var(--ink);
    margin: 6px 0 0;
}

.founder__text h3 {
    margin-top: 10px;
}

.signature {
    font-style: italic;
    color: var(--grey);
}

.skills {
    list-style: none;
    padding: 0;
    margin: 26px 0 0;
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.skills li {
    display: flex;
    gap: 14px;
    align-items: center;
    background: var(--bg-light);
    border-radius: 16px;
    padding: 14px 16px;
}

.skills__icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff;
    color: var(--red);
    display: grid;
    place-items: center;
    flex: none;
}

.skills strong {
    display: block;
    color: var(--ink);
    font: 700 1.1rem/1.2 var(--font-head);
}

.skills li>span:last-child {
    color: var(--grey);
    font-size: .9rem;
}

.journey {
    list-style: none;
    padding: 0;
    margin: 30px 0 0;
    display: grid;
    gap: 22px 0;
    position: relative;
    grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
}

.journey::before {
    content: "";
    position: absolute;
    top: 22px;
    left: 22px;
    right: 22px;
    height: 3px;
    background: #D9DAD6;
}

.journey__item {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-right: 12px;
}

.journey__dot {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    display: grid;
    place-items: center;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 0 5px #fff;
    margin-bottom: 10px;
}

.journey__dot .icon {
    width: 20px;
    height: 20px;
}

.journey__item--now .journey__dot {
    background: var(--red);
}

.journey__item--next .journey__dot {
    background: #fff;
    color: var(--grey-2);
    box-shadow: 0 0 0 5px #fff, inset 0 0 0 3px #C9CAC6;
}

.journey__date {
    font: 600 .78rem/1.2 var(--font-head);
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--grey-2);
}

.journey__item--now .journey__date {
    color: var(--red);
}

.journey strong {
    font: 700 1.08rem/1.2 var(--font-head);
    color: var(--ink);
}

@media (max-width: 720px) {
    .journey {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .journey::before {
        top: 22px;
        bottom: 22px;
        left: 21px;
        right: auto;
        width: 3px;
        height: auto;
    }

    .journey__item {
        display: grid;
        grid-template-columns: 46px 1fr;
        column-gap: 16px;
        align-items: center;
    }

    .journey__dot {
        grid-row: span 2;
        margin: 0;
    }
}

/* ---------- FAQ & question form ---------- */
.faq {
    display: grid;
    gap: clamp(32px, 5vw, 64px);
    align-items: start;
}

@media (min-width: 1000px) {
    .faq {
        grid-template-columns: 1.45fr 1fr;
    }
}

.faq__list {
    margin-top: 28px;
    display: grid;
    gap: 10px;
}

.faq__item {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
}

.faq__item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    padding: 18px 22px;
    font: 500 1.05rem/1.35 var(--font-body);
    color: var(--ink);
}

.faq__item summary::-webkit-details-marker {
    display: none;
}

.faq__chev {
    color: var(--grey-2);
    transition: transform .25s;
}

.faq__item[open] .faq__chev {
    transform: rotate(180deg);
}

.faq__answer {
    padding: 0 22px 20px;
    color: var(--text);
}

.faq__answer p {
    margin: 0;
}

.ask {
    position: sticky;
    top: calc(var(--topbar-h) + 24px);
    background: var(--ink);
    color: #C9CBCF;
    border-radius: var(--radius);
    padding: clamp(24px, 3vw, 34px);
}

.ask__form {
    display: grid;
    gap: 14px;
    margin-top: 18px;
    position: relative;
}

.ask__form label {
    display: grid;
    gap: 6px;
    font-size: .9rem;
    color: #B3B5BA;
}

.ask__form textarea,
.ask__form input {
    font: inherit;
    font-size: 1rem;
    color: var(--ink);
    background: #fff;
    border: 0;
    border-radius: 12px;
    padding: 12px 14px;
    width: 100%;
    resize: vertical;
}

.ask__form textarea:focus,
.ask__form input:focus {
    outline: 3px solid rgba(255, 90, 90, .55);
}

.ask__form .btn {
    justify-self: start;
}

.ask .hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.ask__msg {
    margin: 0;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: .95rem;
}

.ask__msg--ok {
    background: rgba(107, 183, 0, .16);
    color: #D3F2A9;
}

.ask__msg--error {
    background: rgba(255, 90, 90, .16);
    color: #FFC9C9;
}

.ask__msg a,
.ask__privacy a {
    color: #fff;
}

.ask__privacy {
    font-size: .8rem;
    color: #8E9196;
    margin: 0;
}

/* ---------- get yours (dark CTA) ---------- */
.buy {
    background: radial-gradient(circle at 80% 30%, #3B0A0B 0%, #141416 58%);
    color: #C9CBCF;
}

.buy__grid {
    display: grid;
    gap: 44px;
    align-items: center;
}

.buy .title {
    font-size: clamp(2.5rem, 5vw, 4.2rem);
}

.buy .lead {
    color: #B3B5BA;
}

.buy .price-note {
    color: #9A9DA2;
}

.buy__app {
    margin: 34px 0 0;
    font: 700 1.15rem var(--font-head);
    color: #fff;
}

.buy__visual img {
    border-radius: var(--radius);
    box-shadow: 0 40px 90px rgba(0, 0, 0, .5);
}

@media (min-width: 960px) {
    .buy__grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ---------- footer ---------- */
.footer {
    background: #0D0D0F;
    color: #9A9DA2;
    padding: 64px 0 30px;
    font-size: .95rem;
}

.footer__grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.footer__brand img {
    height: 40px;
    width: auto;
}

.footer__brand p {
    margin: 12px 0 16px;
}

.footer a {
    display: block;
    color: #D8DADD;
    text-decoration: none;
    padding: 4px 0;
}

.footer a:hover {
    color: #fff;
}

.footer__head {
    font: 600 .8rem var(--font-head);
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 10px;
}

.social {
    display: flex;
    gap: 10px;
}

.social a {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .07);
    padding: 0;
}

.social a:hover {
    background: var(--red);
}

.footer__bottom {
    margin-top: 44px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    font-size: .85rem;
    color: #75787D;
}

.footer__bottom p {
    margin: 0;
}

/* ---------- sub pages (imprint, admin consent) ---------- */
.page-section {
    padding-top: clamp(40px, 6vw, 80px);
}

.back {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    color: var(--grey);
    text-decoration: none;
    margin-bottom: 28px;
}

.back:hover {
    color: var(--red);
}

.legal {
    line-height: 1.75;
}

.legal h1 {
    font: 700 clamp(2.2rem, 4vw, 3rem)/1.1 var(--font-head);
    color: var(--ink);
    margin: 0 0 22px;
}

.legal h2 {
    font: 700 1.6rem/1.2 var(--font-head);
    color: var(--ink);
    margin: 42px 0 10px;
}

.legal h3 {
    font: 700 1.2rem/1.25 var(--font-head);
    color: var(--ink);
    margin: 28px 0 8px;
}

.legal p {
    margin: 0 0 6px;
}

.publisher__company {
    margin: 10px 0 0 calc(1.25em + 10px);
    color: var(--grey);
    font-size: .95rem;
    line-height: 1.55;
}

.publisher__company span {
    display: block;
}

.consent>img {
    width: 60px;
    height: auto;
    margin-bottom: 22px;
}

.scopes {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 10px;
    margin: 14px 0 28px;
}

.scopes li {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 14px;
    align-items: center;
    background: var(--bg-light);
    border-radius: 12px;
    padding: 12px 16px;
}

.scopes code {
    font: 600 .92rem ui-monospace, Consolas, monospace;
    color: var(--ink);
}

.consent__shot {
    margin: 0 0 28px;
}

.consent__shot img {
    border-radius: 14px;
    box-shadow: var(--shadow);
    max-width: 420px;
    width: 100%;
}

.consent__shot figcaption {
    color: var(--grey);
    font-size: .9rem;
    margin-top: 8px;
}

.ms-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    color: #5E5E5E;
    border: 1px solid #8C8C8C;
    font: 600 15px "Segoe UI", system-ui, sans-serif;
    padding: 12px 18px;
    text-decoration: none;
}

.ms-button:hover {
    background: #F3F3F3;
}

@media (max-width: 560px) {
    .scopes li {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}

/* ---------- motion ---------- */
html.js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1);
}

html.js .reveal.is-visible {
    opacity: 1;
    transform: none;
}

@keyframes float {
    50% {
        transform: translateY(-8px);
    }
}

.hero__img {
    animation: float 7s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .hero__img {
        animation: none;
    }

    html.js .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    html.js .bars .bar__fill {
        transform: none;
        transition: none;
    }

    .tile__img img {
        transition: none;
    }
}