/* Keys and Peace home page only. Loaded after site.css, which the demo, privacy and 404 pages also use, so nothing here can change them.
   The look: open space and thin lines, with boxes kept for the few things you use (the register checker, the example email, the phone screens).
   Dark teal top with a laptop and phone from the demo, the checker across its lower edge, light sections, and a dark teal close.
   Gold is for small details only. Always light: no dark mode. */
.home { --deep: #174740; --deeper: #103430; --cream: #f7f2ea; --frame: #0e2623; --hair: #e4dccd; }
.home ::selection { background: var(--teal); color: #fff; }
.home .wrap { max-width: 1160px; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.home h1, .home h2 { font-weight: 500; letter-spacing: -0.02em; }
.home h2 { font-size: clamp(1.9rem, 4.8vw, 3rem); line-height: 1.08; }
.home h3 { font-weight: 600; font-size: 1.18rem; }
.home section { padding-block: 72px; }
.home ul, .home ol { list-style: none; padding: 0; }
.home .lead { font-size: 1.14rem; max-width: 34em; }
.home .mt { margin-top: 16px; }
.kicker { display: flex; align-items: center; gap: 12px; font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 16px; }
.kicker::before { content: ""; width: 28px; height: 1px; background: var(--gold); flex: none; }
.stack > .kicker { margin-bottom: 0; }

/* Buttons */
.home .btn { padding-inline: 26px; transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease, color .15s ease; }
.home .btn.small { padding-inline: 18px; }
.home .btn:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -12px rgba(16, 52, 48, .55); }
.home .btn:active { transform: none; box-shadow: none; }
.home .btn.ghost:hover { background: var(--teal-soft); }
.btn.cream { background: var(--cream); border-color: var(--cream); color: var(--teal); }
.btn.cream:hover { background: #fff; border-color: #fff; }
.btn.light { background: transparent; border-color: rgba(247, 242, 234, .45); color: var(--cream); }
.btn.light:hover { background: rgba(247, 242, 234, .1); border-color: var(--cream); }

/* Top bar */
.home header { background: var(--teal); padding-block: 18px; -webkit-font-smoothing: antialiased; }
.home .logo { color: var(--cream); font-weight: 600; }
.home .logo em, .foot-name em { font-style: italic; font-weight: 500; color: var(--gold-soft); margin-right: .06em; }
.nav { display: none; gap: 32px; }
.nav a { color: var(--band-muted); text-decoration: none; font-weight: 500; font-size: .95rem; padding-block: 6px; border-bottom: 1px solid transparent; transition: color .15s ease, border-color .15s ease; }
.nav a:hover { color: #fff; border-bottom-color: var(--gold); }
.head-cta { display: none; gap: 10px; align-items: center; }
.head-demo { display: none; }
@media (min-width: 520px) { .head-cta { display: flex; } }
@media (min-width: 720px) { .head-demo { display: inline-flex; } }
@media (min-width: 1000px) { .nav { display: flex; } }
.home header :focus-visible, .home .hero :focus-visible, .home #join :focus-visible, .home footer :focus-visible { outline-color: var(--gold-soft); }
.home .hero .checker :focus-visible { outline-color: var(--teal); }

/* Hero */
.home .hero { background: radial-gradient(46% 52% at 78% 44%, rgba(220, 235, 230, .16), transparent 72%), linear-gradient(180deg, var(--teal) 0%, var(--deep) 100%); color: var(--cream); padding-block: 30px 56px; overflow-x: clip; -webkit-font-smoothing: antialiased; }
.home .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; align-items: center; }
.home .hero-copy { gap: 20px; }
.home .hero h1 { color: #fff; font-size: clamp(2.5rem, 7.6vw, 4.5rem); line-height: 1.03; }
.home .hero .lead { color: var(--band-muted); }
.home .hero .eyebrow { display: flex; align-items: center; gap: 10px; background: none; border: 0; border-radius: 0; padding: 0; color: var(--gold-soft); font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.home .hero .eyebrow { align-items: flex-start; }
.home .hero .eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: none; margin-top: .5em; }
.home .hero .free { color: var(--band-muted); font-size: .9rem; gap: 8px 22px; }
.home .hero .free span::before { color: var(--gold); }
.home .hero .cta { margin-top: 6px; }
@media (max-width: 519px) { .home .hero .cta .btn { flex: 1 1 auto; } }

/* Laptop and phone: real screens from the demo */
.devices { margin: 0; display: grid; gap: 16px; justify-items: center; }
.devices figcaption { font-size: .8rem; color: var(--band-muted); }
.devices-link { position: relative; display: block; width: 100%; max-width: 640px; padding: 0 8% 9% 0; container-type: inline-size; }
.laptop { display: block; background: var(--frame); border-radius: 12px 12px 0 0; border-radius: 2.4cqw 2.4cqw 0 0; padding: 8px 8px 0; padding: 1.7cqw 1.7cqw 0; box-shadow: 0 0 0 1px rgba(247, 242, 234, .14); }
.laptop img { display: block; width: 100%; height: auto; border-radius: 5px 5px 0 0; border-radius: .9cqw .9cqw 0 0; background: var(--bg); }
.laptop-base { display: block; position: relative; height: 10px; height: 2cqw; margin-inline: -4%; background: linear-gradient(180deg, #ece5d8, #b9b1a1); border-radius: 2px 2px 12px 12px; box-shadow: 0 34px 44px -22px rgba(5, 22, 20, .75); }
.laptop-base::after { content: ""; position: absolute; left: 50%; top: 0; width: 14%; height: 35%; transform: translateX(-50%); background: #a69e8e; border-radius: 0 0 6px 6px; }
.phone-frame { display: block; width: min(264px, 72vw); background: var(--frame); border-radius: 40px; padding: 9px; box-shadow: 0 34px 60px -26px rgba(8, 30, 27, .55), 0 0 0 1px rgba(247, 242, 234, .16); transition: transform .25s ease; }
.phone-frame img { display: block; width: 100%; height: auto; border-radius: 31px; background: var(--bg); }
.hero-phone { position: absolute; right: 0; bottom: 0; width: 26%; border-radius: 22px; border-radius: 4.4cqw; padding: 4px; padding: .9cqw; box-shadow: 0 30px 44px -18px rgba(5, 22, 20, .8), 0 0 0 1px rgba(247, 242, 234, .2); }
.hero-phone img { border-radius: 18px; border-radius: 3.6cqw; }
.devices-link:hover .hero-phone { transform: translateY(-4px); }
.phone { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.phone figcaption { font-size: .8rem; color: var(--muted); }
.shot .phone-frame:hover { transform: translateY(-4px); }

/* Register checker */
/* One column that may shrink: without this the longest area name sets the width and the card's contents stick out on a phone. */
.home .checker { border: 0; border-radius: 24px; color: var(--ink); box-shadow: 0 44px 80px -44px rgba(8, 30, 27, .55), 0 0 0 1px var(--hair); grid-template-columns: minmax(0, 1fr); padding: 24px; gap: 16px; }
.home .checker > * { min-width: 0; }
.home .checker .field { grid-template-columns: minmax(0, 1fr); }
.home .checker h2 { font-size: 1.45rem; font-weight: 600; letter-spacing: -0.01em; }
.home .checker select, .home .pc-row input, .home .pc-row .btn { height: 50px; min-height: 50px; }
.home .window { border-radius: 16px; }
.home .window strong { font-weight: 500; font-size: 2rem; }
#pc-note:empty { display: none; }

@media (min-width: 900px) {
  .home section { padding-block: 128px; }
  .home .lead { font-size: 1.2rem; }
  .home .hero { padding-block: 44px 0; }
  .home .hero-grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 60px 56px; }
  .hero-copy { grid-column: 1; grid-row: 1; }
  .home .hero .lead { font-size: 1.22rem; }
  .devices { grid-column: 2; grid-row: 1; }
  .home .checker { grid-column: 1 / -1; grid-row: 2; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr) minmax(0, 1.15fr); gap: 14px 24px; padding: 30px 32px; align-items: end; margin-bottom: -92px; position: relative; z-index: 2; }
  .home .checker > h2 { grid-column: 1 / 3; grid-row: 1; align-self: end; }
  .ck-pc { grid-column: 1; grid-row: 2; align-self: start; }
  .ck-area { grid-column: 2; grid-row: 2; align-self: start; }
  .home .checker > .window { grid-column: 3; grid-row: 1 / 3; align-self: stretch; align-content: center; }
  .home .checker > #pc-note, .home .checker > .ck-note { grid-column: 1 / -1; }
  .home .hero + section { padding-top: 236px; }
}

/* What's inside: a plain list on thin lines, no boxes */
.inside-grid { display: grid; margin-top: 44px; }
.feat { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 16px; row-gap: 4px; align-content: start; padding: 22px 0; border-top: 1px solid var(--hair); }
.feat svg { width: 26px; height: 26px; fill: none; stroke: var(--teal); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; grid-row: 1 / span 2; margin-top: 1px; }
.feat h3, .feat p { grid-column: 2; }
.feat p { color: var(--muted); font-size: .98rem; }
.inside-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 32px; }
@media (min-width: 700px) { .inside-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; } .feat { padding: 26px 0; } }
@media (min-width: 1000px) { .inside-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* The landlord journey: seven steps, one open at a time. Markers grow from a seed to a tree in fruit. */
.jr { display: grid; margin-top: 40px; border-top: 1px solid var(--hair); }
.jr-stage { border-bottom: 1px solid var(--hair); }
.jr-btn { width: 100%; display: grid; grid-template-columns: 42px minmax(0, 1fr) 20px; gap: 16px; align-items: center; text-align: left; background: none; border: 0; padding: 16px 0; font: inherit; color: var(--ink); cursor: pointer; }
.jr-btn .grow { width: 42px; height: 42px; background: none; box-shadow: inset 0 0 0 1px var(--line); transition: background-color .2s ease, box-shadow .2s ease; }
.jr-btn .grow svg { width: 24px; height: 24px; stroke: var(--teal); stroke-width: 1.4; transition: stroke .2s ease; }
.jr-btn[aria-expanded="true"] .grow { background: var(--teal); box-shadow: none; }
.jr-btn[aria-expanded="true"] .grow svg { stroke: var(--teal-ink); }
.jr-txt { display: grid; gap: 3px; min-width: 0; }
.jr-when { font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); }
.jr-title { font-family: var(--display); font-weight: 500; font-size: 1.2rem; line-height: 1.2; }
.jr-sign { color: var(--teal); font-size: 1.4rem; font-weight: 300; line-height: 1; text-align: center; }
.jr-panel { padding: 0 0 12px 58px; }
.jr-panel[hidden] { display: none; }
.jr-phead { display: none; }
.jr .steps-list { margin-top: 0; grid-template-columns: minmax(0, 1fr); gap: 0; }
.jr .steps-list li { background: none; border: 0; border-top: 1px solid var(--hair); border-radius: 0; padding: 16px 0; grid-template-columns: 24px minmax(0, 1fr); gap: 14px; }
.jr .steps-list .ico { width: 24px; height: 24px; background: none; border-radius: 0; margin-top: 1px; }
.jr .steps-list .ico svg { width: 22px; height: 22px; stroke-width: 1.5; }
.jr .steps-list .when { font-weight: 500; }
@media (min-width: 900px) {
  .jr { grid-template-columns: repeat(7, minmax(0, 1fr)); margin-top: 56px; border-top: 0; }
  .jr-stage { display: contents; }
  .jr-btn { grid-row: 1; position: relative; grid-template-columns: minmax(0, 1fr); justify-items: center; align-content: start; text-align: center; gap: 12px; padding: 0 8px 24px; border-bottom: 1px solid var(--hair); }
  .jr-btn::before { content: ""; position: absolute; top: 26px; left: -50%; width: 100%; height: 1px; background: var(--line); }
  .jr-stage:first-child .jr-btn::before { display: none; }
  .jr-btn::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: -1px; height: 2px; background: var(--gold); opacity: 0; transition: opacity .2s ease; }
  .jr-btn[aria-expanded="true"]::after { opacity: 1; }
  .jr-btn .grow { width: 52px; height: 52px; background: var(--surface); }
  .jr-btn .grow svg { width: 28px; height: 28px; }
  .jr-btn:hover .grow { box-shadow: inset 0 0 0 1px var(--teal); }
  .jr-w, .jr-sign { display: none; }
  .jr-title { font-size: 1.02rem; }
  .jr-btn[aria-expanded="true"] .jr-title { color: var(--teal); }
  .jr-panel { grid-row: 2; grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, .36fr) minmax(0, 1fr); gap: 56px; padding: 48px 0 0; min-height: 330px; align-content: start; align-items: start; }
  .jr-phead { display: block; font-family: var(--display); font-weight: 500; font-size: 2rem; line-height: 1.1; letter-spacing: -0.015em; }
  .jr-phead span { display: block; font-family: var(--body); font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 12px; }
  .jr .steps-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
  .jr .steps-list li { padding: 18px 0; }
}

/* Words beside a picture */
.home .two { gap: 44px; align-items: center; }
.shot { display: grid; justify-items: center; background: var(--sunk); border-radius: 36px; padding: 44px 20px 24px; }
.home .alt .shot { background: var(--bg); }
.home .ticks { gap: 14px; }
.home .ticks li { grid-template-columns: 26px minmax(0, 1fr); gap: 4px; }
.home .ticks li::before { content: ""; width: 14px; height: 1px; background: var(--gold); margin-top: .82em; }
.home .mail { border: 0; border-radius: 22px; box-shadow: 0 44px 80px -44px rgba(29, 43, 42, .45), 0 0 0 1px var(--hair); }
.home .mail-head { background: #f1eadd; padding: 16px 20px; }
.home .mail-body { padding: 22px 20px; }
.home .mail-foot { padding: 14px 20px; }
@media (min-width: 800px) {
  .home .two { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 96px; }
  .home .two.flip > .shot { order: -1; }
  .shot { padding: 64px 24px 30px; }
  .home #reminders, .home #rent { padding-bottom: 0; }
}

/* How it will work, and the trades note */
.how { display: grid; margin-top: 44px; counter-reset: how; }
.how li { counter-increment: how; display: grid; grid-template-columns: 60px minmax(0, 1fr); column-gap: 16px; row-gap: 6px; padding: 24px 0; border-top: 1px solid var(--hair); }
.how li::before { content: "0" counter(how); font-family: var(--display); font-weight: 500; font-size: 2rem; line-height: 1; color: var(--gold-ink); grid-row: 1 / span 2; }
.how h3, .how p { grid-column: 2; }
.how p { color: var(--muted); }
.aside { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--hair); display: grid; gap: 12px; }
.aside h3 { font-size: 1.4rem; font-weight: 500; letter-spacing: -0.01em; }
.aside p { color: var(--muted); max-width: 44em; }
@media (min-width: 800px) {
  .how { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 56px; margin-top: 56px; }
  .how li { grid-template-columns: minmax(0, 1fr); padding: 28px 0 0; }
  .how li::before { grid-row: auto; font-size: 2.8rem; margin-bottom: 18px; }
  .how h3, .how p { grid-column: 1; }
  .aside { margin-top: 88px; padding-top: 36px; grid-template-columns: minmax(0, .36fr) minmax(0, 1fr); gap: 56px; }
  .aside h3 { font-size: 1.6rem; }
}

/* Questions: lines, not boxes */
.faq-wrap { display: grid; gap: 8px; }
.home .faq { margin-top: 16px; border-top: 1px solid var(--hair); }
.home details { background: none; border: 0; border-bottom: 1px solid var(--hair); border-radius: 0; padding: 20px 0; }
.home details + details { margin-top: 0; }
.home summary { font-size: 1.06rem; font-weight: 500; transition: color .15s ease; }
.home summary:hover { color: var(--teal); }
.home summary::after { font-weight: 300; }
.home details p { max-width: 44em; }
@media (min-width: 900px) {
  .faq-wrap { grid-template-columns: minmax(0, .36fr) minmax(0, 1fr); gap: 56px; align-items: start; }
  .home .faq { margin-top: 0; }
}

/* Closing band and footer */
.home #join { background: radial-gradient(60% 80% at 50% 0%, rgba(220, 235, 230, .12), transparent 70%), linear-gradient(180deg, var(--deep), var(--deeper)); color: var(--cream); text-align: center; -webkit-font-smoothing: antialiased; }
.home #join .stack { justify-items: center; gap: 18px; }
.home #join .kicker { color: var(--gold-soft); }
.home #join h2 { color: #fff; font-size: clamp(2.2rem, 6.4vw, 3.6rem); }
.home #join .lead { color: var(--band-muted); }
.home .signup { background: none; border: 0; border-radius: 0; justify-items: center; margin-top: 14px; padding: 0; width: 100%; max-width: 560px; gap: 22px; }
.home .addr { color: var(--gold-soft); font-weight: 500; font-size: clamp(1.4rem, 5.6vw, 2.1rem); letter-spacing: -0.01em; }
.home #join .cta { justify-content: center; }
.home #join .muted { color: var(--band-muted); }
.home #join a:not(.btn) { color: var(--cream); }
.home footer { background: var(--deeper); color: var(--band-muted); padding-block: 0; display: block; border-top: 1px solid rgba(247, 242, 234, .12); font-size: .86rem; -webkit-font-smoothing: antialiased; }
.home footer .wrap { display: grid; gap: 10px; padding-block: 36px 48px; }
.foot-name { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 6px; }
.foot-name svg { width: 28px; height: 28px; flex: none; }
.foot-name strong { color: var(--cream); font-family: var(--display); font-weight: 600; font-size: 1.1rem; }
.home footer a { color: var(--cream); }

/* Sections ease in as you scroll to them. Off for anyone who asks their device for less motion. */
.rv { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .home .btn, .phone-frame, .nav a { transition: none; }
  .home .btn:hover, .shot .phone-frame:hover, .devices-link:hover .hero-phone { transform: none; }
}
@media print { .rv { opacity: 1; transform: none; } }
