/* New homepage sections (Oct 2026 copy). Built on the existing style.css
   variables so they sit with the original design. */

.hero h1.h1-long { font-size: clamp(38px, 5.2vw, 66px); line-height: 1.08; }
.hero-sub2 { margin-top: 12px; }
.hero-btns .btn-outline-green { white-space: nowrap; }

/* section rhythm */
.hm { padding-top: 88px; scroll-margin-top: 20px; }
.hm h2 { font-size: clamp(28px, 3.2vw, 39.5px); text-align: center; color: var(--ink);
  letter-spacing: -.02em; line-height: 1.15; max-width: 900px; margin: 0 auto; }
.hm-sub, .hm-lead { text-align: center; font-size: 19px; color: #2c312e; margin: 14px auto 0;
  max-width: 820px; line-height: 1.55; }
.hm-note { text-align: center; font-size: 14px; color: var(--muted); margin: 26px auto 0; max-width: 820px; }
.hm-center { text-align: center; margin-top: 22px; }
.hm-center .btn { display: inline-flex; }
#dashboards { padding-bottom: 0; }

/* three questions */
.q-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.q-card, .s-card, .r-card, .p-card, .m-card, .w-item {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.q-card { padding: 26px; }
.q-ic, .fl-ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--green-soft); color: var(--green); }
.q-ic svg, .fl-ic svg { width: 26px; height: 26px; stroke-width: 1.8; }
.q-card h3 { font-size: 20px; margin-top: 16px; color: #121614; line-height: 1.3; }
.q-card p { margin-top: 8px; font-size: 15.5px; line-height: 1.55; color: #3a403c; }

/* seven steps */
.flow { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.flow li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px 22px; }
.flow .num { position: absolute; top: 18px; right: 18px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--green); color: #fff; font-weight: 700; font-size: 14px; display: grid; place-items: center; }
.flow h3 { font-size: 18px; margin-top: 16px; color: #121614; }
.flow p { margin-top: 8px; font-size: 15px; line-height: 1.55; color: #3a403c; }

/* modules */
.m-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 40px; }
.m-card { padding: 24px 20px; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.m-card:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(16, 40, 30, .1); }
.m-card h3 { margin-top: 16px; font-size: 19px; color: #121614; }
.m-card h4 { margin-top: 6px; font-size: 15px; color: var(--green); font-weight: 600; }
.m-card p { margin-top: 10px; font-size: 14.5px; line-height: 1.55; color: #2f3431; flex: 1; }
.m-card a, .s-card a, .r-card a { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px;
  font-size: 15.5px; font-weight: 600; color: var(--green); }
.m-card a svg, .s-card a svg, .r-card a svg { width: 18px; height: 18px; stroke-width: 2.4; }

/* solutions */
.s-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 40px; }
.s-card { padding: 28px; scroll-margin-top: 20px; }
.s-for { font-size: 14px; font-weight: 700; color: var(--green); text-transform: uppercase; letter-spacing: .04em; }
.s-card h3 { margin-top: 8px; font-size: 22px; color: #121614; line-height: 1.3; }
.s-card > p { margin-top: 10px; font-size: 15.5px; line-height: 1.6; color: #3a403c; }
.s-card ul { margin: 14px 0 0 0; padding-left: 0; list-style: none; }
.s-card li { position: relative; padding-left: 26px; margin-top: 8px; font-size: 15px; color: #2b302d; }
.s-card li::before { content: ""; position: absolute; left: 4px; top: 7px; width: 10px; height: 6px;
  border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.s-card .s-small { font-size: 13.5px; color: var(--muted); }

/* dashboards (the original mock-ups, with the new captions) */
.dash-copy { font-size: 15px; line-height: 1.55; color: #3a403c; margin: 0 0 14px; }
.dashboards { padding-top: 34px; }

/* AI */
.ai-box { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 40px; }
.ai-box h2 { text-align: left; margin: 10px 0 0; max-width: none; }
.ai-box p { margin-top: 14px; font-size: 16.5px; line-height: 1.6; color: #2c312e; }
.ai-box .btn { margin-top: 22px; display: inline-flex; }
.ai-steps { list-style: none; display: grid; gap: 12px; }
.ai-steps li { display: flex; gap: 14px; align-items: center; background: var(--green-soft);
  border-radius: 12px; padding: 14px 16px; font-size: 15.5px; }
.ai-steps svg { width: 24px; height: 24px; color: var(--green); flex: none; }

/* designed around */
.w-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 40px; }
.w-item { padding: 22px 18px; scroll-margin-top: 20px; }
.w-item > svg { width: 30px; height: 30px; color: var(--green); stroke-width: 1.8; }
.w-item h3 { margin-top: 12px; font-size: 17px; color: #121614; line-height: 1.3; }
.w-item p { margin-top: 8px; font-size: 14.5px; line-height: 1.55; color: #3a403c; }

/* pricing */
.p-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.p-card { padding: 30px 26px; display: flex; flex-direction: column; }
.p-card.p-mid { border: 2px solid var(--green); box-shadow: 0 10px 28px rgba(8, 116, 67, .12); }
.p-card h3 { font-size: 24px; color: #121614; }
.p-card p { margin-top: 10px; font-size: 15.5px; line-height: 1.6; color: #3a403c; flex: 1; }
.p-card .btn { margin-top: 20px; justify-content: center; }

/* resources */
.r-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.r-card { padding: 26px; }
.r-card > svg { width: 30px; height: 30px; color: var(--green); stroke-width: 1.8; }
.r-card h3 { margin-top: 12px; font-size: 19px; color: #121614; line-height: 1.3; }
.r-card p { margin-top: 8px; font-size: 15px; line-height: 1.55; color: #3a403c; }

/* FAQ */
.faq { max-width: 860px; margin: 34px auto 0; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-top: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 600; font-size: 17px;
  color: #121614; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--green); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 22px 18px; font-size: 15.5px; line-height: 1.6; color: #3a403c; }

/* demo request */
.demo-sec { margin-top: 90px; padding: 70px 0; background: #087443; color: #fff; scroll-margin-top: 0; }
.demo-inner { display: grid; grid-template-columns: 1fr 1.15fr; gap: 50px; align-items: start; }
.demo-text h2 { font-size: clamp(28px, 3.2vw, 38px); line-height: 1.15; color: #fff; }
.demo-text p { margin-top: 14px; font-size: 17px; line-height: 1.6; color: #e5f3ec; }
.demo-text .cta-points { margin-top: 22px; color: #fff; }
.demo-card { background: #fff; color: var(--text); border-radius: 16px; padding: 28px; box-shadow: 0 20px 50px rgba(0,0,0,.2); }
.demo-card label { display: block; font-size: 13.5px; font-weight: 600; color: #2b302d; margin-bottom: 14px; }
.demo-card label small { font-weight: 400; color: var(--muted); }
.demo-card input, .demo-card textarea { display: block; width: 100%; margin-top: 6px; border: 1px solid #d5ddd9;
  border-radius: 8px; padding: 11px 12px; font: inherit; font-size: 15px; color: var(--ink); background: #fff; }
.demo-card input:focus, .demo-card textarea:focus { outline: 2px solid var(--green-soft); border-color: var(--green); }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.f-note { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.f-note a { color: var(--green); text-decoration: underline; }
.f-err { color: #b42318; font-size: 14px; min-height: 20px; margin-top: 8px; }
.f-btn { width: 100%; justify-content: center; margin-top: 6px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.demo-ok { text-align: center; padding: 30px 10px; }
.demo-ok svg { width: 48px; height: 48px; color: var(--green); }
.demo-ok p { margin-top: 14px; font-size: 17px; line-height: 1.6; color: #2b302d; }

/* footer: six columns */
.foot-grid.foot-grid-6 { grid-template-columns: 1.6fr repeat(5, 1fr); }
.foot-col a { word-break: break-word; }

/* the walkthrough video */
.mq-video { position: fixed; inset: 0; z-index: 1000; display: none; place-items: center;
  background: rgba(10, 20, 16, .82); padding: 24px; }
.mq-video.open { display: grid; }
.mq-video .frame { position: relative; width: min(1100px, 100%); }
.mq-video video { width: 100%; aspect-ratio: 16 / 9; display: block; border-radius: 12px;
  background: #000; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.mq-video .close { position: absolute; top: -46px; right: 0; background: #fff; color: #11201a;
  border: 0; border-radius: 999px; width: 38px; height: 38px; font-size: 22px; line-height: 38px; cursor: pointer; }

@media (max-width: 1100px) {
  .m-grid, .w-grid { grid-template-columns: repeat(3, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .foot-grid.foot-grid-6 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .hm { padding-top: 64px; }
  .q-grid, .s-grid, .p-grid, .r-grid, .flow, .m-grid, .w-grid, .ai-box, .demo-inner, .f-row { grid-template-columns: 1fr; }
  .ai-box { padding: 24px; }
  .hm-sub, .hm-lead { font-size: 17px; }
  .foot-grid.foot-grid-6 { grid-template-columns: 1fr 1fr; }
  .hero-btns { flex-wrap: wrap; }
}

/* simple content pages: guides, privacy, terms */
.page-top { background: #fff; border-bottom: 1px solid var(--line); }
.page-top .container { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.page-top img { height: 46px; width: auto; display: block; }
.page-top .btn { height: 44px; }
.doc-page { max-width: 820px; margin: 0 auto; padding: 56px 20px 80px; }
.doc-page .eyebrow { font-size: 14px; }
.doc-page h1 { font-size: clamp(30px, 4vw, 42px); color: var(--ink); letter-spacing: -.02em; line-height: 1.15; margin-top: 8px; }
.doc-page .lead { font-size: 18px; line-height: 1.6; color: #2c312e; margin-top: 14px; }
.doc-page h2 { font-size: 22px; color: #121614; margin-top: 36px; }
.doc-page p, .doc-page li { font-size: 16px; line-height: 1.7; color: #2f3431; }
.doc-page p { margin-top: 12px; }
.doc-page ol, .doc-page ul { margin: 12px 0 0 22px; }
.doc-page li { margin-top: 8px; }
.doc-page .tip { background: var(--green-soft); border-radius: 12px; padding: 16px 18px; margin-top: 20px; font-size: 15px; }
.doc-page .back { display: inline-block; margin-top: 40px; color: var(--green); font-weight: 600; }

/* Hero: the new copy is longer than the original, which had a fixed
   695px hero with overflow hidden — the second paragraph and the three
   feature badges were being cut off. Grow with the content instead, and
   keep the text clear of the photo on the right (650px wide). */
.hero { height: auto; min-height: 695px; padding-bottom: 36px; }
.hero h1.h1-long { font-size: 54px; line-height: 62px; max-width: 660px; }
.hero .hero-sub { max-width: 640px; font-size: 18.5px; line-height: 29px; }
.hero-btns .btn-outline-green { width: auto; padding: 0 22px; }
.hero-btns .btn-primary { width: auto; padding: 0 22px; }
@media (max-width: 1100px) { .hero h1.h1-long { font-size: 44px; line-height: 52px; } }
@media (max-width: 760px) { .hero h1.h1-long { font-size: 34px; line-height: 42px; } }

.demo-text h2 { text-align: left; }

/* One MradiQ green everywhere (client, 16-oct-2026): the bundle's style.css
   carries several near-greens; these overrides bring them all to #087443,
   the colour of the "Request a Demo" button. style.css itself is left as
   delivered. */
:root { --green-bright: #087443; --chart-green: #087443; }
.btn-bright:hover { background: var(--green-dark); }
.badge.ok, .pa-ic.green { color: #087443; }
.cta-points li + li { border-left-color: rgba(255, 255, 255, .55); }
.cta-points svg { color: #fff; }
