:root {
    --ink: #111827;
    --ink-soft: #344054;
    --muted: #667085;
    --line: #e4e7ec;
    --line-strong: #d0d5dd;
    --surface: #ffffff;
    --surface-soft: #f7f9fc;
    --blue: #1677ff;
    --blue-dark: #0b55b7;
    --blue-soft: #eaf3ff;
    --cyan: #10b9c8;
    --cyan-soft: #e9fbfc;
    --green: #22b45b;
    --green-soft: #eaf9ef;
    --orange: #ff8426;
    --orange-soft: #fff2e8;
    --magenta: #d82be8;
    --magenta-soft: #fbeafd;
    --shadow-sm: 0 8px 24px rgba(16, 24, 40, 0.08);
    --shadow-lg: 0 28px 80px rgba(16, 24, 40, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--surface);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.55;
    letter-spacing: 0;
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    line-height: 1.08;
    letter-spacing: 0;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
}

.nav-shell {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 72px;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 11px;
    font-size: 18px;
    font-weight: 750;
}

.brand img {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-right: auto;
}

.nav-link,
.menu-trigger {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 40px;
    padding: 0 13px;
    color: var(--ink-soft);
    background: transparent;
    border: 0;
    border-radius: 7px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
}

.nav-link:hover,
.menu-trigger:hover,
.menu-trigger[aria-expanded="true"] {
    color: var(--ink);
    background: #f2f4f7;
}

.menu-trigger i {
    font-size: 11px;
    transition: transform 0.18s ease;
}

.menu-trigger[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    padding: 0 17px;
    color: var(--ink);
    background: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: 7px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.button:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.button.primary {
    color: #fff;
    background: var(--blue);
    border-color: var(--blue);
}

.button.primary:hover {
    background: var(--blue-dark);
}

.button.dark {
    color: #fff;
    background: var(--ink);
    border-color: var(--ink);
}

.button.ghost {
    background: rgba(255, 255, 255, 0.82);
}

.mobile-toggle {
    display: none;
    width: 42px;
    height: 42px;
    color: var(--ink);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 7px;
}

.feature-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 118px;
    z-index: 20;
    display: none;
    grid-template-columns: 290px minmax(0, 1fr);
    width: min(920px, calc(100vw - 40px));
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

.feature-menu.is-open {
    display: grid;
}

.menu-visual {
    position: relative;
    min-height: 360px;
    overflow: hidden;
    background: #eef5ff;
    border-right: 1px solid #dbe8f8;
}

.menu-visual-copy {
    position: absolute;
    right: 16px;
    bottom: 16px;
    left: 16px;
    padding: 15px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(208, 213, 221, 0.8);
    border-radius: 7px;
    box-shadow: var(--shadow-sm);
}

.menu-visual-copy strong,
.menu-visual-copy span {
    display: block;
}

.menu-visual-copy span {
    margin-top: 3px;
    color: var(--muted);
    font-size: 13px;
}

.menu-constellation {
    position: absolute;
    inset: 0;
}

.menu-constellation::before,
.menu-constellation::after {
    position: absolute;
    border: 1px solid rgba(22, 119, 255, 0.2);
    border-radius: 50%;
    content: "";
}

.menu-constellation::before {
    top: 26px;
    left: -38px;
    width: 230px;
    height: 230px;
}

.menu-constellation::after {
    top: 74px;
    left: 24px;
    width: 130px;
    height: 130px;
    border-color: rgba(216, 43, 232, 0.2);
}

.menu-constellation .rb-feature-symbol {
    position: absolute;
    box-shadow: 0 18px 38px rgba(24, 48, 86, 0.14);
}

.menu-constellation .rb-feature-symbol:nth-child(1) {
    top: 84px;
    left: 92px;
}

.menu-constellation .rb-feature-symbol:nth-child(2) {
    top: 35px;
    right: 36px;
}

.menu-constellation .rb-feature-symbol:nth-child(3) {
    top: 164px;
    right: 38px;
}

.menu-constellation .rb-feature-symbol:nth-child(4) {
    top: 38px;
    left: 42px;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: center;
    gap: 7px;
    padding: 24px;
}

.menu-item {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 11px;
    align-items: center;
    min-height: 77px;
    padding: 11px;
    border: 1px solid transparent;
    border-radius: 7px;
}

.menu-item:hover {
    background: var(--surface-soft);
    border-color: var(--line);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    color: var(--blue);
    background: var(--blue-soft);
    border-radius: 7px;
}

.tone-orange {
    color: var(--orange);
    background: var(--orange-soft);
}

.tone-cyan {
    color: var(--cyan);
    background: var(--cyan-soft);
}

.tone-green {
    color: var(--green);
    background: var(--green-soft);
}

.tone-magenta {
    color: var(--magenta);
    background: var(--magenta-soft);
}

.menu-item strong,
.menu-item span {
    display: block;
}

.menu-item > .rb-feature-symbol {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.menu-item strong {
    margin-bottom: 2px;
    font-size: 14px;
}

.menu-item span {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.35;
}

.mobile-panel {
    display: none;
}

.rb-feature-symbol {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    color: var(--blue);
    background: #e8f2ff;
    border: 1px solid rgba(22, 119, 255, 0.2);
    border-radius: 8px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.rb-feature-symbol::before {
    display: none;
}

.rb-feature-symbol i {
    position: relative;
    z-index: 2;
    font-size: 20px;
    line-height: 1;
}

.rb-feature-symbol > span {
    display: none;
}

.rb-feature-symbol.is-small {
    width: 38px;
    height: 38px;
}

.rb-feature-symbol.is-small i {
    font-size: 16px;
}

.rb-feature-symbol.is-medium {
    width: 58px;
    height: 58px;
}

.rb-feature-symbol.is-large {
    width: 78px;
    height: 78px;
}

.rb-feature-symbol.is-large i {
    font-size: 31px;
}

.rb-feature-symbol.is-hero {
    width: 112px;
    height: 112px;
    border-radius: 8px;
    box-shadow: 0 26px 70px rgba(22, 119, 255, 0.2);
}

.rb-feature-symbol.is-hero i {
    font-size: 46px;
}

.rb-symbol-erechnung {
    color: #7b55e7;
    background: #f0ebff;
    border-color: rgba(123, 85, 231, 0.22);
}

.rb-symbol-projekte {
    color: #08a8bd;
    background: #e8fbfd;
    border-color: rgba(8, 168, 189, 0.22);
}

.rb-symbol-aufgaben {
    color: #ef7b23;
    background: #fff1e7;
    border-color: rgba(239, 123, 35, 0.22);
}

.rb-symbol-zeit {
    color: #20a85a;
    background: #e9f9ef;
    border-color: rgba(32, 168, 90, 0.22);
}

.rb-symbol-team {
    color: #ed713c;
    background: #fff0e9;
    border-color: rgba(237, 113, 60, 0.22);
}

.rb-symbol-kunden {
    color: #d82be8;
    background: #fbeafd;
    border-color: rgba(216, 43, 232, 0.2);
}

.rb-symbol-buero {
    color: #12926f;
    background: #e7f8f2;
    border-color: rgba(18, 146, 111, 0.22);
}

.rb-symbol-layouts {
    color: #5f6f82;
    background: #eef2f6;
    border-color: rgba(95, 111, 130, 0.22);
}

.hero {
    position: relative;
    min-height: 610px;
    overflow: hidden;
    background: #f7faff;
    border-bottom: 1px solid var(--line);
}

.hero::before {
    position: absolute;
    inset: 0;
    background: #f7faff;
    content: "";
}

.hero::after {
    position: absolute;
    inset: 0;
    background: rgba(247, 250, 255, 0.82);
    content: "";
}

.hero-art,
.feature-hero-art {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.art-ring {
    position: absolute;
    border: 1px solid rgba(22, 119, 255, 0.2);
    border-radius: 50%;
}

.art-ring-one {
    top: -170px;
    right: -90px;
    width: 520px;
    height: 520px;
    background: rgba(234, 243, 255, 0.72);
}

.art-ring-two {
    bottom: -250px;
    left: -100px;
    width: 520px;
    height: 520px;
    background: rgba(251, 234, 253, 0.55);
    border-color: rgba(216, 43, 232, 0.18);
}

.art-sheet {
    position: absolute;
    width: 170px;
    height: 220px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(208, 213, 221, 0.8);
    border-radius: 8px;
    box-shadow: 0 24px 60px rgba(16, 24, 40, 0.08);
}

.art-sheet::before,
.art-sheet::after {
    position: absolute;
    left: 24px;
    height: 8px;
    background: #dce8f8;
    border-radius: 4px;
    content: "";
}

.art-sheet::before {
    top: 48px;
    width: 88px;
}

.art-sheet::after {
    top: 68px;
    width: 118px;
}

.art-sheet-one {
    top: 75px;
    left: 7%;
    transform: rotate(-9deg);
}

.art-sheet-two {
    right: 9%;
    bottom: 86px;
    transform: rotate(8deg);
}

.hero-art > .is-hero {
    position: absolute;
    top: 92px;
    right: 16%;
}

.hero-float {
    position: absolute;
    box-shadow: 0 20px 45px rgba(16, 24, 40, 0.12);
}

.hero-float-one {
    top: 238px;
    left: 12%;
}

.hero-float-two {
    right: 8%;
    bottom: 110px;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 610px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 90px 0 140px;
    text-align: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 30px;
    margin-bottom: 20px;
    padding: 0 11px;
    color: var(--blue-dark);
    background: rgba(234, 243, 255, 0.94);
    border: 1px solid #cfe2ff;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 750;
}

.hero h1,
.feature-hero h1 {
    max-width: 920px;
    margin-bottom: 22px;
    font-size: clamp(2.8rem, 5.4vw, 5.15rem);
    font-weight: 820;
}

.hero .lead,
.feature-hero .lead {
    max-width: 760px;
    margin-bottom: 0;
    color: var(--ink-soft);
    font-size: clamp(1.05rem, 1.7vw, 1.28rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 11px;
    margin-top: 30px;
}

.hero-note {
    margin-top: 13px;
    color: var(--muted);
    font-size: 13px;
}

.hero-tabs {
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 32px;
    left: 0;
    display: flex;
    justify-content: center;
    gap: 7px;
    padding: 0 20px;
}

.hero-tabs a {
    padding: 8px 13px;
    color: var(--ink-soft);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--line);
    border-radius: 7px;
    font-size: 13px;
    font-weight: 700;
}

.hero-tabs a:hover {
    color: var(--blue);
    border-color: #b9d5ff;
}

.section {
    padding: 96px 0;
}

.section.soft {
    background: var(--surface-soft);
    border-top: 1px solid #eef0f3;
    border-bottom: 1px solid #eef0f3;
}

.section-heading {
    max-width: 720px;
    margin-bottom: 42px;
}

.section-heading.center {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.section-heading h2 {
    margin-bottom: 15px;
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 800;
}

.section-heading p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 17px;
}

.workflow-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.workflow-step {
    min-height: 190px;
    padding: 25px;
    background: var(--surface);
}

.workflow-step + .workflow-step {
    border-left: 1px solid var(--line);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin-bottom: 28px;
    color: var(--blue);
    background: var(--blue-soft);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
}

.workflow-step h3 {
    margin-bottom: 8px;
    font-size: 17px;
}

.workflow-step p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 14px;
}

.feature-catalog {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.feature-card {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 28px;
    gap: 15px;
    align-items: center;
    min-height: 122px;
    padding: 22px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    transition: border-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.feature-card:hover {
    border-color: #b9d5ff;
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.feature-card h3 {
    margin-bottom: 5px;
    font-size: 17px;
}

.feature-card p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 14px;
}

.feature-card > i {
    color: #98a2b3;
}

.product-band {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    align-items: center;
    gap: 60px;
}

.product-copy h2 {
    margin-bottom: 18px;
    font-size: clamp(2rem, 4vw, 3.3rem);
    font-weight: 800;
}

.product-copy > p {
    color: var(--muted);
    font-size: 17px;
}

.check-list {
    display: grid;
    gap: 10px;
    margin: 25px 0 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 9px;
    color: var(--ink-soft);
}

.check-list i {
    margin-top: 4px;
    color: var(--green);
}

.app-shot {
    position: relative;
    display: block;
    width: 100%;
    padding: 10px;
    overflow: hidden;
    color: inherit;
    background: #f5f7fa;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    cursor: zoom-in;
    text-align: left;
    appearance: none;
}

.shot-canvas {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #eef2f6;
    border: 1px solid rgba(208, 213, 221, 0.72);
    border-radius: 5px;
}

.shot-canvas::after {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.04);
    box-shadow: inset 0 0 38px rgba(255, 255, 255, 0.34);
    content: "";
    pointer-events: none;
}

.app-shot img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    filter: saturate(0.96) contrast(0.98);
    transition: transform 0.2s ease, filter 0.2s ease;
}

.shot-zoom {
    position: absolute;
    right: 20px;
    bottom: 20px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 0 10px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(208, 213, 221, 0.9);
    border-radius: 7px;
    box-shadow: var(--shadow-sm);
    font-size: 12px;
    font-weight: 750;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.app-shot:hover img {
    filter: saturate(1) contrast(1);
    transform: scale(1.01);
}

.app-shot:hover .shot-zoom,
.app-shot:focus-visible .shot-zoom {
    opacity: 1;
    transform: translateY(0);
}

.privacy-band,
.buy-band {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 40px;
    padding: 38px;
    color: #fff;
    background: var(--ink);
    border-radius: 8px;
}

.privacy-band h2,
.buy-band h2 {
    margin-bottom: 9px;
    color: #fff;
    font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.privacy-band p,
.buy-band p {
    max-width: 760px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.7);
}

.faq-list {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.faq-item + .faq-item {
    border-top: 1px solid var(--line);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 62px;
    padding: 0 20px;
    cursor: pointer;
    font-weight: 700;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    color: var(--muted);
    content: "+";
    font-size: 20px;
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item p {
    max-width: 850px;
    margin: -5px 20px 20px;
    color: var(--muted);
}

.feature-hero {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    background: #f7faff;
    border-bottom: 1px solid var(--line);
}

.feature-hero::after {
    position: absolute;
    inset: 0;
    background: rgba(247, 250, 255, 0.38);
    content: "";
}

.feature-hero-art {
    z-index: 2;
}

.feature-hero-art .art-ring-one {
    top: -210px;
    right: -120px;
}

.feature-hero-art .art-ring-two {
    bottom: -320px;
    left: 42%;
}

.feature-hero-art .art-sheet-one {
    top: 70px;
    right: 7%;
    left: auto;
}

.feature-hero-art .art-sheet-two {
    right: 20%;
    bottom: -70px;
}

.feature-hero-art .rb-feature-symbol {
    position: absolute;
    top: 190px;
    right: 16%;
}

.feature-hero-content {
    position: relative;
    z-index: 3;
    display: flex;
    min-height: 560px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    max-width: 760px;
    padding: 90px 0;
}

.feature-hero h1 {
    max-width: 760px;
    font-size: clamp(2.7rem, 4.7vw, 4.35rem);
}

.feature-hero .hero-actions {
    justify-content: flex-start;
}

.detail-blocks {
    display: grid;
    gap: 88px;
}

.detail-block {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 64px;
}

.detail-block.reverse .shot-gallery {
    order: -1;
}

.shot-gallery {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
}

.shot-gallery.has-thumbnails {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.shot-gallery.has-thumbnails .app-shot:first-child {
    grid-column: 1 / -1;
}

.shot-gallery.has-thumbnails .app-shot.is-secondary .shot-canvas {
    aspect-ratio: 16 / 10;
}

.shot-gallery.has-thumbnails .app-shot.is-secondary .shot-zoom span {
    display: none;
}

.detail-copy .feature-icon {
    margin-bottom: 20px;
}

.detail-copy h2 {
    margin-bottom: 15px;
    font-size: clamp(1.9rem, 3.4vw, 3rem);
    font-weight: 800;
}

.detail-copy p {
    color: var(--muted);
    font-size: 17px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.related-card {
    min-height: 230px;
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.related-card .rb-feature-symbol {
    margin-bottom: 20px;
}

.related-card h3 {
    margin: 0 0 9px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--blue);
    font-weight: 700;
}

.guide-links-section {
    border-top: 1px solid var(--line);
}

.guide-link-grid,
.guide-index-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.guide-link {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 24px;
    align-items: center;
    gap: 16px;
    min-height: 104px;
    padding: 20px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.guide-link:hover,
.guide-index-item:hover {
    border-color: #b9d5ff;
    box-shadow: var(--shadow-sm);
}

.guide-link strong,
.guide-link span {
    display: block;
}

.guide-link strong {
    margin-bottom: 4px;
    font-size: 16px;
}

.guide-link span span {
    color: var(--muted);
    font-size: 14px;
}

.guide-link > i,
.guide-index-item > i {
    color: var(--blue);
}

.guide-index-item {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 24px;
    align-items: center;
    gap: 15px;
    min-height: 126px;
    padding: 22px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.guide-index-item:hover {
    transform: translateY(-2px);
}

.guide-index-item h2,
.guide-index-item h3 {
    margin-bottom: 6px;
    font-size: 17px;
}

.guide-index-item p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 14px;
}

.guide-all-link {
    margin-top: 20px;
}

.guide-hero {
    position: relative;
    min-height: 540px;
    overflow: hidden;
    background: #f7faff;
    border-bottom: 1px solid var(--line);
}

.guide-hero::after {
    position: absolute;
    inset: 0;
    background: rgba(247, 250, 255, 0.38);
    content: "";
}

.guide-hero-content {
    position: relative;
    z-index: 3;
    display: flex;
    min-height: 540px;
    max-width: 790px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 90px 0;
}

.guide-hero h1 {
    max-width: 780px;
    margin-bottom: 22px;
    font-size: clamp(2.7rem, 4.8vw, 4.6rem);
    font-weight: 820;
}

.guide-hero .lead {
    max-width: 720px;
    margin-bottom: 0;
    color: var(--ink-soft);
    font-size: clamp(1.05rem, 1.7vw, 1.25rem);
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    color: var(--muted);
    font-size: 13px;
}

.breadcrumbs a:hover {
    color: var(--blue);
}

.breadcrumbs i {
    font-size: 9px;
}

.guide-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    align-items: start;
    gap: 64px;
}

.guide-content {
    min-width: 0;
}

.guide-intro {
    margin-bottom: 36px;
    color: var(--ink-soft);
    font-size: 20px;
    line-height: 1.65;
}

.guide-shot {
    margin-bottom: 58px;
}

.guide-section {
    margin: 0 0 52px;
}

.guide-section h2 {
    margin-bottom: 18px;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
}

.guide-section p {
    margin-bottom: 16px;
    color: var(--ink-soft);
    font-size: 17px;
    line-height: 1.72;
}

.guide-aside {
    position: sticky;
    top: 96px;
    padding: 24px;
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.guide-aside > strong {
    display: block;
    margin-bottom: 8px;
    font-size: 17px;
}

.guide-aside > p {
    color: var(--muted);
    font-size: 14px;
}

.guide-aside ul {
    display: grid;
    gap: 9px;
    margin: 20px 0;
    padding: 0;
    color: var(--ink-soft);
    font-size: 14px;
    list-style: none;
}

.guide-aside li {
    display: flex;
    gap: 9px;
}

.guide-aside li i {
    margin-top: 4px;
    color: var(--green);
}

.guide-aside .button {
    width: 100%;
}

.guide-callout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 30px;
    padding: 30px;
    background: var(--blue-soft);
    border: 1px solid #cfe2ff;
    border-radius: 8px;
}

.guide-callout h2 {
    margin-bottom: 7px;
    font-size: 22px;
}

.guide-callout p {
    margin-bottom: 0;
    color: var(--muted);
}

.lightbox {
    width: min(96vw, 1500px);
    max-width: none;
    max-height: 94vh;
    padding: 0;
    overflow: hidden;
    background: #111827;
    border: 0;
    border-radius: 8px;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.4);
}

.lightbox::backdrop {
    background: rgba(15, 23, 42, 0.78);
}

.lightbox-shell {
    position: relative;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    max-height: 94vh;
}

.lightbox-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 54px;
    padding: 0 12px 0 18px;
    color: #fff;
    background: #111827;
}

.lightbox-title {
    overflow: hidden;
    font-size: 14px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lightbox-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 7px;
    cursor: pointer;
}

.lightbox-image-wrap {
    min-height: 0;
    overflow: auto;
    background: #e9edf3;
}

.lightbox-image {
    width: 100%;
    height: auto;
    min-height: 100%;
    object-fit: contain;
}

.related-card p {
    color: var(--muted);
    font-size: 14px;
}

.related-card .text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    color: var(--blue);
    font-weight: 700;
}

.site-footer {
    padding: 60px 0 24px;
    color: rgba(255, 255, 255, 0.74);
    background: #101828;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr));
    gap: 50px;
}

.footer-brand .brand {
    color: #fff;
}

.footer-brand p {
    max-width: 330px;
    margin: 18px 0 0;
}

.footer-column h3 {
    margin-bottom: 16px;
    color: #fff;
    font-size: 14px;
}

.footer-column a {
    display: block;
    margin: 9px 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-column a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 48px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 13px;
}

@media (max-width: 980px) {
    .desktop-nav,
    .nav-actions .button.ghost {
        display: none;
    }

    .nav-shell {
        justify-content: space-between;
    }

    .nav-actions {
        margin-left: auto;
    }

    .mobile-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .feature-menu {
        display: none !important;
    }

    .mobile-panel {
        position: fixed;
        inset: 72px 0 0;
        z-index: 30;
        overflow-y: auto;
        padding: 18px 20px 34px;
        background: var(--surface);
    }

    .mobile-panel.is-open {
        display: block;
    }

    .mobile-panel a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 52px;
        padding: 0 4px;
        border-bottom: 1px solid var(--line);
        font-weight: 700;
    }

    .mobile-panel .button {
        margin-top: 20px;
        border-bottom: 0;
    }

    .product-band,
    .detail-block,
    .guide-layout {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .hero-art,
    .feature-hero-art {
        opacity: 0.52;
    }

    .feature-hero-content {
        max-width: 650px;
    }

    .detail-block.reverse .shot-gallery {
        order: 0;
    }

    .workflow-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .workflow-step:nth-child(3) {
        border-left: 0;
        border-top: 1px solid var(--line);
    }

    .workflow-step:nth-child(4) {
        border-top: 1px solid var(--line);
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .guide-aside {
        position: static;
    }
}

@media (max-width: 680px) {
    .container {
        width: min(100% - 28px, 1180px);
    }

    .nav-shell {
        min-height: 64px;
        gap: 10px;
    }

    .brand span {
        font-size: 16px;
    }

    .brand img {
        width: 34px;
        height: 34px;
    }

    .nav-actions .button.primary {
        display: none;
    }

    .mobile-panel {
        inset: 64px 0 0;
    }

    .hero,
    .hero-content {
        min-height: 600px;
    }

    .hero-content {
        padding: 72px 0 130px;
    }

    .art-sheet {
        display: none;
    }

    .hero-art > .is-hero,
    .feature-hero-art .rb-feature-symbol {
        top: 92px;
        right: 2%;
        opacity: 0.34;
    }

    .hero-float {
        display: none;
    }

    .hero h1,
    .feature-hero h1 {
        max-width: 100%;
        font-size: clamp(2.15rem, 10vw, 2.8rem);
        overflow-wrap: anywhere;
    }

    .hero-actions,
    .feature-hero .hero-actions {
        width: 100%;
    }

    .hero-actions .button {
        width: 100%;
    }

    .hero-tabs {
        justify-content: flex-start;
        overflow-x: auto;
    }

    .hero-tabs a {
        flex: 0 0 auto;
    }

    .section {
        padding: 70px 0;
    }

    .feature-catalog,
    .related-grid,
    .workflow-strip,
    .guide-link-grid,
    .guide-index-grid {
        grid-template-columns: 1fr;
    }

    .shot-gallery.has-thumbnails {
        grid-template-columns: 1fr;
    }

    .shot-gallery.has-thumbnails .app-shot:first-child {
        grid-column: auto;
    }

    .app-shot {
        padding: 6px;
    }

    .shot-zoom {
        right: 12px;
        bottom: 12px;
        opacity: 1;
        transform: none;
    }

    .shot-zoom span {
        display: none;
    }

    .workflow-step + .workflow-step,
    .workflow-step:nth-child(3) {
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .privacy-band,
    .buy-band {
        grid-template-columns: 1fr;
        padding: 26px;
    }

    .privacy-band .button,
    .buy-band .button {
        width: 100%;
    }

    .feature-hero,
    .feature-hero-content {
        min-height: 570px;
    }

    .feature-hero-content,
    .guide-hero-content {
        padding: 70px 0;
    }

    .guide-hero,
    .guide-hero-content {
        min-height: 560px;
    }

    .guide-hero h1 {
        max-width: 100%;
        font-size: clamp(2.15rem, 10vw, 2.8rem);
        overflow-wrap: anywhere;
    }

    .guide-callout {
        grid-template-columns: 1fr;
        padding: 24px;
    }

    .guide-callout .button {
        width: 100%;
    }

    .detail-blocks {
        gap: 62px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        display: block;
    }

    .lightbox {
        width: 100vw;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
    }

    .lightbox-shell {
        height: 100vh;
        max-height: 100vh;
    }
}
