:root {
  --ink: #071226;
  --ink-2: #0b1f3d;
  --navy: #06162f;
  --navy-soft: #0c2747;
  --panel: #0d203a;
  --white: #ffffff;
  --paper: #f7fbff;
  --line: #dbe6f0;
  --muted: #5e7187;
  --muted-dark: #b7c8d9;
  --green: #31c77f;
  --cyan: #32d8ff;
  --amber: #f5b84b;
  --blue: #4d8fff;
  --lime: #8edb5d;
  --red: #ff6d6d;
  --shadow: 0 22px 50px rgba(6, 22, 47, 0.18);
  --max: 1180px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

button,
input,
textarea {
  font: inherit;
}

img,
svg {
  display: block;
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(50, 216, 255, 0.75);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 54px);
  color: var(--white);
  background: rgba(6, 22, 47, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.compact-header {
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  font-weight: 850;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1;
  white-space: nowrap;
}

.brand-mark {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #ffffff 0 27%, transparent 28%),
    linear-gradient(135deg, var(--cyan), var(--green));
  box-shadow: inset 0 0 0 4px rgba(6, 22, 47, 0.35);
}

.brand-word span {
  color: var(--green);
}

.brand-logo-link {
  flex: 0 0 auto;
}

.brand-logo {
  width: clamp(160px, 14vw, 194px);
  height: auto;
  max-height: 48px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.55vw, 24px);
  font-size: 0.98rem;
  font-weight: 650;
  color: rgba(255, 255, 255, 0.86);
}

.site-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
}

.site-nav a:hover {
  color: var(--white);
}

.nav-login {
  padding: 0 18px;
  border-radius: var(--radius);
  color: var(--white);
  background: linear-gradient(135deg, #1ca76d, #31c77f);
  box-shadow: 0 12px 26px rgba(49, 199, 127, 0.28);
}

.site-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.site-nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
  border-radius: 4px;
}

.hero {
  min-height: clamp(620px, 72svh, 720px);
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(360px, 1.02fr);
  align-items: center;
  gap: clamp(24px, 4vw, 54px);
  padding: clamp(38px, 5vw, 58px) clamp(18px, 4vw, 54px) clamp(36px, 5vw, 56px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(6, 22, 47, 1) 0%, rgba(6, 22, 47, 0.96) 46%, rgba(6, 22, 47, 0.88) 100%),
    var(--navy);
}

.hero-copy {
  max-width: 660px;
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2.8rem, 4.6vw, 4.35rem);
  line-height: 1.04;
  font-weight: 860;
}

.hero p {
  margin: 24px 0 0;
  max-width: 610px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.05rem, 1.55vw, 1.3rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 780;
  font-size: 1rem;
  line-height: 1.1;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, #1ca76d, var(--green));
  box-shadow: 0 18px 34px rgba(49, 199, 127, 0.28);
}

.button-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(50, 216, 255, 0.6);
}

.button-dark {
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 18px 34px rgba(6, 22, 47, 0.2);
}

.hero-visual {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
  transform: translateY(8px);
}

.hero-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 7 / 4;
  object-fit: cover;
}

.suite-showcase {
  padding: 22px clamp(18px, 4vw, 54px) 28px;
  overflow: hidden;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.suite-showcase-copy {
  max-width: var(--max);
  margin: 0 auto 14px;
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
  gap: 8px 42px;
  align-items: end;
}

.suite-showcase-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.8rem, 3.4vw, 2.85rem);
  line-height: 1.08;
}

.suite-showcase-copy p {
  margin: 0;
  color: var(--muted);
}

.suite-icon-rail {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 2px 2px 14px;
  scroll-snap-type: x proximity;
  scrollbar-color: var(--cyan) rgba(6, 22, 47, 0.1);
}

.suite-app {
  flex: 0 0 116px;
  margin: 0;
  padding: 14px 10px 12px;
  display: grid;
  justify-items: center;
  gap: 9px;
  scroll-snap-align: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff, #f3f8fd);
}

.suite-app img {
  width: 76px;
  height: 76px;
  object-fit: contain;
}

.suite-app figcaption {
  width: 100%;
  overflow: hidden;
  color: var(--ink-2);
  font-size: 0.78rem;
  font-weight: 760;
  line-height: 1.25;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.section {
  scroll-margin-top: 88px;
  padding: clamp(70px, 9vw, 110px) clamp(18px, 4vw, 54px);
}

.section-light {
  background: var(--paper);
}

.video-section {
  background:
    linear-gradient(180deg, #eef7fb 0%, var(--paper) 58%, var(--white) 100%);
}

.section-heading {
  max-width: var(--max);
  margin: 0 auto 36px;
  text-align: center;
}

.section-heading h2,
.feature-copy h2,
.license-panel h2,
.contact-card h2,
.legal-card h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.12;
  font-weight: 840;
  color: var(--ink);
}

.section-heading p,
.license-panel p,
.contact-card p,
.feature-copy p {
  margin: 16px auto 0;
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.17rem);
}

.module-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 36px;
}

.module-card {
  min-height: 190px;
  padding: 28px 0;
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  gap: 8px 20px;
  border-bottom: 1px solid var(--line);
}

.module-icon {
  grid-row: 1 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 82px;
  height: 82px;
  margin: 0;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--module-color) 10%, #ffffff);
}

.module-icon img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.module-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.28rem;
  line-height: 1.25;
}

.module-card h3 a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.14em;
}

.module-card p,
.module-description {
  margin: 12px 0 0;
  color: var(--muted);
}

.module-description {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  font-size: 0.96rem;
  line-height: 1.5;
}

.module-description span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  border-radius: var(--radius);
  color: var(--module-color);
  background: color-mix(in srgb, var(--module-color) 12%, #ffffff);
  font-size: 0.74rem;
  font-weight: 820;
}

.video-shell {
  max-width: 1120px;
  margin: 0 auto;
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(6, 22, 47, 0.14);
  border-radius: var(--radius);
  background: var(--navy);
  box-shadow: var(--shadow);
}

.video-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.accent-green { --module-color: var(--green); }
.accent-cyan { --module-color: var(--cyan); }
.accent-amber { --module-color: var(--amber); }
.accent-blue { --module-color: var(--blue); }
.accent-lime { --module-color: var(--lime); }
.accent-red { --module-color: var(--red); }

.boards-section {
  background:
    linear-gradient(135deg, rgba(12, 39, 71, 0.96), rgba(6, 22, 47, 1)),
    var(--navy);
  color: var(--white);
}

.boards-section .section-heading h2,
.boards-section .section-heading p {
  color: var(--white);
}

.boards-section .section-heading p {
  color: var(--muted-dark);
}

.board-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.preparation-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.board-card,
.preparation-card {
  min-height: 286px;
  padding: 26px;
  border-radius: var(--radius);
}

.section-app-icon {
  width: 72px;
  height: 72px;
  margin: 0 0 18px;
  object-fit: contain;
}

.board-card {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.board-card h3,
.preparation-card h3 {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.25;
}

.board-card p,
.preparation-card p {
  margin: 14px 0 0;
}

.board-card p {
  color: var(--muted-dark);
}

.board-card strong {
  display: block;
  margin-top: 18px;
  color: var(--cyan);
  font-size: 0.98rem;
  line-height: 1.45;
}

.preparation-section {
  background:
    linear-gradient(180deg, var(--paper), var(--white) 52%, var(--paper));
}

.preparation-card {
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 16px 34px rgba(6, 22, 47, 0.08);
}

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

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 450px) minmax(320px, 590px);
  gap: clamp(30px, 6vw, 80px);
  justify-content: center;
  align-items: start;
  background:
    linear-gradient(135deg, rgba(12, 39, 71, 0.95), rgba(6, 22, 47, 1)),
    var(--navy);
  color: var(--white);
}

.feature-copy,
.feature-list,
.license-panel,
.contact-card {
  max-width: var(--max);
}

.feature-copy {
  justify-self: end;
}

.feature-copy h2,
.feature-copy p {
  color: var(--white);
}

.feature-copy p {
  color: var(--muted-dark);
}

.feature-list {
  display: grid;
  gap: 14px;
  width: 100%;
}

.feature-list div {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 18px 0;
  color: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  font-weight: 650;
}

.feature-list div > span:first-child {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background:
    linear-gradient(135deg, var(--green), var(--cyan));
  position: relative;
}

.feature-list div > span:first-child::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 5px;
  width: 7px;
  height: 10px;
  border: solid var(--navy);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.license-section {
  background:
    linear-gradient(180deg, var(--white), #eef7fb 100%);
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-bottom: 14px;
  padding: 0 14px;
  border: 1px solid rgba(49, 199, 127, 0.24);
  border-radius: var(--radius);
  color: #14794e;
  background: rgba(49, 199, 127, 0.1);
  font-size: 0.82rem;
  font-weight: 840;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.license-heading {
  margin-bottom: 24px;
}

.price-notice,
.license-table-wrap {
  max-width: var(--max);
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.price-notice {
  display: grid;
  grid-template-columns: minmax(130px, 0.22fr) minmax(0, 1fr);
  gap: 20px;
  padding: clamp(22px, 4vw, 34px);
}

.price-notice strong {
  color: var(--ink);
  font-size: 1.02rem;
}

.price-notice p {
  margin: 0;
  color: var(--muted);
}

.license-table-wrap {
  margin-top: 24px;
  overflow: hidden;
}

.license-table {
  width: 100%;
  border-collapse: collapse;
  color: var(--ink);
}

.license-table caption {
  padding: 22px 24px;
  color: var(--muted);
  font-weight: 720;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.license-table th,
.license-table td {
  padding: 17px 20px;
  border-bottom: 1px solid var(--line);
  text-align: center;
  vertical-align: middle;
}

.license-table thead th {
  color: var(--ink);
  background: #f2f8fc;
  font-size: 0.88rem;
  font-weight: 840;
}

.license-table th:first-child,
.license-table td:first-child {
  text-align: left;
}

.license-table tbody th {
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 780;
}

.license-table tbody tr:last-child th,
.license-table tbody tr:last-child td {
  border-bottom: 0;
}

.license-included,
.license-empty,
.license-planned {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-weight: 860;
}

.license-included {
  color: var(--navy);
  background: linear-gradient(135deg, var(--green), var(--cyan));
}

.license-empty {
  color: #8a9aae;
  background: #edf3f8;
}

.license-planned {
  width: auto;
  min-width: 48px;
  padding: 0 10px;
  border-radius: 999px;
  color: #14794e;
  background: rgba(49, 199, 127, 0.12);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.license-plan-note {
  margin: 0;
  padding: 18px 24px 22px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}

.license-plan-inline {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  color: #14794e;
  background: rgba(49, 199, 127, 0.12);
  font-size: 0.74rem;
  font-weight: 840;
  text-transform: uppercase;
}

.license-panel {
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: clamp(28px, 5vw, 52px);
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.license-panel div {
  max-width: 720px;
}

.contact-section {
  background: linear-gradient(180deg, var(--paper), #eef7fb);
}

.contact-card {
  margin: 0 auto;
  display: grid;
  justify-items: start;
  gap: 16px;
  padding: clamp(32px, 6vw, 58px);
  border-radius: var(--radius);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(6, 22, 47, 0.98), rgba(10, 46, 77, 0.96)),
    var(--navy);
  box-shadow: var(--shadow);
}

.contact-card h2,
.contact-card p {
  color: var(--white);
}

.contact-card p {
  max-width: 620px;
  margin: 0;
  color: var(--muted-dark);
}

.contact-mail {
  color: var(--cyan);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 760;
}

.site-footer {
  padding: 40px clamp(18px, 4vw, 54px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px 44px;
  align-items: start;
  color: rgba(255, 255, 255, 0.76);
  background: var(--navy);
}

.site-footer .brand {
  color: var(--white);
}

.footer-brand .brand-mark {
  width: 32px;
  height: 32px;
}

.footer-brand .brand-logo {
  width: clamp(160px, 14vw, 194px);
  max-height: 48px;
}

.site-footer p {
  margin: 12px 0 0;
  max-width: 420px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px 26px;
  font-weight: 650;
}

.site-footer a:hover {
  color: var(--white);
}

.copyright {
  grid-column: 1 / -1;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.legal-main {
  min-height: 66svh;
  padding: clamp(50px, 8vw, 88px) clamp(18px, 4vw, 54px);
  background:
    linear-gradient(180deg, rgba(6, 22, 47, 0.08), transparent 220px),
    var(--paper);
}

.legal-card {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.legal-card h1 {
  margin-top: 12px;
}

.legal-card h2 {
  margin: 34px 0 10px;
  color: var(--ink);
  font-size: 1.25rem;
}

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

.legal-note {
  padding: 16px 18px;
  border-radius: var(--radius);
  background: #fff7e7;
  color: #785415 !important;
}

.back-link {
  color: var(--green);
  font-weight: 760;
}

.compact-footer {
  grid-template-columns: 1fr;
}

.compact-footer nav {
  justify-content: flex-start;
}

html[data-lang="de"] .lang-en,
html[data-lang="en"] .lang-de {
  display: none !important;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.language-switcher {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(38px, 1fr));
  min-height: 40px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.language-switcher button {
  min-width: 38px;
  min-height: 34px;
  padding: 0 9px;
  border: 0;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.72);
  background: transparent;
  font-size: 0.82rem;
  font-weight: 840;
  line-height: 1;
  cursor: pointer;
}

.language-switcher button[data-active="true"],
.language-switcher button[aria-pressed="true"] {
  color: var(--navy);
  background: linear-gradient(135deg, var(--green), var(--cyan));
}

.site-nav {
  margin-left: auto;
  margin-right: clamp(12px, 1.5vw, 24px);
}

.site-nav a[aria-current="page"] {
  color: var(--white);
}

.hero-kicker {
  display: inline-flex;
  min-height: 34px;
  margin: 0 0 18px !important;
  padding: 0 14px;
  align-items: center;
  border: 1px solid rgba(50, 216, 255, 0.28);
  border-radius: var(--radius);
  color: var(--cyan) !important;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.84rem !important;
  font-weight: 840;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.board-label,
.plan-key {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 14px;
  padding: 0 10px;
  border-radius: var(--radius);
  font-size: 0.76rem;
  font-weight: 840;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.board-label {
  color: var(--cyan);
  background: rgba(50, 216, 255, 0.12);
}

.plan-grid {
  max-width: var(--max);
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.plan-card {
  min-height: 218px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 30px rgba(6, 22, 47, 0.08);
}

.plan-key {
  color: #14794e;
  background: rgba(49, 199, 127, 0.1);
}

.plan-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.25;
}

.plan-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.matrix-scroll {
  overflow-x: auto;
}

.license-table-wide {
  min-width: 1120px;
}

.license-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 860;
  line-height: 1;
  white-space: nowrap;
}

.license-status.included {
  color: var(--navy);
  background: linear-gradient(135deg, var(--green), var(--cyan));
}

.license-status.feature {
  color: #0d6591;
  background: rgba(50, 216, 255, 0.16);
}

.license-status.pilot {
  color: #785415;
  background: #fff1c7;
}

.license-status.optional,
.license-status.possible {
  color: #14794e;
  background: rgba(49, 199, 127, 0.12);
}

.license-status.empty {
  color: #8a9aae;
  background: #edf3f8;
}

.license-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  padding: 18px 24px 22px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

.license-legend > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.license-legend.compact {
  display: grid;
  padding: 0;
  border-top: 0;
}

.license-detail-callout,
.possible-features {
  max-width: var(--max);
  margin: 24px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 34px rgba(6, 22, 47, 0.08);
}

.license-detail-callout h3,
.possible-features h2,
.feature-source-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: 1.26rem;
  line-height: 1.25;
}

.license-detail-callout p,
.possible-features p {
  margin: 10px 0 0;
  max-width: 760px;
  color: var(--muted);
}

.feature-page-main {
  background: linear-gradient(180deg, rgba(6, 22, 47, 0.08), transparent 260px), var(--paper);
}

.feature-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: clamp(24px, 5vw, 54px);
  max-width: var(--max);
  margin: 0 auto;
  align-items: end;
}

.feature-page-copy h1 {
  margin: 0;
  max-width: 820px;
  color: var(--ink);
  font-size: clamp(2.35rem, 5vw, 4.15rem);
  line-height: 1.06;
  font-weight: 860;
}

.feature-page-copy p {
  max-width: 760px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.17rem);
}

.feature-source-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 34px rgba(6, 22, 47, 0.08);
}

.feature-source-card h2 {
  margin-bottom: 14px;
}

.feature-matrix-wrap {
  max-width: var(--max);
}

.feature-table th:first-child {
  min-width: 310px;
}

.feature-table code {
  display: block;
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 0.85rem;
  white-space: normal;
  overflow-wrap: anywhere;
}

.feature-table small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.35;
}

.feature-group-row th {
  color: var(--white) !important;
  background: var(--navy-soft) !important;
  text-align: left !important;
  font-size: 0.82rem !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.possible-features {
  align-items: flex-start;
}

@media (max-width: 980px) {
  .site-header {
    min-height: 68px;
  }

  .site-nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 16px;
    right: 16px;
    display: grid;
    gap: 4px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    background: rgba(6, 22, 47, 0.98);
    box-shadow: 0 24px 52px rgba(0, 0, 0, 0.36);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
    margin: 0;
  }

  .site-nav[data-open="true"] {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .site-nav a {
    min-height: 46px;
    padding: 0 10px;
  }

  .nav-login {
    justify-content: center;
    margin-top: 8px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 54px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-visual {
    max-width: 760px;
  }

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

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

  .feature-page-hero {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .license-detail-callout,
  .possible-features {
    align-items: flex-start;
    flex-direction: column;
  }

  .board-grid,
  .preparation-grid {
    grid-template-columns: 1fr;
  }

  .board-card,
  .preparation-card {
    min-height: auto;
  }

  .feature-band {
    grid-template-columns: 1fr;
  }

  .feature-copy {
    justify-self: start;
  }

  .license-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .price-notice {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 12px 16px;
  }

  .header-actions {
    gap: 8px;
  }

  .language-switcher {
    min-height: 38px;
  }

  .language-switcher button {
    min-width: 34px;
    min-height: 32px;
    padding: 0 7px;
  }

  .brand-word {
    font-size: 1.14rem;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .brand-logo {
    width: clamp(120px, 34vw, 138px);
    max-height: 34px;
  }

  .footer-brand .brand-logo {
    width: 138px;
    max-height: 34px;
  }

  .hero {
    gap: 22px;
    padding: 30px 16px 34px;
  }

  .hero h1 {
    font-size: clamp(2.15rem, 10.5vw, 3.05rem);
  }

  .hero p {
    margin-top: 18px;
    font-size: 1rem;
    line-height: 1.5;
  }

  .hero-actions {
    margin-top: 22px;
  }

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

  .hero-visual img {
    aspect-ratio: 16 / 9;
  }

  .suite-showcase {
    padding: 26px 16px 30px;
  }

  .suite-showcase-copy {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .suite-app {
    flex-basis: 104px;
  }

  .suite-app img {
    width: 68px;
    height: 68px;
  }

  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section-heading {
    text-align: left;
  }

  .section-heading h2,
  .feature-copy h2,
  .license-panel h2,
  .contact-card h2,
  .legal-card h1 {
    font-size: clamp(1.85rem, 9vw, 2.7rem);
  }

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

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

  .module-card {
    min-height: auto;
    padding: 24px 0;
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 7px 16px;
  }

  .module-icon {
    width: 68px;
    height: 68px;
  }

  .module-icon img {
    width: 60px;
    height: 60px;
  }

  .module-description {
    grid-template-columns: 31px minmax(0, 1fr);
  }

  .license-panel,
  .price-notice,
  .contact-card,
  .legal-card {
    padding: 26px 22px;
  }

  .license-table-wrap {
    overflow: visible;
  }

  .license-table-wide,
  .feature-table {
    min-width: 0;
  }

  .license-table,
  .license-table caption,
  .license-table tbody,
  .license-table tr,
  .license-table th,
  .license-table td {
    display: block;
  }

  .license-table thead {
    display: none;
  }

  .license-table caption {
    padding: 20px 22px;
  }

  .license-table tbody tr {
    padding: 18px 22px;
    border-bottom: 1px solid var(--line);
  }

  .feature-group-row {
    padding: 0 !important;
  }

  .feature-group-row th {
    padding: 13px 22px !important;
  }

  .feature-table th:first-child {
    min-width: 0;
  }

  .license-table tbody tr:last-child {
    border-bottom: 0;
  }

  .license-table tbody th {
    padding: 0 0 12px;
    border-bottom: 0;
  }

  .license-table td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    padding: 8px 0;
    border-bottom: 1px solid #edf3f8;
    text-align: right;
  }

  .license-table td::before {
    content: attr(data-label);
    color: var(--ink);
    font-weight: 760;
  }

  .license-table td:last-child {
    border-bottom: 0;
  }

  .license-plan-note {
    padding: 18px 22px 20px;
  }

  .license-legend {
    padding: 18px 22px 20px;
  }

  .license-detail-callout,
  .possible-features,
  .feature-source-card {
    padding: 24px 22px;
  }

  .feature-page-hero {
    padding-left: 16px;
    padding-right: 16px;
  }

  .feature-list div {
    font-size: 0.98rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
