/* Complete homepage study; isolated from the current marketing site. */
:root { --green: #246749; --green-wash: #eaf6f0; --peach: #fff0e6; }
.study { position: sticky; top: 0; z-index: 10; }
section[id] { scroll-margin-top: 80px; }
.section-space { padding-block: 92px; }
.chapter-heading { margin-bottom: 46px; }
.chapter-heading h2, .chapter-copy h2, .closing-section h2 { margin: 0; font-size: clamp(38px, 4.5vw, 66px); line-height: 1.07; letter-spacing: -.06em; font-weight: 800; }
.chapter-heading > p:last-child:not(.eyebrow) { color: var(--muted); font-size: 17px; line-height: 1.6; margin: 22px 0 0; }
.chapter-copy .eyebrow, .chapter-heading .eyebrow { color: var(--accent); }
.demo-section { background: var(--wash); }
.demo-section .chapter-heading { text-align: center; }
.demo-section .eyebrow { justify-content: center; }
#product-demo { display: block; width: 100%; height: 940px; border: 0; border-radius: 18px; background: #fff; box-shadow: 0 20px 65px #1024480b; }
.visual-note { text-align: center; color: var(--muted); font-size: 11px; line-height: 1.6; margin: 20px 0 0; }
.feature-chapter { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.big-ticks { margin-top: 30px; }
.big-ticks li { display: flex; align-items: baseline; gap: 12px; font-size: 16px; line-height: 1.6; margin-top: 12px; color: var(--muted); }
.big-ticks li::before { content: '✓'; font-weight: 800; color: var(--accent); flex-shrink: 0; }
.text-link { display: inline-flex; align-items: center; gap: 20px; font-size: 13px; font-weight: 800; margin-top: 31px; padding-block: 7px; }
.text-link:hover { color: var(--accent); }
.text-link span { font-size: 21px; }
.feature-visual { margin: 0; padding: 34px; border-radius: 24px; background: var(--wash); }
.feature-visual figcaption { margin-top: 20px; font-size: 10px; line-height: 1.6; }
.mock-panel { border: 1px solid #e1e6ed; border-radius: 14px; background: #fff; color: #102448; padding: 26px; box-shadow: 0 12px 35px #1024480b; }
.mock-top { display: flex; justify-content: space-between; gap: 15px; align-items: center; font-size: 12px; }
.mock-top > span { color: #64748b; font-size: 10px; letter-spacing: .02em; }
.ledger-total { margin-top: 30px; }
.ledger-total > span { font-size: 12px; color: #53627a; }
.ledger-total strong { display: block; font-size: 48px; letter-spacing: -.06em; margin-top: 7px; }
.ledger-total strong span { color: #8994a8; font-size: 28px; }
.income-track { height: 8px; border-radius: 10px; background: #edf0f5; margin-top: 21px; overflow: hidden; }
.income-track span { display: block; width: 83.33%; height: 100%; background: #2455e8; border-radius: inherit; }
.ledger-labels { display: flex; justify-content: space-between; gap: 10px; color: #53627a; font-size: 9px; margin: 10px 0 21px; }
.ledger-row { display: flex; align-items: center; gap: 10px; padding-block: 17px; border-top: 1px solid #edf0f5; }
.property-initial { display: grid; place-items: center; width: 28px; height: 32px; background: #f1f5fb; color: #53627a; font-size: 10px; border-radius: 5px; }
.ledger-row > div { flex: 1; min-width: 0; }
.ledger-row b { font-size: 10px; }
.ledger-row small { display: block; font-size: 9px; margin-top: 4px; color: #64748b; }
.ledger-row > .status { font-size: 8px; }
.status.green { background: var(--green-wash); color: var(--green); }
.repair-band { background: #f5f7fa; }
.reverse .chapter-copy { order: 2; }
.reverse .feature-visual { order: 1; }
.repair-visual { background: #e7efe9; }
.repair-ticket h3 { margin: 30px 0 8px; font-size: 27px; line-height: 1.15; letter-spacing: -.045em; }
.ticket-property { color: #64748b; margin: 0; font-size: 11px; }
.job-timeline { list-style: none; margin: 30px 0; padding: 0; }
.job-timeline li { display: flex; gap: 14px; align-items: flex-start; position: relative; padding-bottom: 24px; }
.job-timeline li::before { content: ''; position: absolute; top: 25px; bottom: 0; width: 1px; background: #dce7e0; left: 12px; }
.job-timeline li:last-child { padding-bottom: 0; }
.job-timeline li:last-child::before { display: none; }
.timeline-dot { width: 25px; height: 25px; display: grid; place-items: center; background: #eaf6f0; border-radius: 50%; color: #246749; font-size: 12px; flex-shrink: 0; }
.timeline-dot.current-dot { color: #2455e8; background: #edf3ff; }
.job-timeline b { display: block; font-size: 12px; margin-top: 3px; }
.job-timeline small { display: block; color: #64748b; font-size: 10px; line-height: 1.5; margin-top: 5px; }
.message-bubble { display: flex; align-items: flex-start; gap: 12px; padding: 16px; background: #f4f7fc; border-radius: 10px; }
.bubble-avatar { background: #e6eaf5; color: #465a7d; width: 28px; height: 28px; display: grid; place-items: center; font-size: 9px; font-weight: 800; border-radius: 50%; flex-shrink: 0; }
.message-bubble b { font-size: 10px; }
.message-bubble p { font-size: 11px; line-height: 1.6; margin: 5px 0 0; }
.record-visual { background: var(--peach); }
.document-row { display: flex; gap: 13px; align-items: center; border-bottom: 1px solid #edf0f5; padding-block: 24px; }
.document-row > div { min-width: 0; flex: 1; }
.document-icon { display: grid; place-items: center; width: 34px; height: 40px; background: #edf3ff; color: #2455e8; border-radius: 5px; font-size: 22px; }
.document-row b { font-size: 12px; }
.document-row small { display: block; color: #64748b; font-size: 10px; margin-top: 7px; }
.document-check { color: #246749; font-weight: 800; }
.reminder-slip { display: flex; gap: 12px; align-items: center; background: #fff6e8; padding: 18px; border-radius: 10px; margin-top: 24px; }
.reminder-slip > span { color: #805000; font-size: 24px; }
.reminder-slip b { font-size: 11px; }
.reminder-slip small { display: block; color: #765e37; font-size: 10px; line-height: 1.5; margin-top: 5px; }
.tenant-band { background: var(--ink); color: #fff; overflow: hidden; }
.tenant-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 50px; }
.tenant-band .eyebrow { color: #bbcaff; }
.tenant-band .big-ticks li { color: #e2e5ef; }
.tenant-band .big-ticks li::before { color: #a9bfff; }
.tenant-band .text-link { color: #fff; }
.tenant-visual { position: relative; margin: 0; }
.tenant-visual::before { content: ''; position: absolute; width: 390px; height: 390px; border-radius: 50%; background: #ffffff0c; top: 60px; left: 50%; transform: translateX(-50%); }
.tenant-phone { width: 268px; position: relative; margin: auto; padding: 14px 20px 17px; border: 5px solid #e3e7f0; border-radius: 37px; background: #fafbfd; color: #102448; box-shadow: 16px 22px 0 #00000012; }
.phone-speaker { height: 5px; width: 62px; border-radius: 10px; background: #102448; margin: 0 auto 23px; }
.phone-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; font-size: 20px; letter-spacing: -.06em; }
.phone-label { font-size: 8px; font-weight: 800; letter-spacing: .12em; color: #64748b; }
.tenant-phone h3 { margin: 7px 0; font-size: 26px; letter-spacing: -.05em; }
.phone-muted { color: #64748b; font-size: 10px; }
.tenant-rent { border-radius: 12px; background: #eaf6f0; color: #246749; padding: 18px; margin-block: 23px 12px; }
.tenant-rent > span, .tenant-rent small { display: block; font-size: 10px; }
.tenant-rent strong { display: block; font-size: 37px; letter-spacing: -.06em; margin-block: 7px; }
.phone-item { display: flex; justify-content: space-between; font-size: 11px; padding: 17px 0; border-bottom: 1px solid #e1e6ed; }
.phone-item b { font-size: 10px; }
.phone-item b span { margin-left: 7px; }
.phone-home { width: 75px; height: 4px; border-radius: 10px; background: #102448; margin: 25px auto 0; }
.tenant-visual figcaption { color: #c5cee1; margin-top: 30px; font-size: 10px; }
.trust-section .chapter-heading { max-width: 750px; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px; }
.trust-grid article { padding-top: 26px; border-top: 1px solid var(--line); }
.trust-symbol { font-size: 30px; color: var(--accent); }
.trust-grid h3 { font-size: 25px; letter-spacing: -.04em; margin-block: 19px 12px; }
.trust-grid p { color: var(--muted); max-width: 28ch; line-height: 1.7; font-size: 14px; margin: 0; }
.pricing-section { background: var(--wash); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pricing-card { display: flex; flex-direction: column; align-items: flex-start; border-radius: 18px; border: 1px solid var(--line); background: var(--paper); padding: 35px 27px; }
.plan-kicker { font-size: 9px; letter-spacing: .1em; font-weight: 800; color: var(--muted); }
.pricing-card h3 { font-size: 28px; letter-spacing: -.04em; margin: 20px 0 0; }
.plan-price { font-size: 48px; font-weight: 800; letter-spacing: -.06em; margin: 20px 0 0; }
.plan-price span { font-size: 11px; color: var(--muted); font-weight: 500; letter-spacing: 0; margin-left: 6px; white-space: nowrap; }
.pricing-card .big-ticks { margin: 23px 0 35px; }
.pricing-card .big-ticks li { font-size: 13px; }
.plan-button { margin-top: auto; width: 100%; font-size: 12px; padding: 16px 14px; gap: 10px; }
.featured-plan { background: var(--ink); color: #fff; border-color: var(--ink); }
.featured-plan .plan-kicker, .featured-plan .big-ticks li, .featured-plan .plan-price span { color: #dce2ed; }
.featured-plan .big-ticks li::before { color: #bbcaff; }
.featured-plan .button { background: #fff; color: var(--ink); }
.pricing-note { margin: 24px 0; font-size: 12px; color: var(--muted); line-height: 1.7; }
summary { cursor: pointer; }
.plan-details { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.plan-details summary { list-style: none; display: flex; justify-content: space-between; gap: 15px; font-size: 13px; font-weight: 800; padding: 22px 0; }
.plan-details p { font-size: 13px; color: var(--muted); line-height: 1.7; max-width: 85ch; margin: 0 0 18px; }
.faq-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 75px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 22px; font-size: 15px; font-weight: 800; padding-block: 24px; line-height: 1.5; }
.faq-list summary span, .plan-details summary span { color: var(--accent); font-size: 21px; flex-shrink: 0; }
.faq-list details[open] summary span, .plan-details[open] summary span { transform: rotate(45deg); }
.faq-list summary::-webkit-details-marker, .plan-details summary::-webkit-details-marker { display: none; }
.faq-list p { color: var(--muted); font-size: 14px; line-height: 1.8; margin: 0 0 25px; max-width: 55ch; }
.faq-list p a { text-decoration: underline; text-underline-offset: 3px; color: var(--accent); }
.closing-section { background: var(--accent); color: #fff; padding-block: 80px; }
.closing-section .eyebrow { color: #fff; }
.closing-section .wrap { position: relative; }
.closing-section .actions { margin-top: 35px; }
.closing-section .button { background: #fff; color: var(--accent); }
.closing-section .demo-link { color: #fff; }
.page-footer { padding-block: 50px 30px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 25px; }
.footer-top > span { font-size: 13px; color: var(--muted); }
.footer-top > a:last-child { font-size: 12px; font-weight: 800; }
.page-footer nav { display: flex; flex-wrap: wrap; gap: 22px; margin-block: 35px; font-size: 12px; }
.page-footer nav a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; gap: 25px; border-top: 1px solid var(--line); padding-top: 22px; font-size: 10px; line-height: 1.7; color: var(--muted); }
[data-direction=b] { --peach: #f0dfcb; }
[data-direction=b] .demo-section { background: #f2e9da; }
[data-direction=b] .money-visual { background: #e6e9d7; }
[data-direction=b] .repair-band { background: #f2e9da; }
[data-direction=b] .repair-visual { background: #efb59e; }
[data-direction=b] .record-visual { background: #eadfee; }
[data-direction=b] .tenant-band { background: #38263e; }
[data-direction=b] .tenant-band .eyebrow, [data-direction=b] .tenant-band .big-ticks li::before { color: #efb59e; }
[data-direction=b] .pricing-section { background: #f2e9da; }
[data-direction=b] .closing-section { background: #efb59e; color: #38263e; }
[data-direction=b] .closing-section .eyebrow, [data-direction=b] .closing-section .demo-link { color: #38263e; }
[data-direction=b] .closing-section .button { background: #38263e; color: #fff; }

/* Refined plum direction: a white foundation and fewer coloured surfaces. */
html[data-refinement=c] {
  --paper: #fff;
  --ink: #35213f;
  --muted: #60616c;
  --accent: #714073;
  --wash: #f4f0f8;
  --line: #e8e3ec;
  --peach: #fceee9;
}
[data-refinement=c] .hero { padding-top: 100px; padding-bottom: 125px; }
[data-refinement=c] h1 em { color: var(--accent); text-decoration: none; }
[data-refinement=c] .product-decoration { background: #f5e1da; inset: 10px 0 45px 15px; border-radius: 36px; transform: rotate(-3deg); }
[data-refinement=c] .dashboard { border-color: var(--line); box-shadow: 0 24px 65px #35213f0d; transform: rotate(0); }
[data-refinement=c] .benefits { background: #fff; border-top: 1px solid var(--line); border-radius: 0; padding: 55px 0 75px; margin-bottom: 0; }
[data-refinement=c] .benefit-list article { border-color: var(--line); }
[data-refinement=c] .section-space { padding-block: 112px; }
[data-refinement=c] .big-ticks { margin-top: 36px; }
[data-refinement=c] .big-ticks li { margin-top: 16px; }
[data-refinement=c] .demo-section, [data-refinement=c] .pricing-section { background: #f7f5fa; }
[data-refinement=c] .repair-band { background: #fff; border-block: 1px solid var(--line); }
[data-refinement=c] .money-visual, [data-refinement=c] .record-visual { background: #f4f0f8; }
[data-refinement=c] .repair-visual { background: #fceee9; }
[data-refinement=c] .tenant-band { background: #35213f; }
[data-refinement=c] .closing-section { background: #35213f; color: #fff; }
[data-refinement=c] .closing-section .eyebrow, [data-refinement=c] .closing-section .demo-link { color: #e7d8ed; }
[data-refinement=c] .closing-section .button { background: #fff; color: #35213f; }
@media(max-width:760px) {
  .study { flex-wrap: wrap; }
  .study nav { flex-wrap: wrap; }
  [data-refinement=c] .hero { padding-top: 40px; padding-bottom: 70px; gap: 56px; }
  [data-refinement=c] .benefits { padding: 40px 0; }
  [data-refinement=c] .section-space { padding-block: 72px; }
  [data-refinement=c] .product-decoration { inset: 0 -8px 24px; border-radius: 24px; }
}
@media (max-width: 1100px) {
  .feature-chapter { gap: 35px; }
  .feature-visual { padding: 22px; }
  .mock-panel { padding: 20px; }
  .ledger-row { gap: 6px; }
  .property-initial { display: none; }
  .pricing-card { padding: 28px 19px; }
  .plan-price { font-size: 39px; }
  .faq-section { gap: 40px; }
}
@media (max-width: 850px) {
  .section-space { padding-block: 62px; }
  .feature-chapter { grid-template-columns: 1fr; gap: 38px; }
  .chapter-copy h2 br { display: none; }
  .feature-visual { max-width: 620px; width: 100%; margin-inline: auto; }
  .reverse .chapter-copy, .reverse .feature-visual { order: initial; }
  .pricing-grid { gap: 10px; }
  .pricing-card { padding: 25px 15px; }
  .pricing-card .big-ticks li { font-size: 12px; gap: 7px; }
  .plan-price { font-size: 33px; }
  .plan-price span { display: block; margin: 6px 0 0; }
  .plan-button { font-size: 11px; padding-inline: 10px; }
  .footer-top > span { display: none; }
}
@media (max-width: 600px) {
  .section-space { padding-block: 48px; }
  .chapter-heading { margin-bottom: 29px; }
  .chapter-heading h2, .chapter-copy h2, .closing-section h2 { font-size: 39px; }
  .chapter-heading > p:last-child:not(.eyebrow) { font-size: 14px; margin-top: 18px; }
  .chapter-copy h2 br { display: initial; }
  .big-ticks { margin-top: 23px; }
  .big-ticks li { font-size: 14px; gap: 9px; }
  .text-link { margin-top: 21px; font-size: 12px; }
  .demo-section .wrap { width: calc(100% - 24px); }
  .demo-section .chapter-heading { padding-inline: 8px; text-align: left; }
  .demo-section .eyebrow { justify-content: flex-start; }
  #product-demo { border-radius: 12px; height: 1100px; }
  .visual-note { font-size: 10px; padding-inline: 12px; }
  .feature-visual { padding: 20px 13px; border-radius: 16px; }
  .mock-panel { padding: 18px 15px; }
  .mock-top { font-size: 11px; }
  .mock-top > span { font-size: 9px; }
  .ledger-total strong { font-size: 43px; }
  .ledger-row > .status { font-size: 7px; padding-inline: 5px; }
  .ledger-row b { font-size: 9px; }
  .ledger-row small { font-size: 8px; }
  .ledger-labels { font-size: 8px; }
  .repair-ticket h3 { font-size: 25px; }
  .document-row { gap: 9px; }
  .document-row b { font-size: 10px; }
  .document-row small { font-size: 9px; }
  .document-icon { width: 28px; height: 35px; flex-shrink: 0; }
  .document-row .status { font-size: 8px; }
  .reminder-slip { padding: 14px 10px; }
  .reminder-slip b { font-size: 10px; }
  .tenant-layout { grid-template-columns: 1fr; gap: 42px; }
  .tenant-phone { width: 260px; }
  .tenant-visual::before { width: 280px; height: 280px; }
  .trust-grid { grid-template-columns: 1fr; gap: 25px; }
  .trust-grid article { padding-top: 20px; }
  .trust-grid h3 { font-size: 25px; margin-top: 12px; }
  .trust-grid p { max-width: 35ch; }
  .pricing-grid { grid-template-columns: 1fr; gap: 15px; }
  .pricing-card { padding: 27px; }
  .plan-price { font-size: 45px; }
  .plan-price span { display: inline; margin-left: 6px; }
  .pricing-card .big-ticks li { font-size: 14px; }
  .plan-button { font-size: 12px; padding: 16px; }
  .faq-section { grid-template-columns: 1fr; gap: 28px; }
  .faq-list summary { font-size: 14px; padding-block: 22px; }
  .faq-list p { font-size: 13px; }
  .closing-section { padding-block: 52px; }
  .closing-section .actions { gap: 24px; }
  .page-footer { padding-top: 35px; }
  .footer-top { align-items: flex-start; flex-direction: column; gap: 19px; }
  .page-footer nav { gap: 18px 23px; line-height: 1.6; }
  .footer-bottom { flex-direction: column; gap: 10px; }
}
