/* Doorstep website: built from the "Doorstep Website - Video Band" design (light page, dark hero, film band). */
:root {
  --ink: #16181d;
  --ink-2: #2a2d35;
  --line-dark: #3a3e48;
  --paper: #f5f5f3;
  --white: #fff;
  --rule: #e4e4e0;
  --rule-2: #d9d9d4;
  --grey: #5a5e68;
  --grey-2: #6b6f78;
  --soft: #a3a7b0;
  --body-d: #c9ccd3;
  --blue: #2f6fe4;
  --blue-l: #4a86f0;
  --blue-tint: #e8effc;
  --blue-ink: #1f55b8;
  --green: #1f7a50;
  --green-tint: #e3f3ea;
  --amber: #9a6a0c;
  --error: #c2410c;
  --gutter: 48px;
  --sans: "Hanken Grotesk", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--blue); }
:focus-visible { outline: 2px solid var(--blue-l); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 999px; font-weight: 700; }
.skip:focus { top: 12px; }
.mono { font-family: var(--mono); }
.eyebrow { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); }
.eyebrow.dark { color: var(--grey); }
.eyebrow.light { color: #fff; }
.wrap { max-width: 1344px; width: 100%; margin: 0 auto; padding: 120px var(--gutter); }
.h2 { margin: 0; font-weight: 800; font-size: clamp(40px, 5vw, 64px); letter-spacing: -.045em; line-height: .95; text-wrap: balance; }

/* ---------- hero ---------- */
/* Dubai skyline behind the hero (Fabien Bellanger, Unsplash Licence), darkened in brand ink so the type stays readable */
.hero { position: relative; min-height: 760px; color: #fff; display: flex; flex-direction: column; overflow: hidden;
  background-color: var(--ink);
  background-image: linear-gradient(90deg, rgba(22,24,29,.94) 0%, rgba(22,24,29,.78) 38%, rgba(22,24,29,.35) 72%, rgba(22,24,29,.45) 100%),
    linear-gradient(180deg, rgba(22,24,29,.55) 0%, rgba(22,24,29,.1) 30%, rgba(22,24,29,.25) 70%, rgba(22,24,29,.85) 100%),
    url("assets/dubai-skyline.jpg");
  background-size: cover; background-position: center 55%; background-repeat: no-repeat; }
@media (max-width: 1200px) {
  .hero { background-image: linear-gradient(90deg, rgba(22,24,29,.94) 0%, rgba(22,24,29,.8) 50%, rgba(22,24,29,.6) 100%),
    linear-gradient(180deg, rgba(22,24,29,.5) 0%, rgba(22,24,29,.2) 40%, rgba(22,24,29,.85) 100%), url("assets/dubai-skyline-1200.jpg"); }
}
.photo-credit { position: absolute; right: 16px; bottom: 12px; z-index: 2; font-size: 11px; color: rgba(255,255,255,.75); }
.photo-credit a { color: #fff; text-decoration: underline; }
.hero-anim { display: none; position: absolute; top: 0; bottom: 0; left: max(50%, 640px); right: 0; overflow: hidden; }
.hero-shade { display: none; }
@media (min-width: 1100px) { .hero-anim { display: block; } .hero-copy { max-width: min(1000px, calc(50vw - 96px)); } }

.radar { position: absolute; left: 50%; top: 42%; width: 0; height: 0; }
.ring { position: absolute; left: -300px; top: -300px; width: 600px; height: 600px; border-radius: 50%; border: 1.5px solid var(--blue-l); opacity: 0; animation: ring 3s ease-out infinite; }
.ring:nth-child(2) { animation-delay: 1s; } .ring:nth-child(3) { animation-delay: 2s; }
.home { position: absolute; left: -12px; top: -12px; width: 24px; height: 24px; border-radius: 50%; background: var(--blue-l); box-shadow: 0 0 0 10px rgba(74,134,240,.18); }
@keyframes ring { 0% { transform: scale(.08); opacity: .7; } 100% { transform: scale(1); opacity: 0; } }

/* each pin pops in on its own beat (--i), holds, then the loop clears them */
.pin { position: absolute; left: var(--x); top: var(--y); width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font: 400 13px var(--mono); font-style: normal; color: #fff; background: var(--ink); border: 1.5px solid rgba(255,255,255,.85);
  opacity: 0; animation: pin 10s linear infinite; animation-delay: calc(var(--i) * .3s); }
.pin.weak { color: #8b8f99; background: transparent; border-color: var(--grey); }
.hero-pin b { position: absolute; inset: -1.5px; border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 400; animation: heroPin 10s linear infinite; }
@keyframes pin { 0%, 6% { transform: scale(0); opacity: 0; } 9% { transform: scale(1.15); opacity: 1; } 11%, 88% { transform: scale(1); opacity: 1; } 94%, 100% { transform: scale(.6); opacity: 0; } }
@keyframes heroPin { 0%, 46% { background: var(--ink); transform: scale(1); opacity: 1; } 50%, 88% { background: var(--blue); transform: scale(1.2); opacity: 1; } 94%, 100% { background: var(--blue); transform: scale(.6); opacity: 0; } }
.lead-card { position: absolute; left: calc(58% - 290px); top: calc(28% - 44px); width: 250px; background: #fff; color: var(--ink); border-radius: 14px; padding: 16px 18px;
  display: flex; flex-direction: column; gap: 4px; opacity: 0; animation: card 10s cubic-bezier(.2,.8,.2,1) infinite; }
.lead-card b { font-size: 17px; letter-spacing: -.02em; padding-right: 64px; }
.lead-card span { font: 12px var(--mono); color: var(--grey); }
.lead-card em { position: absolute; right: 14px; top: 14px; font-style: normal; background: var(--blue-tint); color: var(--blue-ink); font-weight: 700; font-size: 12px; padding: 4px 10px; border-radius: 999px; opacity: 0; animation: chip 10s linear infinite; }
@keyframes card { 0%, 50% { transform: translateX(-60px); opacity: 0; } 60%, 90% { transform: translateX(0); opacity: 1; } 96%, 100% { opacity: 0; } }
@keyframes chip { 0%, 66% { transform: scale(.6); opacity: 0; } 70%, 90% { transform: scale(1); opacity: 1; } 96%, 100% { opacity: 0; } }

.nav { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px var(--gutter); flex-wrap: wrap; }
.mark { width: 48px; height: 48px; border-radius: 12px; background: var(--ink); border: 1px solid var(--line-dark); display: flex; align-items: flex-end; justify-content: center; padding-bottom: 11px;
  font-weight: 800; font-size: 33px; line-height: .85; letter-spacing: -.04em; color: #fff; }
.mark i { width: 7px; height: 7px; border-radius: 50%; background: var(--blue-l); margin: 0 0 1px 2px; }
.mark:hover { color: #fff; border-color: #fff; }
.nav-links { display: flex; gap: 32px; font-size: 15px; font-weight: 500; color: var(--body-d); flex-wrap: wrap; }
.nav-links a:hover { color: #fff; }
.btn-light { background: #fff; color: var(--ink); font-weight: 700; font-size: 15px; padding: 12px 20px; border-radius: 10px; transition: background .15s, color .15s; }
.btn-light:hover { background: var(--blue); color: #fff; }

.hero-body { position: relative; flex: 1; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 48px; padding: 48px var(--gutter) 64px; }
.hero-copy { display: flex; flex-direction: column; justify-content: flex-end; gap: 36px; flex: 1 1 560px; max-width: 1000px; }
.hero h1 { margin: 0; font-weight: 800; font-size: clamp(52px, 8vw, 112px); letter-spacing: -.05em; line-height: .9; text-wrap: balance; }
.lede { margin: 0; font-size: 20px; line-height: 1.5; color: var(--body-d); max-width: 560px; text-wrap: pretty; }
.try { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 10px; max-width: 640px; margin: 0; }
.try-input { flex: 1; min-width: 180px; }
.try-input input { width: 100%; font: inherit; font-size: 16px; color: #fff; background: transparent; border: 0; outline: none; padding: 8px 10px; }
.try-input input::placeholder { color: var(--soft); }
.radius { display: flex; background: var(--ink); border-radius: 10px; padding: 3px; gap: 2px; font: 13px var(--mono); }
.radius button { font: inherit; padding: 8px 12px; border-radius: 8px; border: 0; cursor: pointer; background: transparent; color: var(--soft); }
.radius button[aria-checked="true"] { background: var(--blue-l); color: #fff; }
.btn-blue { font: inherit; background: var(--blue); color: #fff; font-weight: 700; font-size: 15px; padding: 12px 20px; border-radius: 10px; border: 0; cursor: pointer; transition: background .15s; }
.btn-blue:hover { background: #245dc6; }
.try-out { font-size: 14px; color: var(--soft); }
.try-out .w { color: #fff; } .try-out .b { color: var(--blue-l); } .try-out .note { color: #8b8f99; }
.hero-word { display: flex; align-items: flex-end; font-weight: 800; font-size: clamp(72px, 10vw, 168px); letter-spacing: -.05em; line-height: .8; color: #fff; margin-left: auto; }
.hero-word i { width: .2em; height: .2em; border-radius: 50%; background: var(--blue-l); margin: 0 0 .02em .06em; flex: none; }

/* ---------- how it works ---------- */
.how { display: flex; flex-direction: column; gap: 56px; }
.sec-intro { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; align-items: end; }
.sec-intro > div { display: flex; flex-direction: column; gap: 16px; }
.sec-intro p { margin: 0; font-size: 18px; line-height: 1.55; color: var(--grey); max-width: 480px; text-wrap: pretty; }
.how-grid { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.step-list { display: flex; flex-direction: column; border-top: 1px solid var(--rule-2); flex: 1 1 240px; max-width: 340px; }
.step-tab { display: flex; align-items: center; gap: 16px; padding: 20px 4px; border: 0; border-bottom: 1px solid var(--rule-2); background: none; cursor: pointer; color: var(--grey-2); font: inherit; text-align: left; }
.step-tab:hover { color: var(--ink); }
.step-tab[aria-selected="true"] { color: var(--ink); }
.step-tab .n { font: 13px var(--mono); width: 28px; }
.step-tab .t { font-weight: 700; font-size: 24px; letter-spacing: -.03em; flex: 1; }
.step-tab .d { width: 10px; height: 10px; border-radius: 50%; }
.step-tab[aria-selected="true"] .d { background: var(--blue); }
.step-view { display: flex; flex-direction: column; gap: 24px; flex: 3 1 560px; min-width: 0; }
.app-window { border-radius: 20px; overflow: hidden; background: var(--ink); padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.app-bar { display: flex; align-items: center; gap: 6px; padding: 2px 6px; }
.app-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-dark); }
.app-bar .mono { font-size: 11px; color: #8b8f99; margin-left: 10px; }
.app-screen { aspect-ratio: 16 / 10; background: var(--paper); border-radius: 12px; overflow: hidden; }
.app-screen video { width: 100%; height: 100%; object-fit: cover; display: block; }
.points { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.point { display: flex; flex-direction: column; gap: 8px; border-top: 2px solid var(--ink); padding-top: 16px; }
.point b { font-size: 18px; letter-spacing: -.01em; }
.point span { font-size: 15px; line-height: 1.5; color: var(--grey); }

/* ---------- film band ---------- */
.band { background: var(--ink); color: #fff; display: flex; flex-direction: column; }
.band video { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; display: block; background: #000; }
.band-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px; background: rgba(255,255,255,.12); }
.band-stats div { background: var(--ink); padding: 32px var(--gutter); display: flex; flex-direction: column; gap: 6px; }
.band-stats b { font: 500 48px var(--mono); }
.band-stats span { color: var(--soft); }

/* ---------- who it's for ---------- */
.who { display: flex; flex-direction: column; gap: 48px; }
.who-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.who-card { display: flex; flex-direction: column; gap: 20px; transition: color .2s; }
.who-card:hover { color: var(--blue); }
.photo { aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; position: relative; background: #e6e6e1 center / cover no-repeat; filter: grayscale(1); transition: filter .4s ease; }
.who-card:hover .photo { filter: grayscale(0); }
.credit { position: absolute; left: 12px; bottom: 12px; font-size: 11px; color: #fff; background: rgba(22,24,29,.6); padding: 4px 8px; border-radius: 6px; }
.credit a { color: #fff; text-decoration: underline; }
.who-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.who-title h3 { margin: 0; font-size: 28px; letter-spacing: -.03em; }
.who-card p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--grey); }

/* ---------- why ---------- */
.why { background: #fff; padding: 120px var(--gutter); }
.why-in { max-width: 1248px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 64px; }
.why-in > div { display: flex; flex-direction: column; gap: 16px; }
.reasons { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--rule); }
.reasons li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 28px 0; border-top: 1px solid var(--rule); }
.reasons .mono { font-size: 13px; color: var(--blue); padding-top: 6px; }
.reasons b { display: block; font-size: 24px; letter-spacing: -.02em; margin-bottom: 8px; }
.reasons p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--grey); }

/* ---------- waitlist ---------- */
.cta { background: var(--blue); color: #fff; padding: 120px var(--gutter); }
.cta-in { max-width: 1248px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.cta-copy { flex: 1 1 380px; display: flex; flex-direction: column; gap: 24px; }
.cta h2 { margin: 0; font-weight: 800; font-size: clamp(52px, 8vw, 112px); letter-spacing: -.05em; line-height: .9; }
.cta-copy p { margin: 0; font-size: 19px; line-height: 1.5; max-width: 440px; text-wrap: pretty; }
.perks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.perks li { display: flex; gap: 10px; align-items: center; }
.perks li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; flex: none; }
.form-card { flex: 1 1 440px; background: #fff; color: var(--ink); border-radius: 20px; padding: 32px; }
.form-card form { display: flex; flex-direction: column; gap: 18px; margin: 0; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.form-card label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; }
.form-card input { font: inherit; font-weight: 400; font-size: 16px; padding: 12px 14px; border: 1px solid var(--rule-2); border-radius: 10px; outline: none; background: #fff; color: var(--ink); }
.form-card input::placeholder { color: #6b6f78; }
.form-card input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-tint); }
.form-card input[aria-invalid="true"] { border-color: var(--error); }
.types { border: 0; margin: 0; padding: 0; }
.types legend { padding: 0; margin-bottom: 8px; font-size: 13px; font-weight: 600; }
.types div { display: flex; flex-wrap: wrap; gap: 8px; }
.types button { font: inherit; padding: 9px 14px; border-radius: 999px; font-size: 14px; cursor: pointer; border: 1px solid var(--rule-2); background: #fff; color: var(--ink); }
.types button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); font-weight: 700; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.err { margin: 0; font-size: 13px; color: var(--error); }
.btn-dark { font: inherit; font-weight: 700; font-size: 16px; background: var(--ink); color: #fff; border: 0; border-radius: 10px; padding: 16px; cursor: pointer; transition: background .15s; }
.btn-dark:hover { background: var(--blue); }
.fine { font-size: 12px; color: var(--grey); }
.fine a { color: var(--blue-ink); text-decoration: underline; text-underline-offset: 2px; }
.sent { display: flex; flex-direction: column; gap: 16px; padding: 24px 0; outline: none; }
.sent-dot { width: 20px; height: 20px; border-radius: 50%; background: var(--blue); }
.sent b { font-size: 36px; letter-spacing: -.04em; line-height: 1; }
.sent span { font-size: 16px; line-height: 1.5; color: var(--grey); }
.link-btn { align-self: flex-start; padding: 0; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--blue); cursor: pointer; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: var(--body-d); padding: 64px var(--gutter) 32px; }
.footer-in { max-width: 1248px; margin: 0 auto; display: flex; flex-direction: column; gap: 56px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; }
.footer-grid > div { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer-grid .mono { font-size: 12px; color: #8b8f99; }
.footer a:hover { color: #fff; }
.f-brand { gap: 12px !important; }
.f-word { display: flex; align-items: flex-end; font-weight: 800; font-size: 40px; letter-spacing: -.05em; line-height: .85; color: #fff; }
.f-word i { width: 9px; height: 9px; border-radius: 50%; background: var(--blue-l); margin: 0 0 1px 3px; }
.f-brand span { font-size: 14px; }
.legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #8b8f99; border-top: 1px solid var(--ink-2); padding-top: 20px; }
.legal div { display: flex; gap: 20px; }

/* ---------- legal pages (privacy.html, terms.html) ---------- */
.legal-head { background: var(--ink); color: #fff; }
.legal-nav { max-width: 1248px; margin: 0 auto; padding-top: 20px; padding-bottom: 20px; }
.legal-back { font-size: 15px; font-weight: 500; color: var(--body-d); }
.legal-back:hover { color: #fff; }
.legal-main { max-width: 760px; margin: 0 auto; padding: 72px var(--gutter) 112px; font-size: 17px; line-height: 1.65; color: var(--ink-2); }
.legal-main h1 { margin: 10px 0 8px; font-size: clamp(40px, 6vw, 60px); line-height: 1; letter-spacing: -.035em; font-weight: 800; color: var(--ink); }
.legal-main h2 { margin: 0 0 12px; font-size: 22px; line-height: 1.25; letter-spacing: -.01em; font-weight: 700; color: var(--ink); }
.legal-main section { padding-top: 40px; scroll-margin-top: 24px; }
.legal-main p { margin: 0 0 14px; }
.legal-main ul { margin: 0 0 14px; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.legal-main b { color: var(--ink); }
.legal-main a { color: var(--blue-ink); text-decoration: underline; text-underline-offset: 3px; }
.legal-main a:hover { color: var(--blue); }
.legal-updated { font: 13px var(--mono); color: var(--grey); }
.legal-lede { font-size: 20px; line-height: 1.55; color: var(--ink); margin-top: 32px !important; }
.legal-toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--rule); }
.legal-main .legal-toc a { font-size: 14px; text-decoration: none; color: var(--ink); border: 1px solid var(--rule-2); border-radius: 999px; padding: 6px 12px; background: #fff; }
.legal-main .legal-toc a:hover { border-color: var(--blue); color: var(--blue-ink); }
.legal-table { overflow-x: auto; margin: 4px 0 18px; border: 1px solid var(--rule-2); border-radius: 12px; background: #fff; }
.legal-table table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.legal-table th { text-align: left; font: 500 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--grey); padding: 12px 16px; border-bottom: 1px solid var(--rule-2); }
.legal-table td { vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--rule); }
.legal-table tr:last-child td { border-bottom: 0; }
.legal-table td:first-child { font-weight: 700; color: var(--ink); white-space: nowrap; }
.legal-page .footer { padding-top: 32px; }
.legal a[aria-current="page"] { color: #fff; }

/* ---------- small screens ---------- */
@media (max-width: 760px) {
  :root { --gutter: 16px; }
  .wrap, .why, .cta { padding-top: 80px; padding-bottom: 80px; }
  .hero { min-height: 0; }
  .nav { padding-top: 18px; padding-bottom: 18px; }
  .nav-links { order: 3; width: 100%; gap: 18px; }
  .hero-body { padding-top: 32px; }
  .try { flex-direction: column; align-items: stretch; }
  .radius { justify-content: space-between; } .radius button { flex: 1; }
  .step-list { max-width: none; }
  .form-card { padding: 22px; }
  .band-stats b { font-size: 36px; }
  .legal-main { padding-top: 48px; padding-bottom: 80px; font-size: 16px; }
  .legal-lede { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ring { animation: none; opacity: .25; }
  .pin, .hero-pin b, .lead-card, .lead-card em { animation: none; opacity: 1; }
  .hero-pin b { background: var(--blue); }
}
