/* Cadmium 2.0: breathing room.
   Loaded after every other stylesheet. It only changes spacing, rhythm and a few v2 components
   (plan cards, enterprise row); colours and type stay as they were. */

:root {
  --v7-sec: clamp(96px, 11vw, 168px);      /* space above and below every section */
  --v7-head: clamp(40px, 5vw, 72px);       /* space between a section's heading and its content */
  --v7-pad: clamp(26px, 2.6vw, 40px);      /* inside cards */
  --v7-gap: clamp(18px, 2vw, 28px);        /* between cards */
}

/* sections: more air above and below, and a quiet divider so each one reads as its own chapter */
.h6-sec, main > section.section, main .section.v5-auto, .pg > .section { padding-block: var(--v7-sec) !important; }
.h6-hero { padding-bottom: clamp(72px, 8vw, 120px) !important; }
main > section + section { position: relative; }
main > section + section::before {
  content: ""; position: absolute; top: 0; left: 50%; translate: -50% 0; width: min(1120px, 88vw); height: 1px;
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / .08) 20%, rgb(255 255 255 / .08) 80%, transparent);
  pointer-events: none;
}
.h6-pilot::before, .pc-sec::before { display: none; }

/* section heads */
.h6-head, .v5-head { margin-bottom: var(--v7-head) !important; gap: 16px !important; }
.h6-head p, .v5-head p { max-width: 62ch; margin-inline: auto; line-height: 1.6; }
.v5-head p { margin-inline: 0; }
.h6-head h2, .v5-head h2 { text-wrap: balance; }

/* cards: more padding, more space between, calmer text */
.h6-step, .h6-tile, .cv-card, .v5-card, .pg-col, .pg-sec__box { padding: var(--v7-pad) !important; gap: 14px !important; }
.h6-steps, .h6-tiles, .cv-grid, .v5-cards, .pg-cols { gap: var(--v7-gap) !important; }
.h6-step p, .h6-tile p, .cv-card p, .v5-card p { line-height: 1.62 !important; }
.cv-card ul, .v5-card ul { display: grid; gap: 10px; margin-top: 6px; }
.h6-tile h3, .h6-step h3, .cv-card h3 { margin-bottom: 2px; }

/* long tick lists: one idea per line, with room between */
.pg-ticks { display: grid; gap: 12px !important; }
.pg-ticks li { line-height: 1.5 !important; }
.h6-list { display: grid; gap: 12px !important; padding: var(--v7-pad) !important; }

/* FAQs */
.faq__item { padding-block: 26px !important; gap: 10px !important; }
.faq__item p { line-height: 1.65 !important; }

/* tables: rows you can actually read */
.p6-table { padding: clamp(10px, 1.4vw, 20px) !important; }
.p6-table table { border-collapse: collapse; width: 100%; }
.p6-table th, .p6-table td { padding: 14px 16px !important; vertical-align: middle; }
.p6-table tbody tr { border-top: 1px solid rgb(255 255 255 / .07); }
.p6-table tbody tr:hover { background: rgb(255 255 255 / .025); }
.p6-table th { font-size: 15px; letter-spacing: .01em; }
.p6-table td:not(:first-child), .p6-table th:not(:first-child) { text-align: center; white-space: nowrap; }

/* ---- pricing v2: three clear plans + an Enterprise row ---- */
.p6-plans { gap: var(--v7-gap) !important; margin-top: clamp(40px, 5vw, 64px) !important; }
.p6-plans > .span-4 { grid-column: span 4; }
.p6 .pg-plan { padding: clamp(28px, 2.6vw, 38px) !important; gap: 14px !important; border-radius: 28px !important; }
.p6 .pg-plan__price { margin-top: 6px !important; }
.p6 .pg-plan__price b { font-size: clamp(40px, 4vw, 54px) !important; letter-spacing: -.02em; }
.p6 .pg-plan .pg-ticks { margin: 10px 0 18px !important; padding-top: 22px; border-top: 1px solid rgb(255 255 255 / .08); }
.p6 .pg-plan__cta { width: 100%; justify-content: center; min-height: 48px; }
.p6 .pg-plan.is-feat { transform: translateY(-10px); box-shadow: 0 30px 80px -30px rgb(245 184 65 / .35); }
.p6-tag { top: -13px !important; }
.p6-ent {
  display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap;
  margin-top: var(--v7-gap); padding: clamp(26px, 2.6vw, 36px) clamp(28px, 3vw, 44px); border-radius: 28px;
  border: 1px solid rgb(255 255 255 / .1); background: linear-gradient(120deg, rgb(255 255 255 / .05), rgb(255 255 255 / .015));
}
.p6-ent h2 { font-size: clamp(22px, 2vw, 28px); margin: 0 0 6px; }
.p6-ent p { margin: 0; max-width: 70ch; color: var(--muted); line-height: 1.6; }
@media (max-width: 1000px) { .p6-plans > .span-4 { grid-column: 1 / -1 !important; } .p6 .pg-plan.is-feat { transform: none; } }

/* footer and closing banner */
.footer { padding-top: clamp(80px, 9vw, 120px) !important; }
.close, .pg-close, [aria-labelledby="close-h"] { padding-block: clamp(88px, 10vw, 140px) !important; }

/* phones: still airy, never wasteful */
@media (max-width: 640px) {
  :root { --v7-sec: 76px; --v7-head: 36px; --v7-pad: 22px; --v7-gap: 16px; }
  .p6-table th, .p6-table td { padding: 12px 10px !important; }
}

/* book-a-demo form: the message box matches the other fields */
form.su textarea { width: 100%; min-height: 96px; padding: 12px 14px; border-radius: 12px; font: 400 15px/1.5 var(--font-text, inherit); color: inherit; resize: vertical; }
form.su textarea:focus { outline: none; border-color: #f5b841 !important; box-shadow: 0 0 0 3px rgb(245 184 65 / .22) !important; }
form.su { padding: clamp(26px, 3vw, 40px) !important; gap: 20px !important; }
form.su .su__grid { gap: 18px 18px !important; }
form.su .su__f input, form.su .su__f select { height: 50px !important; }
.su.is-sent .su__done { display: grid; }

/* phones: things that used to stick out sideways */
.cr-wrap, .rr { max-width: 100%; min-width: 0; }
.rr-tablewrap { overflow-x: auto; }
.lx-basics > *, .lx-basics__text, .lx-notes { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 640px) { .rr-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
