/* Page Cloud — identité Mini Agentic.
   Même champ mat, même accent orange, même rayon 4 px.
   Une seule lueur, derrière le hero. Lecture d'abord. */

.page-cloud {
  --ink-dim: rgba(236, 234, 228, 0.78);
  --cloud-rail-h: 44px;
  scroll-padding-top: calc(var(--nav-h) + var(--cloud-rail-h) + 12px);
}

/* Skip : toujours hors écran sauf focus clavier (filet si cache CSS ancien). */
.page-cloud > .skip:not(:focus):not(:focus-visible) {
  position: fixed !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
  transform: none !important;
}

.page-cloud main {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--nav-h) + var(--cloud-rail-h));
  counter-reset: cloud-sec 0;
}

.page-cloud .site-footer { z-index: 1; }

.page-cloud .nav { position: fixed; }

.page-cloud .nav__link[aria-current="page"] {
  color: var(--ink);
}

.page-cloud .nav__link[aria-current="page"]::after {
  transform: scaleX(1);
}

/* ---------- Rail de sections ---------- */
.cloud-rail {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  z-index: 90;
  height: var(--cloud-rail-h);
  border-bottom: 1px solid var(--line);
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.cloud-rail__inner {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.cloud-rail__inner::-webkit-scrollbar { display: none; }

.cloud-rail a {
  flex: 0 0 auto;
  padding: 8px 12px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(236, 234, 228, 0.62);
  border-radius: var(--radius-sm);
  transition: color 0.2s var(--ease-out), background 0.2s var(--ease-out);
}

.cloud-rail a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
}

.cloud-rail a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.page-cloud .home-section {
  padding: 88px 0;
  border-top: 1px solid transparent;
  counter-increment: cloud-sec;
  scroll-margin-top: calc(var(--nav-h) + var(--cloud-rail-h) + 12px);
}

.page-cloud .home-section + .home-section {
  border-top-color: var(--line);
}

.page-cloud .home-section h2 {
  max-width: 18em;
}

.page-cloud .home-section h3 {
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  margin: 1.4rem 0 0.45rem;
}

.page-cloud .home-section__head .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.page-cloud .home-section__head .eyebrow::before {
  content: counter(cloud-sec, decimal-leading-zero);
  color: var(--accent);
  letter-spacing: 0.12em;
}

/* ---------- Hero ---------- */
.cloud-hero {
  position: relative;
  padding: 40px 0 48px;
  border-top: 0 !important;
  counter-increment: none;
  scroll-margin-top: calc(var(--nav-h) + var(--cloud-rail-h) + 12px);
}

.cloud-hero::before {
  content: "";
  position: absolute;
  inset: -10% 0 auto;
  height: 560px;
  background:
    radial-gradient(ellipse 50% 65% at 72% 18%, rgba(255, 107, 26, 0.16), transparent 68%),
    radial-gradient(ellipse 35% 40% at 12% 60%, rgba(255, 107, 26, 0.05), transparent 70%);
  pointer-events: none;
}

.cloud-hero .wrap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 48px;
  align-items: center;
}

.cloud-hero__copy { min-width: 0; }

.cloud-hero .crumbs {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: rgba(236, 234, 228, 0.55);
}

.cloud-hero .crumbs a {
  color: rgba(236, 234, 228, 0.72);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cloud-hero .crumbs a:hover { color: var(--accent); }

.cloud-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.35rem, 5vw, 4.15rem);
  max-width: 16ch;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.cloud-hero .lede {
  margin-top: 18px;
  max-width: 36rem;
  font-size: 1.08rem;
}

.cloud-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.cloud-hero__cta .btn { min-height: 48px; }

.cloud-hero .reassure {
  margin-top: 20px;
  gap: 10px 18px;
}

.cloud-hero .reassure li {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: rgba(236, 234, 228, 0.72);
}

.cloud-hero__panel {
  min-width: 0;
}

.cloud-hero__panel .term {
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

.cloud-hero__panel .term__body {
  min-height: 0;
  max-height: none;
  padding: 22px 20px 24px;
  font-family: var(--font-body);
  white-space: normal;
}

.cloud-hero__panel .home-line + .home-line { margin-top: 14px; }

.cloud-hero__panel .home-line--result span {
  color: var(--accent);
}

/* ---------- Cartes facteur / tips ---------- */
.cloud-gap { margin-top: 22px; }

.factor-grid,
.limit-grid,
.pick-grid,
.example-list {
  display: grid;
  gap: 16px;
}

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

.factor-grid article {
  grid-column: span 2;
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 42%),
    var(--bg-panel);
  padding: 22px 20px 24px;
  transition: border-color 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

.factor-grid article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 2px;
  background: rgba(255, 107, 26, 0.35);
  border-radius: 1px;
}

.factor-grid article:nth-child(4),
.factor-grid article:nth-child(5) {
  grid-column: span 3;
}

.factor-grid article:hover {
  border-color: var(--line-strong);
}

.factor-grid article:hover::before {
  background: var(--accent);
}

.factor-grid .steps__n {
  display: block;
  margin-bottom: 12px;
}

.factor-grid h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.factor-grid p {
  margin: 0;
  color: rgba(236, 234, 228, 0.78);
}

/* ---------- Formules / plafonds ---------- */
.limit-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 22px;
}

.limit-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-panel);
  padding: 22px 20px 20px;
  transition: border-color 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

.limit-card.is-featured {
  border-color: rgba(255, 107, 26, 0.55);
  background:
    linear-gradient(180deg, rgba(255, 107, 26, 0.1), transparent 38%),
    var(--bg-panel);
}

.limit-card:hover { border-color: var(--line-strong); }

.limit-card .kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.limit-card h3 {
  margin: 0 0 6px;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.limit-card__price {
  color: rgba(236, 234, 228, 0.86);
  margin: 0 0 14px;
  font-variant-numeric: tabular-nums;
}

.limit-card__price strong {
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 650;
  letter-spacing: -0.03em;
}

.limit-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}

.limit-card li {
  position: relative;
  padding-left: 14px;
  color: rgba(236, 234, 228, 0.78);
  font-size: 0.95rem;
}

.limit-card li + li { margin-top: 8px; }

.limit-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  background: var(--accent);
}

.cloud-note {
  margin-top: 16px;
  font-size: 0.95rem;
  max-width: 46rem;
  color: rgba(236, 234, 228, 0.78);
}

.cloud-note a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Calculateur ---------- */
#estimer {
  /* Empêche le panneau sticky de chevaucher les sections suivantes. */
  overflow: clip;
}

.estimate-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 28px;
  align-items: start;
}

.estimate-form {
  display: grid;
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 36%),
    var(--bg-panel);
  padding: 24px 22px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
}

.estimate-form .cloud-set + .cloud-set,
.estimate-form .field {
  padding-top: 4px;
}

.cloud-set {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.cloud-set legend,
.estimate-form .field label {
  display: block;
  float: none;
  width: 100%;
  max-width: 100%;
  margin: 0 0 8px;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.cloud-set__options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.choice {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 11px 13px;
  margin: 0;
  background: rgba(255, 255, 255, 0.02);
  text-align: left;
  transition: border-color 0.25s var(--ease-out), background 0.25s, transform 0.25s var(--ease-out);
}

.choice:hover {
  border-color: var(--line-strong);
  background: var(--surface-hover);
}

.choice:has(input:checked),
.choice--button[aria-pressed="true"] {
  border-color: rgba(255, 107, 26, 0.7);
  background: var(--accent-soft);
}

.choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.choice:has(input:focus-visible),
.choice--button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.choice__label {
  letter-spacing: -0.01em;
}

.choice__hint {
  color: rgba(236, 234, 228, 0.55);
  font-size: 0.82rem;
}

.choice--button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.cloud-select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #0a0a0a;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.cloud-select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.estimate-result {
  position: static;
}

.estimate-result .term {
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.estimate-result .term__body,
.estimate-readout {
  min-height: 0;
  max-height: none;
  overflow: visible;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  padding: 22px 20px 24px;
  white-space: normal;
}

.estimate-kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.estimate-figure {
  margin: 10px 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.05;
  color: var(--ink);
}

.estimate-readout .home-line {
  margin: 0 0 12px;
}

.estimate-readout .estimate-figure {
  margin: 4px 0 14px;
}

.estimate-why,
.share-list,
.estimate-warn {
  color: rgba(236, 234, 228, 0.78);
}

.share-list,
.estimate-warn {
  margin: 12px 0 0;
  padding-left: 1.1rem;
}

.estimate-warn {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  color: rgba(236, 234, 228, 0.72);
}

.cloud-fold {
  margin-top: 14px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.cloud-fold > summary,
.sheet > summary {
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: rgba(236, 234, 228, 0.86);
  list-style: none;
}

.cloud-fold > summary::-webkit-details-marker,
.sheet > summary::-webkit-details-marker { display: none; }

.cloud-fold > summary::before,
.sheet > summary .sheet-summary__name::before {
  content: "› ";
  color: var(--accent);
}

.cloud-fold[open] > summary::before { content: "⌄ "; }

.cloud-fold p {
  margin-top: 10px;
  color: rgba(236, 234, 228, 0.78);
}

/* ---------- Tableau ---------- */
.cmp-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-panel);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.cmp-wrap + .cloud-note,
#catalogApp > .cloud-note {
  margin-top: 14px;
}

.cmp {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

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

.cmp tr:last-child td { border-bottom: 0; }

.cmp thead {
  background: var(--bg);
}

.cmp th {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--bg);
}

.cmp a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cmp a:hover { color: var(--accent); }

.cmp-id {
  display: block;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: rgba(236, 234, 228, 0.45);
}

.cmp-cost { white-space: nowrap; color: var(--ink); }

/* ---------- Fiches ---------- */
.sheet {
  margin-top: 12px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-panel);
  overflow: hidden;
  transition: border-color 0.25s var(--ease-out);
}

.sheet:hover,
.sheet[open] {
  border-color: var(--line-strong);
}

.sheet > summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
  padding: 16px 18px;
  background: var(--bg);
  border-bottom: 1px solid transparent;
}

.sheet[open] > summary { border-bottom-color: var(--line); }

.sheet-summary__name {
  font-size: 1.08rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.sheet-summary__meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}

.sheet__body { padding: 4px 18px 20px; }

.sheet__body h3 {
  margin-top: 1.35rem;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.sheet__body h3:first-of-type { margin-top: 1rem; }

.sheet p,
.sheet li {
  color: rgba(236, 234, 228, 0.78);
}

.sheet ul {
  margin: 8px 0 0;
  padding-left: 1.1rem;
}

.sheet-quote {
  margin: 10px 0;
  padding: 12px 14px;
  border-left: 2px solid var(--accent);
  background: rgba(255, 107, 26, 0.06);
  color: var(--ink);
  letter-spacing: -0.01em;
}

.sheet-sources {
  margin-top: 12px;
  font-size: 0.82rem;
  overflow-wrap: anywhere;
  color: rgba(236, 234, 228, 0.62);
}

.sheet-sources a {
  color: rgba(236, 234, 228, 0.86);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 12px 0 4px;
}

.badges li {
  border: 1px solid rgba(255, 107, 26, 0.35);
  border-radius: var(--radius-sm);
  padding: 4px 8px;
  background: var(--accent-soft);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

/* ---------- Sélecteur / guides ---------- */
.chooser {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.chooser .choice {
  min-height: 44px;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

.chooser-panel {
  margin-top: 18px;
  border: 1px solid rgba(255, 107, 26, 0.45);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 107, 26, 0.1), transparent 40%),
    var(--bg-panel);
  padding: 22px 20px 20px;
}

.chooser-panel__title {
  margin: 0 0 8px;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.pick-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 16px;
}

.pick {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(10, 10, 10, 0.45);
  padding: 18px 16px 16px;
  transition: border-color 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

.pick:hover { border-color: var(--line-strong); }

.pick--recommended {
  border-color: rgba(255, 107, 26, 0.55);
  background:
    linear-gradient(180deg, rgba(255, 107, 26, 0.12), transparent 42%),
    rgba(10, 10, 10, 0.35);
}

.pick__role {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}

.pick h4 {
  margin: 8px 0 8px;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.pick h4 a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pick h4 a:hover { color: var(--accent); }

.pick p { margin: 0; color: rgba(236, 234, 228, 0.78); }

.pick__meta {
  margin-top: 10px !important;
  font-size: 0.85rem;
  color: rgba(236, 234, 228, 0.62) !important;
}

.guide {
  margin-top: 36px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.guide.is-current {
  padding: 16px 18px 8px;
  border: 1px solid rgba(255, 107, 26, 0.35);
  border-radius: var(--radius);
  background: rgba(255, 107, 26, 0.04);
}

.guide h3 {
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.guide > p {
  color: rgba(236, 234, 228, 0.78);
  max-width: 40rem;
}

/* ---------- Exemples ---------- */
.example {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-panel);
  padding: 24px 22px 20px;
}

.example .eyebrow { margin-bottom: 8px; }

.example h3 {
  margin: 0;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  max-width: 28em;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.example > p {
  margin-top: 12px;
  color: rgba(236, 234, 228, 0.78);
  max-width: 44rem;
}

.example-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
  gap: 12px;
}

.example-row {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  padding: 14px 14px 12px;
  transition: border-color 0.25s var(--ease-out);
}

.example-row:hover { border-color: var(--line-strong); }

.example-row h4 {
  margin: 0;
  font-size: 0.98rem;
}

.example-row h4 a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.example-row__cost {
  margin-top: 6px;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.example-row__band {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.example-row.is-callout {
  border-color: rgba(255, 107, 26, 0.55);
  background:
    linear-gradient(180deg, rgba(255, 107, 26, 0.1), transparent 55%),
    rgba(255, 255, 255, 0.02);
}

/* ---------- Callout / CTA ---------- */
.cloud-callout {
  margin-top: 8px;
  border: 1px solid rgba(255, 107, 26, 0.35);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 32px);
  background:
    radial-gradient(ellipse 80% 80% at 100% 0%, rgba(255, 107, 26, 0.14), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 40%),
    var(--bg-panel);
}

.cloud-callout h3 {
  margin-top: 0;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  letter-spacing: -0.03em;
  max-width: 24em;
}

.cloud-callout p {
  margin-top: 12px;
  color: rgba(236, 234, 228, 0.78);
  max-width: 46rem;
}

.cloud-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.cloud-cta .btn { min-height: 48px; }

.page-cloud .faq article {
  background: var(--bg-panel);
  transition: border-color 0.25s var(--ease-out);
}

.page-cloud .faq article:hover {
  border-color: var(--line-strong);
}

.cloud-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .cloud-hero .wrap,
  .estimate-layout,
  .limit-grid,
  .pick-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cloud-hero .wrap { gap: 28px; }
  .cloud-hero__panel { grid-column: 1 / -1; }
  .estimate-result { position: static; }

  .factor-grid { grid-template-columns: 1fr 1fr; }
  .factor-grid article,
  .factor-grid article:nth-child(4),
  .factor-grid article:nth-child(5) {
    grid-column: span 1;
  }
}

@media (max-width: 720px) {
  .page-cloud {
    --cloud-rail-h: 40px;
  }

  .cloud-rail a {
    padding: 8px 10px;
    font-size: 0.68rem;
  }

  .cloud-hero { padding-top: 24px; }
  .cloud-hero h1 { max-width: none; }

  .cloud-hero .wrap,
  .factor-grid,
  .limit-grid,
  .pick-grid,
  .example-list,
  .estimate-layout {
    grid-template-columns: 1fr;
  }

  .factor-grid article,
  .factor-grid article:nth-child(4),
  .factor-grid article:nth-child(5) {
    grid-column: auto;
  }

  .estimate-form { padding: 18px 16px; }

  .cmp-wrap {
    overflow: visible;
    box-shadow: none;
  }

  .cmp thead { display: none; }

  .cmp,
  .cmp tbody,
  .cmp tr,
  .cmp td {
    display: block;
    width: 100%;
  }

  .cmp tr {
    border-bottom: 1px solid var(--line);
    padding: 10px 0 4px;
  }

  .cmp tr:last-child { border-bottom: 0; }

  .cmp td {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    border: 0;
    padding: 7px 14px;
  }

  .cmp td::before {
    content: attr(data-label);
    flex: 0 0 42%;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-mute);
  }

  .cmp-cost { white-space: normal; }
  .sheet > summary { flex-direction: column; gap: 4px; }
  .sheet-summary__meta { white-space: normal; }
  .guide.is-current { padding: 14px; }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .factor-grid article:hover,
  .limit-card:hover,
  .pick:hover,
  .example-row:hover {
    transform: translateY(-2px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-cloud .reveal,
  .choice,
  .cloud-select,
  .sheet,
  .factor-grid article,
  .limit-card,
  .pick,
  .example-row,
  .page-cloud .pulse-dot {
    transition: none;
    animation: none;
  }

  .factor-grid article,
  .limit-card,
  .pick,
  .example-row,
  .page-cloud .reveal {
    transform: none;
  }

  .cloud-rail {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(10, 10, 10, 0.96);
  }
}
