/* DuckMine homepage concept 01 — cost before purchase. Scoped to the home page. */
body[data-page="home"] {
  background: #f8f8f5;
  color: #17212a;
}
body[data-page="home"] .page-main { animation: none; }
body[data-page="home"] .hardware-hero {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  gap: 20px;
  align-items: center;
  min-height: 626px;
  padding: 70px max(32px, calc((100vw - 1320px) / 2)) 36px;
  background: url('/media/hero/sunlit-studio-v90.webp') center top / auto 125% no-repeat;
}
body[data-page="home"] .hardware-hero::before,
body[data-page="home"] .hardware-hero::after,
body[data-page="home"] .hardware-hero .home-copy::before { display: none; }
body[data-page="home"] .hardware-hero .home-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  max-width: 690px;
  min-width: 0;
  padding: 0;
}
body[data-page="home"] .hardware-hero .eyebrow {
  color: #756637;
  font-size: 10px;
  letter-spacing: .09em;
}
body[data-page="home"] .hardware-hero .home-copy h1 {
  max-width: 680px;
  margin: 22px 0 0;
  color: #151a1e;
  font-size: clamp(47px, 4.75vw, 70px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.075em;
  text-wrap: balance;
}
body[data-page="home"] .hardware-hero .home-copy > p:not(.home-assurance) {
  max-width: 570px;
  margin: 23px 0 0;
  color: #5b6870;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.62;
}
body[data-page="home"] .home-copy .page-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px;
  margin-top: 29px;
}
body[data-page="home"] .home-copy .page-actions .button {
  display: inline-flex;
  min-height: 55px;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 0 24px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
body[data-page="home"] .home-copy .page-actions .button:first-child::after { display: none; }
body[data-page="home"] .home-copy .page-actions .button-primary {
  border: 1px solid #edbf34;
  background: #ffcf3c;
  color: #111a1f;
  box-shadow: none;
}
body[data-page="home"] .home-copy .page-actions .button-primary:hover { background: #ffdc65; }
body[data-page="home"] .home-copy .page-actions .button-secondary {
  border: 1px solid #aab3b7;
  background: rgba(255, 255, 255, .65);
  color: #1a252b;
}
body[data-page="home"] .home-copy .page-actions .button-secondary:hover { border-color: #596d78; background: #fff; }
body[data-page="home"] .home-demo-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  padding: 5px 0;
  border: 0;
  background: transparent;
  color: #3c5662;
  cursor: pointer;
  font-size: 12px;
  font-weight: 750;
  text-align: left;
}
body[data-page="home"] .home-demo-link:hover { color: #101b22; text-decoration: underline; text-underline-offset: 4px; }
body[data-page="home"] .home-demo-link span { padding: 0; border: 0; background: none; color: inherit; font-size: 16px; }
body[data-page="home"] .home-assurance {
  margin: 21px 0 0;
  color: #64737b;
  font-size: 11px;
  line-height: 1.5;
}

body[data-page="home"] .hardware-stage {
  position: relative;
  display: block;
  min-width: 0;
  min-height: 520px;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  isolation: isolate;
}
body[data-page="home"] .hardware-stage::before,
body[data-page="home"] .hardware-stage::after { display: none; }
body[data-page="home"] .stage-product {
  position: absolute;
  z-index: 1;
  inset: 0;
  min-height: 0;
  overflow: visible;
}
body[data-page="home"] .hardware-product {
  position: absolute;
  inset: auto;
  top: -5%;
  left: -12%;
  width: min(112%, 650px);
  height: auto;
  max-height: none;
  object-fit: contain;
  transform: none;
  filter: drop-shadow(0 25px 28px rgba(28, 29, 26, .2));
}
body[data-page="home"] .stage-metrics {
  position: absolute;
  z-index: 3;
  top: 23px;
  right: 0;
  display: block;
  width: clamp(250px, 22vw, 298px);
  margin: 0;
  padding: 22px 23px 17px;
  border: 1px solid #354149;
  border-radius: 13px;
  background: #1c272f;
  color: #f5f6f5;
  box-shadow: 0 20px 42px rgba(24, 34, 41, .2);
}
body[data-page="home"] .stage-panel-head h2 {
  margin: 0;
  color: #fff;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.035em;
}
body[data-page="home"] .stage-panel-head > span {
  display: inline-block;
  margin-top: 12px;
  padding: 6px 9px;
  border-radius: 99px;
  background: rgba(245, 200, 66, .17);
  color: #ffdc68;
  font-size: 10px;
  font-weight: 700;
}
body[data-page="home"] .stage-metric,
body[data-page="home"] .stage-metric-status {
  position: static;
  display: flex;
  min-height: 0;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
  padding: 15px 0;
  border: 0;
  border-bottom: 1px solid rgba(233, 238, 240, .17);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
body[data-page="home"] .stage-panel-head + .stage-metric { margin-top: 13px; border-top: 1px solid rgba(233, 238, 240, .17); }
body[data-page="home"] .stage-metric::before { display: none; }
body[data-page="home"] .stage-metric > span,
body[data-page="home"] .stage-metric-status > span {
  display: flex;
  min-width: 0;
  max-width: 55%;
  align-items: center;
  gap: 8px;
  color: #c3cdd1;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: none;
}
body[data-page="home"] .stage-metric-label svg {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  color: #ffdc68;
}
body[data-page="home"] .stage-metric-label > span {
  display: inline;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: none;
}
body[data-page="home"] .stage-metric strong,
body[data-page="home"] .stage-metric-status strong {
  display: block;
  margin: 0;
  color: #fff;
  font: 750 18px/1.2 "Manrope", system-ui, sans-serif;
  letter-spacing: -.035em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
body[data-page="home"] .stage-metric strong span,
body[data-page="home"] .stage-metric-status strong span { display: inline; color: inherit; font: inherit; letter-spacing: inherit; text-transform: none; }
body[data-page="home"] .stage-metric strong small,
body[data-page="home"] .stage-metric-status strong small { color: #e4e9eb; font-size: 11px; letter-spacing: 0; }
body[data-page="home"] .stage-panel-foot {
  margin: 13px 0 0;
  color: #b3c0c7;
  font-size: 10px;
  line-height: 1.45;
}
body[data-page="home"] .stage-panel-disclosure {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid rgba(233, 238, 240, .17);
  color: #becbd1;
  font-size: 10px;
  line-height: 1.55;
}
body[data-page="home"] .stage-panel-disclosure a { color: #ffda71; text-decoration: underline; text-underline-offset: 2px; }

body[data-page="home"] .home-steps {
  width: min(1320px, calc(100% - 64px));
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #d7dee1;
  border-bottom: 1px solid #d7dee1;
}
body[data-page="home"] .home-steps a {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
  min-width: 0;
  padding: 29px 24px 29px 0;
  color: #1b252b;
  text-decoration: none;
}
body[data-page="home"] .home-steps a + a { padding-left: 24px; border-left: 1px solid #d7dee1; }
body[data-page="home"] .home-steps a > span:last-child { color: #697a82; font-size: 19px; }
body[data-page="home"] .home-steps .step-number {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: #ffe6a0;
  color: #101920;
  font-size: 17px;
  font-weight: 800;
}
body[data-page="home"] .home-steps strong { display: block; font-size: 17px; font-weight: 800; line-height: 1.3; }
body[data-page="home"] .home-steps small { display: block; margin-top: 7px; color: #60727a; font-size: 11px; line-height: 1.5; }
body[data-page="home"] .home-steps a:hover strong,
body[data-page="home"] .home-steps a:focus-visible strong { text-decoration: underline; text-underline-offset: 4px; }

body[data-page="home"] .capabilities { padding-block: 82px 90px; }
body[data-page="home"] .capabilities .section-intro { margin-bottom: 30px; }
body[data-page="home"] .capabilities .section-intro h2 { font-size: clamp(35px, 4vw, 54px); }
body[data-page="home"] .journey-grid article {
  display: flex;
  min-height: 230px;
  flex-direction: column;
  padding: 26px;
  box-shadow: none;
}
body[data-page="home"] .journey-grid h3 { margin: 22px 0 10px; }
body[data-page="home"] .journey-grid p { color: #556c77; font-size: 12px; }
body[data-page="home"] .journey-grid a { position: static; margin-top: auto; padding-top: 18px; font-size: 12px; }
body[data-page="home"] .capabilities .principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 20px;
  border: 1px solid #e1e6e8;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}
body[data-page="home"] .capabilities .principles > div {
  display: flex;
  min-width: 0;
  min-height: 96px;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  padding: 20px 25px;
  border: 0;
  border-right: 1px solid #e1e6e8;
  background: transparent;
}
body[data-page="home"] .capabilities .principles > div:last-child { border-right: 0; }
body[data-page="home"] .capabilities .principles b {
  display: block;
  color: #17212a;
  font-size: 14px;
  line-height: 1.3;
}
body[data-page="home"] .capabilities .principles span {
  display: block;
  margin: 0;
  color: #586b75;
  font-size: 11px;
  line-height: 1.5;
}

@media (max-width: 1080px) {
  body[data-page="home"] .hardware-hero { grid-template-columns: minmax(0, 1fr) minmax(0, .94fr); gap: 8px; }
  body[data-page="home"] .hardware-hero .home-copy h1 { font-size: clamp(44px, 5vw, 59px); }
  body[data-page="home"] .stage-metrics { width: 250px; padding-inline: 17px; }
  body[data-page="home"] .hardware-product { top: -2%; }
}
@media (min-width: 1400px) {
  body[data-page="home"] .hardware-hero { background-size: cover; background-position: center 54%; }
}
@media (max-width: 850px) {
  body[data-page="home"] .hardware-hero { grid-template-columns: 1fr; gap: 28px; min-height: 0; padding-block: 60px 36px; }
  body[data-page="home"] .hardware-hero .home-copy { max-width: 720px; }
  body[data-page="home"] .hardware-hero .home-copy h1 { font-size: clamp(48px, 7vw, 66px); }
  body[data-page="home"] .hardware-stage { min-height: 485px; }
  body[data-page="home"] .hardware-product { left: 1%; width: min(100%, 600px); top: -3%; }
  body[data-page="home"] .stage-metrics { width: 275px; right: 0; }
  body[data-page="home"] .home-steps { grid-template-columns: 1fr; }
  body[data-page="home"] .home-steps a,
  body[data-page="home"] .home-steps a + a { padding: 16px 8px; border-left: 0; }
  body[data-page="home"] .home-steps a + a { border-top: 1px solid #d7dee1; }
}
@media (max-width: 600px) {
  body[data-page="home"] .hardware-hero { width: 100%; gap: 10px; padding: 42px 16px 28px; background-image: linear-gradient(180deg, rgba(248, 248, 245, .96) 0%, rgba(248, 248, 245, .91) 43%, rgba(248, 248, 245, .04) 65%), url('/media/hero/sunlit-studio-v90.webp'); background-position: center; }
  body[data-page="home"] .home-steps { width: calc(100% - 32px); }
  body[data-page="home"] .hardware-hero .eyebrow { font-size: 9px; letter-spacing: .035em; }
  body[data-page="home"] .hardware-hero .home-copy h1 { margin-top: 17px; font-size: clamp(37px, 9.8vw, 49px); line-height: 1.05; letter-spacing: -.067em; }
  body[data-page="home"] .hardware-hero .home-copy > p:not(.home-assurance) { margin-top: 18px; font-size: 14px; }
  body[data-page="home"] .home-copy .page-actions { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 24px; }
  body[data-page="home"] .home-copy .page-actions .button { width: 100%; min-height: 52px; font-size: 13px; }
  body[data-page="home"] .home-demo-link { margin-top: 15px; font-size: 11px; }
  body[data-page="home"] .home-assurance { margin-top: 15px; font-size: 10px; }
  body[data-page="home"] .hardware-stage { min-height: 0; background: none; }
  body[data-page="home"] .stage-product { position: relative; inset: auto; min-height: 0; height: clamp(230px, 75vw, 340px); overflow: hidden; background: none; }
  body[data-page="home"] .hardware-product { top: -8%; left: 4%; width: 92%; max-height: none; }
  body[data-page="home"] .stage-metrics { position: relative; top: auto; right: auto; width: 100%; padding: 20px; }
  body[data-page="home"] .home-steps a { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; }
  body[data-page="home"] .home-steps strong { font-size: 15px; }
  body[data-page="home"] .capabilities { padding-block: 58px 72px; }
  body[data-page="home"] .capabilities .section-intro h2 { font-size: 36px; }
  body[data-page="home"] .capabilities .principles { grid-template-columns: 1fr; }
  body[data-page="home"] .capabilities .principles > div { min-height: 0; padding: 18px 20px; border-right: 0; border-bottom: 1px solid #e1e6e8; }
  body[data-page="home"] .capabilities .principles > div:last-child { border-bottom: 0; }
}
@media (max-width: 360px) {
  body[data-page="home"] .hardware-hero .home-copy h1 { font-size: 36px; }
  body[data-page="home"] .hardware-hero .home-copy h1 br { display: none; }
  body[data-page="home"] .stage-product { height: 225px; }
  body[data-page="home"] .stage-metric strong,
  body[data-page="home"] .stage-metric-status strong { font-size: 16px; }
}

/* A single worked-method section replaces the repeated three-card journey. */
body[data-page="home"] .home-proof {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: center;
  padding: clamp(28px, 4vw, 52px);
  border-radius: 20px;
  background: #1c272f;
  color: #f5f7f8;
}
body[data-page="home"] .home-proof .tool-label { color: #ffdc68; font-size: 12px; }
body[data-page="home"] .home-proof h3 {
  max-width: 740px;
  margin: 15px 0;
  color: #fff;
  font-size: clamp(25px, 3vw, 39px);
  line-height: 1.22;
  letter-spacing: -.045em;
}
body[data-page="home"] .home-proof p { max-width: 680px; color: #c2cdd2; font-size: 15px; line-height: 1.65; }
body[data-page="home"] .home-proof-links { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 23px; }
body[data-page="home"] .home-proof a { color: #ffdc68; font-size: 13px; font-weight: 750; text-underline-offset: 4px; }
body[data-page="home"] .home-proof-formula { display: grid; gap: 0; border-top: 1px solid #47535c; }
body[data-page="home"] .home-proof-formula span {
  display: flex;
  gap: 18px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid #47535c;
  color: #e2e9eb;
  font-size: 14px;
  line-height: 1.5;
}
body[data-page="home"] .home-proof-formula b { color: #ffdc68; font-size: 13px; }
body[data-page="home"] .hardware-hero .eyebrow { font-size: 11px; }
body[data-page="home"] .home-assurance,
body[data-page="home"] .stage-panel-foot,
body[data-page="home"] .stage-panel-disclosure,
body[data-page="home"] .home-steps small,
body[data-page="home"] .capabilities .principles span { font-size: 12px; }
body[data-page="home"] .stage-metric > span,
body[data-page="home"] .stage-metric-status > span { font-size: 12px; }
@media (max-width: 850px) {
  body[data-page="home"] .home-proof { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body[data-page="home"] .home-proof { padding: 24px 20px; }
  body[data-page="home"] .home-proof h3 { font-size: 26px; }
  body[data-page="home"] .home-proof p { font-size: 14px; }
}

.home-quick { display: grid; gap: 13px; width: min(100%, 540px); padding: 16px 18px; margin-top: 20px; border: 1px solid #cfdbdf; border-radius: 14px; background: rgba(255, 255, 255, .97); color: #142730; }
.home-quick-heading h2 { color: inherit; margin: 0 0 3px; font-size: clamp(1.125rem, 1.7vw, 1.375rem); line-height: 1.2; }
.home-quick p { margin: 0; color: #455e68; font-size: .875rem; line-height: 1.45; }
.home-quick-inputs, .home-quick-result { display: grid; gap: 10px; min-width: 0; }
.home-quick-inputs { grid-template-columns: minmax(0, 1fr) minmax(118px, .38fr); }
.home-quick-inputs label { display: grid; gap: 5px; font-size: .875rem; font-weight: 700; }
.home-quick input { min-width: 0; width: 100%; min-height: 44px; padding: 8px 10px; border: 1px solid #bdccd2; border-radius: 8px; background: #f6f9fa; color: #142730; font-size: 1rem; }
.home-quick-result { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 9px; border-top: 1px solid #e1e6e8; }
.home-quick-result > div { display: grid; gap: 4px; }
.home-quick-result > div span { font-size: .875rem; }
.home-quick-result strong { font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.home-quick-result strong.is-positive { color: #14683c; }
.home-quick-result strong.is-negative { color: #a42e36; }
.home-quick-result > :is(p, a, details) { grid-column: 1 / -1; }
.home-quick-result #homeQuickSource { font-size: .8125rem; }
.home-quick-result a { color: #284752; font-weight: 750; font-size: .875rem; text-decoration: underline; }
.home-quick [hidden] { display: none; }
body[data-page="home"] .hardware-hero { padding-top: 44px; }
body[data-page="home"] .hardware-hero .home-copy h1 { margin-top: 14px; }
body[data-page="home"] .hardware-hero .home-copy > p:not(.home-assurance) { margin-top: 14px; }
body[data-page="home"] .home-copy .page-actions { margin-top: 18px; }
body[data-page="home"] .home-demo-link { margin-top: 10px; }
@media (max-width: 600px) {
  body[data-page="home"] .hardware-hero { padding-top: 28px; }
  .home-quick { padding: 14px; }
  .home-quick-inputs { grid-template-columns: minmax(0, 1fr); }
}
