/* Dropsy public site.
   One family, Outfit: the geometric, rounded sans closest to the Dropsy
   wordmark on the bin. Semibold for headings, regular for reading.
   One spacing rhythm (8px base; every section the same vertical padding).
   One bold move: the arched window framing the bin in the hero. */

@font-face { font-family: 'Outfit'; src: url('/fonts/outfit-latin.woff2') format('woff2'); font-weight: 300 800; font-style: normal; font-display: swap; }

:root {
  --canvas: #F5F6F8;
  --paper: #FFFFFF;
  --ink: #17161F;
  --graphite: #565A6B;
  --hairline: #E3E5EB;
  --violet: #5B47F0;
  --violet-ink: #3D2DB8;
  --lilac: #F0EEFF;
  --stone: #ECE8E3; /* matches the photo walls behind the bin */

  --display: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --sans: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --max: 1200px;
  --gutter: clamp(20px, 5vw, 56px);
  --section: clamp(80px, 11vw, 144px);
  --head-gap: clamp(40px, 5vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--violet); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--violet-ink); }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 6px; }
p, h1, h2, h3, figure, dl, dd { margin: 0; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* Type scale */
.display, h1 { font-family: var(--display); font-weight: 600; font-size: clamp(52px, 7.2vw, 100px); line-height: 1; letter-spacing: -0.035em; }
h2 { font-family: var(--display); font-weight: 600; font-size: clamp(32px, 3.6vw, 50px); line-height: 1.08; letter-spacing: -0.03em; }
h3 { font-family: var(--sans); font-weight: 600; font-size: 19px; line-height: 1.35; letter-spacing: -0.01em; }
.lede { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.6; color: var(--graphite); max-width: 36em; }
.small { font-size: 14px; line-height: 1.5; color: var(--graphite); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px; border-radius: 999px; font: 600 16px/1 var(--sans); text-decoration: none; border: 1px solid transparent; transition: background-color .15s, border-color .15s, color .15s; }
.btn-primary { background: var(--violet); color: #fff; }
.btn-primary:hover { background: var(--violet-ink); color: #fff; }
.btn-ghost { color: var(--ink); border-color: #CDD0D8; }
.btn-ghost:hover { color: var(--ink); border-color: var(--ink); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 15px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(245, 246, 248, 0.86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; }
.site-header .wrap { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 600 19px/1 var(--sans); letter-spacing: -0.01em; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.brand:hover { color: var(--ink); }
.site-nav { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.site-nav a:not(.btn) { color: var(--graphite); text-decoration: none; }
.site-nav a:not(.btn):hover { color: var(--ink); }
@media (max-width: 760px) { .site-nav .hide-sm { display: none; } }

/* Phone menu: a disclosure, no script. Hidden on wider screens. */
.menu { position: relative; display: none; }
.menu summary { list-style: none; cursor: pointer; width: 40px; height: 40px; border-radius: 50%; border: 1px solid #CDD0D8; display: grid; place-items: center; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span, .menu summary span::before { display: block; width: 16px; height: 1.5px; background: var(--ink); position: relative; content: ''; }
.menu summary span::before { position: absolute; top: 5px; }
.menu summary span { top: -2.5px; }
.menu[open] summary { border-color: var(--ink); }
.menu-panel { position: absolute; right: 0; top: 50px; min-width: 200px; background: var(--paper); border: 1px solid var(--hairline); border-radius: 16px; padding: 8px; box-shadow: 0 24px 48px -24px rgba(23, 22, 31, 0.35); display: grid; }
.menu-panel a { padding: 12px 14px; border-radius: 10px; color: var(--ink) !important; text-decoration: none; font-size: 16px; }
.menu-panel a:hover { background: var(--canvas); }
@media (max-width: 760px) { .menu { display: block; } .site-nav { gap: 10px; } }

/* Sections share one rhythm */
.section { padding: var(--section) 0; }
.paper { background: var(--paper); }
.section-head { display: grid; gap: 20px; max-width: 760px; margin-bottom: var(--head-gap); }

/* Hero */
.hero { padding: clamp(40px, 6vw, 88px) 0 var(--section); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.hero-copy { display: grid; gap: 32px; }
.hero-copy .lede { max-width: 30em; }
/* The bin as a product shot: cut out of its render, standing on the page
   with a soft floor shadow. */
.hero-product { margin: 0; position: relative; display: flex; justify-content: center; padding-bottom: 28px; }
.hero-product picture { position: relative; z-index: 1; display: block; width: min(100%, 360px); }
.hero-product img { width: 100%; }
.hero-product::after { content: ''; position: absolute; left: 50%; bottom: 10px; width: min(90%, 420px); height: 46px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(23, 22, 31, 0.32), rgba(23, 22, 31, 0.12) 55%, transparent); filter: blur(4px); }
@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-product picture { width: min(72%, 300px); }
}

/* How it works: steps + one conversation */
.how { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hairline); }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 8px 16px; padding: 28px 0; border-bottom: 1px solid var(--hairline); }
.steps .n { font: 600 15px/1 var(--sans); color: #fff; background: var(--violet); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; margin-top: 1px; }
.steps p { color: var(--graphite); grid-column: 2; }
.steps h3 { grid-column: 2; margin-top: 3px; }
@media (max-width: 880px) { .how { grid-template-columns: 1fr; } }

.thread { background: var(--paper); border: 1px solid var(--hairline); border-radius: 28px; padding: 22px 20px 26px; box-shadow: 0 32px 64px -40px rgba(23, 22, 31, 0.28); position: sticky; top: 104px; }
.thread-head { display: flex; align-items: center; gap: 10px; padding: 0 4px 18px; border-bottom: 1px solid var(--hairline); margin-bottom: 18px; }
.thread-head img { width: 32px; height: 32px; border-radius: 8px; }
.thread-head strong { font-size: 15px; }
.thread-head span { display: block; font-size: 13px; color: var(--graphite); }
.thread-body { display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.45; }
.bubble { max-width: 84%; padding: 11px 15px; border-radius: 20px; }
.bubble.me { align-self: flex-end; background: var(--violet); color: #fff; border-bottom-right-radius: 6px; }
.bubble.us { align-self: flex-start; background: #EEF0F3; border-bottom-left-radius: 6px; }
.stamp { align-self: center; font-size: 12px; color: var(--graphite); margin: 8px 0 2px; }
.attachments { align-self: flex-end; display: flex; gap: 6px; }
.attachments > div { width: 92px; height: 112px; border-radius: 16px; overflow: hidden; display: grid; place-items: center; }
.att-label { background: var(--paper); border: 1px solid var(--hairline); padding: 12px; }
.att-label i { display: block; width: 100%; height: 44px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px); }
.att-label b { display: block; margin-top: 8px; font: 600 10px/1.2 var(--sans); color: var(--graphite); text-align: center; }
.att-item { background: #DCE3F2; }
.att-item svg { width: 54px; height: 54px; color: #3B4F7A; }

/* Operating model */
.ledger { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(40px, 6vw, 96px); }
.ledger h3 { padding-bottom: 16px; border-bottom: 1px solid var(--ink); }
.ledger ul { list-style: none; margin: 0; padding: 0; }
.ledger li { padding: 20px 0; border-bottom: 1px solid var(--hairline); display: grid; gap: 4px; }
.ledger li strong { font-weight: 600; }
.ledger li span { color: var(--graphite); font-size: 16px; }
.kicker { margin-top: var(--head-gap); font-family: var(--display); font-weight: 600; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.2; letter-spacing: -0.025em; }
@media (max-width: 760px) { .ledger { grid-template-columns: 1fr; gap: 48px; } }

/* The bin */
.views.views-2 { grid-template-columns: 1fr 1fr; }
.views.views-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.views.views-2 figure { grid-template-rows: 1fr auto; }
.views.views-2 picture { position: relative; display: flex; justify-content: center; align-items: flex-end; padding: clamp(32px, 4vw, 56px) 24px 36px; }
.views.views-2 picture::after { content: ''; position: absolute; bottom: 22px; left: 50%; width: min(70%, 300px); height: 34px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(23, 22, 31, 0.3), rgba(23, 22, 31, 0.1) 55%, transparent); filter: blur(3px); }
.views.views-2 img { position: relative; z-index: 1; width: auto; height: clamp(300px, 34vw, 460px); object-fit: contain; }
.views { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 16px; align-items: stretch; }
.views figure { background: var(--stone); border-radius: 20px; overflow: hidden; display: grid; grid-template-rows: 1fr auto; }
.views picture { display: block; }
.views img { width: 100%; height: clamp(320px, 40vw, 520px); object-fit: cover; object-position: 50% 30%; }
.views figure:first-child img { object-position: 30% 30%; }
.views figcaption { padding: 14px 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 14px; color: var(--graphite); background: var(--paper); border-top: 1px solid var(--hairline); }
.specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: var(--head-gap); border-top: 1px solid var(--ink); }
.specs > div { padding: 22px 24px 0 0; }
.specs dt { font-size: 14px; color: var(--graphite); }
.specs dd { margin-top: 6px; font-family: var(--display); font-weight: 600; font-size: 26px; line-height: 1.2; letter-spacing: -0.02em; }
@media (max-width: 760px) {
  .views { grid-template-columns: 1fr 1fr; }
  .views:not(.views-2) figure:first-child { grid-column: 1 / -1; }
  .views.views-2 img { height: 240px; }
  .views.views-3 { grid-template-columns: 1fr 1fr; }
  .views.views-3 figure:first-child { grid-column: 1 / -1; }
  .views.views-3 figure:first-child img { height: 320px; }
  .specs { grid-template-columns: 1fr 1fr; row-gap: 20px; }
  .specs > div:last-child { grid-column: 1 / -1; }
  .views figcaption { white-space: normal; }
}

/* Records */
.records { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.records .ledger-list { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--hairline); }
.records .ledger-list li { padding: 18px 0; border-bottom: 1px solid var(--hairline); display: grid; gap: 2px; }
.records .ledger-list strong { font-weight: 600; }
.records .ledger-list span { color: var(--graphite); font-size: 16px; }
.window { border-radius: 16px; background: var(--paper); border: 1px solid var(--hairline); overflow: hidden; box-shadow: 0 40px 80px -48px rgba(23, 22, 31, 0.4); }
.window-bar { height: 40px; display: flex; align-items: center; gap: 7px; padding: 0 16px; border-bottom: 1px solid var(--hairline); background: #FAFAFB; }
.window-bar i { width: 10px; height: 10px; border-radius: 50%; background: #DADDE3; }
.window img { width: 100%; -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent); mask-image: linear-gradient(to bottom, #000 82%, transparent); }
@media (max-width: 880px) { .records { grid-template-columns: 1fr; } }

/* Pilot */
.pilot { background: var(--lilac); border-radius: 32px; padding: clamp(40px, 6vw, 88px); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 40px; align-items: end; }
.pilot p { margin-top: 20px; color: #4A4766; max-width: 32em; }
.pilot .actions { justify-content: flex-end; }
@media (max-width: 760px) { .pilot { grid-template-columns: 1fr; } .pilot .actions { justify-content: flex-start; } }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); }
.faq-grid .small { margin-top: 20px; max-width: 22em; }
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq summary { cursor: pointer; list-style: none; padding: 24px 48px 24px 0; position: relative; font-weight: 600; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ''; position: absolute; right: 8px; top: 50%; width: 14px; height: 1.5px; background: var(--ink); transition: transform .2s; }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq details p { padding: 0 48px 26px 0; color: var(--graphite); max-width: 40em; }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }
@media (max-width: 880px) { .faq-grid { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--paper); border-top: 1px solid var(--hairline); }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 40px 0; border-bottom: 1px solid var(--hairline); }
.footer-top p { font-family: var(--display); font-weight: 600; font-size: 22px; line-height: 1.25; letter-spacing: -0.02em; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 28px 0 40px; font-size: 14px; color: var(--graphite); }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-bottom a { color: var(--graphite); text-decoration: none; }
.footer-bottom a:hover { color: var(--ink); }

/* Interior pages (residents, legal, SMS sign-up) */
.page-head { padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); }
.page-head h1 { font-size: clamp(48px, 6.4vw, 88px); max-width: 14em; }
.page-head .lede { margin-top: 24px; }
.page-head .small { margin-top: 20px; }

/* Documents: legal pages, SMS sign-up, legal index. Their content is kept
   word for word (carrier-reviewed), only the presentation lives here. */
.doc { max-width: calc(760px + 2 * var(--gutter)); margin: 0 auto; padding: clamp(48px, 7vw, 96px) var(--gutter) var(--section); }
.doc > h1 { font-size: clamp(44px, 5.6vw, 72px); line-height: 1.02; }
.doc .doc-meta { margin-top: 20px; padding-bottom: 28px; border-bottom: 1px solid var(--hairline); font-size: 14px; color: var(--graphite); display: flex; flex-wrap: wrap; gap: 4px 20px; }
.doc .doc-meta strong { font-weight: 600; color: var(--ink); }
.doc h2 { font-family: var(--sans); font-weight: 600; font-size: 21px; line-height: 1.3; letter-spacing: -0.005em; margin: 56px 0 14px; }
.doc h3 { font-size: 17px; margin: 32px 0 10px; }
.doc p { margin: 0 0 16px; }
.doc p, .doc li, .doc td { color: #33364A; }
.doc ul, .doc ol { margin: 0 0 18px; padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc li::marker { color: var(--graphite); }
.doc strong { font-weight: 600; color: var(--ink); }
.doc .caps { font-size: 14.5px; letter-spacing: 0.01em; }
.doc table { width: 100%; border-collapse: collapse; margin: 8px 0 24px; font-size: 15px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 12px 16px 12px 0; border-bottom: 1px solid var(--hairline); }
.doc th { font-weight: 600; color: var(--ink); border-bottom-color: var(--ink); }
.doc .summary-table td:first-child { width: 34%; font-weight: 600; color: var(--ink); }
.doc .notice { background: var(--lilac); border-radius: 16px; padding: 20px 24px; margin: 28px 0; color: #3A3657; }
.doc .notice p:last-child { margin-bottom: 0; }

/* Legal index */
.doc .subtitle { margin-top: 20px; font-size: 19px; color: var(--graphite); }
.doc .doc-cards { margin-top: 40px; border-top: 1px solid var(--ink); }
.doc .doc-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--hairline); text-decoration: none; color: var(--ink); }
.doc .doc-card:hover .doc-card-title { color: var(--violet); }
.doc .doc-card-title { font-family: var(--display); font-weight: 600; font-size: 22px; line-height: 1.25; letter-spacing: -0.02em; transition: color .15s; }
.doc .doc-card-desc { margin-top: 4px; color: var(--graphite); font-size: 16px; }
.doc .doc-card-arrow { flex: none; color: var(--graphite); }

/* SMS sign-up */
.doc .eyebrow { font-size: 15px; color: var(--graphite); margin-bottom: 16px; }
.doc .eyebrow-dot { display: none; }
.doc .lead { margin-top: 22px; font-size: 19px; line-height: 1.6; color: var(--graphite); }
.doc .cta-card { margin: 40px 0 8px; background: var(--paper); border: 1px solid var(--hairline); border-radius: 24px; padding: clamp(24px, 4vw, 40px); box-shadow: 0 32px 64px -48px rgba(23, 22, 31, 0.35); }
.doc .cta-card-title { font-family: var(--display); font-weight: 600; font-size: 26px; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 14px; }
.doc .numbers-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0; }
.doc .number-item { background: var(--canvas); border-radius: 16px; padding: 16px 18px; }
.doc .number-meta { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--graphite); }
.doc .number-status { color: #1F7A4A; }
.doc .number-value { margin-top: 6px; font-family: var(--display); font-weight: 600; font-size: 22px; line-height: 1.2; letter-spacing: -0.01em; color: var(--ink); }
.doc .cta-disclosure { border-top: 1px solid var(--hairline); padding-top: 18px; font-size: 15px; }
.doc .cta-disclosure p { margin-bottom: 10px; }
.doc .disclosure-list { list-style: none; padding: 0; }
.doc .disclosure-list li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; margin: 12px 0; }
.doc .disclosure-list .dot { width: 28px; height: 28px; border-radius: 50%; background: var(--violet); color: #fff; display: grid; place-items: center; font: 600 13px/1 var(--sans); }
@media (max-width: 560px) { .doc .numbers-list { grid-template-columns: 1fr; } }

/* Residents page */
.retailers { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.retailers li { padding: 8px 16px; border: 1px solid var(--hairline); border-radius: 999px; background: var(--paper); font-size: 15px; }
