/* ==========================================================================
   Soft finish: loaded last, after the theme files, for every professional layout.
   Rounder corners and gentle resting shadows on every box, so cards feel lifted
   instead of drawn with hard lines. Colours still come from the theme (--c-*).
   ========================================================================== */
:root {
  --r: 18px;
  --rb: 12px;
  --soft: 0 1px 2px rgba(10, 20, 30, .04), 0 8px 22px -12px rgba(10, 20, 30, .16), 0 22px 44px -28px rgba(10, 20, 30, .18);
  --soft-up: 0 2px 6px rgba(10, 20, 30, .06), 0 18px 36px -14px rgba(10, 20, 30, .22), 0 34px 64px -30px rgba(10, 20, 30, .28);
  --soft-line: color-mix(in srgb, var(--c-text) 8%, transparent);
  --shadow: var(--soft);
  --shadow-up: var(--soft-up);
}
/* Layouts that are pill-shaped by design keep their round buttons. */
.L-clarity, .L-terra { --rb: 999px; }
.L-terra { --r: 22px; }

/* ---------- Every card: rounded, hairline softened, resting shadow ---------- */
:is(.area, .prod, .mv__card, .cert, .duo__card, .leader, .job, .step, .cinfo__item, .value, .perk, .form, .viewer) {
  border-radius: var(--r);
  border-color: var(--soft-line);
  box-shadow: var(--soft);
}
:is(a.area, .prod, .duo__card, .job, .cert, .leader, .step, .value, .perk):hover { box-shadow: var(--soft-up); border-color: transparent; }
.value { border-top: 0; position: relative; overflow: hidden; }
.value::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--c-primary), var(--c-accent)); }
.prod__img { border-radius: calc(var(--r) - 4px) calc(var(--r) - 4px) 0 0; }

/* Boxes on dark sections: lighter glass instead of a flat panel */
.feats { gap: 14px; background: none; border: 0; border-radius: 0; overflow: visible; }
.feat { border-radius: var(--r); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 20px 40px -26px rgba(0, 0, 0, .55); }
.feat:hover { background: rgba(255, 255, 255, .08); }

/* ---------- Product shelf in the hero: separate floating tiles ---------- */
.shelf { gap: 18px; background: none; border: 0; padding-bottom: 34px; }
.shelf__item {
  border-radius: var(--r);
  background: color-mix(in srgb, var(--c-bg) 96%, #fff);
  border: 1px solid color-mix(in srgb, var(--gold, var(--c-accent)) 22%, transparent);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .12), 0 26px 50px -22px rgba(0, 0, 0, .55);
  transition: transform .45s var(--ease), box-shadow .45s, background .3s;
}
.shelf__item:hover { transform: translateY(-6px); background: var(--c-surface); box-shadow: 0 4px 10px rgba(0, 0, 0, .14), 0 36px 64px -24px rgba(0, 0, 0, .6); }
.shelf__item:hover img { transform: translateY(-4px); }

/* ---------- Numbers row: one soft panel instead of bare lines ---------- */
.facts, .facts--inline { background: transparent; border: 0; }
.facts__in { background: var(--c-surface); border-radius: var(--r); box-shadow: var(--soft); padding: 22px 8px; border: 1px solid var(--soft-line); }
.fact { border-left-color: var(--soft-line); }
.fact:first-child { border-left: 0; }

/* ---------- Smaller pieces ---------- */
.chip { border-radius: 999px; }
.tag { border-radius: 999px; padding-inline: .8em; }
.search, .search input { border-radius: var(--rb); }
:is(input, select, textarea) { border-radius: calc(var(--rb) * .8); }
.L-clarity :is(input, select, textarea), .L-terra :is(input, select, textarea) { border-radius: 14px; }
.band__in { border-radius: calc(var(--r) * 1.4); box-shadow: var(--soft-up); }
.cookie, .toast, .wa { box-shadow: var(--soft-up); }

@media (max-width: 860px) {
  .shelf { gap: 12px; }
  .facts__in { padding: 18px 6px; }
  .fact:nth-child(odd) { border-left: 0; }
}

/* ---------- Product Q&A (also published as FAQ data for search and AI engines) ---------- */
.pfaq { max-width: 860px; margin: clamp(36px, 5vw, 60px) auto 10px; }
.pfaq h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 18px; }
.pfaq details { margin-bottom: 10px; border-radius: var(--r, 14px); background: var(--c-surface); border: 1px solid color-mix(in srgb, var(--c-text) 8%, transparent); box-shadow: 0 1px 2px rgba(10, 20, 30, .04), 0 8px 22px -14px rgba(10, 20, 30, .16); overflow: hidden; }
.pfaq summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 20px; cursor: pointer; list-style: none; font-weight: 600; }
.pfaq summary::-webkit-details-marker { display: none; }
.pfaq summary .ic { flex: none; width: 18px; height: 18px; transform: rotate(90deg); transition: transform .3s; color: var(--c-primary); }
.pfaq details[open] summary .ic { transform: rotate(-90deg); }
.pfaq details p { margin: 0; padding: 0 20px 18px; color: color-mix(in srgb, var(--c-text) 72%, var(--c-bg)); line-height: 1.65; }
