/* OfferDr site. Quiet, spacious and precise: big type, generous whitespace, soft depth. */
:root {
  --bg: #FBFBFD;
  --alt: #F5F5F7;
  --card: #FFFFFF;
  --ink: #1D1D1F;
  --muted: #6E6E73;
  --line: rgba(0,0,0,.10);
  --soft: #F2F2F5;
  --navy: #0A1118;
  --sky: #7FC1DE;
  --teal: #1F6F96;
  --teal-soft: #E8F3F9;
  --orange: #C84300;
  --orange-soft: #FEEFE6;
  --green: #0B7A5F;
  --green-soft: #E3F5EC;
  --ok-soft: #E3F5EC;
  --shadow: 0 1px 1px rgba(0,0,0,.03), 0 12px 40px rgba(0,0,0,.07);
  --shadow-lg: 0 2px 4px rgba(0,0,0,.04), 0 30px 80px rgba(0,0,0,.12);
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, system-ui, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, system-ui, sans-serif;
  --accent: var(--teal);
  --accent-soft: var(--teal-soft);
  --accent-ink: #FFFFFF;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #000000; --alt: #0D0D0F; --card: #1C1C1E; --ink: #F5F5F7; --muted: #A1A1A6; --line: rgba(255,255,255,.14); --soft: #2A2A2D;
    --teal: #7FC1DE; --teal-soft: #14272F; --orange: #FF8B4D; --orange-soft: #2E1C10;
    --green: #4FD1AB; --green-soft: #0F2D25; --ok-soft: #0F2D25;
    --shadow: 0 1px 1px rgba(0,0,0,.5), 0 12px 40px rgba(0,0,0,.5); --shadow-lg: 0 30px 80px rgba(0,0,0,.6);
    --accent-ink: #00131C;
  }
}
.theme-worker { --accent: var(--orange); --accent-soft: var(--orange-soft); --accent-ink: #FFFFFF; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme-worker { --accent-ink: #1B0A00; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.47; letter-spacing: -0.011em; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 8.4vw, 5.5rem); letter-spacing: -0.045em; line-height: 1.02; }
h2 { font-size: clamp(2rem, 5.2vw, 3.5rem); letter-spacing: -0.035em; line-height: 1.06; }
h3 { font-size: 1.5rem; letter-spacing: -0.022em; line-height: 1.15; }
p { margin: 0; text-wrap: pretty; }
.wrap { width: min(1080px, 100% - 44px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.grad { background: linear-gradient(100deg, var(--accent) 0%, color-mix(in srgb, var(--accent) 55%, #8FD3F0) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.theme-worker .grad { background: linear-gradient(100deg, var(--orange) 0%, #FF9F5A 100%); -webkit-background-clip: text; background-clip: text; }

/* Header: thin frosted bar */
.site-header { position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); background: color-mix(in srgb, var(--bg) 78%, transparent); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-family: var(--display); font-weight: 650; font-size: 1.2rem; letter-spacing: -0.03em; }
.brand { flex-shrink: 0; } .brand svg { width: 28px; height: 28px; flex: none; }
.brand b { color: var(--teal); font-weight: 650; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; font-weight: 500; font-size: .86rem; color: var(--muted); padding: 7px 12px; border-radius: 999px; transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a.btn { color: var(--accent-ink); margin-left: 6px; }
@media (max-width: 560px) { .nav a { white-space: nowrap; } .nav a:not(.btn) { padding-inline: 6px; font-size: .78rem; } .nav a.btn { margin-left: 2px; padding-inline: 12px; font-size: .78rem; } .brand span { display: none; } }
@media (max-width: 560px) { .nav { gap: 0; } .site-header .wrap { gap: 8px; } }
@media (max-width: 340px) { .nav a[href="/customers/"], .nav a[href="/workers/"]:not([aria-current]) { display: none; } .nav a[href="/customers/"][aria-current], .nav a[href="/workers/"][aria-current] { display: inline-block; } }
@media (max-width: 400px) { .nav a:not(.btn) { padding-inline: 3px; font-size: .72rem; } .nav a.btn { padding-inline: 8px; font-size: .72rem; } .brand svg { width: 24px; height: 24px; } .site-header .wrap { gap: 4px; } }

/* Buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--accent); color: var(--accent-ink); font: 500 1.06rem var(--body); letter-spacing: -0.012em; text-decoration: none; padding: 13px 26px; border: 0; border-radius: 980px; cursor: pointer; transition: transform .2s, filter .2s; }
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: scale(.97); }
.btn-sm { padding: 6px 14px; font-size: .84rem; font-weight: 500; }
.btn[disabled] { opacity: .6; cursor: default; }
.link { display: inline-flex; align-items: center; gap: 4px; color: var(--accent); text-decoration: none; font-size: 1.12rem; letter-spacing: -0.012em; }
.link::after { content: "›"; font-size: 1.35em; line-height: .8; transition: transform .2s; }
.link:hover { text-decoration: underline; }
.link:hover::after { transform: translateX(3px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: center; margin-top: 30px; }

/* Sections */
section { padding-block: clamp(72px, 11vw, 148px); }
section.alt { background: var(--alt); }
.section-head { text-align: center; max-width: 740px; margin: 0 auto clamp(40px, 6vw, 72px); display: grid; gap: 14px; }
.kicker { font-size: 1.05rem; font-weight: 600; color: var(--accent); letter-spacing: -0.01em; }
.section-head p { font-size: clamp(1.1rem, 2vw, 1.4rem); color: var(--muted); line-height: 1.35; letter-spacing: -0.015em; }
.dark { background: var(--navy); color: #F5F5F7; --muted: #A1A1A6; --accent: #7FC1DE; --line: rgba(255,255,255,.14); }
.dark .kicker { color: #7FC1DE; }
.dark .section-head p { color: #A1A1A6; }

/* Hero */
.hero { padding-block: clamp(20px, 4vw, 48px) 0; text-align: center; overflow: hidden; background: linear-gradient(180deg, var(--bg) 0%, var(--bg) 60%, var(--alt) 100%); }
.eyebrow { display: inline-block; font-size: 1.05rem; font-weight: 600; color: var(--accent); margin-bottom: 14px; letter-spacing: -0.01em; }
.lead { font-size: clamp(1.15rem, 2.3vw, 1.6rem); line-height: 1.32; color: var(--muted); max-width: 700px; margin: 22px auto 0; letter-spacing: -0.018em; }
.hero .wrap { display: grid; justify-items: center; }
.logo-anim { margin-inline: auto; }

/* Category marquee */
.marquee { margin-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(48px, 7vw, 88px); -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); overflow: hidden; }
.track { display: flex; gap: 18px; width: max-content; animation: drift 90s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.mtile { flex: none; width: clamp(150px, 20vw, 232px); aspect-ratio: 1; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); }
.mtile img { width: 100%; height: 100%; object-fit: cover; }
@keyframes drift { to { transform: translateX(calc(-50% - 9px)); } }
@media (prefers-reduced-motion: reduce) { .track { animation: none; } .marquee { overflow-x: auto; } }

/* Two doors */
.doors { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .doors { grid-template-columns: 1fr 1fr; } }
.door { position: relative; display: grid; align-content: space-between; gap: 28px; min-height: 480px; padding: clamp(28px, 4vw, 48px); border-radius: 36px; background: var(--card); text-decoration: none; overflow: hidden; box-shadow: var(--shadow); isolation: isolate; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; }
.door:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.door.customer { --accent: var(--teal); --accent-soft: var(--teal-soft); }
.door.worker { --accent: var(--orange); --accent-soft: var(--orange-soft); }
.door .tag { font-size: 1.05rem; font-weight: 600; color: var(--accent); }
.door h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-top: 6px; }
.door p { color: var(--muted); font-size: 1.15rem; line-height: 1.35; margin-top: 12px; max-width: 26rem; }
.door .go { color: var(--accent); font-size: 1.1rem; font-weight: 500; margin-top: 18px; display: inline-flex; gap: 4px; }
.door .go::after { content: "›"; font-size: 1.35em; line-height: .8; }
.door .pics { display: flex; justify-content: center; align-items: flex-end; height: 190px; margin-inline: -8px; }
.door .pics img { width: 168px; height: 168px; object-fit: cover; border-radius: 30px; box-shadow: 0 10px 30px rgba(0,0,0,.18); border: 4px solid var(--card); }
.door .pics img:nth-child(1) { transform: rotate(-7deg) translateX(18px); }
.door .pics img:nth-child(2) { transform: translateY(-14px); z-index: 1; width: 184px; height: 184px; }
.door .pics img:nth-child(3) { transform: rotate(7deg) translateX(-18px); }

/* How it works */
.how { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: 1fr; }
.how-card { display: flex; flex-direction: column; text-align: center; border-radius: 36px; background: linear-gradient(180deg, var(--card) 0%, var(--card) 40%, var(--accent-soft) 100%); box-shadow: var(--shadow); overflow: hidden; padding-top: clamp(30px, 4vw, 44px); }
.how-text { display: grid; gap: 8px; padding-inline: clamp(24px, 4vw, 40px); }
.how-num { font-size: .92rem; font-weight: 600; color: var(--accent); letter-spacing: 0; }
.how-text h3 { font-size: clamp(1.6rem, 3vw, 2.1rem); letter-spacing: -0.03em; }
.how-text p { color: var(--muted); font-size: 1.08rem; line-height: 1.38; max-width: 26rem; margin-inline: auto; }
.how-art { margin-top: 26px; margin-top: auto; padding-top: 26px; }
.scene { display: block; width: 100%; height: auto; }
@media (min-width: 900px) {
  .how { grid-template-columns: repeat(6, 1fr); }
  .how-card { grid-column: span 2; }
  .how-card:nth-child(4), .how-card:nth-child(5) { grid-column: span 3; }
  .how-card:nth-child(4) .how-art, .how-card:nth-child(5) .how-art { width: min(380px, 100%); margin-inline: auto; }
}
.how.rail { scroll-padding-inline: max(22px, calc((100vw - 1080px) / 2)); display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 18px; padding: 8px max(22px, calc((100vw - 1080px) / 2)) 40px; scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--muted) 45%, transparent) transparent; -webkit-overflow-scrolling: touch; cursor: grab; }
.how.rail::-webkit-scrollbar { height: 8px; }
.how.rail::-webkit-scrollbar-track { background: transparent; }
.how.rail::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--muted) 45%, transparent); border-radius: 999px; }
.how.rail.dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; }
.how.rail.dragging * { pointer-events: none; }
.how.rail .how-card { flex: none; width: min(340px, 82vw); scroll-snap-align: start; grid-column: auto; }
.how.rail .how-card:nth-child(4) .how-art, .how.rail .how-card:nth-child(5) .how-art { width: 100%; }
.seg { display: flex; width: fit-content; margin: 0 auto 36px; padding: 4px; gap: 2px; background: var(--soft); border-radius: 999px; }
.seg button { font: 500 .95rem var(--body); letter-spacing: -0.01em; color: var(--muted); background: transparent; border: 0; padding: 9px 22px; border-radius: 999px; cursor: pointer; transition: background .25s, color .25s, box-shadow .25s; }
.seg button[aria-pressed="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.12), 0 2px 8px rgba(0,0,0,.08); }
.panel[hidden] { display: none; }

/* Bento cards */
.bento { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .bento { grid-template-columns: repeat(6, 1fr); } .bento .b-3 { grid-column: span 3; } .bento .b-2 { grid-column: span 2; } .bento .b-4 { grid-column: span 4; } }
.tilecard { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: 340px; padding: clamp(26px, 3.4vw, 40px); background: var(--card); border-radius: 36px; box-shadow: var(--shadow); overflow: hidden; }
.tilecard h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -0.03em; }
.tilecard p { color: var(--muted); font-size: 1.08rem; line-height: 1.38; margin-top: 10px; max-width: 30rem; }
.tilecard .eyebrow { font-size: .92rem; margin-bottom: 8px; }
.tilecard.tint { background: var(--accent-soft); box-shadow: none; }
.tilecard.navy { background: var(--navy); color: #F5F5F7; box-shadow: none; }
.tilecard.navy p { color: #A1A1A6; }
.big { font-family: var(--display); font-weight: 700; font-size: clamp(3.4rem, 8vw, 5.6rem); letter-spacing: -0.05em; line-height: .95; color: var(--accent); }
.big small { font-size: .38em; letter-spacing: -0.02em; color: var(--muted); font-weight: 600; margin-left: 4px; }
.mini-bids { display: grid; gap: 8px; }
.mini-bids div { display: flex; justify-content: space-between; align-items: center; background: var(--soft); border-radius: 16px; padding: 12px 16px; font-weight: 600; letter-spacing: -0.02em; }
.mini-bids div:first-child { background: var(--accent-soft); box-shadow: inset 0 0 0 1.5px var(--accent); }
.mini-bids b { font-size: 1.15rem; }
.stars { display: flex; gap: 5px; margin-top: 4px; }
.stars i { width: 26px; height: 26px; border-radius: 50%; background: var(--accent); }
.stars i:last-child { background: var(--line); }

/* Category grid */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 14px; }
@media (min-width: 640px) { .cats { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 900px) { .cats { grid-template-columns: repeat(6, 1fr); gap: 28px 20px; } }
.cat { display: grid; gap: 10px; text-align: center; }
.cat img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 22px; box-shadow: 0 6px 22px rgba(0,0,0,.18); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.cat:hover img { transform: translateY(-4px) scale(1.03); }
.cat span { font-size: .9rem; font-weight: 500; color: var(--muted); letter-spacing: -0.01em; line-height: 1.25; }
.dark .cat span { color: #C7C7CC; }

/* Demo card (customer and worker heroes) */
.stage { margin-top: clamp(44px, 6vw, 72px); padding-bottom: clamp(48px, 7vw, 90px); }
.demo { width: min(520px, 100%); margin-inline: auto; text-align: left; background: color-mix(in srgb, var(--card) 88%, transparent); backdrop-filter: blur(20px); border-radius: 34px; box-shadow: var(--shadow-lg); padding: 22px; border: 1px solid var(--line); }
.demo-top { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.demo-top img { width: 52px; height: 52px; border-radius: 15px; object-fit: cover; }
.demo-top strong { font-family: var(--display); font-size: 1.15rem; letter-spacing: -0.02em; flex: 1; }
.demo-label { font-size: .75rem; font-weight: 600; color: var(--muted); background: var(--soft); border-radius: 999px; padding: 4px 11px; }
.bid { display: flex; align-items: center; gap: 13px; padding: 13px 16px; border-radius: 20px; background: var(--soft); margin-top: 8px; }
.bid.best { background: var(--accent-soft); box-shadow: inset 0 0 0 1.5px var(--accent); }
.bid img { width: 42px; height: 42px; border-radius: 12px; object-fit: cover; flex: none; }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; flex: none; }
.bid .who { flex: 1; display: grid; min-width: 0; line-height: 1.25; }
.bid .who b { font-weight: 650; letter-spacing: -0.015em; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.bid .who span { font-size: .84rem; color: var(--muted); }
.pill { font-size: .68rem; font-weight: 700; background: var(--green-soft); color: var(--green); border-radius: 999px; padding: 2px 8px; }
.price { font-family: var(--display); font-weight: 700; font-size: 1.35rem; letter-spacing: -0.03em; }
.bid .price.go { font-family: var(--body); font-size: .85rem; background: var(--accent); color: var(--accent-ink); padding: 6px 16px; border-radius: 999px; }

/* Split feature rows */
.split { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .split { grid-template-columns: 1.2fr 1fr; } }
.split > .tilecard { min-height: 0; justify-content: flex-start; }
.checks { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 20px; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 14px; }
.checks svg { width: 26px; height: 26px; color: var(--accent); margin-top: 1px; }
.checks strong { display: block; font-weight: 650; letter-spacing: -0.015em; font-size: 1.08rem; }
.checks span { color: var(--muted); display: block; margin-top: 2px; line-height: 1.4; }
.icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.icon svg { width: 26px; height: 26px; }

/* FAQ */
.faq { max-width: 760px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 24px 40px 24px 0; font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 11px; height: 11px; margin-top: -9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq details p { color: var(--muted); font-size: 1.1rem; line-height: 1.45; padding: 0 0 26px; max-width: 40rem; }

/* Early-access signup */
.signup-wrap { padding-block: clamp(40px, 6vw, 80px) clamp(72px, 10vw, 120px); }
.signup { background: var(--navy); color: #F5F5F7; border-radius: 40px; padding: clamp(40px, 7vw, 88px) clamp(24px, 6vw, 72px); text-align: center; position: relative; overflow: hidden; isolation: isolate; --accent: #7FC1DE; }
.signup::before { content: ""; position: absolute; inset: -40% -10% auto -10%; height: 90%; background: radial-gradient(60% 60% at 50% 0%, rgba(127,193,222,.28), transparent 70%); z-index: -1; }
.theme-worker .signup::before { background: radial-gradient(60% 60% at 50% 0%, rgba(255,139,77,.28), transparent 70%); }
.signup h2 { font-size: clamp(2.1rem, 5.5vw, 3.6rem); }
.signup .sub { color: #A1A1A6; font-size: clamp(1.1rem, 2vw, 1.35rem); line-height: 1.35; max-width: 34rem; margin: 14px auto 0; }
.form { max-width: 520px; margin: 34px auto 0; display: grid; gap: 14px; text-align: left; }
.form .row { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .form .row { grid-template-columns: 1.5fr 1fr; } }
.form label { display: block; font-size: .82rem; font-weight: 500; color: #A1A1A6; margin: 0 0 6px 6px; }
.form input[type="email"], .form select { width: 100%; font: 400 1.05rem var(--body); color: #F5F5F7; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 16px; padding: 14px 16px; appearance: none; -webkit-appearance: none; }
.form select { background-image: linear-gradient(45deg, transparent 50%, #A1A1A6 50%), linear-gradient(135deg, #A1A1A6 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
.form select option { color: #1D1D1F; }
.form input::placeholder { color: #6E6E73; }
.form input:focus, .form select:focus { outline: 2px solid #7FC1DE; outline-offset: 1px; }
.signup .btn { background: #7FC1DE; color: #0A1118; width: 100%; padding: 15px 26px; font-weight: 600; }
.theme-worker .signup .btn { background: #FF8B4D; color: #1B0A00; }
.form-msg { min-height: 1.4em; font-size: .95rem; text-align: center; }
.form-msg.ok { color: #7CE0B4; }
.form-msg.err { color: #FFB4A0; }
.fine { font-size: .8rem; color: #8E8E93; text-align: center; }
.fine a { color: #C7C7CC; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* Footer */
.site-footer { background: var(--alt); border-top: 1px solid var(--line); padding-block: 28px 40px; font-size: .8rem; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; }
.site-footer a { text-decoration: none; margin-right: 22px; }
.site-footer a:hover { text-decoration: underline; color: var(--ink); }

/* Motion */
.reveal { opacity: 0; transform: translateY(26px) scale(.985); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } .door, .btn, .cat img { transition: none; } }

/* Animated logo (home page): the little doctor pops out of the "D", listens to the "ff", and ducks back in. */
.logo-anim { --fs: clamp(46px, 11.5vw, 92px); display: flex; width: fit-content; max-width: 100%; align-items: center; gap: calc(var(--fs) * .3); margin-bottom: 26px; text-decoration: none; }
.logo-anim .la-mark { width: calc(var(--fs) * 1.3); height: calc(var(--fs) * 1.3); flex: none; margin-top: calc(var(--fs) * 1.15); }
.la-wrap { position: relative; padding-top: calc(var(--fs) * 1.15); }
.la-word { position: relative; display: inline-flex; align-items: baseline; font-family: var(--body); font-weight: 700; font-size: var(--fs); line-height: 1.1; letter-spacing: -0.02em; color: var(--ink); }
.la-word .dr { color: var(--teal); }
.la-base { display: inline-block; width: 0; height: 0; }
.la-clip { position: absolute; left: -12%; right: -12%; top: 0; overflow: hidden; pointer-events: none; }
.la-doc { position: absolute; left: 0; top: 0; will-change: transform; }
.la-doc img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; opacity: 0; }
.la-glow { position: absolute; border-radius: 10px; background: var(--teal); opacity: 0; pointer-events: none; }

@media (max-width: 819px) { .tilecard { min-height: 0; } .door { min-height: 0; } }

.badge-tile { justify-content: center; gap: 24px; }
.badge-img { width: min(100%, 440px); height: auto; }

/* Payments band */
section.tight { padding-block: clamp(56px, 8vw, 96px) 0; }
.band { display: grid; gap: 28px; align-items: center; background: var(--navy); color: #F5F5F7; border-radius: 36px; padding: clamp(30px, 5vw, 64px); position: relative; overflow: hidden; isolation: isolate; --accent: #7FC1DE; }
.theme-worker .band { --accent: #FF8B4D; }
.band::before { content: ""; position: absolute; inset: auto -10% -60% 30%; height: 100%; background: radial-gradient(50% 50% at 50% 50%, rgba(127,193,222,.22), transparent 70%); z-index: -1; }
.theme-worker .band::before { background: radial-gradient(50% 50% at 50% 50%, rgba(255,139,77,.22), transparent 70%); }
@media (min-width: 900px) { .band { grid-template-columns: 1.15fr 1fr; gap: 56px; } }
.band .eyebrow { color: var(--accent); margin-bottom: 10px; }
.band h2 { font-size: clamp(2rem, 4.6vw, 3.1rem); }
.band p { color: #A1A1A6; font-size: 1.15rem; line-height: 1.4; margin-top: 16px; max-width: 30rem; }
.band-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.band-list li { display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); border-radius: 20px; padding: 16px 20px; font-weight: 500; letter-spacing: -0.015em; font-size: 1.08rem; }
.band-list svg { width: 26px; height: 26px; flex: none; color: var(--accent); }

/* Privacy page */
.legal { padding-block: clamp(48px, 8vw, 96px); }
.legal-in { max-width: 720px; margin-inline: auto; }
.legal h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); margin-bottom: 20px; }
.legal .eyebrow { margin-bottom: 10px; }
.legal .intro { font-size: 1.2rem; line-height: 1.45; color: var(--muted); margin-top: 14px; }
.legal h2 { font-size: 1.6rem; letter-spacing: -0.028em; margin: 48px 0 12px; }
.legal p { margin-top: 12px; line-height: 1.55; }
.legal ul { margin: 12px 0 0; padding-left: 1.2rem; display: grid; gap: 8px; }
.legal ol { margin: 12px 0 0; padding-left: 1.4rem; display: grid; gap: 8px; line-height: 1.5; }
.legal a { color: var(--accent); }
.ptable { margin-top: 18px; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.ptable div { display: grid; gap: 4px; padding: 16px 20px; border-top: 1px solid var(--line); }
.ptable div:first-child { border-top: 0; }
.ptable span { color: var(--muted); line-height: 1.45; }
@media (min-width: 640px) { .ptable div { grid-template-columns: 170px 1fr; gap: 20px; } }

.rail-ctrl { display: flex; justify-content: flex-end; gap: 10px; margin-top: -6px; }
.rail-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--soft); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background .2s, transform .2s, opacity .2s; }
.rail-btn:hover { background: color-mix(in srgb, var(--soft) 70%, var(--muted)); }
.rail-btn:active { transform: scale(.94); }
.rail-btn[disabled] { opacity: .35; cursor: default; }
.rail-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* Heading with a picture on each side */
.head-split { display: grid; grid-template-columns: 1fr; grid-template-areas: "mid mid" "left right"; gap: 28px 18px; align-items: center; margin-bottom: clamp(40px, 6vw, 72px); }
.head-split .hs-mid { grid-area: mid; margin: 0; }
.hs-left { grid-area: left; } .hs-right { grid-area: right; }
.head-split { grid-template-columns: 1fr 1fr; }
.hs-fig { margin: 0; display: grid; gap: 12px; justify-items: center; text-align: center; }
.hs-fig img { width: min(100%, 220px); height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 30px; box-shadow: var(--shadow-lg); }
.hs-fig figcaption { font-size: .95rem; font-weight: 600; color: var(--muted); letter-spacing: -0.01em; }
@media (min-width: 820px) {
  .head-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1fr); grid-template-areas: "left mid right"; gap: 32px; }
  .hs-fig img { width: min(100%, 250px); }
}
@media (max-width: 819px) { .hs-fig { align-self: start; } }
