:root {
  color-scheme: light;
  --ink: #17202a;
  --muted: #667382;
  --line: #d6dde6;
  --panel: #f6f8fb;
  --panel-strong: #edf2f7;
  --accent: #087f9c;
  --accent-dark: #055d73;
  --code: #eef3f6;
  --page: #fbfcfe;
  --rabbit-blue: #00b7ff;
  --rabbit-yellow: #ffe81f;
  --rabbit-orange: #ff9b00;
}

* { box-sizing: border-box; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 20;
  padding: 10px 14px;
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(17, 24, 34, 0.2);
}

.skip-link:focus {
  top: 16px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

.page-lang-switch,
.floating-lang-switch {
  display: inline-flex;
  gap: 8px;
}

.page-lang-switch {
  position: fixed;
  top: 18px;
  right: max(18px, calc((100vw - 1080px) / 2 + 18px));
  z-index: 110;
}

.floating-lang-switch {
  position: absolute;
  top: 16px;
  right: 148px;
}

.lang-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 28px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    0 8px 18px rgba(7, 15, 24, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  font-size: 18px;
  line-height: 1;
  text-decoration: none;
}

.page-lang-switch .lang-flag {
  background: #ffffff;
  border-color: var(--line);
}

.lang-flag.is-active {
  transform: translateY(-1px);
  box-shadow:
    0 12px 24px rgba(7, 15, 24, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.lang-flag:hover {
  text-decoration: none;
}

.rabbit-page {
  background:
    radial-gradient(circle at top left, rgba(0, 183, 255, 0.1), transparent 32%),
    radial-gradient(circle at top right, rgba(255, 232, 31, 0.09), transparent 26%),
    var(--page);
}

.home-page {
  background:
    radial-gradient(circle at top left, rgba(0, 183, 255, 0.09), transparent 32%),
    radial-gradient(circle at top right, rgba(255, 232, 31, 0.08), transparent 26%),
    var(--page);
}

main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 42px 28px 72px;
}

.home-page main {
  padding-top: 172px;
}

.home-floating-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 100;
  width: min(1180px, calc(100vw - 28px));
  transform: translateX(-50%);
  margin: 0;
  padding: 18px 22px;
  color: #f7fbfd;
  background:
    radial-gradient(circle at 10% 20%, rgba(0, 183, 255, 0.24), transparent 26%),
    radial-gradient(circle at 88% 12%, rgba(255, 232, 31, 0.18), transparent 22%),
    linear-gradient(135deg, rgba(19, 35, 44, 0.78), rgba(33, 49, 59, 0.68));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  box-shadow:
    0 18px 38px rgba(9, 20, 30, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
}

.home-floating-header .floating-lang-switch {
  right: 22px;
}

.legal-page .home-floating-header .floating-lang-switch {
  right: 148px;
}

.home-nav {
  margin-top: 12px;
}

.home-nav a {
  min-width: 118px;
}

.home-hero {
  display: block;
}

.home-hero .intro {
  max-width: 860px;
  margin-bottom: 0;
}

.rabbit-page main {
  padding-top: 172px;
}

.rabbit-page section {
  scroll-margin-top: 172px;
}

.floating-app-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 100;
  width: min(1080px, calc(100vw - 28px));
  transform: translateX(-50%);
  margin: 0;
  padding: 18px 22px;
  color: #f7fbfd;
  background:
    radial-gradient(circle at 10% 20%, rgba(0, 183, 255, 0.28), transparent 26%),
    radial-gradient(circle at 88% 12%, rgba(255, 232, 31, 0.22), transparent 22%),
    linear-gradient(135deg, rgba(8, 13, 31, 0.78), rgba(22, 37, 60, 0.68));
  border: 1px solid rgba(0, 183, 255, 0.28);
  border-radius: 14px;
  box-shadow:
    0 18px 38px rgba(9, 20, 30, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
}

.floating-brand {
  display: inline-block;
  margin-bottom: 12px;
  color: #ffffff;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.floating-brand:hover {
  text-decoration: none;
}

.floating-home-link {
  position: absolute;
  top: 16px;
  right: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 7px 12px;
  color: #f7fbfd;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  box-shadow:
    0 8px 18px rgba(7, 15, 24, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.floating-home-link:hover {
  color: #ffffff;
  background: linear-gradient(180deg, rgba(0, 183, 255, 0.72), rgba(8, 127, 156, 0.5));
  text-decoration: none;
}

.floating-app-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.floating-app-nav::-webkit-scrollbar {
  display: none;
}

.floating-app-nav a {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-width: 86px;
  padding: 8px 10px;
  color: #d8edf7;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow:
    0 10px 20px rgba(7, 15, 24, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, color 160ms ease;
}

.floating-app-nav a:hover,
.floating-app-nav a:focus-visible,
.floating-app-nav a.is-active {
  color: #ffffff;
  background: linear-gradient(180deg, rgba(0, 183, 255, 0.72), rgba(8, 127, 156, 0.5));
  text-decoration: none;
  box-shadow:
    0 14px 28px rgba(7, 15, 24, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 -1px 0 rgba(0, 0, 0, 0.08);
}

.floating-app-nav a:hover,
.floating-app-nav a:focus-visible {
  transform: translateY(-1px);
}

.floating-app-nav a.is-active {
  border-color: rgba(255, 232, 31, 0.72);
}

header {
  background: linear-gradient(135deg, #13232c, #21313b);
  color: #f7fbfd;
  border: 1px solid #0d1a21;
  border-radius: 14px;
  margin-bottom: 24px;
  padding: 34px 36px;
  box-shadow: 0 18px 45px rgba(13, 28, 38, 0.16);
}

.rabbit-header {
  background:
    radial-gradient(circle at 88% 20%, rgba(255, 232, 31, 0.22), transparent 22%),
    radial-gradient(circle at 18% 18%, rgba(0, 183, 255, 0.22), transparent 26%),
    linear-gradient(135deg, #080d1f, #16253c 58%, #26132e);
  border-color: rgba(0, 183, 255, 0.36);
}

.top-link {
  display: inline-block;
  color: #d8edf7;
  font-weight: 700;
  margin-bottom: 18px;
}

h1, h2, h3 { line-height: 1.18; margin: 0 0 14px; }
h1 { font-size: 42px; letter-spacing: 0; }
h2 {
  font-size: 25px;
  margin-top: 42px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
h3 { font-size: 18px; margin-top: 24px; }
p { margin: 0 0 14px; }
ul, ol { margin: 0 0 18px 22px; padding: 0; }
li { margin: 6px 0; }
a { color: var(--accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible {
  outline: 3px solid var(--rabbit-yellow);
  outline-offset: 3px;
}

:where(
  section,
  .section,
  .page-intro,
  .hero__copy,
  .hero__panel,
  .card,
  .panel,
  .role-card,
  .example,
  .flow-stage,
  .review-step,
  .decision,
  .feature-card,
  .app-card-body,
  .download-box,
  .download-tile,
  .legal-card,
  .contact-form,
  .note
) {
  font-size: 16px;
}

:where(
  section,
  .section,
  .page-intro,
  .hero__copy,
  .hero__panel,
  .card,
  .panel,
  .role-card,
  .example,
  .flow-stage,
  .review-step,
  .decision,
  .feature-card,
  .app-card-body,
  .download-box,
  .download-tile,
  .legal-card,
  .contact-form,
  .note
) :where(p, li, td, th) {
  font-size: inherit;
}

section {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 18px 0;
  padding: 24px 28px 26px;
}

section h2:first-child { margin-top: 0; }

.meta {
  color: #b8c8d3;
  font-size: 15px;
  margin-top: 8px;
}

.intro {
  max-width: 760px;
  color: #e9f2f6;
  font-size: 18px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(240px, 0.7fr);
  gap: 28px;
  align-items: center;
}

.app-title {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 14px;
}

.app-title img {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  flex: 0 0 auto;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
}

.app-title h1 {
  margin-bottom: 0;
}

.hero-art {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
}

.hero-art img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.32);
}

.toc {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 18px;
  padding: 18px;
}

.toc a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--panel);
  color: var(--ink);
  font-weight: 600;
}

.toc a:hover {
  background: var(--panel-strong);
  text-decoration: none;
}

.screenshots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  grid-auto-rows: 1fr;
  gap: 22px;
  align-items: stretch;
}

.section-media {
  margin: 18px 0 4px;
  max-width: 760px;
}

figure {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
}

figure img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  border: 1px solid #cfd7e2;
  background: #101217;
  margin: 0 auto;
  box-shadow: 0 10px 28px rgba(17, 24, 34, 0.16);
}

img {
  max-width: 100%;
}

.screenshot-tall img { max-height: 430px; }
.screenshot-wide img { max-height: 320px; }
.section-media img { max-height: 520px; }

figcaption {
  flex: 1;
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

code {
  background: var(--code);
  border-radius: 4px;
  padding: 1px 5px;
  font-family: "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.94em;
  overflow-wrap: anywhere;
}

table {
  border-collapse: collapse;
  width: 100%;
  margin: 12px 0 22px;
  font-size: 15px;
  background: #ffffff;
}

th, td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--panel-strong);
  font-weight: 700;
}

td:first-child { width: 31%; }

.note {
  border-left: 4px solid var(--accent);
  background: #edf8fb;
  padding: 12px 14px;
  margin: 18px 0;
}

.story {
  background: linear-gradient(135deg, #fffaf0, #eef9fb);
  border-color: #cbdfe7;
}

.story h2 {
  border-bottom-color: rgba(8, 127, 156, 0.24);
}

.story-lead {
  color: #20303a;
  line-height: 1.58;
}

.story-highlight {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0 18px;
}

.story-highlight div {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(8, 127, 156, 0.18);
  border-radius: 10px;
  color: #17313d;
  font-weight: 700;
  padding: 14px;
}

.download-box {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  background: linear-gradient(135deg, #f8fbff, #fffaf0);
  border: 1px solid #cbdfe7;
  border-radius: 12px;
  padding: 18px;
  margin: 18px 0;
}

.download-box img {
  width: 72px;
  height: 72px;
  border-radius: 16px;
}

.button-link {
  display: inline-block;
  margin-top: 6px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--accent-dark);
  color: #ffffff;
  font-weight: 700;
}

.button-link:hover {
  background: var(--accent);
  text-decoration: none;
}

.icon-button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 42px;
}

.button-click-icon {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
  margin: 18px 0 4px;
}

.feature-card,
.app-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
}

.feature-card strong,
.app-card strong {
  display: block;
  margin-bottom: 6px;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
  margin: 18px 0 4px;
}

.app-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  padding: 0;
  box-shadow: 0 14px 34px rgba(17, 24, 34, 0.08);
}

.app-card-media {
  background: var(--panel);
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.image-preview-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  cursor: zoom-in;
}

.image-preview-trigger:focus-visible {
  outline: 3px solid var(--rabbit-yellow);
  outline-offset: 4px;
}

.app-card-media img {
  width: 100%;
  max-height: 280px;
  object-fit: contain;
  border-radius: 10px;
}

.image-lightbox[hidden] {
  display: none;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 22px 28px;
  background: rgba(5, 11, 17, 0.88);
  cursor: zoom-out;
}

.image-lightbox img {
  display: block;
  width: auto;
  max-width: min(100%, 1120px);
  max-height: calc(100vh - 96px);
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 22px 64px rgba(0, 0, 0, 0.42);
  cursor: default;
}

.image-lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 101;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.image-lightbox-close:hover {
  background: #ffffff;
}

.image-lightbox-close:focus-visible {
  outline: 3px solid var(--rabbit-yellow);
  outline-offset: 3px;
}

.has-open-lightbox {
  overflow: hidden;
}

.app-card-body {
  padding: 20px;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.app-card-body p {
  color: var(--muted);
}

.app-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 8px;
}

.secondary-link {
  display: inline-block;
  margin-top: 6px;
  padding: 9px 13px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink);
  font-weight: 700;
}

.secondary-link:hover {
  background: var(--panel);
  text-decoration: none;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  align-items: stretch;
}

.download-tile {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
}

.download-tile .button-link {
  align-self: flex-start;
  margin-top: auto;
}

.release-meta {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 10px;
}

.service-section {
  background:
    radial-gradient(circle at 92% 22%, rgba(0, 183, 255, 0.12), transparent 24%),
    linear-gradient(135deg, #f8fbff, #fffdf7);
  border-color: #cbdfe7;
}

.service-grid,
.legal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.legal-grid {
  grid-template-columns: 1fr;
}

.legal-shell {
  max-width: 860px;
  margin: 0 auto;
}

.service-card,
.legal-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 12px 30px rgba(17, 24, 34, 0.06);
}

.service-card-strong,
.legal-card-strong {
  background: linear-gradient(135deg, #fffdf7, #eef8fb);
  border-color: #c8dde7;
}

.legal-shell {
  background:
    radial-gradient(circle at 88% 14%, rgba(255, 232, 31, 0.12), transparent 18%),
    linear-gradient(135deg, #f9fbfd, #fffdf8);
}

.contact-form {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(17, 24, 34, 0.06);
}

.contact-form label {
  color: var(--ink);
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid #cfdce3;
  border-radius: 10px;
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  outline: 3px solid rgba(0, 158, 214, 0.16);
}

.contact-form textarea {
  resize: vertical;
}

.form-note {
  color: var(--muted);
  font-size: 14px;
  margin: 4px 0 8px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.contact-actions .button-link,
.contact-actions .secondary-link {
  margin-top: 0;
}

.form-status {
  min-height: 22px;
  color: var(--accent);
  font-weight: 800;
  margin: 0;
}

.legal-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background:
    radial-gradient(circle at 12% 18%, rgba(0, 183, 255, 0.14), transparent 24%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(246, 250, 252, 0.88));
}

.legal-shortcuts .button-link {
  min-width: 150px;
  justify-content: center;
  margin-top: 0;
}

.site-footer {
  margin-top: 28px;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  justify-content: center;
  margin-bottom: 10px;
}

.site-footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  font-weight: 700;
}

.site-footer-links a:hover {
  background: var(--panel);
  text-decoration: none;
}

.footer-note {
  color: var(--muted);
  font-size: 14px;
  margin-top: 24px;
  text-align: center;
}

@media (max-width: 720px) {
  main { padding: 22px 14px 42px; }
  .home-page main { padding-top: 184px; }
  .home-floating-header {
    top: 14px;
    width: calc(100vw - 28px);
    padding: 16px;
  }
  .home-floating-header .floating-brand { font-size: 24px; }
  .home-floating-header .floating-lang-switch {
    top: 14px;
    right: 16px;
  }
  .legal-page .home-floating-header .floating-lang-switch {
    right: 144px;
  }
  .home-nav a {
    min-width: 112px;
  }
  .rabbit-page main { padding-top: 184px; }
  .rabbit-page section { scroll-margin-top: 184px; }
  .floating-app-header { padding: 16px; }
  .floating-brand { font-size: 24px; }
  .floating-lang-switch {
    top: 14px;
    right: 144px;
  }
  .floating-home-link {
    top: 14px;
    right: 16px;
  }
  .floating-app-nav a { min-width: 78px; }
  header { padding: 26px 22px; }
  h1 { font-size: 34px; }
  h2 { font-size: 23px; }
  section { padding: 20px 18px; }
  .hero-grid { grid-template-columns: 1fr; }
  .app-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .hero-art img { max-height: none; }
  .screenshot-tall img,
  .screenshot-wide img { max-height: none; }
  table { font-size: 14px; }
  th, td { padding: 9px; }
  .download-box { grid-template-columns: 1fr; }
  .story-highlight { grid-template-columns: 1fr; }
  .button-link,
  .secondary-link {
    width: 100%;
    text-align: center;
  }
  .site-footer-links {
    flex-direction: column;
  }
  .site-footer-links a {
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 420px) {
  main { padding: 16px 10px 34px; }
  .home-page main { padding-top: 176px; }
  .home-floating-header {
    top: 10px;
    width: calc(100vw - 20px);
    border-radius: 10px;
  }
  .rabbit-page main { padding-top: 176px; }
  .rabbit-page section { scroll-margin-top: 176px; }
  .page-lang-switch {
    top: 10px;
    right: 10px;
  }
  .floating-lang-switch {
    right: 136px;
  }
  header { border-radius: 10px; }
  h1 { font-size: 30px; }
  .toc { grid-template-columns: 1fr; }
  .app-grid,
  .download-grid,
  .feature-grid,
  .screenshots {
    grid-template-columns: 1fr;
  }
}

/* Mini MP3 Player page styles */
.mini-page {
  color-scheme: light;
  --ink: #17202a;
  --muted: #667382;
  --line: #d6dde6;
  --panel: #f6f8fb;
  --panel-strong: #edf2f7;
  --accent: #087f9c;
  --accent-dark: #055d73;
  --code: #eef3f6;
  --page: #fbfcfe;
}
 .mini-page * { box-sizing: border-box; }
 .mini-page .skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 20;
  padding: 10px 14px;
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(17, 24, 34, 0.2);
}
 .mini-page .skip-link:focus { top: 16px; }
 body.mini-page {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(8, 127, 156, 0.1), transparent 32%),
    radial-gradient(circle at top right, rgba(255, 207, 51, 0.1), transparent 26%),
    var(--page);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
 .mini-page main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 172px 28px 72px;
}
 .mini-page section {
  scroll-margin-top: 172px;
}
 .mini-page .floating-app-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 100;
  width: min(1080px, calc(100vw - 28px));
  transform: translateX(-50%);
  margin: 0;
  padding: 18px 22px;
  color: #f7fbfd;
  background:
    radial-gradient(circle at 10% 20%, rgba(8, 127, 156, 0.28), transparent 26%),
    radial-gradient(circle at 88% 12%, rgba(255, 207, 51, 0.22), transparent 22%),
    linear-gradient(135deg, rgba(19, 35, 44, 0.78), rgba(33, 49, 59, 0.68));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  box-shadow:
    0 18px 38px rgba(9, 20, 30, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
}
 .mini-page .floating-brand {
  display: inline-block;
  margin-bottom: 12px;
  color: #ffffff;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
 .mini-page .floating-brand:hover { text-decoration: none; }
 .mini-page .floating-home-link {
  position: absolute;
  top: 16px;
  right: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 7px 12px;
  color: #f7fbfd;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  box-shadow:
    0 8px 18px rgba(7, 15, 24, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}
 .mini-page .floating-home-link:hover {
  color: #ffffff;
  background: linear-gradient(180deg, rgba(37, 169, 210, 0.72), rgba(8, 127, 156, 0.5));
  text-decoration: none;
}
 .mini-page .floating-app-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
 .mini-page .floating-app-nav::-webkit-scrollbar {
  display: none;
}
 .mini-page .floating-app-nav a {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-width: 86px;
  padding: 8px 10px;
  color: #d8edf7;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow:
    0 10px 20px rgba(7, 15, 24, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, color 160ms ease;
}
 .mini-page .floating-app-nav a:hover, .mini-page .floating-app-nav a:focus-visible, .mini-page .floating-app-nav a.is-active {
  color: #ffffff;
  background: linear-gradient(180deg, rgba(37, 169, 210, 0.72), rgba(8, 127, 156, 0.5));
  text-decoration: none;
  box-shadow:
    0 14px 28px rgba(7, 15, 24, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 -1px 0 rgba(0, 0, 0, 0.08);
}
 .mini-page .floating-app-nav a:hover, .mini-page .floating-app-nav a:focus-visible {
  transform: translateY(-1px);
}
 .mini-page .floating-app-nav a.is-active {
  border-color: rgba(255, 207, 51, 0.72);
}
 .mini-page header {
  background: linear-gradient(135deg, #13232c, #21313b);
  color: #f7fbfd;
  border: 1px solid #0d1a21;
  border-radius: 14px;
  margin-bottom: 24px;
  padding: 34px 36px;
  box-shadow: 0 18px 45px rgba(13, 28, 38, 0.16);
}
 .mini-page h1, .mini-page h2, .mini-page h3 { line-height: 1.18; margin: 0 0 14px; }
 .mini-page h1 { font-size: 42px; letter-spacing: 0; }
 .mini-page h2 {
  font-size: 25px;
  margin-top: 42px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
 .mini-page h3 { font-size: 18px; margin-top: 24px; }
 .mini-page p { margin: 0 0 14px; }
 .mini-page ul, .mini-page ol { margin: 0 0 18px 22px; padding: 0; }
 .mini-page li { margin: 6px 0; }
 .mini-page a { color: var(--accent-dark); text-decoration: none; }
 .mini-page a:hover { text-decoration: underline; }
 .mini-page a:focus-visible {
  outline: 3px solid #ffcf33;
  outline-offset: 3px;
}
 .mini-page .top-link {
  display: inline-block;
  color: #d8edf7;
  font-weight: 700;
  margin-bottom: 18px;
}
 .mini-page section {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 18px 0;
  padding: 24px 28px 26px;
}
 .mini-page section h2:first-child { margin-top: 0; }
 .mini-page .toc {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 18px;
  padding: 18px;
}
 .mini-page .toc a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--panel);
  color: var(--ink);
  font-weight: 600;
}
 .mini-page .toc a:hover {
  background: var(--panel-strong);
  text-decoration: none;
}
 .mini-page .screenshots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-auto-rows: 1fr;
  gap: 22px;
  align-items: stretch;
}
 .mini-page figure {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
}
 .mini-page figure img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  border: 1px solid #cfd7e2;
  background: #101217;
  margin: 0 auto;
  box-shadow: 0 10px 28px rgba(17, 24, 34, 0.16);
}
 .mini-page img { max-width: 100%; }
 .mini-page .screenshot-standard img { max-height: 230px; }
 .mini-page .screenshot-vintage img { max-height: 360px; }
 .mini-page figcaption {
  flex: 1;
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}
 .mini-page code {
  background: var(--code);
  border-radius: 4px;
  padding: 1px 5px;
  font-family: "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.94em;
}
 .mini-page table {
  border-collapse: collapse;
  width: 100%;
  margin: 12px 0 22px;
  font-size: 15px;
  background: #ffffff;
}
 .mini-page th, .mini-page td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
 .mini-page th {
  background: var(--panel-strong);
  font-weight: 700;
}
 .mini-page td:first-child { width: 31%; }
 .mini-page .meta {
  color: #b8c8d3;
  font-size: 15px;
  margin-top: 8px;
}
 .mini-page .intro {
  max-width: 760px;
  color: #e9f2f6;
  font-size: 18px;
}
 .mini-page .note {
  border-left: 4px solid var(--accent);
  background: #edf8fb;
  padding: 12px 14px;
  margin: 18px 0;
}
 .mini-page .download-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  background: linear-gradient(135deg, #f8fbff, #eef9fb);
  border: 1px solid #cbdfe7;
  border-radius: 12px;
  padding: 18px;
  margin: 18px 0;
}
 .mini-page .button-link {
  display: inline-block;
  margin-top: 6px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--accent-dark);
  color: #ffffff;
  font-weight: 700;
}
 .mini-page .button-link:hover {
  background: var(--accent);
  text-decoration: none;
}
 .mini-page .release-meta {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 10px;
}
 .mini-page .story {
  background: linear-gradient(135deg, #fffaf0, #eef9fb);
  border-color: #cbdfe7;
}
 .mini-page .story h2 {
  border-bottom-color: rgba(8, 127, 156, 0.24);
}
 .mini-page .story-lead {
  line-height: 1.58;
  color: #20303a;
}
 .mini-page .story-highlight {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
  margin: 20px 0 6px;
}
 .mini-page .story-highlight div {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(8, 127, 156, 0.18);
  border-radius: 10px;
  padding: 14px;
  font-weight: 700;
  color: #17313d;
}
 .mini-page .footer-note {
  color: var(--muted);
  font-size: 14px;
  margin-top: 24px;
  text-align: center;
}
 @media (max-width: 720px) {
   .mini-page main { padding: 184px 14px 42px; }
   .mini-page section { scroll-margin-top: 184px; }
   .mini-page .floating-app-header { padding: 16px; }
   .mini-page .floating-brand { font-size: 24px; }
   .mini-page .floating-home-link {
    top: 14px;
    right: 16px;
  }
   .mini-page .floating-app-nav a { min-width: 78px; }
   .mini-page header { padding: 26px 22px; }
   .mini-page h1 { font-size: 34px; }
   .mini-page h2 { font-size: 23px; }
   .mini-page section { padding: 20px 18px; }
   .mini-page .screenshot-standard img, .mini-page .screenshot-vintage img { max-height: none; }
   .mini-page table { font-size: 14px; }
   .mini-page th, .mini-page td { padding: 9px; }
   .mini-page .button-link {
   width: 100%;
   text-align: center;
  }
}
@media (max-width: 420px) {
  .mini-page main { padding: 176px 10px 34px; }
  .mini-page section { scroll-margin-top: 176px; }
  .mini-page header { border-radius: 10px; }
  .mini-page h1 { font-size: 30px; }
  .mini-page .toc,
  .mini-page .screenshots,
  .mini-page .story-highlight {
    grid-template-columns: 1fr;
  }
}

/* KI Projekt Orga page styles */
.project-page {
  color-scheme: light;
  --ink: #17202a;
  --muted: #667382;
  --line: #d6dde6;
  --panel: #f6f8fb;
  --panel-strong: #edf2f7;
  --accent: #087f9c;
  --accent-dark: #055d73;
  --code: #eef3f6;
  --page: #fbfcfe;
  --header-a: #13232c;
  --header-b: #21313b;
}

 .project-page * {
  box-sizing: border-box;
}

 html {
  scroll-behavior: smooth;
}

 body.project-page {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top, rgba(8, 127, 156, 0.08), transparent 28%),
    var(--page);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;
  line-height: 1.58;
}

 .project-page a {
  color: var(--accent-dark);
  text-decoration: none;
}

 .project-page a:hover {
  text-decoration: underline;
}

 .project-page a:focus-visible {
  outline: 3px solid #ffe81f;
  outline-offset: 3px;
}

 .project-page code, .project-page pre {
  font-family: "SFMono-Regular", Menlo, Consolas, monospace;
}

 .project-page main, .project-page .site-header {
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}

 .project-page main {
  padding: 184px 28px 72px;
}

 .project-page .site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1080px, calc(100vw - 28px));
  z-index: 100;
  background: linear-gradient(135deg, rgba(19, 35, 44, 0.72), rgba(33, 49, 59, 0.58));
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  color: #f7fbfd;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 18px 22px;
  box-shadow:
    0 18px 38px rgba(9, 20, 30, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  overflow: hidden;
}

 .project-page .brand {
  display: inline-block;
  color: #f7fbfd;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

 .project-page .header-actions {
  position: absolute;
  top: 16px;
  right: 20px;
  display: flex;
  flex-direction: row-reverse;
  gap: 8px;
  align-items: center;
}

 .project-page .home-link {
  position: absolute;
  top: 16px;
  right: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 7px 12px;
  color: #f7fbfd;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  box-shadow:
    0 8px 18px rgba(7, 15, 24, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

 .project-page .header-actions .home-link {
  position: static;
}

 .project-page .home-link:hover {
  color: #ffffff;
  background: linear-gradient(180deg, rgba(37, 169, 210, 0.72), rgba(8, 127, 156, 0.5));
  text-decoration: none;
}

 .project-page .lang-switch {
  display: flex;
  gap: 8px;
  flex: 0 0 auto;
}

.project-page .site-header > .lang-switch {
  position: absolute;
  top: 16px;
  right: 142px;
}

 .project-page .lang-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 28px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    0 8px 18px rgba(7, 15, 24, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  font-size: 18px;
  line-height: 1;
  text-decoration: none;
}

 .project-page .lang-flag.is-active {
  transform: translateY(-1px);
  box-shadow:
    0 12px 24px rgba(7, 15, 24, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

 .project-page .brand:hover {
  text-decoration: none;
}

 .project-page .site-nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  align-items: center;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

 .project-page .site-nav::-webkit-scrollbar {
  display: none;
}

 .project-page .site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 92px;
  color: #d8edf7;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  font-weight: 700;
  padding: 8px 8px;
  box-shadow:
    0 10px 20px rgba(7, 15, 24, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease,
    color 160ms ease;
  font-size: 13px;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

 .project-page .site-nav a:hover, .project-page .site-nav a.is-active {
  color: #ffffff;
  background: linear-gradient(180deg, rgba(37, 169, 210, 0.72), rgba(8, 127, 156, 0.5));
  text-decoration: none;
  box-shadow:
    0 14px 28px rgba(7, 15, 24, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 -1px 0 rgba(0, 0, 0, 0.08);
}

 .project-page .site-nav a:hover {
  transform: translateY(-1px);
}

 .project-page .hero, .project-page .page-intro, .project-page .section {
  margin: 18px 0;
}

 .project-page .hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
  gap: 18px;
}

 .project-page .hero__copy, .project-page .hero__panel, .project-page .page-intro, .project-page .section, .project-page .panel, .project-page .card, .project-page .role-card, .project-page .example, .project-page .flow-stage, .project-page .review-step, .project-page .decision {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

 .project-page .hero__copy, .project-page .hero__panel, .project-page .page-intro, .project-page .section {
  padding: 24px 28px 26px;
}

 .project-page .hero__copy {
  background: linear-gradient(135deg, #f8fbff, #fffdf7);
  box-shadow: 0 20px 50px rgba(17, 24, 34, 0.08);
}

 .project-page .hero__panel {
  background: var(--panel);
  box-shadow: 0 20px 50px rgba(17, 24, 34, 0.08);
}

 .project-page .section--alt {
  background: linear-gradient(135deg, #ffffff, #f8fbff);
}

 .project-page .section--promo {
  background: linear-gradient(135deg, #f8fbff, #f4f8fc);
}

 .project-page .eyebrow {
  margin: 0 0 8px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

 .project-page h1, .project-page h2, .project-page h3 {
  line-height: 1.18;
  margin: 0 0 14px;
}

 .project-page h1 {
  font-size: 38px;
  letter-spacing: -0.03em;
  max-width: 14ch;
}

 .project-page .page-intro h1 {
  font-size: 32px;
  max-width: 18ch;
}

 .project-page h2 {
  font-size: 25px;
  margin-top: 0;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  letter-spacing: -0.02em;
}

 .project-page h3 {
  font-size: 18px;
  margin-top: 20px;
}

 .project-page p {
  margin: 0 0 14px;
}

 .project-page ul, .project-page ol {
  margin: 0 0 18px 22px;
  padding: 0;
}

 .project-page li {
  margin: 6px 0;
}

 .project-page .lead {
  max-width: 760px;
  color: #20303a;
  font-size: 19px;
}

 .project-page .chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

 .project-page .chip-row span {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(8, 127, 156, 0.08);
  color: var(--accent-dark);
  font-weight: 700;
  border: 1px solid rgba(8, 127, 156, 0.14);
}

 .project-page .metric-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}

 .project-page .metric {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(8, 127, 156, 0.08);
  color: var(--accent-dark);
  border: 1px solid rgba(8, 127, 156, 0.14);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

 .project-page .cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-weight: 700;
}

 .project-page .cta-link::after {
  content: "->";
  transition: transform 160ms ease;
}

 .project-page .cta-link:hover::after {
  transform: translateX(2px);
}

 .project-page .action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
}

 .project-page .action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(8, 127, 156, 0.42);
  background: linear-gradient(135deg, rgba(8, 127, 156, 0.9), rgba(5, 93, 115, 0.82));
  color: #ffffff;
  font-weight: 700;
  box-shadow:
    0 12px 28px rgba(8, 127, 156, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  cursor: pointer;
}

 .project-page .action-button:hover {
  text-decoration: none;
  background: linear-gradient(135deg, rgba(18, 154, 188, 0.96), rgba(8, 127, 156, 0.88));
  transform: translateY(-1px);
  box-shadow:
    0 16px 34px rgba(8, 127, 156, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

 .project-page .action-button::before {
  content: "👉";
  font-size: 15px;
  line-height: 1;
}

 .project-page .detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

 .project-page .detail-note {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 14px 34px rgba(17, 24, 34, 0.06);
}

 .project-page .detail-note h3 {
  margin-top: 0;
}

 .project-page .card-grid, .project-page .roles-grid, .project-page .split, .project-page .example-list, .project-page .flow-board, .project-page .interview {
  display: grid;
  gap: 14px;
}

 .project-page .card-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

 .project-page .card-grid--three {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

 .project-page .card-grid--four {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

 .project-page .roles-grid, .project-page .split, .project-page .example-list, .project-page .interview {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

 .project-page .card, .project-page .panel, .project-page .role-card, .project-page .example, .project-page .flow-stage, .project-page .review-step, .project-page .decision {
  background: var(--panel);
  padding: 16px;
}

 .project-page .card, .project-page .role-card, .project-page .example {
  box-shadow: 0 14px 34px rgba(17, 24, 34, 0.08);
}

 .project-page .card h3, .project-page .panel h3, .project-page .example h3 {
  margin-top: 0;
}

 .project-page .role-card--with-visual {
  position: relative;
  overflow: hidden;
  padding-right: 104px;
}

 .project-page .role-card__robot {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 72px;
  height: 72px;
  object-fit: cover;
  border: 1px solid rgba(8, 127, 156, 0.16);
  border-radius: 18px;
  box-shadow: 0 12px 26px rgba(17, 24, 34, 0.12);
}

 .project-page .promo-card {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #09131d;
  box-shadow: 0 18px 45px rgba(12, 26, 36, 0.18);
}

 .project-page .promo-card:hover {
  text-decoration: none;
}

 .project-page .promo-card__image {
  display: block;
  width: 100%;
  height: auto;
}

 .project-page .promo-card__hint {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(9, 19, 29, 0.84);
  color: #f7fbfd;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

 .project-page .role-subtitle, .project-page .small {
  color: var(--muted);
}

 .project-page .panel--code {
  overflow-x: auto;
  background: #eef3f6;
}

 .project-page .panel--code pre {
  margin: 0;
}

 .project-page code {
  background: var(--code);
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 0.94em;
}

 .project-page .narrative, .project-page .decision {
  max-width: 860px;
}

 .project-page .flow-board {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

 .project-page .flow-stage {
  position: relative;
  background: linear-gradient(135deg, #f8fbff, #fffdf7);
}

 .project-page .review-chain {
  display: grid;
  gap: 10px;
}

 .project-page .review-step {
  position: relative;
  background: #ffffff;
  padding-left: 34px;
}

 .project-page .review-step::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 23px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

 .project-page .link-list {
  margin-left: 22px;
}

 .project-page .lightbox {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 999;
}

 .project-page .lightbox:target {
  display: block;
}

 .project-page .lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 14, 21, 0.84);
}

 .project-page .lightbox__content {
  position: relative;
  z-index: 1;
  width: min(1280px, calc(100vw - 48px));
  margin: 4vh auto;
  padding: 18px;
  border-radius: 18px;
  background: #07121b;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

 .project-page .lightbox__close {
  position: absolute;
  top: 12px;
  right: 16px;
  color: #ffffff;
  font-size: 34px;
  line-height: 1;
  font-weight: 300;
}

 .project-page .lightbox__close:hover {
  text-decoration: none;
}

 .project-page .lightbox__image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

 @media (max-width: 720px) {
   .project-page main {
    padding: 200px 14px 42px;
  }

   .project-page .site-header {
    top: 14px;
    width: calc(100vw - 28px);
    padding: 18px;
  }

  .project-page .header-actions {
    top: 14px;
    right: 16px;
  }

  .project-page .home-link {
    top: 14px;
    right: 16px;
  }

  .project-page .site-header > .lang-switch {
    top: 14px;
    right: 138px;
  }

  .project-page .home-link {
    padding: 7px 10px;
  }

   .project-page h1 {
    font-size: 32px;
  }

   .project-page .page-intro h1 {
    font-size: 28px;
    max-width: 20ch;
  }

   .project-page h2 {
    font-size: 23px;
  }

   .project-page .hero {
    grid-template-columns: 1fr;
  }

   .project-page .site-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
  }

   .project-page .site-nav a {
    flex: 0 0 auto;
    min-width: 86px;
    white-space: nowrap;
  }

   .project-page .hero__copy, .project-page .hero__panel, .project-page .page-intro, .project-page .section {
    padding: 20px 18px;
  }

   .project-page .promo-card__hint {
    right: 12px;
    bottom: 12px;
  }

   .project-page .role-card--with-visual {
    padding-right: 76px;
  }

   .project-page .role-card__robot {
    width: 52px;
    height: 52px;
    border-radius: 14px;
  }

   .project-page .lightbox__content {
    width: calc(100vw - 24px);
    margin: 2vh auto;
    padding: 12px;
  }
}

@media (max-width: 420px) {
  .project-page main {
    padding: 188px 10px 34px;
  }

  .project-page .site-header {
    top: 10px;
    width: calc(100vw - 20px);
    border-radius: 10px;
  }

  .project-page .header-actions {
    top: 12px;
    right: 14px;
  }

  .project-page .home-link {
    top: 12px;
    right: 14px;
  }

  .project-page .site-header > .lang-switch {
    top: 12px;
    right: 130px;
  }

  .project-page .lang-flag {
    width: 36px;
    height: 26px;
    font-size: 16px;
  }

  .project-page h1 {
    font-size: 28px;
  }

  .project-page .page-intro h1 {
    font-size: 24px;
    max-width: none;
  }
}
