::before,
::after {
  box-sizing: border-box;
}

* {
  box-sizing: border-box;
}

:root {
  --bg: #120f25;
  --bg-glow: rgba(167, 139, 250, 0.24);
  --bg-glow-warm: rgba(244, 114, 182, 0.16);
  --panel: rgba(18, 16, 40, 0.8);
  --panel-strong: rgba(17, 14, 34, 0.96);
  --border: rgba(196, 181, 253, 0.2);
  --text: #f6f2ff;
  --muted: #d6cdea;
  --subtle: #9e96bb;
  --accent: #8b5cf6;
  --accent-strong: #ec4899;
  --accent-soft: rgba(167, 139, 250, 0.16);
  --success: #34d399;
  --warning: #fbbf24;
  --danger: #fb7185;
  --shadow: 0 24px 60px rgba(5, 3, 17, 0.45);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --max-width: 1180px;
  font-synthesis-weight: none;
}

html {
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, var(--bg-glow), transparent 26%),
    radial-gradient(circle at top right, var(--bg-glow-warm), transparent 22%),
    linear-gradient(180deg, #120f25 0%, #16112d 38%, #0d1020 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

img {
  max-width: 100%;
}

a {
  color: #7dd3fc;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover,
a:focus-visible {
  color: #bae6fd;
}

button,
input,
select,
textarea {
  font: inherit;
}

.app-shell {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 3rem;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.controls-panel,
.summary-panel,
.feature-strip,
.trust-strip {
  position: relative;
  overflow: hidden;
}

.controls-panel::before,
.summary-panel::before,
.feature-strip::before,
.trust-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent 35%);
  pointer-events: none;
}

.hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 3rem);
  background:
    radial-gradient(circle at top right, rgba(244, 114, 182, 0.16), transparent 28%),
    radial-gradient(circle at 15% 10%, rgba(167, 139, 250, 0.22), transparent 24%),
    linear-gradient(180deg, rgba(29, 23, 58, 0.95), rgba(16, 14, 35, 0.92));
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -8% -30% auto;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.14), transparent 65%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(16rem, 0.9fr);
  gap: 1.25rem;
  align-items: start;
  margin-bottom: 1.25rem;
}

.hero-copy-block {
  position: relative;
  z-index: 1;
}

.install-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(16rem, 0.95fr);
  gap: 1rem;
  margin: 1rem 0 0.6rem;
  padding: 1rem 1.05rem;
  border-radius: 22px;
  border: 1px solid rgba(125, 211, 252, 0.22);
  background:
    radial-gradient(circle at top right, rgba(125, 211, 252, 0.16), transparent 35%),
    linear-gradient(135deg, rgba(13, 18, 36, 0.9), rgba(24, 15, 47, 0.92));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.install-strip-kicker {
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: #bae6fd;
}

.install-strip h2 {
  margin-bottom: 0.45rem;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}

.install-strip h2::after {
  display: none;
}

.install-strip-copy,
.install-status {
  margin-bottom: 0;
}

.install-strip-actions {
  display: grid;
  align-content: center;
  gap: 0.7rem;
}

.install-status.is-online {
  color: #86efac;
}

.install-status.is-offline {
  color: #fde68a;
}

.hero-ribbon {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.hero-ribbon span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-art {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.85rem;
}

.hero-art-card {
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.04));
  box-shadow: 0 16px 36px rgba(7, 4, 20, 0.28);
}

.hero-art-main {
  padding: 1rem;
}

.hero-art-kicker,
.stat-card-label {
  display: block;
  margin-bottom: 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: #f5d0fe;
}

.shelf-doodle {
  position: relative;
  height: 9.25rem;
  margin: 0.4rem 0 0.8rem;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(12, 10, 28, 0.38), rgba(12, 10, 28, 0.14)),
    repeating-linear-gradient(180deg, transparent 0 2.8rem, rgba(255, 255, 255, 0.08) 2.8rem 2.95rem);
}

.shelf-item {
  position: absolute;
  bottom: 1.2rem;
  border-radius: 18px 18px 10px 10px;
  box-shadow: 0 14px 22px rgba(8, 7, 19, 0.28);
}

.shelf-item-carton {
  left: 1rem;
  width: 4.4rem;
  height: 5.7rem;
  background: linear-gradient(180deg, #f9a8d4, #ec4899);
}

.shelf-item-can {
  left: 6.2rem;
  width: 3.35rem;
  height: 4.85rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #c4b5fd, #8b5cf6);
}

.shelf-item-bag {
  left: 10.45rem;
  width: 5rem;
  height: 6.15rem;
  border-radius: 22px 22px 14px 14px;
  transform: rotate(-4deg);
  background: linear-gradient(180deg, #fde68a, #f59e0b);
}

.spark {
  position: absolute;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  filter: blur(0.1rem);
}

.spark-1 { top: 1.25rem; right: 4.4rem; }
.spark-2 { top: 2.2rem; right: 2rem; width: 0.45rem; height: 0.45rem; }
.spark-3 { top: 3.3rem; right: 5.5rem; width: 0.55rem; height: 0.55rem; }

.hero-art-quote {
  margin-bottom: 0;
  color: var(--text);
  max-width: 18rem;
}

.hero-art-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.stat-card {
  padding: 0.9rem;
}

.stat-card strong {
  display: block;
  font-size: 1.2rem;
  line-height: 1.05;
  margin-bottom: 0.35rem;
}

.stat-card span:last-child {
  color: var(--muted);
  font-size: 0.92rem;
}

.price-card {
  transform: rotate(-2deg);
}

.trip-card-preview {
  transform: translateY(0.6rem) rotate(2.5deg);
}

.eyebrow,
.kicker,
.winner-label,
.item-badge,
.metric-label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
}

.eyebrow,
.kicker,
.metric-label,
.microcopy,
.hero-notes,
.panel-heading p,
.winner-context,
.metric-note,
.site-footer,
.summary-empty,
.ranking-list small {
  color: var(--muted);
}

h1,
h2,
h3,
h4,
p,
ul,
ol {
  margin-top: 0;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 0.98;
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.08;
  margin-bottom: 0.3rem;
}

h3 {
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
}

.hero-copy {
  max-width: 50rem;
  font-size: clamp(1rem, 1.7vw, 1.22rem);
  color: var(--text);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 1.4rem 0 1rem;
}

.starter-presets {
  margin: 0 0 1.2rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(196, 181, 253, 0.18);
  background: linear-gradient(180deg, rgba(18, 16, 40, 0.88), rgba(10, 12, 28, 0.72));
}

.starter-presets-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.starter-presets-header p,
.starter-presets-header h2 {
  margin-bottom: 0;
}

.starter-preset-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr));
  gap: 0.75rem;
}

.starter-preset {
  appearance: none;
  text-align: left;
  padding: 0.95rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(196, 181, 253, 0.2);
  background: linear-gradient(160deg, rgba(34, 24, 68, 0.96), rgba(16, 15, 35, 0.96));
  color: var(--text);
  cursor: pointer;
  display: grid;
  gap: 0.3rem;
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease, box-shadow 140ms ease;
}

.starter-preset:hover,
.starter-preset:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(56, 189, 248, 0.42);
  box-shadow: 0 14px 28px rgba(8, 15, 29, 0.28);
}

.starter-preset-topline {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.65rem;
}

.starter-preset-label {
  font-weight: 700;
}

.starter-preset-meta {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem;
}

.starter-preset-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.26rem 0.5rem;
  border-radius: 999px;
  background: rgba(167, 139, 250, 0.14);
  border: 1px solid rgba(196, 181, 253, 0.18);
  color: #ddd6fe;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.starter-preset-pill-alt {
  background: rgba(244, 114, 182, 0.12);
  border-color: rgba(244, 114, 182, 0.2);
  color: #fbcfe8;
}

.starter-preset-description {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

.starter-preset-preview {
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.45;
}

.starter-preset.is-active {
  border-color: rgba(236, 72, 153, 0.42);
  box-shadow: 0 0 0 1px rgba(236, 72, 153, 0.14), 0 16px 32px rgba(20, 11, 36, 0.32);
}

.button {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.85rem 1.15rem;
  cursor: pointer;
  font-weight: 700;
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

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

.button:focus-visible,
.field:focus-visible,
#comparison-unit:focus-visible,
#target-unit:focus-visible,
#target-amount:focus-visible {
  outline: 3px solid rgba(56, 189, 248, 0.28);
  outline-offset: 2px;
}

.button.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff7fb;
  box-shadow: 0 14px 28px rgba(236, 72, 153, 0.28);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--text);
}

.button.ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--muted);
}

.hero-notes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 0.75rem;
  padding-left: 1.2rem;
  margin-bottom: 0;
}

.panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(20rem, 0.95fr);
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.controls-panel,
.summary-panel,
.feature-strip {
  border-radius: var(--radius-lg);
  padding: 1.35rem;
}

.summary-panel {
  position: sticky;
  top: 1rem;
  align-self: start;
}

.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.panel-heading h2,
.feature-strip h2,
.trust-strip h2 {
  position: relative;
  display: inline-block;
  padding-right: 0.8rem;
}

.panel-heading h2::after,
.feature-strip h2::after,
.trust-strip h2::after {
  content: "";
  display: block;
  width: 3.2rem;
  height: 0.35rem;
  margin-top: 0.45rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(167, 139, 250, 0.95), rgba(244, 114, 182, 0.95));
}

.panel-heading p {
  max-width: 28rem;
  margin-bottom: 0;
}

.control-row {
  margin-bottom: 1rem;
}

.control-row label,
.target-fields label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

#comparison-unit,
.field,
#target-unit,
#target-amount {
  width: 100%;
  background: rgba(5, 11, 22, 0.72);
  color: var(--text);
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: var(--radius-sm);
  padding: 0.82rem 0.9rem;
}

#comparison-unit {
  margin-bottom: 0.45rem;
}

.target-planner {
  margin-bottom: 1rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(244, 114, 182, 0.18);
  background: linear-gradient(180deg, rgba(167, 139, 250, 0.12), rgba(17, 14, 34, 0.92));
}

.target-planner-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.target-planner-header p {
  max-width: 26rem;
  margin-bottom: 0;
}

.target-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(12rem, 0.9fr);
  gap: 0.85rem;
}

.target-presets {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.65rem;
}

.target-presets-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.target-presets-label,
.target-presets-copy {
  margin-bottom: 0;
}

.target-presets-copy {
  max-width: 28rem;
}

.target-preset-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.target-preset {
  appearance: none;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(7, 13, 24, 0.82);
  color: var(--text);
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
  cursor: pointer;
  font-weight: 700;
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease;
}

.target-preset:hover,
.target-preset:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(56, 189, 248, 0.42);
}

.target-preset.is-active {
  background: rgba(56, 189, 248, 0.16);
  border-color: rgba(56, 189, 248, 0.46);
  color: #bae6fd;
}

.notice {
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
}

.notice.warning {
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.24);
  color: #fde68a;
}

.notice.success {
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.24);
  color: #bbf7d0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr));
  gap: 1rem;
}

.item-card {
  position: relative;
  background: linear-gradient(180deg, rgba(25, 20, 49, 0.92), rgba(12, 13, 28, 0.9));
  border: 1px solid rgba(196, 181, 253, 0.14);
  border-radius: calc(var(--radius-md) + 2px);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.item-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0.4rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(167, 139, 250, 0.8), rgba(244, 114, 182, 0.78));
  opacity: 0.8;
}

.item-card:nth-child(2)::before {
  background: linear-gradient(180deg, rgba(251, 191, 36, 0.9), rgba(244, 114, 182, 0.75));
}

.item-card:nth-child(3)::before {
  background: linear-gradient(180deg, rgba(52, 211, 153, 0.85), rgba(59, 130, 246, 0.78));
}

.item-card.is-winner {
  border-color: rgba(52, 211, 153, 0.55);
  box-shadow: 0 0 0 1px rgba(52, 211, 153, 0.15), 0 18px 40px rgba(5, 150, 105, 0.18);
  transform: translateY(-2px);
}

.item-card.is-trip-winner:not(.is-winner) {
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.14), 0 18px 40px rgba(14, 165, 233, 0.16);
  transform: translateY(-2px);
}

.item-card.is-winner.is-trip-winner {
  box-shadow:
    0 0 0 1px rgba(52, 211, 153, 0.16),
    0 0 0 4px rgba(56, 189, 248, 0.08),
    0 18px 40px rgba(5, 150, 105, 0.2);
}

.item-card-header {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.item-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.36rem 0.58rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #f5d0fe;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.field-grid label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.96rem;
  color: var(--muted);
}

.item-help {
  margin: -0.2rem 0 0;
}

.field::placeholder,
#target-amount::placeholder {
  color: var(--subtle);
}

.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.money-wrap > span {
  position: absolute;
  left: 0.9rem;
  color: var(--subtle);
}

.money-wrap .field {
  padding-left: 1.65rem;
}

.item-output {
  background: rgba(8, 15, 29, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: var(--radius-md);
  padding: 0.9rem;
  display: grid;
  gap: 0.7rem;
}

.metric {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.7rem;
}

.metric strong {
  font-size: 1.02rem;
  text-align: right;
}

.metric-note {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.shelf-tag-feedback {
  margin: 0;
  border-radius: 14px;
  padding: 0.75rem 0.85rem;
  font-size: 0.91rem;
  line-height: 1.45;
}

.shelf-tag-feedback.is-close {
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.22);
  color: #bbf7d0;
}

.shelf-tag-feedback.is-warning {
  background: rgba(248, 113, 113, 0.1);
  border: 1px solid rgba(248, 113, 113, 0.24);
  color: #fecaca;
}

.summary-empty,
.winner-card,
.winner-split-explainer,
.tips,
.ranking-list li,
.share-bundle {
  background: linear-gradient(180deg, rgba(25, 20, 49, 0.9), rgba(12, 13, 28, 0.88));
  border: 1px solid rgba(196, 181, 253, 0.14);
  border-radius: var(--radius-md);
}

.summary-empty,
.winner-card,
.winner-split-explainer,
.tips,
.share-bundle {
  padding: 1rem;
}

.winner-card {
  margin-bottom: 1rem;
  background: linear-gradient(180deg, rgba(244, 114, 182, 0.14), rgba(25, 20, 49, 0.92));
}

.trip-card {
  background: linear-gradient(180deg, rgba(52, 211, 153, 0.12), rgba(16, 22, 36, 0.92));
}

.winner-split-explainer {
  margin: 0 0 1rem;
  background: linear-gradient(180deg, rgba(251, 191, 36, 0.12), rgba(27, 18, 40, 0.92));
}

.winner-split-explainer h3,
.winner-split-explainer p {
  margin-bottom: 0;
}

.winner-label {
  color: #f5d0fe;
  margin-bottom: 0.55rem;
}

.trip-card .winner-label {
  color: #a7f3d0;
}

.winner-price-line {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.ranking-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: grid;
  gap: 0.8rem;
}

.share-bundle {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.share-bundle-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.share-bundle-header h3,
.share-bundle-copy,
.share-bundle-status {
  margin-bottom: 0;
}

.share-bundle-text {
  width: 100%;
  min-height: 10rem;
  resize: vertical;
  background: rgba(8, 15, 29, 0.95);
  color: var(--text);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: var(--radius-sm);
  padding: 0.9rem;
  line-height: 1.5;
}

.ranking-list li {
  padding: 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

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

.ranking-topline strong {
  font-size: 1rem;
}

.rank-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  min-width: 2rem;
  padding: 0.28rem 0.55rem;
  background: rgba(56, 189, 248, 0.12);
  color: #7dd3fc;
  font-size: 0.82rem;
  font-weight: 700;
}

.ranking-price {
  color: var(--text);
  font-weight: 700;
}

.tips ul,
.feature-list {
  margin-bottom: 0;
}

.tips ul {
  padding-left: 1.15rem;
}

.feature-strip {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr);
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 0.9rem;
}

.feature-list article {
  background: linear-gradient(180deg, rgba(29, 20, 53, 0.88), rgba(12, 13, 28, 0.82));
  border: 1px solid rgba(196, 181, 253, 0.14);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.trust-strip {
  margin-top: 1.25rem;
  border-radius: var(--radius-lg);
  padding: 1.35rem;
}

.trust-intro {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.trust-intro > p {
  max-width: 30rem;
  margin-bottom: 0;
  color: var(--muted);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 0.9rem;
}

.trust-card {
  background: linear-gradient(180deg, rgba(29, 20, 53, 0.88), rgba(12, 13, 28, 0.82));
  border: 1px solid rgba(196, 181, 253, 0.14);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.trust-list {
  margin-bottom: 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.trust-list li + li {
  margin-top: 0.55rem;
}

.faq-card details {
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  padding: 0.85rem 0;
}

.faq-card details:first-of-type {
  border-top: 0;
  padding-top: 0.25rem;
}

.faq-card details:last-of-type {
  padding-bottom: 0;
}

.faq-card summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

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

.faq-card summary::after {
  content: "+";
  float: right;
  color: var(--accent);
}

.faq-card details[open] summary::after {
  content: "–";
}

.faq-card p {
  margin: 0.65rem 0 0;
  color: var(--muted);
}

.share-note {
  margin: 1rem 0 0;
  color: var(--muted);
}

.site-footer {
  padding: 1rem 0 0;
  text-align: center;
}

.hidden {
  display: none !important;
}

@media (max-width: 980px) {
  .hero-grid,
  .panel-grid,
  .feature-strip {
    grid-template-columns: 1fr;
  }

  .hero-art {
    order: -1;
  }

  .summary-panel {
    position: static;
  }

  .panel-heading,
  .target-planner-header,
  .trust-intro,
  .share-bundle-header,
  .starter-presets-header {
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .app-shell {
    width: min(var(--max-width), calc(100% - 1rem));
    padding-top: 1rem;
  }

  .hero,
  .controls-panel,
  .summary-panel,
  .feature-strip,
  .trust-strip {
    padding: 1rem;
    border-radius: 20px;
  }

  .hero-actions {
    flex-direction: column;
  }

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

  .button {
    width: 100%;
    justify-content: center;
  }

  .field-grid,
  .target-fields {
    grid-template-columns: 1fr;
  }

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

  .ranking-topline {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 780px) {
  .install-strip {
    grid-template-columns: 1fr;
  }

  .install-strip-actions {
    align-content: start;
  }
}
