:root {
  --bg: rgb(230, 237, 242);
  --ink: rgb(60, 90, 110);
  --ink-soft: rgba(60, 90, 110, 0.7);
  --white: #ffffff;
  color-scheme: light;
  font-family: 'Roboto', 'Segoe UI', Tahoma, sans-serif;
  color: var(--ink);
  background-color: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: inherit;
  background: var(--bg);
  color: var(--ink);
}

.landing {
  position: relative;
  padding: 24px 24px 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.landing-page .landing {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 64px;
}


.hero-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: center;
  padding: 32px;
  background: rgba(255, 255, 255, 0.88);
  border-radius: 32px;
  box-shadow: 0 30px 60px rgba(46, 56, 70, 0.12);
  overflow: hidden;
  animation: floatIn 0.6s ease both;
}

.single-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 32px;
  align-items: center;
  justify-items: center;
  text-align: center;
}

.single-logo {
  width: min(920px, 90vw);
  height: auto;
  display: block;
}

.cta-button--xl {
  font-size: clamp(24px, 4vw, 34px);
  padding: 20px 64px;
}

.hero-copy {
  display: grid;
  gap: 18px;
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 700;
  color: rgba(44, 56, 71, 0.65);
  margin: 0;
}

.hero-title {
  margin: 0;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  font-family: "Georgia", "Times New Roman", serif;
}

.hero-lede {
  margin: 0;
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 440px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}


.ghost-button {
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid rgba(44, 56, 71, 0.2);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.6);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.ghost-button:hover,
.ghost-button:focus {
  transform: translateY(-2px);
  border-color: rgba(44, 56, 71, 0.45);
}

.hero-metric {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 207, 110, 0.28);
  color: var(--accent-ink);
  font-weight: 600;
  width: fit-content;
}

.metric-label {
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.18em;
}

.metric-value {
  font-size: 16px;
}

.hero-gallery {
  display: grid;
  gap: 18px;
}

.portrait-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  border-radius: 20px;
  background: rgba(248, 246, 240, 0.9);
  border: 1px solid rgba(44, 56, 71, 0.08);
  box-shadow: 0 10px 24px rgba(44, 56, 71, 0.08);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: floatIn 0.6s ease both;
}

.portrait-card:nth-child(2) {
  animation-delay: 0.1s;
}

.portrait-card:nth-child(3) {
  animation-delay: 0.2s;
}

.portrait-card img {
  width: 100%;
  border-radius: 16px;
  display: block;
}

.portrait-card:hover,
.portrait-card.is-active {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(44, 56, 71, 0.18);
}

.portrait-meta {
  display: grid;
  gap: 6px;
  font-weight: 600;
  color: var(--ink);
}

.portrait-meta span:last-child {
  font-weight: 400;
  color: var(--ink-soft);
}

.play-strip {
  margin-top: 32px;
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  position: relative;
  z-index: 1;
}

.play-card {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(44, 56, 71, 0.1);
  box-shadow: 0 20px 40px rgba(44, 56, 71, 0.08);
  display: grid;
  gap: 16px;
  animation: floatIn 0.7s ease both;
}

.play-card:nth-child(2) {
  animation-delay: 0.15s;
}

.play-card h2 {
  margin: 0;
  font-size: 22px;
}

.play-card p {
  margin: 0;
  color: var(--ink-soft);
}

.play-card--accent {
  background: linear-gradient(140deg, #fff4dc, #ffe0ec);
}

.slider-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  font-weight: 600;
}

.slider-row input[type="range"] {
  width: 100%;
  accent-color: #ff8f6b;
}

.slider-result,
.chip-result {
  font-weight: 600;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.75);
  padding: 12px 16px;
  border-radius: 14px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  border: 1px solid rgba(44, 56, 71, 0.2);
  background: rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.chip.is-active {
  border-color: rgba(44, 56, 71, 0.5);
  transform: translateY(-2px);
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 720px) {
  .hero-panel {
    padding: 24px;
  }

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

  .portrait-card {
    grid-template-columns: 90px 1fr;
  }

  .single-panel {
    gap: 22px;
  }
}

input[type="checkbox"] {
  accent-color: var(--ink);
}

.ribbon {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--white);
  border-bottom: 1px solid rgba(60, 90, 110, 0.12);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}

.ribbon-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  letter-spacing: 0.01em;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.brand img {
  height: 28px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.lang-switch {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.flag-link {
  display: inline-flex;
  align-items: center;
}

.flag-img {
  width: 18px;
  height: 12px;
  border-radius: 2px;
  border: 1px solid rgba(60, 90, 110, 0.3);
  display: block;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.15);
  object-fit: cover;
}

.nav-link,
.dropdown-summary {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 6px 0;
  cursor: pointer;
}

.dropdown {
  position: relative;
}

.dropdown-summary {
  list-style: none;
}

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

.dropdown-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 360px;
  background: var(--white);
  border: 1px solid rgba(60, 90, 110, 0.12);
  border-radius: 8px;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
  padding: 8px 0;
}

.dropdown-section {
  padding: 4px 0;
}

.dropdown-heading {
  display: block;
  padding: 8px 16px;
  font-size: 16px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  font-weight: 400;
}

.dropdown-menu .dropdown-heading,
.dropdown-menu a.dropdown-heading {
  font-weight: 400;
}

.dropdown-menu a.dropdown-heading:hover,
.dropdown-menu a.dropdown-heading:focus {
  background: transparent;
}

.dropdown-heading--standalone {
  margin-top: 4px;
}

.dropdown-menu a {
  display: block;
  padding: 8px 16px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 16px;
}

.dropdown-menu a,
.dropdown-menu .dropdown-heading {
  white-space: nowrap;
}

.dropdown-menu .dropdown-item--nested {
  padding-left: 44px;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus {
  background: rgba(60, 90, 110, 0.08);
  outline: none;
}

.hero {
  min-height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 32px;
  padding: 32px 24px 40px;
  text-align: center;
}

.hero-logo {
  width: min(900px, 92vw);
  height: auto;
  display: block;
  box-shadow: none;
  border-radius: 0;
}

.cta-button {
  font-size: clamp(22px, 3.2vw, 30px);
  padding: 18px 54px;
  border-radius: 999px;
  border: 0;
  background: var(--ink);
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 16px 30px rgba(60, 90, 110, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button:hover,
.cta-button:focus {
  transform: translateY(-2px);
  box-shadow: 0 20px 36px rgba(60, 90, 110, 0.32);
  outline: none;
}

.content {
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 24px;
}

.content h1 {
  margin: 0 0 12px;
  font-size: 32px;
}

.content p {
  margin: 0 0 12px;
  color: var(--ink);
}

.content section {
  margin-top: 32px;
}

.content h2 {
  margin: 0 0 8px;
  font-size: 22px;
}

.quiz {
  max-width: 900px;
}

.quiz-card {
  background: var(--white);
  border: 1px solid rgba(60, 90, 110, 0.12);
  box-shadow: 0 12px 24px rgba(60, 90, 110, 0.08);
  padding: 24px 28px;
  display: grid;
  gap: 18px;
}

.quiz-step {
  display: grid;
  gap: 14px;
}

.quiz-step[hidden] {
  display: none;
}

.quiz-option {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
}

.quiz-option--left {
  grid-column: 1 / 2;
  justify-self: start;
}

.quiz-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.quiz-grid[hidden] {
  display: none;
}

.quiz-step label {
  display: grid;
  gap: 6px;
  font-weight: 500;
}

.quiz-step label.quiz-option {
  display: flex;
  align-items: center;
  gap: 12px;
}

.quiz-step h3 {
  margin: 0 0 12px;
  font-size: 18px;
}

.quiz-block {
  display: grid;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid rgba(60, 90, 110, 0.16);
  border-radius: 12px;
  background: rgba(60, 90, 110, 0.05);
}

.quiz-block[hidden] {
  display: none;
}

.quiz-step input[type="text"],
.quiz-step input[type="number"] {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(60, 90, 110, 0.3);
  font: inherit;
}

.quiz-step select {
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(60, 90, 110, 0.3);
  font: inherit;
  background: #ffffff;
}

.people-picker {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  flex-wrap: wrap;
}

.person {
  width: 36px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: rgba(60, 90, 110, 0.35);
}

.person.is-active {
  color: rgba(60, 90, 110, 0.85);
}

.person:focus-visible {
  outline: 2px solid rgba(60, 90, 110, 0.4);
  outline-offset: 2px;
  border-radius: 8px;
}

.person-icon {
  width: 24px;
  height: 34px;
  position: relative;
  display: block;
}

.person-icon::before,
.person-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: currentColor;
}

.person-icon::before {
  top: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
}

.person-icon::after {
  bottom: 0;
  width: 20px;
  height: 16px;
  border-radius: 10px 10px 6px 6px;
}

.quiz-option--inline {
  gap: 8px;
}

.quiz-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.quiz-back {
  border: 1px solid rgba(60, 90, 110, 0.3);
  background: transparent;
  color: var(--ink);
  font: 600 16px 'Roboto', 'Segoe UI', Tahoma, sans-serif;
  padding: 12px 24px;
  border-radius: 999px;
  cursor: pointer;
}

.quiz-back:hover,
.quiz-back:focus {
  border-color: rgba(60, 90, 110, 0.5);
  outline: none;
}

.overview-page {
  display: grid;
  gap: 28px;
}

.overview-hero {
  display: grid;
  gap: 6px;
}

.overview-section {
  background: var(--white);
  border: 1px solid rgba(60, 90, 110, 0.12);
  border-radius: 18px;
  box-shadow: 0 18px 32px rgba(60, 90, 110, 0.08);
  overflow: hidden;
}

.section-toggle {
  width: 100%;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  font: 600 18px 'Roboto', 'Segoe UI', Tahoma, sans-serif;
  color: var(--ink);
  cursor: pointer;
}

.section-toggle .title-currency {
  font-weight: 400;
}

.section-toggle:focus {
  outline: 2px solid rgba(60, 90, 110, 0.4);
  outline-offset: -2px;
}

.chevron {
  width: 14px;
  height: 14px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.overview-section.is-collapsed .chevron {
  transform: rotate(-135deg);
}

.section-body {
  padding: 0 24px 22px;
}

.overview-section.is-collapsed .section-body {
  display: none;
}

.overview-section.no-toggle {
  padding: 20px 24px;
}

.section-static h2 {
  margin-top: 0;
}

.input-summary {
  margin: 0;
  display: grid;
  gap: 14px;
}

.input-summary div {
  display: grid;
  gap: 4px;
}

.input-summary dt {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

.input-summary dd {
  margin: 0;
  font-size: 16px;
}

.chart-wrap {
  background: rgba(60, 90, 110, 0.05);
  border-radius: 16px;
  padding: 24px;
}

.chart-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

.chart-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(60, 90, 110, 0.08);
  font-size: 14px;
  color: var(--ink);
}

.chart-content {
  display: flex;
  align-items: center;
  gap: 24px;
}

.chart-plot {
  flex: 1;
  display: grid;
  gap: 6px;
}

.chart-grid--grouped {
  align-items: end;
}

.chart-month {
  display: grid;
  gap: 6px;
  align-items: end;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: var(--chart-height, 200px) auto;
}

.chart-month .chart-label {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  grid-column: 1 / -1;
  grid-row: 2;
  white-space: nowrap;
}

.chart-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
  min-height: calc(var(--chart-height, 200px) + 28px);
  position: relative;
}

.chart-zero-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(60, 90, 110, 0.2);
  top: var(--zero-line, 100%);
  z-index: 0;
}

.chart-bar-slot {
  height: var(--chart-height, 200px);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.chart-bar {
  position: absolute;
  left: 10%;
  right: 10%;
  background: rgba(60, 90, 110, 0.25);
  border-radius: 10px 10px 6px 6px;
}

.chart-bar-slot[data-contract="fixed"] .chart-bar {
  background: rgba(30, 95, 140, 0.55);
}

.chart-bar-slot[data-contract="dynamic"] .chart-bar {
  background: rgba(220, 140, 40, 0.55);
}

.chart-bar.is-negative {
  border-radius: 6px 6px 10px 10px;
}

.chart-bar-slot.is-hidden {
  display: none;
}

.chart-value {
  font-size: 12px;
  color: var(--ink);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  pointer-events: none;
}

.chart-axis {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 10px;
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.chart-year-label {
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.chart-legend {
  min-width: 200px;
  max-width: 240px;
  background: var(--white);
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 12px 26px rgba(60, 90, 110, 0.12);
}

.chart-legend p {
  margin: 0;
}

.chart-legend-title {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

.chart-legend-supplier {
  font-size: 18px;
  font-weight: 600;
  margin-top: 6px;
  color: var(--ink);
}

.chart-legend-value {
  margin-top: 12px;
  font-size: 16px;
  color: var(--ink);
}

.chart-legend--stacked {
  min-width: 220px;
  max-width: 260px;
}

.chart-legend-list {
  display: grid;
  gap: 14px;
  margin-top: 12px;
}

.chart-legend-item {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 10px;
  align-items: start;
}

.chart-swatch {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  margin-top: 6px;
  display: inline-block;
}

.chart-swatch--fixed {
  background: rgba(30, 95, 140, 0.75);
}

.chart-swatch--dynamic {
  background: rgba(220, 140, 40, 0.75);
}

.chart-swatch.is-muted {
  opacity: 0.35;
}

.chart-legend-value .is-muted {
  opacity: 0.45;
}

.supplier-grid {
  display: grid;
  gap: 12px;
}

.supplier-header,
.supplier-row {
  display: grid;
  grid-template-columns: 40px repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: center;
}

.supplier-header {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

.supplier-row {
  background: rgba(60, 90, 110, 0.05);
  border-radius: 12px;
  padding: 12px 16px;
}

.checkmark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(60, 90, 110, 0.2);
  font-weight: 700;
}

@media (max-width: 900px) {
  .chart-content {
    flex-direction: column;
    align-items: stretch;
  }

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

  .chart-axis {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .supplier-header,
  .supplier-row {
    grid-template-columns: 28px 1fr;
  }

  .supplier-header .supplier-cell:nth-child(n + 3),
  .supplier-row .supplier-cell:nth-child(n + 3) {
    display: none;
  }
}
