/* One idea and one readable screen per section. */
html { scroll-behavior: smooth; }
.story-intro { padding-bottom: 46px; scroll-margin-top: 90px; }
.story-intro h2 { margin: 0; font-size: clamp(32px, 4.6vw, 54px); line-height: 1.27; }
.story-intro > p:last-child { margin: 16px 0 0; color: #5b5756; font-size: 18px; }
.story-block { padding: clamp(42px, 7vw, 86px) 20px; scroll-margin-top: 85px; }
.story-block-blue { background: #eaf2f6; }
.story-block-cream { background: #fbf4e7; }
.story-block-white { background: #fff; }
.story-block-navy { background: #293e4a; color: #fff; }
.story-block-search { background: #e7edef; }
.story-inner { width: min(1160px, 100%); margin: auto; display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.story-block:nth-of-type(even) .story-text { order: 2; }
.story-block:nth-of-type(even) .story-media { order: 1; }
.story-text { max-width: 490px; }
.story-index { display: inline-block; margin-bottom: 18px; color: #994047; font-size: 17px; font-weight: 900; letter-spacing: .03em; }
.story-block-navy .story-index { color: #f3d08d; }
.story-text h2 { margin: 0 0 18px; font-size: clamp(32px, 4vw, 52px); line-height: 1.3; letter-spacing: -.035em; }
.story-text p { margin: 0; color: #4f5658; font-size: clamp(18px, 1.7vw, 21px); line-height: 1.75; }
.story-block-navy .story-text p { color: #e6ecee; }
.status-planned { display: inline-block; margin-left: 6px; padding: 3px 10px; border-radius: 999px; background: #e2e9ec; color: #334852; font-size: 15px; letter-spacing: 0; vertical-align: middle; }
.story-media { min-width: 0; margin: 0; }
.story-real { text-align: center; }
.story-real img { display: block; width: min(100%, 310px); max-height: 500px; height: auto; object-fit: contain; margin: auto; border-radius: 20px; box-shadow: 0 18px 42px rgba(31,47,58,.12); }
.story-real figcaption { margin-top: 10px; color: #56646a; font-size: 15px; }
.mock-window { max-width: 590px; margin: auto; padding: clamp(16px, 3vw, 28px); border: 1px solid #d9dfe1; border-radius: 24px; background: #fff; color: #293a42; box-shadow: 0 22px 48px rgba(23,44,54,.14); }
.mock-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 17px; border-bottom: 1px solid #e3e7e8; }
.mock-bar b { font-size: 20px; }
.mock-bar span { flex: none; color: #586a70; font-size: 14px; font-weight: 800; }
.mock-heading { margin: 20px 0 12px; font-size: 19px; font-weight: 900; }
.mock-heading strong { display: inline-block; padding: 2px 10px; border-radius: 999px; background: #a83e47; color: #fff; font-size: 15px; }
.mock-row { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 12px; padding: 17px; margin-top: 10px; border: 1px solid #dce4e7; border-radius: 14px; background: #f8fafb; }
.mock-row b { flex: 1 1 190px; font-size: 18px; }
.mock-row small { flex: 0 0 100%; color: #52636a; font-size: 15px; }
.mock-alert { display: inline-block; padding: 4px 8px; border-radius: 7px; background: #f9e5d8; color: #833d27; font-size: 14px; font-weight: 900; }
.mock-action { padding: 8px 10px; border-radius: 9px; background: #e8eef2; color: #2c5161; font-size: 14px; font-weight: 900; }
.mock-search { margin: 20px 0; padding: 14px 16px; border: 1px solid #b9cbd1; border-radius: 12px; color: #475d66; font-size: 17px; }
.mock-tabs { display: flex; gap: 9px; margin: 20px 0 14px; }
.mock-tabs b { padding: 7px 17px; border-radius: 10px; background: #e7eef1; font-size: 16px; }
.mock-tabs b:first-child { background: #a83e47; color: #fff; }
.mock-footer { margin-top: 18px; padding: 12px; border-radius: 12px; background: #eaf2f5; color: #2b5668; font-size: 16px; font-weight: 900; text-align: center; }
.mock-ledger, .mock-integration { display: flex; align-items: stretch; gap: 10px; margin: 22px 0 10px; }
.mock-ledger > div, .mock-integration > div { flex: 1; min-width: 0; padding: 20px 12px; border: 1px solid #cedfe4; border-radius: 14px; background: #edf5f7; text-align: center; }
.mock-ledger small, .mock-integration small { display: block; color: #53656b; font-size: 14px; }
.mock-ledger strong, .mock-integration strong { display: block; font-size: 20px; }
.mock-integration > span { align-self: center; color: #a03e47; font-size: 25px; font-weight: 900; }
@media (max-width: 760px) {
  .story-block { padding: 52px 16px; }
  .story-inner { grid-template-columns: 1fr; gap: 24px; }
  .story-block:nth-of-type(even) .story-text, .story-block:nth-of-type(even) .story-media { order: initial; }
  .story-text { max-width: none; }
  .story-text h2 { font-size: clamp(31px, 8vw, 40px); }
  .story-real img { max-height: 420px; }
  .mock-window { padding: 16px; }
  .mock-row { padding: 13px; }
  .mock-integration strong { font-size: 16px; }
  .mock-integration > div { padding: 16px 7px; }
}

/* Three quick problem → answer cards beneath the hero. */
.problem-solutions { padding-top: 72px; padding-bottom: 82px; }
.problem-heading { margin-bottom: 26px; }
.problem-heading h2 { margin: 0; font-size: clamp(30px, 4vw, 46px); line-height: 1.3; }
.problem-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.problem-card { display: flex; flex-direction: column; min-width: 0; padding: clamp(22px, 2.7vw, 32px); border: 1px solid #e3d8d1; border-radius: 24px; background: #fff; box-shadow: 0 12px 30px rgba(55,48,43,.05); }
.problem-card:nth-child(2) { background: #f0f5f7; border-color: #d4e1e6; }
.problem-card:nth-child(3) { background: #fbf4e7; border-color: #e8dfca; }
.problem-icon { display: grid; place-items: center; width: 68px; height: 68px; margin-bottom: 18px; border-radius: 18px; background: #a83e47; color: #fff; font-size: 16px; font-weight: 900; }
.problem-card:nth-child(2) .problem-icon { background: #31566a; }
.problem-card:nth-child(3) .problem-icon { background: #826232; }
.problem-label { margin: 0 0 5px; color: #77434a; font-size: 15px; font-weight: 900; }
.problem-card h3 { margin: 0 0 22px; font-size: clamp(22px, 2vw, 27px); line-height: 1.5; }
.problem-answer { margin-top: auto; padding: 20px; border-radius: 16px; background: rgba(255,255,255,.88); border: 1px solid #e8e4df; }
.problem-answer span { color: #8d333e; font-size: 15px; font-weight: 900; }
.problem-answer p { margin: 7px 0 0; color: #3f4a4e; font-size: 17px; line-height: 1.75; }
@media (max-width: 900px) { .problem-grid { grid-template-columns: 1fr; } .problem-card h3 br { display: none; } }
@media (max-width: 620px) { .problem-solutions { padding-top: 52px; padding-bottom: 52px; } .problem-card { padding: 22px; } }
