/* Page-specific layouts */

.home-hero {
  padding: 1.4rem 0 0.4rem;
}

.home-hero .hero-photo {
  margin-top: 1.1rem;
}

.home-hero--first {
  padding-bottom: 0.6rem;
  text-align: center;
}

.home-hero--first h1 em,
.home-hero--first .lede em,
.wheel-create__title em,
.home-ruota-block .section-title em {
  font-style: italic;
  color: var(--forest-deep);
}

.home-hero__intro {
  max-width: 36rem;
  margin: 0.35rem auto 0.5rem;
}

.home-hero__after {
  margin-top: 1.25rem;
}

.home-hero__grid {
  align-items: center;
}

.home-hero__wheel {
  min-width: 0;
}

.home-hero__wheel--stage {
  margin-top: 0.5rem;
}

/* Home hero (mockup Irene) ------------------------------------------------ */

body[data-page="oggi"] .site-header {
  background: rgba(246, 241, 232, 0.38);
  border-bottom-color: transparent;
  backdrop-filter: blur(12px);
}

body[data-page="oggi"] #main {
  margin-top: calc(var(--header-h) * -1);
}

.home-stage {
  --warm: #f6f1e8;
  --warm-deep: #efe8dc;
}

.home-hero-photo {
  position: relative;
  min-height: calc(100svh - var(--bottom-h));
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--forest-deep);
  padding-top: var(--header-h);
}

.home-hero-photo__media {
  position: absolute;
  inset: 0;
}

.home-hero-photo__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  max-width: none;
}

@media (max-width: 700px) {
  .home-hero-photo__bg {
    object-position: center 36%;
  }
}

.home-hero-photo__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(246, 241, 232, 0.22) 0%, rgba(246, 241, 232, 0) 24%, rgba(246, 241, 232, 0.05) 58%, rgba(246, 241, 232, 0.82) 100%),
    linear-gradient(90deg, rgba(246, 241, 232, 0.62) 0%, rgba(246, 241, 232, 0.18) 38%, rgba(246, 241, 232, 0) 68%);
}

.home-hero-photo__inner {
  position: relative;
  z-index: 1;
  padding-top: 1.4rem;
  padding-bottom: 6.2rem;
}

@media (min-width: 880px) {
  .home-hero-photo {
    align-items: center;
    min-height: 34rem;
    height: 58vh;
    max-height: 40rem;
  }

  .home-hero-photo__inner {
    padding-top: 1.8rem;
    padding-bottom: 6.5rem;
  }
}

.home-hero-photo h1 {
  font-size: clamp(2.2rem, 5.6vw, 3.6rem);
  margin: 0.1rem 0 0.7rem;
  color: var(--forest-deep);
  max-width: 12ch;
  line-height: 1.12;
  text-shadow: 0 1px 18px rgba(246, 241, 232, 0.7);
}

.home-hero-photo h1 em {
  font-style: italic;
}

.home-hero-photo__heart {
  color: var(--bronze);
  font-size: 0.52em;
  vertical-align: super;
}

.home-hero-photo__lede {
  font-size: 1.05rem;
  max-width: 28rem;
  color: var(--ink);
  margin: 0;
  text-shadow: 0 1px 14px rgba(246, 241, 232, 0.75);
}

.home-hero-photo__greet {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bronze);
  font-weight: 500;
  margin: 0 0 0.35rem;
}

.home-hero-photo__leaf {
  width: 7.4rem;
  height: auto;
  display: block;
  margin-bottom: 0.3rem;
}

.home-hero-photo__ctas {
  margin-top: 1.3rem;
  flex-direction: column;
  align-items: stretch;
  max-width: 22.5rem;
}

.home-hero-photo__ctas .btn {
  width: 100%;
  min-height: 3.05rem;
}

@media (min-width: 720px) {
  .home-hero-photo__ctas {
    flex-direction: row;
    max-width: none;
    align-items: center;
  }

  .home-hero-photo__ctas .btn {
    width: auto;
  }
}

.btn--hero-ghost {
  background: #fff;
  border-color: rgba(36, 51, 44, 0.45);
  color: var(--forest-deep) !important;
}

.btn--hero-ghost:hover {
  background: #f6f1e8;
}

.home-reset-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  max-width: 28rem;
  margin-top: 1.1rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(36, 51, 44, 0.1);
  border-radius: 1.15rem;
  background: rgba(255, 253, 248, 0.84);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-soft);
  text-align: left;
  color: var(--ink);
  font: inherit;
}

.home-reset-card__icon {
  width: 2.15rem;
  height: 2.15rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(196, 160, 90, 0.18);
  color: var(--bronze);
  display: grid;
  place-items: center;
}

.home-reset-card__icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.home-reset-card__text {
  flex: 1;
  font-size: 0.92rem;
  line-height: 1.4;
}

.home-reset-card__go {
  color: var(--bronze);
  font-size: 1.15rem;
}

.home-reset-card:hover {
  background: #fff;
}

.home-hero-photo__absence {
  margin-top: 1rem;
  max-width: 28rem;
}

.home-intro {
  position: relative;
  z-index: 2;
  margin-top: -4.2rem;
  padding: 0 0 1rem;
}

.home-intro__panel {
  display: grid;
  gap: 0.9rem;
}

.home-intro__grid,
.home-pillars,
.home-intro__quote {
  background: #fffdf9;
  border-radius: 1.55rem;
  box-shadow: 0 14px 40px rgba(36, 51, 44, 0.08);
}

.home-intro__grid {
  display: grid;
  gap: 1.2rem;
  padding: 1.55rem 1.35rem 1.5rem;
  position: relative;
}

.home-intro__rule {
  display: none;
}

.home-intro__copy h2 {
  font-size: clamp(1.7rem, 6.4vw, 2.15rem);
  margin: 0 0 0.15rem;
  max-width: 14ch;
  line-height: 1.12;
}

.home-intro__copy h2 em {
  font-style: italic;
  color: var(--terracotta);
  font-size: 1.08em;
}

.home-intro__brush {
  display: block;
  width: 3.6rem;
  height: 8px;
  margin: 0.15rem 0 0.95rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 12'%3E%3Cpath d='M2 8c16-5 30 1 42-3 14-4 24 3 34-2' fill='none' stroke='%23c56a4a' stroke-width='3.2' stroke-linecap='round'/%3E%3C/svg%3E")
    no-repeat left center / contain;
}

.home-intro__copy p {
  margin: 0 0 0.75rem;
  color: var(--ink-muted);
}

.home-intro__link {
  color: var(--forest-deep) !important;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.28em;
  text-decoration-thickness: 1px;
}

.home-intro__pie {
  display: grid;
  place-items: center;
  position: relative;
}

.home-intro__sprig {
  position: absolute;
  top: -0.15rem;
  right: 0.4rem;
  width: 3.4rem;
  height: auto;
  pointer-events: none;
  z-index: 1;
}

.intro-pie {
  width: min(100%, 16.2rem);
  height: auto;
  filter: drop-shadow(0 10px 22px rgba(36, 51, 44, 0.1));
}

.home-pillars {
  display: grid;
  gap: 0;
  padding: 0.45rem 1.2rem;
}

.home-pillars li {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 0.55rem 0.75rem;
  padding: 1rem 0.1rem;
  border-bottom: 1px solid rgba(49, 66, 57, 0.1);
}

.home-pillars li:last-child {
  border-bottom: 0;
}

.home-pillars strong {
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--forest-deep);
}

.home-pillars__txt {
  font-size: 0.88rem;
  color: var(--ink-muted);
  line-height: 1.4;
  padding-left: 0.8rem;
  border-left: 1px solid rgba(49, 66, 57, 0.14);
}

.home-pillars__icon {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.home-pillars__icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.home-pillars__icon--leaf {
  background: #dceee3;
  color: #3d6b52;
}

.home-pillars__icon--heart {
  background: #f3dcd6;
  color: var(--terracotta);
}

.home-pillars__icon--compass {
  background: #efe4cc;
  color: var(--bronze);
}

.home-pillars__icon--spark {
  background: #d9e7f0;
  color: #4a8aa8;
}

.home-intro__quote {
  position: relative;
  display: grid;
  gap: 0.85rem;
  padding: 1.25rem 1.4rem 1.7rem;
}

.home-intro__quote p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--forest-soft);
  line-height: 1.55;
}

.home-intro__quotemark {
  display: block;
  font-family: var(--font-display);
  font-size: 2.7rem;
  line-height: 0.65;
  color: var(--terracotta);
  margin-bottom: 0.35rem;
}

.home-intro__script {
  font-family: var(--font-script) !important;
  font-size: 1.7rem !important;
  color: var(--terracotta) !important;
  text-align: right;
  font-style: normal !important;
  line-height: 1.15 !important;
}

.home-intro__heart {
  display: block;
  text-align: right;
  color: var(--terracotta);
  font-size: 1.05rem;
  line-height: 1;
  margin-top: -0.15rem;
}

@media (min-width: 980px) {
  .home-intro {
    margin-top: -5.2rem;
    padding: 0 0 1.2rem;
  }

  .home-intro__panel {
    display: grid;
    grid-template-columns: minmax(15rem, 0.95fr) minmax(14rem, 0.8fr) minmax(22rem, 1.45fr);
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 1.8rem;
    background: #fffdf9;
    border-radius: 2.5rem;
    box-shadow: 0 18px 52px rgba(36, 51, 44, 0.08);
    padding: 2.3rem 2.5rem 1.45rem;
  }

  .home-intro__grid,
  .home-pillars,
  .home-intro__quote {
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
  }

  .home-intro__grid {
    display: contents;
  }

  .home-intro__copy {
    grid-column: 1;
    grid-row: 1;
    max-width: 22rem;
  }

  .home-intro__copy h2 {
    max-width: 13ch;
    margin-bottom: 0.15rem;
    font-size: clamp(1.85rem, 2.4vw, 2.25rem);
  }

  .home-intro__copy h2 em {
    font-size: inherit;
  }

  .home-intro__brush {
    width: 3.2rem;
    margin: 0.1rem 0 0.95rem;
  }

  .home-intro__pie {
    grid-column: 2;
    grid-row: 1;
  }

  .home-intro__sprig {
    display: none;
  }

  .intro-pie {
    width: min(100%, 17.6rem);
  }

  .home-pillars {
    grid-column: 3;
    grid-row: 1;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }

  .home-pillars li {
    grid-template-columns: 1fr;
    justify-items: start;
    align-content: start;
    text-align: left;
    gap: 0.45rem;
    padding: 0 0.95rem 0 1.05rem;
    border-bottom: 0;
    border-left: 1px solid rgba(49, 66, 57, 0.12);
  }

  .home-pillars li:first-child {
    border-left: 0;
    padding-left: 0;
  }

  .home-pillars__txt {
    padding-left: 0;
    border-left: 0;
    font-size: 0.84rem;
  }

  .home-intro__quote {
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    align-items: end;
    column-gap: 1.6rem;
    row-gap: 0;
    margin-top: 1.45rem;
    padding: 1.15rem 0 0;
    border-top: 1px solid rgba(49, 66, 57, 0.1);
  }

  .home-intro__quote p:first-child {
    grid-column: 1;
    grid-row: 1 / 3;
    max-width: 42rem;
  }

  .home-intro__quotemark {
    display: inline;
    margin-right: 0.4rem;
    font-size: 2.35rem;
    color: #7d9688;
    vertical-align: -0.28em;
  }

  .home-intro__script {
    grid-column: 2;
    grid-row: 1;
    color: var(--bronze) !important;
    white-space: nowrap;
    font-size: 1.85rem !important;
  }

  .home-intro__heart {
    grid-column: 2;
    grid-row: 2;
    color: var(--bronze);
    text-align: right;
    margin-top: 0.15rem;
  }
}

@media (min-width: 980px) and (max-width: 1179px) {
  .home-intro__panel {
    grid-template-columns: 1fr 1fr;
  }

  .home-intro__pie {
    grid-column: 2;
    grid-row: 1;
  }

  .home-pillars {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 1.2rem;
  }

  .home-intro__quote {
    grid-row: 3;
  }
}

.home-ruota-block {
  padding-top: 2.2rem;
}

@media (min-width: 880px) {
  .home-ruota-block {
    text-align: center;
  }

  .home-ruota-block .section-lead,
  .home-ruota-block .wheel-equilibrio {
    margin-inline: auto;
  }

  .home-ruota-block .wheel-card {
    text-align: left;
  }
}

.wheel-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
  width: 100%;
  min-width: 0;
}

.wheel-showcase .section-lead {
  order: 0;
  margin-bottom: 0;
}

.wheel-showcase .wheel-wrap--hero {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  order: 1;
}

.wheel-showcase .wheel-svg,
.home-ruota-block .wheel-wrap--hero .wheel-svg {
  max-width: 100%;
  width: 100%;
}

.wheel-showcase [data-story-dates],
.wheel-showcase .wheel-dates {
  order: 2;
  width: 100%;
}

.wheel-showcase .wheel-demo-explain {
  width: 100%;
  max-width: 36rem;
  margin-top: 0;
  order: 3;
}

.wheel-showcase__notes {
  display: grid;
  gap: 0.75rem;
  width: 100%;
  order: 4;
}

.wheel-card {
  background: rgba(255, 253, 249, 0.88);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.05rem 1.15rem 1.1rem;
  box-shadow: var(--shadow-soft);
  text-align: left;
}

.wheel-showcase__notes .wheel-card p {
  font-size: 0.95rem;
  margin: 0;
}

.wheel-card p:last-child {
  margin-bottom: 0;
}

.wheel-card--cta {
  width: 100%;
  max-width: 28rem;
  text-align: center;
  order: 5;
}

.wheel-card--cta .btn {
  margin-top: 0.45rem;
  width: 100%;
}

.wheel-create__title {
  text-align: center;
  font-size: clamp(1.6rem, 3.2vw, 2.15rem);
  margin: 0.15rem 0 0.45rem;
}

.wheel-evolv {
  text-align: center;
  padding: 0.35rem 0 0.6rem;
}

.wheel-evolv .wheel-wrap {
  padding: 0.4rem 1.25rem 0.75rem;
  box-sizing: border-box;
}

.wheel-evolv__spans {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.75rem 0 0.5rem;
}

.wheel-evolv__cap {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0.35rem 0 0.5rem;
  color: var(--forest);
}

.wheel-evolv__nav {
  justify-content: center;
  margin-top: 0.85rem;
}

.wheel-evolv__note {
  max-width: 36rem;
  margin: 1rem auto 0;
  text-align: left;
}

.wheel-today {
  background: rgba(255, 253, 249, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.1rem 1.3rem;
}

.wheel-today__row {
  margin-bottom: 1rem;
}

.wheel-today__row .wheel-picks__q {
  display: none;
}

.wheel-today__row strong {
  display: block;
  margin-bottom: 0.35rem;
}

.wheel-today__row .wheel-picks__row {
  justify-content: flex-start;
}

.wheel-picks {
  max-width: 36rem;
  margin: 0 auto;
  text-align: center;
}

.wheel-picks__q {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  color: var(--ink-muted);
}

.wheel-picks__row {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 0.28rem;
}

.wheel-pick {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fffdfb;
  color: var(--ink);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.wheel-pick:hover,
.wheel-pick:focus-visible {
  border-color: var(--terracotta);
  outline: none;
}

.wheel-pick.is-on {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: #fffdfb;
  transform: scale(1.08);
}

.wheel-picks__ends {
  display: flex;
  justify-content: space-between;
  margin-top: 0.4rem;
  font-size: 0.82rem;
  color: var(--ink-muted);
}

@media (max-width: 719px) {
  .wheel-showcase {
    gap: 0.95rem;
  }

  .wheel-showcase__notes .wheel-card {
    padding: 0.85rem 1rem 0.9rem;
  }
}

@media (min-width: 720px) {
  .wheel-showcase__notes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem 1rem;
    align-items: stretch;
    order: 4;
  }

  .wheel-card--cta {
    order: 5;
  }

  .wheel-showcase__notes .wheel-card {
    padding: 1.05rem 1.15rem 1.15rem;
  }
}

@media (min-width: 960px) {
  .wheel-card--cta {
    max-width: 26rem;
  }

  .home-ruota-block .wheel-svg .wheel-label,
  .wheel-showcase .wheel-svg .wheel-label {
    font-size: 16px;
  }
}

.home-reset-hint {
  font-size: 0.92rem;
  color: var(--ink-muted);
  max-width: 34rem;
}

.home-reset-btn {
  background: none;
  border: none;
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
  font: inherit;
  padding: 0;
  text-align: left;
}

.home-reset-btn:hover {
  color: var(--forest);
}

.gestisci-reset-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.1rem 1.2rem;
}

.gestisci-reset-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}

.gestisci-reset-card p {
  margin: 0 0 0.85rem;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.btn-row--center {
  justify-content: center;
}

.wheel-wrap--hero {
  width: 100%;
  max-width: min(100%, 44rem);
  margin-inline: auto;
}

.home-ruota-block .wheel-wrap--hero {
  max-width: 100%;
  min-width: 0;
}

.wheel-wrap--create {
  width: 100%;
  max-width: min(100%, 560px);
  margin: 0.5rem auto 1rem;
}

.wheel-create__instruction {
  text-align: center;
  max-width: 28rem;
  margin: 0 auto 0.75rem;
  font-size: 0.95rem;
}

.wheel-create__prompt {
  max-width: 32rem;
  margin: 0.5rem auto 0.75rem;
  text-align: center;
}

.wheel-create__prompt h2 {
  margin: 0 0 0.35rem;
}

.wheel-create__prompt--empty {
  min-height: 3.5rem;
  display: grid;
  place-items: center;
}

.wheel-create__slider {
  max-width: 28rem;
  margin: 0 auto;
  min-height: 4.5rem;
}

.wheel-create__slider-hint {
  text-align: center;
  margin: 0.5rem 0;
}

.wheel-create__nav {
  justify-content: center;
  flex-wrap: wrap;
}

.wheel-create__nav .btn:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.wheel-slider {
  margin-top: 0.25rem;
}

.wheel-slider__labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--ink-muted);
  margin-bottom: 0.35rem;
}

.wheel-slider__value {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  color: var(--forest);
  font-weight: 600;
  min-width: 5.5rem;
}

.wheel-slider__word {
  font-size: 1rem;
  text-transform: lowercase;
  font-variant: small-caps;
  letter-spacing: 0.03em;
}

.wheel-slider__num {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
}

.range--wheel {
  width: 100%;
  height: 2.75rem;
  accent-color: var(--terracotta);
  cursor: pointer;
}

.range--wheel::-webkit-slider-thumb {
  width: 1.65rem;
  height: 1.65rem;
}

.range--wheel::-moz-range-thumb {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  border: none;
  background: var(--terracotta);
}

.home-hero--first .wheel-svg {
  max-width: 100%;
  width: 100%;
}

@media (min-width: 880px) {
  .home-hero--first .wheel-wrap--hero {
    max-width: 640px;
  }

  .wheel-wrap--create {
    max-width: 520px;
  }

  .wheel-svg .wheel-label {
    font-size: 14px;
  }

  .wheel-svg .wheel-center {
    font-size: 13px;
  }

  .home-hero__wheel {
    justify-self: end;
  }
}

@media (max-width: 879px) {
  .home-hero__wheel {
    margin-top: 1.4rem;
  }

  .home-hero--first .wheel-wrap--hero {
    max-width: min(100%, 520px);
  }

  .wheel-wrap--create {
    max-width: min(100%, 420px);
  }
}

@media (max-width: 480px) {
  .home-hero--first .wheel-wrap--hero {
    max-width: min(100%, 100%);
  }

  .wheel-picks__row {
    gap: 0.18rem;
  }

  .wheel-pick {
    width: 1.85rem;
    height: 1.85rem;
    font-size: 0.75rem;
  }

  .wheel-svg .wheel-hint {
    display: none;
  }

  .wheel-wrap--create {
    max-width: min(100%, 360px);
  }

  .wheel-svg .wheel-label {
    font-size: 12px;
  }

  .range--wheel {
    height: 3rem;
  }

  .range--wheel::-webkit-slider-thumb {
    width: 1.85rem;
    height: 1.85rem;
  }
}

.oggi-block + .oggi-block {
  margin-top: 2.6rem;
}

body[data-page="oggi"] .oggi-block .section-title {
  margin-bottom: 0.75rem;
}

body[data-page="oggi"] .oggi-block .quote-card + .grid {
  margin-top: 1.35rem;
}

.patto-strip {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.25rem;
}

.patto-strip .section-title {
  margin-bottom: 0.4rem;
}

.plus-whisper {
  font-size: 0.92rem;
  color: var(--ink-muted);
  text-align: center;
  padding: 0.4rem 0 0.2rem;
}

.plus-whisper a {
  color: inherit;
}

.ruota-home-card {
  background: var(--paper);
}

.wheel-nav--home {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.1rem 1.25rem;
}

.wheel-layout {
  align-items: start;
  gap: 1.25rem;
}

.wheel-wrap--sm {
  max-width: 280px;
  margin-inline: auto;
}

.wheel-svg {
  max-width: 640px;
  display: block;
  margin: 0 auto;
}

.wheel-svg--compact {
  max-width: 320px;
}

.wheel-svg .wheel-label {
  font-family: var(--font-body, "Outfit", sans-serif);
  font-size: 13px;
  fill: #314239;
  font-weight: 600;
}

.wheel-svg--full .wheel-label {
  font-size: 14px;
}

.wheel-svg .wheel-label.is-selected {
  fill: #c56a4a;
  font-weight: 700;
}

.wheel-svg .wheel-label.is-done {
  font-weight: 600;
}

.wheel-svg .wheel-score {
  font-size: 0.92em;
  font-weight: 700;
  fill: #c56a4a;
}

.wheel-svg .wheel-hint {
  font-size: 0.72em;
  font-weight: 500;
  fill: #7d9688;
  letter-spacing: 0.02em;
}

.wheel-svg .wheel-idx {
  font-family: var(--font-body, "Outfit", sans-serif);
  font-size: 9px;
  font-weight: 700;
  fill: #fffdfb;
  pointer-events: none;
}

.wheel-svg .wheel-ring-n {
  font-family: var(--font-body, "Outfit", sans-serif);
  font-size: 9px;
  fill: rgba(49, 66, 57, 0.4);
}

.wheel-svg .wheel-label__check {
  fill: #c56a4a;
  font-size: 0.85em;
}

.wheel-svg .wheel-center {
  font-family: var(--font-body, "Outfit", sans-serif);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  fill: #314239;
}

.wheel-svg--full .wheel-center {
  font-size: 8.5px;
  letter-spacing: 0.08em;
}

.wheel-svg .wheel-poly {
  transition: opacity 0.35s ease;
}

.wheel-svg .wheel-poly.is-morphing {
  animation: wheelPolyPulse 0.42s ease;
}

@keyframes wheelPolyPulse {
  0% {
    opacity: 0.72;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.92;
  }
}

.wheel-svg .wheel-dot {
  transition: r 0.25s ease;
}

.wheel-svg--interactive .wheel-slice {
  fill: rgba(197, 106, 74, 0);
  stroke: none;
  cursor: pointer;
  pointer-events: fill;
}

.wheel-svg--interactive .wheel-area.is-interactive {
  cursor: pointer;
}

.wheel-svg--interactive .wheel-slice:hover,
.wheel-svg--interactive .wheel-area:hover .wheel-slice {
  fill: rgba(197, 106, 74, 0.08);
}

.wheel-svg--interactive .wheel-slice.is-selected {
  fill: rgba(197, 106, 74, 0.14);
}

.wheel-svg--interactive .wheel-slice.is-done:not(.is-selected) {
  fill: rgba(77, 139, 122, 0.06);
}

.wheel-svg--interactive .wheel-slice.is-active:not(.is-selected) {
  fill: rgba(197, 106, 74, 0.1);
}

.field--wheel {
  margin-bottom: 1rem;
}

.field--wheel .field-wheel-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-weight: 600;
  gap: 0.5rem;
}

.field--wheel .field-wheel-label em {
  font-style: normal;
  color: var(--terracotta);
  font-variant-numeric: tabular-nums;
}

.field--wheel .field-wheel-prompt {
  display: block;
  font-size: 0.88rem;
  color: var(--ink-muted);
  margin: 0.2rem 0 0.45rem;
  line-height: 1.35;
}

.range {
  width: 100%;
  height: 2rem;
  accent-color: var(--terracotta);
  cursor: pointer;
}

.range:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 3px;
}

.wheel-focus-pick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.75rem 0 1rem;
}

.wheel-focus-pick .choice {
  padding: 0.55rem 0.75rem;
  font-size: 0.92rem;
}

.wheel-air-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.5rem;
}

.wheel-air-row .btn {
  flex: 1 1 auto;
  min-width: 6.5rem;
  min-height: 2.75rem;
}

.wheel-quick-lead,
.wheel-care-q {
  margin: 0.6rem 0 0.35rem;
  font-size: 1.05rem;
}

.wheel-care-primary {
  margin-top: 0.75rem;
}

.wheel-care-more {
  margin-top: 1rem;
}

.wheel-delta {
  font-size: 0.95rem;
  color: var(--ink-muted);
  margin: 0.4rem 0 0.6rem;
}

.wheel-compare li {
  margin-bottom: 0.35rem;
}

@media (max-width: 640px) {
  .wheel-layout.split {
    display: block;
  }
  .wheel-svg {
    max-width: 100%;
  }
  .wheel-nav--home {
    padding: 1rem 0.85rem 1.1rem;
  }
}

#home-static .list-plain {
  list-style: disc;
  padding-left: 1.2rem;
  margin: 0.6rem 0 0.8rem;
}

#home-static .list-plain li {
  margin-bottom: 0.35rem;
}

.quote-card {
  background: var(--forest);
  color: #eef3f0;
  border-radius: var(--radius-xl);
  padding: 1.65rem 1.6rem 1.7rem;
}

@media (min-width: 880px) {
  .quote-card {
    padding: 2.1rem 2.4rem 2.15rem;
  }
}

.quote-card h2,
.quote-card h3,
.quote-card p {
  color: inherit;
}

.quote-card .kicker {
  color: #e2c9a4;
}

.onboard-progress {
  height: 4px;
  background: var(--sand);
  border-radius: 99px;
  overflow: hidden;
  margin: 0.8rem 0 1.2rem;
}

.onboard-progress span {
  display: block;
  height: 100%;
  background: var(--terracotta);
  width: 20%;
}

.profile-learned li {
  background: var(--paper);
  border-radius: var(--radius-md);
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  margin-bottom: 0.5rem;
}

.path-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.path-step__n {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--terracotta);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 600;
}

.recipe-layout {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 960px) {
  .recipe-layout {
    grid-template-columns: 1.35fr 0.75fr;
    align-items: start;
  }
}

/* Articoli: colonna di lettura centrata, senza sidebar che stringe hero e testo */
.article-layout,
.article-page {
  display: block;
  padding-bottom: var(--space-xl);
}

.article-page__inner {
  width: min(100%, 44rem);
  margin-inline: auto;
}

.article-page .breadcrumb {
  margin-top: 1.15rem;
  margin-bottom: 0.55rem;
}

.article-page__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.55rem;
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  color: var(--ink-muted);
}

.article-page__meta .tag {
  letter-spacing: 0.04em;
}

.article-page__readtime {
  margin-left: auto;
  white-space: nowrap;
}

.article-page h1 {
  font-size: clamp(1.85rem, 4.2vw, 2.55rem);
  margin: 0 0 0.65rem;
}

.article-byline {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
}

.article-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 1rem;
  margin: 0 0 1.35rem;
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.article-toolbar .btn {
  flex: 0 0 auto;
}

.article-toolbar a {
  font-size: 0.9rem;
  color: var(--forest-soft);
  text-underline-offset: 0.2em;
}

.article-toolbar a:hover {
  color: var(--terracotta-deep);
}

.article-page .lede {
  margin: 0 0 1.25rem;
  font-size: 1.12rem;
  line-height: 1.55;
}

.article-page .hero-photo {
  margin: 0 0 1.6rem;
}

.article-page .prose {
  max-width: none;
}

.side-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: 1rem;
}

.article-notes,
.article-react,
.article-next {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.15rem;
}

.article-notes .field,
.article-notes .btn {
  margin-top: 0.65rem;
}

.microcopy {
  font-size: 0.86rem;
  margin-top: 0.7rem;
}

.article-next__list {
  list-style: none;
  margin: 0.8rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.article-next__list a {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
  padding: 0.75rem 0.8rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--cream);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.article-next__list a:hover {
  border-color: var(--forest);
  background: #fff;
}

.article-next__icon {
  flex: 0 0 auto;
  line-height: 1.4;
}

.article-react .feedback-bar {
  margin-top: 0.6rem;
}

.ingredients {
  margin: 0;
  padding-left: 1.1rem;
  list-style: disc;
}

.ingredients li {
  margin: 0.35rem 0;
}

.disclaimer {
  font-size: 0.85rem;
  color: var(--ink-muted);
  border-left: 3px solid var(--sand);
  padding-left: 0.8rem;
}

.manifesto-list {
  display: grid;
  gap: 0.75rem;
}

.manifesto-list li {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  font-size: 1.05rem;
}

.irene-portrait {
  width: min(100%, 22rem);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50% 50% 42% 50%;
  border: 8px solid var(--paper);
  box-shadow: var(--shadow-lift);
  background: var(--cream-deep);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1rem 0 1.2rem;
}

.search {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: var(--radius-pill);
  padding: 0.75rem 1rem;
  min-height: 2.9rem;
  margin-bottom: 0.6rem;
}

.routine-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.9rem;
  margin-bottom: 0.5rem;
}

.routine-item.is-on {
  border-color: var(--sage);
  background: #f3f7f4;
}

.time-pill {
  display: inline-flex;
  gap: 0.5rem;
}

.notice-legal {
  font-size: 0.88rem;
  color: var(--ink-muted);
}

.related {
  margin-top: 2rem;
}

.wheel-legend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 1rem;
  font-size: 0.88rem;
  margin-top: 0.8rem;
}

.community-box textarea {
  width: 100%;
}

/* Navigatore Fase 1 */
.wheel-demo-sub {
  text-align: center;
  font-style: italic;
  margin-top: 0.35rem;
}

.wheel-dates {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  text-align: center;
}

.wheel-dates__badge {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.wheel-showcase.is-personal .wheel-dates__badge {
  color: var(--forest);
}

.wheel-dates__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
}

.wheel-date-chip {
  border: 1px solid var(--line);
  background: #fffdfb;
  border-radius: var(--radius-pill);
  padding: 0.38rem 0.85rem;
  font: inherit;
  font-size: 0.88rem;
  min-height: 2.3rem;
  color: var(--ink);
  cursor: pointer;
}

.wheel-date-chip:hover,
.wheel-date-chip:focus-visible {
  border-color: var(--terracotta);
  outline: none;
}

.wheel-date-chip.is-on {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: #fffdfb;
}

.wheel-dates__hint {
  margin: 0;
  max-width: 28rem;
  font-size: 0.82rem;
}

.wheel-demo-explain {
  background: rgba(255, 253, 249, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.25rem 1.2rem;
  margin-top: 0.75rem;
  box-shadow: var(--shadow-soft);
  text-align: left;
}

.wheel-demo-explain h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
}

.wheel-demo-explain p {
  margin: 0;
}

.wheel-svg .wheel-prev {
  pointer-events: none;
}

.wheel-equilibrio {
  text-align: center;
  margin-top: 0.75rem;
  max-width: 36rem;
  margin-inline: auto;
}

@media (prefers-reduced-motion: reduce) {
  .wheel-svg .wheel-poly.is-morphing {
    animation: none;
  }
  .wheel-svg .wheel-poly,
  .wheel-svg .wheel-dot,
  .wheel-svg--interactive .wheel-slice {
    transition: none;
  }
}

.scale-circles {
  margin: 1rem 0;
}

.scale-circles__label {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.scale-circles__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: center;
}

.scale-dot {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: var(--paper);
  cursor: pointer;
  position: relative;
  padding: 0;
}

.scale-dot.is-on {
  border-color: var(--terracotta);
  background: rgba(197, 106, 74, 0.2);
}

.scale-dot__edge {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.65rem;
  color: var(--ink-muted);
  white-space: nowrap;
  margin-top: 0.2rem;
  font-weight: 400;
}

.area-pick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.area-pick .choice--wide {
  flex: 1 1 100%;
  text-align: center;
}

.mode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: 0.65rem;
  margin-top: 1rem;
}

.mode-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  cursor: pointer;
  text-align: left;
  min-height: 5rem;
}

.mode-card:hover,
.mode-card:focus-visible {
  border-color: var(--terracotta);
}

.mode-card__label {
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
}

.nav-breadcrumb {
  font-size: 0.88rem;
  color: var(--ink-muted);
  margin-bottom: 0.75rem;
}

.nav-breadcrumb a {
  color: inherit;
}

.path-chip-wrap {
  padding: 0.5rem 0 0;
}

.path-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border-radius: 99px;
  background: var(--forest);
  color: #eef3f0;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
}

.path-chip:hover {
  background: var(--forest-deep);
  color: #fff;
}

.wheel-complete--animate .wheel-wrap {
  animation: wheelFadeIn 0.6s ease;
}

@keyframes wheelFadeIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.appunti-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.appunto-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  margin-bottom: 0.5rem;
}

.appunto-item p {
  margin: 0.35rem 0 0.5rem;
}

.data-categories li {
  margin-bottom: 0.5rem;
}

.exp-card {
  margin-bottom: 0.65rem;
  cursor: pointer;
}

.wheel-nudge {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
}

.nav-gate h2 {
  margin-bottom: 0.5rem;
}

@media (max-width: 640px) {
  .scale-dot {
    width: 1.75rem;
    height: 1.75rem;
  }
  .mode-grid {
    grid-template-columns: 1fr;
  }
}
