/* Homepage (landlord pilot). Builds on site.css tokens. The highlighter marks only what KeyFile read from a document. */

.home .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.h-title { font-size: clamp(1.9rem, 1.35rem + 2.3vw, 3.1rem); line-height: 1.04; font-stretch: 84%; max-width: 20ch; }
.h-body { color: var(--ink); max-width: 60ch; text-wrap: pretty; }
.h-head { display: grid; gap: 16px; max-width: 760px; }
.h-section { padding-block: clamp(64px, 9vw, 120px); }
.home mark { background: var(--highlighter); color: var(--graphite); padding: 0 3px; border-radius: 2px; }

/* hero */
.h-hero { padding-block: clamp(36px, 6vw, 88px) clamp(56px, 8vw, 104px); overflow-x: clip; }
.h-hero-grid { display: grid; gap: clamp(44px, 6vw, 80px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 980px) { .h-hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); } }
.h-hero h1 { font-size: clamp(2.3rem, 1.3rem + 4vw, 4.6rem); line-height: 1; font-stretch: 78%; letter-spacing: -0.024em; max-width: 17ch; }
.h-lede { margin-top: clamp(20px, 2.4vw, 28px); font-size: var(--step-1); line-height: 1.5; color: var(--ink); max-width: 48ch; text-wrap: pretty; }
.h-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.h-pile ul { list-style: none; display: grid; gap: 12px; max-width: 440px; margin-inline: auto; }
.h-msg { display: grid; gap: 4px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 14px 16px; transform: translateX(var(--x)) rotate(var(--r)); box-shadow: 0 18px 36px -28px rgba(38, 40, 45, .55); max-width: calc(100% - var(--x)); }
.h-msg b { font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.h-box { font-size: var(--step--1); color: var(--slate); }
.h-att { justify-self: start; margin-top: 6px; padding: 3px 10px; border: 1px dashed var(--mist); border-radius: var(--radius-s); font-size: var(--step--1); font-variant-numeric: tabular-nums; color: var(--ink); }
.h-msg.h-ask { background: var(--graphite); border-color: var(--graphite); color: var(--paper); }
.h-msg.h-ask .h-box { color: var(--mist); }
@media (max-width: 420px) { .h-msg { transform: translateX(calc(var(--x) / 3)) rotate(calc(var(--r) / 2)); max-width: 100%; } }

/* costs band */
.h-band { background: var(--graphite); color: var(--paper); padding-block: clamp(56px, 8vw, 104px); }
.h-band .h-title { max-width: 22ch; }
.h-costs { list-style: none; margin-top: clamp(28px, 4vw, 48px); display: grid; gap: 0 48px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .h-costs { grid-template-columns: 1fr 1fr; } }
.h-costs li { padding-block: 18px; border-top: 1px solid rgba(247, 248, 247, .18); color: #C9CCD2; max-width: 56ch; }
.h-costs b { color: var(--paper); font-weight: 600; }

/* flow */
.h-flow { list-style: none; counter-reset: flow; margin-top: clamp(40px, 5vw, 64px); display: grid; gap: 0; position: relative; }
.h-step { counter-increment: flow; position: relative; display: grid; gap: 18px 48px; grid-template-columns: 1fr; padding: 0 0 clamp(36px, 5vw, 56px) 52px; }
.h-step::before { content: counter(flow); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--graphite); color: var(--paper); font-weight: 700; font-size: .95rem; z-index: 1; }
.h-step::after { content: ""; position: absolute; left: 16px; top: 34px; bottom: 0; width: 2px; background: var(--graphite); }
.h-step:last-child { padding-bottom: 0; }
.h-step:last-child::after { display: none; }
.h-step-text h3 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.65rem); line-height: 1.2; padding-top: 3px; }
.h-step-text p { margin-top: 8px; color: var(--ink); max-width: 46ch; }
@media (min-width: 860px) { .h-step { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; padding-left: 64px; } }

.h-card { border-radius: var(--radius-m); padding: 16px 18px; display: grid; gap: 6px; max-width: 520px; font-variant-numeric: tabular-nums; }
.h-card b { font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.h-meta { font-size: var(--step--1); color: var(--slate); overflow-wrap: anywhere; }
.h-card-mail { background: var(--white); border: 1px solid var(--line); }
.h-card-mail .h-att { margin-top: 4px; }
.h-card-filed { background: var(--graphite); color: var(--paper); }
.h-card-filed .h-meta { color: var(--mist); }
.h-card-filed b { font-size: 1.08rem; }
.h-card-reg { background: var(--white); border: 1px solid var(--line); gap: 12px; }
.h-card-reg table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.h-card-reg th { text-align: left; font-weight: 600; font-size: var(--step--1); color: var(--slate); padding: 0 8px 6px 0; border-bottom: 1px solid var(--line); }
.h-card-reg td { padding: 8px 8px 0 0; }
.h-remind { font-size: .95rem; color: var(--ink); }
.h-card-ask { background: var(--paper); border: 2px solid var(--graphite); }
.h-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.h-chips span { padding: 5px 14px; border-radius: 999px; border: 1.5px solid var(--graphite); background: var(--white); font-weight: 600; font-size: .93rem; }

/* proof strip */
.h-proof { background: var(--white); border-block: 1px solid var(--line); padding-block: clamp(56px, 7vw, 88px); }
.h-proof .h-body { margin-top: 14px; }
.h-proof-list { list-style: none; margin-top: clamp(28px, 4vw, 44px); display: grid; gap: 0 36px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .h-proof-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .h-proof-list { grid-template-columns: repeat(3, 1fr); } }
.h-proof-list li { display: grid; gap: 4px; padding-block: 16px; border-top: 3px solid var(--graphite); }
.h-proof-list b { font-size: 1.15rem; font-stretch: 92%; line-height: 1.25; }
.h-proof-list span { color: var(--ink); font-size: .97rem; }

/* who */
.h-who { margin-top: clamp(32px, 4vw, 52px); display: grid; gap: 40px 48px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .h-who { grid-template-columns: 1fr 1fr; } }
.h-who-item { display: grid; gap: 10px; align-content: start; }
.h-who-item img { width: 100%; max-width: 440px; aspect-ratio: 4 / 3; object-fit: contain; }
.h-who-item h3 { font-size: 1.5rem; }
.h-who-item p { color: var(--ink); max-width: 52ch; }
.h-more { justify-self: start; font-weight: 600; text-decoration: none; border-bottom: 3px solid var(--highlighter); padding-bottom: 1px; }
.h-more:hover { border-bottom-color: var(--graphite); }
.h-also { margin-top: clamp(28px, 4vw, 40px); color: var(--ink); max-width: 70ch; }
.h-also a { font-weight: 600; text-underline-offset: 3px; text-decoration-color: var(--mist); }
.h-also a:hover { text-decoration-color: var(--graphite); }

/* control */
.h-safe { border-top: 1px solid var(--line); }
.h-rules { margin-top: clamp(32px, 4vw, 52px); display: grid; gap: 28px 40px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .h-rules { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .h-rules { grid-template-columns: repeat(3, 1fr); } }
.h-rules div { border-left: 4px solid var(--graphite); padding-left: 18px; }
.h-rules dt { font-weight: 700; font-size: 1.1rem; }
.h-rules dd { margin: 6px 0 0; color: var(--ink); }

/* pilot */
.h-pilot { background: var(--highlighter); padding-block: clamp(56px, 8vw, 104px); }
.h-pilot-grid { display: grid; gap: 28px; align-items: end; grid-template-columns: 1fr; }
@media (min-width: 900px) { .h-pilot-grid { grid-template-columns: minmax(0, 1.4fr) auto; } }
.h-pilot h2 { font-size: clamp(2.2rem, 1.5rem + 3.4vw, 3.8rem); line-height: 1; font-stretch: 82%; }
.h-pilot p { margin-top: 18px; max-width: 54ch; font-size: var(--step-1); line-height: 1.5; }
.h-pilot .h-pilot-acc { font-size: var(--step-0); }
.h-pilot .btn { justify-content: center; max-width: 100%; white-space: normal; text-align: center; }
