﻿:root {
  --bg-main: #f8f2eb;
  --bg-soft: #f1ebe5;
  --bg-paper: #fffaf6;
  --text-main: #353b47;
  --text-soft: #5a6070;
  --brand: #00715e;
  --brand-dark: #005648;
  --brand-plum: #81688b;
  --brand-peach: #ebaa7e;
  --line: #d8d0c9;
  --ok: #2f6f6d;
  --warn: #c8893d;
  --error: #a02f2f;
  --shadow-soft: 0 18px 40px #353b4712;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text-main);
  background: radial-gradient(circle at 15% 10%, #fff6ed, var(--bg-main) 45%, var(--bg-soft) 100%);
}

a {
  color: inherit;
}

.page-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(0, 113, 94, 0.045) 0, transparent 24%),
    radial-gradient(circle at 80% 10%, rgba(129, 104, 139, 0.05) 0, transparent 22%),
    radial-gradient(circle at 50% 80%, rgba(235, 170, 126, 0.06) 0, transparent 26%);
}

.bg-shape {
  position: fixed;
  border-radius: 50%;
  filter: blur(1px);
  pointer-events: none;
}

.bg-one {
  width: 34rem;
  height: 34rem;
  background: linear-gradient(120deg, #d9ccc0aa, #b7432933);
  top: -12rem;
  right: -10rem;
}

.bg-two {
  width: 24rem;
  height: 24rem;
  background: linear-gradient(120deg, #7f4b3840, #f7f2eb20);
  bottom: -7rem;
  left: -8rem;
}

.app {
  position: relative;
  z-index: 1;
  width: min(980px, 94vw);
  margin: 1.6rem auto 3rem;
}

.app-shell-main {
  margin-top: 1.2rem;
}

.app-shell-header {
  position: sticky;
  top: 0;
  z-index: 12;
}

.app-shell-row {
  width: min(980px, 94vw);
  margin: 0 auto;
  min-height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.app-header {
  margin-bottom: 1rem;
}

.brand-kicker {
  margin: 0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--brand-dark);
}

h1 {
  margin: 0.15rem 0 0;
  font: 700 2.55rem/1.02 "Space Grotesk", "Manrope", sans-serif;
  color: var(--text-soft);
}

.version {
  margin: 0.2rem 0 0;
  color: var(--text-soft);
  opacity: 0.75;
}

.panel {
  background: linear-gradient(170deg, var(--bg-paper), #fef6ef);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem 1rem 1.1rem;
  box-shadow: var(--shadow-soft);
  animation: reveal 0.25s ease-out;
}

.step {
  margin: 0 0 0.8rem;
  font-weight: 600;
  color: var(--brand-dark);
}

.notice {
  margin-bottom: 0.7rem;
  border-radius: 12px;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--line);
  background: #fffdf9;
}

.notice-ok {
  border-color: #2f6f6d66;
}

.notice-warn {
  border-color: #c8893d66;
}

.notice-error {
  border-color: #a02f2f66;
}

.preline {
  white-space: pre-line;
  line-height: 1.45;
}

.row,
.stack,
.form-line {
  display: flex;
  gap: 0.55rem;
  margin-top: 0.8rem;
}

.row {
  flex-wrap: wrap;
}

.stack {
  flex-direction: column;
}

.full {
  width: 100%;
}

.form-line {
  align-items: center;
}

.text-input {
  width: 100%;
  min-height: 2.7rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.55rem 0.7rem;
  font: inherit;
  color: var(--text-main);
}

.input-error {
  border-color: var(--error);
  box-shadow: 0 0 0 2px #a02f2f14;
}

.field-hint {
  margin: 0.45rem 0 0;
  font-size: 0.84rem;
  line-height: 1.35;
  color: var(--text-soft);
  opacity: 0.9;
}

.field-error {
  margin: 0.35rem 0 0;
  font-size: 0.84rem;
  line-height: 1.35;
  color: var(--error);
}

.pet-form {
  margin-top: 0.9rem;
}

.pet-rows {
  display: grid;
  gap: 0.55rem;
}

.pet-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 6.5rem;
  gap: 0.55rem;
  align-items: center;
}

.value-select-form {
  display: grid;
  grid-template-columns: minmax(12rem, 22rem) auto;
  gap: 0.7rem;
  align-items: center;
  margin-top: 0.8rem;
}

.value-control-form {
  margin-top: 0.8rem;
}

.value-control-row {
  display: grid;
  grid-template-columns: minmax(12rem, 1fr) minmax(7.5rem, 8rem) auto;
  column-gap: 0.9rem;
  row-gap: 0.7rem;
  align-items: center;
}

.value-number {
  min-height: 2.35rem;
  text-align: center;
}

.hidden {
  display: none !important;
}

.consent-box {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.86);
  line-height: 1.45;
}

.consent-box input {
  margin-top: 0;
  accent-color: var(--brand);
}

.weight-intro-banner {
  margin-bottom: 0.9rem;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(0, 113, 94, 0.18);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.95), rgba(241, 235, 229, 0.92));
}

.weight-intro-banner p {
  margin: 0;
}

.summary-title {
  margin: 0 0 0.65rem;
  font: 700 1.08rem/1.25 "Manrope", sans-serif;
  color: var(--brand);
}

.summary-title-large {
  font-size: 1.28rem;
  line-height: 1.2;
}

.weights-review-layout {
  display: grid;
  grid-template-columns: minmax(280px, 360px) 1fr;
  gap: 0.9rem;
  align-items: center;
  margin: 0.95rem 0 1.1rem;
}

.weights-chart-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.weights-donut {
  position: relative;
  --donut-size: min(20.5rem, 82vw);
  width: var(--donut-size);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(216, 208, 201, 0.88);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.weights-donut-center {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 61%;
  height: 61%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--bg-paper);
  overflow: hidden;
  z-index: 2;
}

.weights-donut-center img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.weights-total {
  margin: 0;
  text-align: center;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.weights-legend {
  display: grid;
  gap: 0.45rem;
}

.weights-legend-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.58rem;
  padding: 0.58rem 0.7rem;
  border-radius: 12px;
  border: 1px solid rgba(216, 208, 201, 0.78);
  background: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
}

.weights-legend-swatch {
  width: 0.78rem;
  height: 0.78rem;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(53, 59, 71, 0.08);
}

.weights-legend-title {
  font-weight: 600;
  line-height: 1.35;
}

.weights-legend-value {
  white-space: nowrap;
  color: var(--brand-dark);
  font-size: 0.9rem;
}

.weights-matrix {
  display: grid;
  gap: 0.9rem;
}

.weights-block {
  overflow: hidden;
  border: 1px solid rgba(216, 208, 201, 0.82);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
}

.weights-block-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.78rem 0.9rem;
  color: var(--brand-dark);
  background: rgba(241, 235, 229, 0.82);
}

.weights-block-head h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.25;
}

.weights-block-head strong {
  white-space: nowrap;
}

.weights-rows {
  display: grid;
}

.weight-row {
  display: grid;
  grid-template-columns: minmax(13rem, 1.35fr) minmax(11rem, 1fr) 5.6rem 5.8rem;
  gap: 0.7rem;
  align-items: center;
  padding: 0.68rem 0.9rem;
  border-top: 1px solid rgba(216, 208, 201, 0.66);
}

.weight-label {
  font-weight: 600;
  line-height: 1.35;
}

.weight-slider,
.value-slider {
  width: 100%;
  accent-color: var(--brand);
}

.weight-number {
  min-height: 2.35rem;
  text-align: center;
}

.weight-normalized {
  text-align: right;
  font-weight: 700;
  color: var(--brand-dark);
  white-space: nowrap;
}

.review-table-shell {
  margin-top: 1rem;
  overflow-x: auto;
  border: 1px solid rgba(216, 208, 201, 0.78);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
}

.review-table {
  width: 100%;
  min-width: 44rem;
  border-collapse: collapse;
}

.review-table th,
.review-table td {
  padding: 0.72rem 0.8rem;
  border-bottom: 1px solid rgba(216, 208, 201, 0.72);
  text-align: left;
  vertical-align: middle;
  font-size: 0.93rem;
}

.review-table th {
  font-weight: 700;
  color: var(--brand-dark);
  background: rgba(241, 235, 229, 0.8);
}

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

.review-table tfoot th,
.review-table tfoot td {
  padding: 0.82rem 0.8rem;
  border-top: 1px solid rgba(216, 208, 201, 0.8);
  background: rgba(241, 235, 229, 0.55);
  font-weight: 700;
  color: var(--brand-dark);
}

.review-table-compact {
  min-width: 30rem;
}

.result-resource-details {
  margin-top: 1rem;
  border: 1px solid rgba(216, 208, 201, 0.78);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  overflow: hidden;
}

.result-resource-summary {
  cursor: pointer;
  padding: 0.95rem 1rem;
  font-weight: 700;
  color: var(--brand-dark);
  background: rgba(241, 235, 229, 0.65);
}

.result-resource-summary::marker {
  color: var(--brand);
}

.result-resource-stack {
  display: grid;
  gap: 1rem;
  padding: 0 1rem 1rem;
}

.result-resource-title {
  margin: 1rem 0 0.45rem;
  font-weight: 700;
  color: var(--text-main);
}

.delta-positive {
  color: #2f8f4e;
  font-weight: 700;
}

.delta-negative {
  color: #b74329;
  font-weight: 700;
}

.delta-neutral {
  color: var(--text-soft);
}

.table-input {
  width: 8rem;
  min-height: 2.45rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.48rem 0.65rem;
  font: inherit;
  color: var(--text-main);
}

.table-input.value-number {
  width: 100%;
  box-sizing: border-box;
}

.btn {
  border: 1px solid transparent;
  border-radius: 10px;
  min-height: 2.7rem;
  padding: 0.55rem 0.9rem;
  font: 600 0.95rem/1.2 "Manrope", sans-serif;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 7px 16px #4a383120;
}

.btn:disabled,
.button:disabled {
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  opacity: 0.55;
}

.btn-primary {
  background: linear-gradient(140deg, var(--brand), var(--brand-dark));
  color: #fff;
}

.btn-ghost {
  border-color: var(--line);
  background: #fff;
  color: var(--text-main);
}

.btn-nav {
  border-color: #d9ccc0;
  background: #f1ebe5;
  color: #7f4b38;
}

.btn-option {
  width: 100%;
  text-align: left;
  border-color: #ccb8ab;
  background: #fff;
  color: var(--text-main);
}

.btn-muted {
  border-color: #ccb8ab;
  background: #e7dbcf;
  color: #6d4e41;
}

.btn-nowrap {
  white-space: nowrap;
}

.btn-save-weight {
  min-width: 9.6rem;
  font-size: 0.92rem;
  flex: 0 0 auto;
}

.btn-save-value {
  min-width: 10.8rem;
  flex: 0 0 auto;
}

.nav form,
.stack form {
  width: 100%;
}

.media-grid {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.8rem;
}

.media-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.55rem;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.media-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.media-download {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-decoration: none;
}

.result-metrics {
  display: grid;
  gap: 0.38rem;
  margin-bottom: 1rem;
}

.result-line {
  margin: 0;
  line-height: 1.45;
}

.result-line-strong {
  margin-bottom: 0.18rem;
}

.result-line-negative {
  color: var(--error);
  font-weight: 700;
}

.result-note {
  margin: -0.05rem 0 0.25rem;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--text-soft);
}

.result-note-negative {
  color: var(--error);
}

.optimization-progress-card {
  margin-top: 1rem;
  padding: 1rem 1.05rem;
  border-radius: 16px;
  border: 1px solid rgba(216, 208, 201, 0.82);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(248, 242, 235, 0.96));
  box-shadow: var(--shadow-soft);
}

.optimization-progress-stage {
  margin: 0 0 0.7rem;
  line-height: 1.45;
  color: var(--text-main);
}

.optimization-progress-bar {
  position: relative;
  width: 100%;
  height: 0.9rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(217, 204, 192, 0.6);
  box-shadow: inset 0 0 0 1px rgba(83, 66, 56, 0.08);
}

.optimization-progress-fill {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  transition: width 0.35s ease;
}

.optimization-progress-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.55rem 0.8rem;
  margin-top: 0.7rem;
  font-size: 0.92rem;
  color: var(--text-soft);
}

.container {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

.section {
  position: relative;
  z-index: 1;
  padding: 5.5rem 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 250, 246, 0.84), rgba(255, 246, 239, 0.72));
}

.eyebrow,
.card-eyebrow {
  margin: 0 0 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 700;
}

.eyebrow {
  color: var(--brand);
}

.card-eyebrow {
  color: var(--brand-plum);
}

.section-head {
  max-width: 780px;
  margin-bottom: 2rem;
}

.section-head h2 {
  margin: 0;
  font: 700 2.15rem/1.06 "Space Grotesk", "Manrope", sans-serif;
  color: var(--text-main);
}

.section-head p {
  margin: 0.85rem 0 0;
  color: var(--text-soft);
  line-height: 1.65;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(248, 242, 235, 0.84);
  border-bottom: 1px solid rgba(216, 208, 201, 0.72);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 5rem;
}

.header-side {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.brand-text span:first-child {
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.brand-text span:last-child {
  font-size: 0.76rem;
  color: var(--text-soft);
  letter-spacing: 0.08em;
}

.header-badge {
  display: inline-flex;
  align-items: center;
  min-height: 2.1rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(183, 67, 41, 0.1);
  border: 1px solid rgba(183, 67, 41, 0.18);
  color: #7f4b38;
  font: 700 0.82rem/1 "Manrope", sans-serif;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.05rem;
}

.site-nav a,
.nav-disabled {
  text-decoration: none;
  background: none;
  border: 0;
  padding: 0;
  font: 600 0.94rem/1.2 "Manrope", sans-serif;
  color: var(--text-soft);
}

.site-nav a:hover,
.nav-cta:hover {
  color: var(--brand);
}

.site-nav .nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.9rem 1.2rem !important;
  border-radius: 999px;
  border: 1px solid transparent !important;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark)) !important;
  box-shadow: 0 12px 24px rgba(0, 113, 94, 0.18);
  color: #fff !important;
}

.site-nav .nav-cta:hover {
  color: #fff !important;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  padding: 0.7rem 1rem;
  font: 700 0.88rem/1 "Manrope", sans-serif;
  color: var(--text-main);
}

.hero {
  padding-top: 4.4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 2rem;
  align-items: center;
}

.hero-copy h1 {
  max-width: 13ch;
}

.hero-lead {
  margin: 1rem 0 0;
  max-width: 52rem;
  font-size: 1.14rem;
  line-height: 1.65;
  color: var(--text-main);
}

.hero-text {
  margin: 1rem 0 0;
  max-width: 44rem;
  line-height: 1.72;
  color: var(--text-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font: 700 0.95rem/1.1 "Manrope", sans-serif;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(53, 59, 71, 0.12);
}

.button-primary,
.button-accent {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
}

.button-secondary {
  background: linear-gradient(135deg, var(--brand-plum), #5f4f73);
  color: #fff;
}

.button-ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.86);
  color: var(--text-main);
}

.hero-stats {
  margin-top: 1.7rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.8rem;
}

.stat-card {
  border: 1px solid rgba(216, 208, 201, 0.78);
  border-radius: 18px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow-soft);
}

.stat-card strong {
  display: block;
  font: 700 1.45rem/1 "Space Grotesk", "Manrope", sans-serif;
  color: var(--brand);
}

.stat-card span {
  display: block;
  margin-top: 0.45rem;
  line-height: 1.45;
  color: var(--text-soft);
}

.hero-visual {
  position: relative;
  min-height: 34rem;
  --hero-rotation-duration: 64s;
}

.hero-diagram-rotation {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 32rem;
  height: 32rem;
  animation: hero-diagram-spin var(--hero-rotation-duration) linear infinite;
}

.hero-diagram-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 20px 40px rgba(53, 59, 71, 0.1));
}

.hero-orbit-line {
  fill: none;
  stroke-width: 1.4;
  stroke: rgba(0, 113, 94, 0.16);
}

.hero-orbit-line-two {
  stroke: rgba(129, 104, 139, 0.18);
}

.hero-orbit-line-three {
  stroke: rgba(235, 170, 126, 0.24);
}

.hero-orbit-line-four {
  stroke: rgba(183, 67, 41, 0.22);
}

.hero-sector-path {
  opacity: 0.8;
  stroke: rgba(255, 250, 246, 0.42);
  stroke-width: 1.6;
  transition: d 0.45s ease, opacity 0.45s ease;
}

.hero-sector-1 {
  fill: rgba(0, 113, 94, 0.76);
}

.hero-sector-2 {
  fill: rgba(26, 138, 117, 0.74);
}

.hero-sector-3 {
  fill: rgba(47, 111, 109, 0.72);
}

.hero-sector-4 {
  fill: rgba(129, 104, 139, 0.7);
}

.hero-sector-5 {
  fill: rgba(160, 127, 171, 0.68);
}

.hero-sector-6 {
  fill: rgba(235, 170, 126, 0.72);
}

.hero-sector-7 {
  fill: rgba(211, 111, 76, 0.7);
}

.hero-sector-8 {
  fill: rgba(183, 67, 41, 0.74);
}

.hero-core-logo {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 11rem;
  height: 11rem;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(53, 59, 71, 0.16);
  background: rgba(255, 250, 246, 0.92);
  border: 1px solid rgba(216, 208, 201, 0.8);
}

.hero-core-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-icon-ring {
  --orbit-size: 16rem;
  --orbit-duration: var(--hero-rotation-duration);
  position: absolute;
  inset: 50% auto auto 50%;
  width: var(--orbit-size);
  height: var(--orbit-size);
  transform: translate(-50%, -50%);
}

.hero-icon-orbit {
  position: relative;
  width: 100%;
  height: 100%;
  animation: hero-icon-spin var(--orbit-duration) linear infinite;
}

.hero-icon-node {
  position: absolute;
  inset: 0;
  transform: rotate(var(--item-angle));
}

.hero-icon-counter {
  position: absolute;
  top: 0;
  left: 50%;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%) rotate(calc(-1 * var(--item-angle)));
  transform-origin: center center;
  animation: hero-icon-counter-spin var(--orbit-duration) linear infinite;
}

.hero-icon-badge {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(216, 208, 201, 0.88);
  box-shadow: var(--shadow-soft);
  font-size: 1.34rem;
  line-height: 1;
}

.hero-icon-ring-one {
  --orbit-size: 16rem;
}

.hero-icon-ring-two {
  --orbit-size: 20rem;
}

.hero-icon-ring-three {
  --orbit-size: 24rem;
}

.hero-icon-ring-four {
  --orbit-size: 28rem;
}

@keyframes hero-diagram-spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes hero-icon-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes hero-icon-counter-spin {
  from {
    transform: translate(-50%, -50%) rotate(calc(-1 * var(--item-angle)));
  }

  to {
    transform: translate(-50%, -50%) rotate(calc(-360deg - var(--item-angle)));
  }
}

.message-card,
.concept-card,
.cta-band,
.info-card,
.timeline-card,
.sphere-card,
.landing-card {
  border: 1px solid rgba(216, 208, 201, 0.78);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
}

.message-card {
  padding: 1.35rem;
}

.message-card p {
  margin: 0;
}

.principles-grid,
.timeline-grid,
.spheres-grid,
.products-grid {
  display: grid;
  gap: 1rem;
}

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

.info-card {
  padding: 1.25rem;
}

.info-card h3,
.timeline-card h3,
.sphere-card h3 {
  margin: 0;
  font: 700 1.15rem/1.28 "Space Grotesk", "Manrope", sans-serif;
}

.info-card p,
.timeline-card p,
.sphere-card p,
.product-description,
.concept-card p {
  margin: 0.85rem 0 0;
  line-height: 1.64;
  color: var(--text-soft);
}

.info-card-green {
  background: linear-gradient(160deg, rgba(0, 113, 94, 0.13), rgba(255, 255, 255, 0.88));
}

.info-card-plum {
  background: linear-gradient(160deg, rgba(129, 104, 139, 0.14), rgba(255, 255, 255, 0.88));
}

.info-card-peach {
  background: linear-gradient(160deg, rgba(235, 170, 126, 0.18), rgba(255, 255, 255, 0.9));
}

.concept-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(0, 1.24fr);
  gap: 1rem;
  align-items: start;
}

.concept-card {
  padding: 1.4rem;
  background: linear-gradient(145deg, rgba(0, 113, 94, 0.08), rgba(129, 104, 139, 0.08), rgba(255, 255, 255, 0.88));
}

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

.sphere-card {
  padding: 1.15rem;
}

.sphere-icon {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 16px;
  font-size: 1.3rem;
  background: linear-gradient(140deg, rgba(0, 113, 94, 0.14), rgba(129, 104, 139, 0.16));
}

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

.timeline-card {
  padding: 1.25rem;
}

.timeline-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  font: 700 0.92rem/1 "Space Grotesk", "Manrope", sans-serif;
}

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

.product-card {
  padding: 1.25rem;
}

.product-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.product-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.product-badge-square {
  width: 2.8rem;
  height: 2.8rem;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(140deg, var(--brand-plum), #62516f);
  color: #fff;
  font: 700 0.95rem/1 "Space Grotesk", "Manrope", sans-serif;
}

.product-badge-name {
  font-weight: 700;
  white-space: nowrap;
}

.product-status {
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(0, 113, 94, 0.12);
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 700;
}

.product-status-pending {
  background: rgba(127, 75, 56, 0.1);
  color: #7f4b38;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.cta-band {
  padding: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  background: linear-gradient(145deg, rgba(0, 113, 94, 0.11), rgba(129, 104, 139, 0.14), rgba(255, 255, 255, 0.9));
}

.cta-band h2 {
  margin: 0;
  font: 700 2rem/1.08 "Space Grotesk", "Manrope", sans-serif;
}

.cta-band p {
  margin: 0.8rem 0 0;
  color: var(--text-soft);
  line-height: 1.6;
  max-width: 48rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.site-footer {
  padding: 0 0 2.4rem;
}

.footer-shell {
  display: grid;
  gap: 1rem;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(216, 208, 201, 0.72);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
}

.footer-contacts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.footer-contacts a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 600;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem;
}

.footer-legal {
  font-size: 0.8rem;
  color: var(--text-soft);
  opacity: 0.9;
}

.footer-cookie {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--text-soft);
}

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

@media (max-width: 760px) {
  .container {
    width: min(94vw, 640px);
  }

  .app-shell-row {
    width: min(96vw, 560px);
  }

  .app {
    width: min(96vw, 560px);
    margin-top: 1rem;
  }

  h1 {
    font-size: 2rem;
  }

  .form-line {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.7rem);
    right: 4vw;
    left: 4vw;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    padding: 1rem;
    border-radius: 18px;
    background: rgba(255, 250, 246, 0.98);
    border: 1px solid rgba(216, 208, 201, 0.88);
    box-shadow: var(--shadow-soft);
  }

  .site-nav.site-nav-open {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-side {
    margin-left: auto;
  }

  .hero {
    padding-top: 3rem;
  }

  .hero-grid,
  .concept-grid,
  .timeline-grid,
  .products-grid,
  .principles-grid,
  .spheres-grid,
  .cta-band,
  .weights-review-layout,
  .footer-row {
    grid-template-columns: 1fr;
    display: grid;
  }

  .hero-visual {
    min-height: 26rem;
    order: -1;
  }

  .hero-diagram-rotation {
    width: 24rem;
    height: 24rem;
  }

  .hero-core-logo {
    width: 8.4rem;
    height: 8.4rem;
  }

  .review-table {
    min-width: 34rem;
  }

  .pet-row {
    grid-template-columns: 1fr 5.5rem;
  }

  .value-select-form,
  .value-control-row {
    grid-template-columns: 1fr;
  }

  .value-number {
    text-align: left;
  }

  .weight-row {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .weight-number,
  .weight-normalized {
    text-align: left;
  }

  .hero-icon-badge {
    width: 2.55rem;
    height: 2.55rem;
    font-size: 1.12rem;
  }

  .hero-icon-ring-one {
    --orbit-size: 12rem;
  }

  .hero-icon-ring-two {
    --orbit-size: 15rem;
  }

  .hero-icon-ring-three {
    --orbit-size: 18rem;
  }

  .hero-icon-ring-four {
    --orbit-size: 21rem;
  }

  .section {
    padding: 4.2rem 0;
  }

  .section-head h2,
  .cta-band h2 {
    font-size: 1.7rem;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .footer-contacts {
    justify-content: flex-start;
  }

  .weights-chart-card {
    justify-self: center;
  }
}

@media (max-width: 560px) {
  .header-badge {
    display: none;
  }

  .brand-text span:first-child {
    font-size: 0.86rem;
  }

  .brand-text span:last-child {
    font-size: 0.7rem;
    letter-spacing: 0.04em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-diagram-rotation,
  .hero-icon-orbit,
  .hero-icon-counter {
    animation: none;
  }
}

