:root {
  --bg: #f6f3ef;
  --surface: #fffdf9;
  --surface-strong: #f0ebe3;
  --text: #171717;
  --muted: #5c5a57;
  --border: rgba(9, 9, 8, 0.1);
  --deep: #265a63;
  --dark: #090908;
  --inove: #eb5413;
  --propya: #c78d2c;
  --shadow: 0 24px 60px rgba(9, 9, 8, 0.08);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(199, 141, 44, 0.12), transparent 28%),
    linear-gradient(180deg, #faf8f4 0%, var(--bg) 100%);
  color: var(--text);
}

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

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

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 72px;
}

.section {
  margin-top: 40px;
}

.alt-section {
  padding: 36px;
  border-radius: 36px;
}

.alt-light {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(246, 243, 239, 0.92));
}

.alt-dark {
  background: linear-gradient(180deg, rgba(9, 9, 8, 0.95), rgba(38, 90, 99, 0.92));
  color: #f7f5f1;
}

.alt-dark .section-heading h2,
.alt-dark .module-card h3,
.alt-dark .faq-item h3,
.alt-dark .content-card h2 {
  color: #f7f5f1;
}

.alt-dark .section-heading .eyebrow,
.alt-dark .module-card p,
.alt-dark .module-card ul,
.alt-dark .faq-item p,
.alt-dark .check-list,
.alt-dark .content-card p {
  color: rgba(247, 245, 241, 0.8);
}

.alt-dark .eyebrow::before {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.8), rgba(199, 141, 44, 0.8));
}

.hero,
.content-card,
.module-card,
.faq-item {
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero {
  padding: 40px;
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(38, 90, 99, 0.08), rgba(255, 255, 255, 0.88)),
    var(--surface);
}

.brand-row {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 24px;
  align-items: start;
}

.brand-lockup h1,
.annex-hero h1 {
  margin: 10px 0 16px;
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.hero-subtitle,
.annex-hero p {
  max-width: 720px;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--deep);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--inove), var(--propya));
}

.brand-card {
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(240, 235, 227, 0.95));
  border: 1px solid var(--border);
}

.propya-logo {
  width: min(220px, 100%);
  height: auto;
  margin-bottom: 24px;
}

.brand-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.hero-grid,
.split-grid,
.faq-grid {
  display: grid;
  gap: 20px;
}

.hero-grid,
.split-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 28px;
}

.highlight-panel {
  padding: 24px;
  border-radius: 24px;
}

.soft-panel {
  border: none;
  box-shadow: none;
  backdrop-filter: blur(2px);
}

.dark-panel {
  background: var(--dark);
  color: #f7f5f1;
}

.accent-panel {
  background: linear-gradient(145deg, rgba(38, 90, 99, 0.95), rgba(9, 9, 8, 0.96));
  color: white;
}

.label {
  margin: 0 0 14px;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.money,
.investment-value {
  margin: 0 0 12px;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.section-heading {
  margin-bottom: 20px;
}

.section-heading h2 {
  margin: 10px 0 0;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.section-heading.narrow {
  max-width: 700px;
}

.section-heading.compact h2 {
  font-size: 1.6rem;
}

.content-card,
.module-card,
.faq-item,
.annex-hero {
  background: var(--surface);
  border-radius: var(--radius);
}

.content-card,
.annex-hero {
  padding: 28px;
}

.intro-copy p,
.module-card p,
.faq-item p,
.prose-card p,
.prose-card li,
.prose-card td,
.prose-card th {
  color: var(--muted);
  line-height: 1.75;
}

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

.inspiration-copy {
  padding: 6px 10px;
  border: none;
  box-shadow: none;
  background: rgba(255, 253, 249, 0.6);
}

.wireframes-component {
  margin-top: 20px;
  padding: 22px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(9, 9, 8, 0.08);
}

.wf-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.wf-tab {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(9, 9, 8, 0.12);
  background: rgba(255, 255, 255, 0.9);
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.wf-tab.active {
  background: var(--dark);
  color: white;
  border-color: var(--dark);
}

.wf-screen {
  display: none;
  padding: 22px;
  border-radius: 24px;
  background: #f8f7f5;
  border: 1px solid rgba(9, 9, 8, 0.08);
}

.wf-screen.active {
  display: block;
}

.wf-app-header,
.wf-page-title-row,
.wf-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.wf-app-header {
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(9, 9, 8, 0.08);
}

.wf-logo img {
  width: 120px;
  height: auto;
}

.wf-nav,
.wf-btn-group,
.wf-status-pills,
.wf-subtabs,
.wf-steps,
.wf-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wf-nav-item,
.wf-subtab {
  font-size: 13px;
  color: #6b6b6b;
}

.wf-nav-item.active,
.wf-subtab.active {
  color: #185fa5;
  font-weight: 700;
}

.wf-subtab.danger {
  color: #a32d2d;
}

.wf-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e3e0da;
}

.wf-kpi-grid,
.wf-two-col,
.wf-filters {
  display: grid;
  gap: 12px;
}

.wf-kpi-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 18px;
}

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

.wf-kpi-card,
.wf-panel,
.wf-table,
.wf-modal {
  background: white;
  border-radius: 16px;
  border: 1px solid rgba(9, 9, 8, 0.08);
}

.wf-kpi-card,
.wf-panel,
.wf-modal {
  padding: 16px;
}

.wf-kpi-card.danger {
  background: #fcebeb;
  border-color: transparent;
}

.wf-kpi-card.success {
  background: #eaf3de;
  border-color: transparent;
}

.wf-kpi-label,
.wf-page-subtitle,
.wf-alert-subtitle,
.wf-contract-address,
.wf-upload-subtitle,
.wf-upload-hint,
.wf-caption,
.wf-table small {
  color: #6b6b6b;
}

.wf-kpi-label {
  font-size: 12px;
  margin-bottom: 4px;
}

.wf-kpi-value {
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}

.wf-kpi-value-money {
  font-size: 22px;
}

.wf-panel-title,
.wf-page-title,
.wf-upload-title,
.wf-tags-title {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
}

.wf-alert,
.wf-contract-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  margin-top: 10px;
}

.wf-alert.danger {
  background: #fcebeb;
  border-left: 3px solid #a32d2d;
}

.wf-alert.warning {
  background: #faeeda;
  border-left: 3px solid #854f0b;
}

.wf-alert-title,
.wf-contract-code,
.wf-main,
.wf-table strong {
  font-size: 13px;
  font-weight: 700;
  color: #1a1a1a;
}

.wf-contract-row {
  background: #f8f7f5;
}

.wf-contract-days {
  font-size: 12px;
  color: #6b6b6b;
  font-weight: 700;
}

.wf-contract-days.danger {
  color: #a32d2d;
}

.wf-contract-days.warning {
  color: #854f0b;
}

.wf-btn,
.wf-filter-select,
.wf-filter-input {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid rgba(9, 9, 8, 0.14);
  background: white;
  font: inherit;
  color: #1a1a1a;
}

.wf-btn.primary {
  background: #1a1a1a;
  color: white;
  border-color: #1a1a1a;
}

.wf-filters {
  grid-template-columns: 1fr 170px 170px;
  margin: 16px 0;
}

.wf-filter-input {
  width: 100%;
}

.wf-pill {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
}

.wf-pill.default,
.wf-badge.muted {
  background: #f0eee9;
  color: #6b6b6b;
}

.wf-pill.success,
.wf-badge.success {
  background: #eaf3de;
  color: #3b6d11;
}

.wf-pill.warning,
.wf-badge.warning {
  background: #faeeda;
  color: #854f0b;
}

.wf-pill.danger,
.wf-badge.danger {
  background: #fcebeb;
  color: #a32d2d;
}

.wf-table {
  overflow: hidden;
}

.wf-table-header,
.wf-table-row {
  display: grid;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
}

.wf-table.contracts .wf-table-header,
.wf-table.contracts .wf-table-row {
  grid-template-columns: 100px 1.5fr 1fr 110px 100px;
}

.wf-table.financial .wf-table-header,
.wf-table.financial .wf-table-row {
  grid-template-columns: 130px 1.3fr 110px 100px 90px 100px;
}

.wf-table-header {
  background: #f8f7f5;
  font-size: 12px;
  color: #6b6b6b;
  font-weight: 700;
}

.wf-table-row {
  border-top: 1px solid rgba(9, 9, 8, 0.08);
  font-size: 13px;
  color: #1a1a1a;
}

.wf-table-row.danger-bg {
  background: #fcebeb;
}

.wf-table-row.warning-bg {
  background: #faeeda;
}

.wf-table-row span,
.wf-table-row small {
  display: block;
}

.wf-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
}

.wf-close-btn {
  border: none;
  background: transparent;
  font-size: 24px;
  color: #6b6b6b;
}

.wf-steps {
  margin: 18px 0;
}

.wf-step {
  padding: 8px 12px;
  border-radius: 999px;
  background: #f0eee9;
  color: #6b6b6b;
  font-size: 12px;
  font-weight: 700;
}

.wf-step.active {
  background: #e6f1fb;
  color: #185fa5;
}

.wf-upload-box {
  margin: 12px 0 18px;
  padding: 28px 18px;
  border-radius: 16px;
  border: 2px dashed rgba(9, 9, 8, 0.14);
  background: #f8f7f5;
  text-align: center;
}

.wf-upload-title {
  margin-bottom: 4px;
}

.wf-upload-subtitle {
  margin-bottom: 14px;
}

.wf-tags-title {
  margin-bottom: 10px;
}

.wf-tag {
  padding: 5px 10px;
  border-radius: 8px;
  background: #f0eee9;
  font-size: 11px;
  color: #1a1a1a;
}

.wf-caption {
  margin-top: 14px;
  text-align: center;
  font-size: 12px;
}

.module-card {
  padding: 26px;
  position: relative;
  overflow: hidden;
}

.alt-dark .module-card,
.alt-dark .faq-item,
.alt-dark .content-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.alt-light .content-card,
.alt-light .faq-item {
  background: rgba(255, 253, 249, 0.72);
  box-shadow: none;
}

.module-card h3,
.faq-item h3,
.prose-card h2,
.prose-card h3 {
  margin: 0 0 12px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.module-card ul,
.check-list,
.timeline-list {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.featured-module {
  background: linear-gradient(180deg, rgba(38, 90, 99, 0.06), rgba(199, 141, 44, 0.08)), var(--surface);
}

.module-kicker {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(235, 84, 19, 0.12);
  color: var(--inove);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.timeline-card {
  max-width: 760px;
}

.check-list li::marker,
.timeline-list li::marker {
  color: var(--deep);
  font-weight: 700;
}

.investment-card {
  background: linear-gradient(180deg, rgba(38, 90, 99, 0.06), rgba(255, 255, 255, 0.96));
}

.notice-box {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff3ea;
  line-height: 1.6;
}

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

.faq-item {
  padding: 24px;
}

.cta-card {
  display: grid;
  gap: 20px;
  background: linear-gradient(180deg, rgba(9, 9, 8, 0.97), rgba(38, 90, 99, 0.95));
  color: white;
}

.cta-card .eyebrow,
.cta-card p {
  color: rgba(255, 255, 255, 0.8);
}

.cta-card .eyebrow::before {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.8), rgba(199, 141, 44, 0.8));
}

.cta-card h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

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

.button.primary {
  background: white;
  color: var(--dark);
}

.button.secondary {
  background: transparent;
  color: inherit;
  border: 1px solid currentColor;
}

.annex-body {
  background: linear-gradient(180deg, #faf8f4 0%, #f2eee8 100%);
}

.annex-hero {
  margin-top: 24px;
}

.prose-card {
  overflow-x: auto;
}

.prose-card h2 {
  margin-top: 0;
  font-size: 1.8rem;
}

.prose-card h3 {
  margin-top: 26px;
  font-size: 1.2rem;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 28px;
  font-size: 0.96rem;
}

.data-table th,
.data-table td {
  padding: 14px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.data-table th {
  color: var(--text);
  background: rgba(38, 90, 99, 0.06);
}

@media (max-width: 900px) {
  .brand-row,
  .hero-grid,
  .modules-grid,
  .split-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .wf-kpi-grid,
  .wf-two-col,
  .wf-filters,
  .wf-table.contracts .wf-table-header,
  .wf-table.contracts .wf-table-row,
  .wf-table.financial .wf-table-header,
  .wf-table.financial .wf-table-row {
    grid-template-columns: 1fr;
  }

  .wf-nav {
    display: none;
  }

  .hero,
  .content-card,
  .annex-hero {
    padding: 24px;
  }

  .alt-section {
    padding: 24px;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
    padding-bottom: 48px;
  }

  .hero {
    border-radius: 28px;
  }

  .button {
    width: 100%;
  }
}
