/* Doorio website. Monzo-style chunky type and colour blocks, Notion-style airy layout. */
:root {
  --teal: #0D7480;
  --teal-deep: #0B525C;
  --teal-soft: #D6EEF0;
  --coral: #FF8A66;
  --coral-deep: #E8673F;
  --ink: #0E2A33;
  --muted: #4A6870;
  --pale: #EDF6F7;
  --paper: #FBFDFD;
  --line: #D3E6E9;
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Nunito", "Segoe UI", system-ui, sans-serif;
  --wrap: 1160px;
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.02; letter-spacing: -0.022em; margin: 0; font-weight: 800; }
h1 { font-size: clamp(44px, 8.4vw, 104px); }
h2 { font-size: clamp(38px, 5.6vw, 68px); }
h3 { font-size: 24px; letter-spacing: -0.02em; line-height: 1.15; }
p { margin: 0; }
.lede { font-size: clamp(19px, 2vw, 22px); color: var(--muted); max-width: 34ch; }

/* ---------- Header ---------- */
.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -0.04em; }
.brand svg { width: 36px; height: 36px; border-radius: 10px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { text-decoration: none; font-weight: 700; color: var(--muted); font-size: 16px; transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 14px 26px; font-weight: 800; font-size: 17px; text-decoration: none; border: 0; cursor: pointer; transition: transform .2s cubic-bezier(.2, .8, .2, 1.2), box-shadow .2s, background .2s; font-family: var(--body); }
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-coral { background: var(--coral); color: var(--ink); box-shadow: 0 10px 28px -10px rgba(232, 103, 63, .7); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--ink); }
.btn-small { padding: 10px 20px; font-size: 15px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 120px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; background: radial-gradient(closest-side, var(--teal-soft), transparent 70%); z-index: -1; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 5px rgba(255, 138, 102, .25); }
.hero h1 .mark { color: var(--teal); position: relative; white-space: nowrap; }
.hero h1 .mark::after { content: ""; position: absolute; left: 0; right: 4%; bottom: .02em; height: .13em; background: var(--coral); border-radius: 99px; z-index: -1; transform-origin: left; animation: swipe .9s .7s cubic-bezier(.7, 0, .2, 1) both; }
.hero .lede { margin: 26px 0 36px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.stores { margin-top: 28px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; font-size: 14px; color: var(--muted); font-weight: 700; }
.store { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); }
.store svg { width: 18px; height: 18px; }
.soon { background: var(--teal-soft); color: var(--teal-deep); border-radius: 99px; padding: 3px 10px; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }

.stage { position: relative; height: 640px; }
.phone { position: absolute; width: 300px; border-radius: 48px; background: var(--ink); padding: 34px 11px 14px; box-shadow: 0 50px 80px -30px rgba(14, 42, 51, .45), 0 0 0 1px rgba(255, 255, 255, .06) inset; }
.phone img { width: 100%; height: auto; aspect-ratio: 390 / 664; border-radius: 30px; background: var(--pale); }
.phone::before { content: ""; position: absolute; top: 11px; left: 50%; translate: -50% 0; width: 74px; height: 14px; border-radius: 99px; background: #050F13; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.stage .phone { left: 50%; top: 10px; translate: -50% 0; rotate: 4deg; animation: rise 1s .2s cubic-bezier(.2, .8, .2, 1) both; }
.chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 20px; padding: 12px 16px 12px 12px; box-shadow: 0 18px 40px -16px rgba(14, 42, 51, .35); font-weight: 800; font-size: 15px; line-height: 1.25; white-space: nowrap; animation: pop .7s cubic-bezier(.2, .8, .2, 1.3) both, bob 6s ease-in-out infinite; }
.chip small { display: block; font-weight: 600; color: var(--muted); font-size: 13px; }
.chip .ico { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; flex: none; }
.chip .ico svg { width: 22px; height: 22px; }
.chip.c1 { top: 70px; left: -8%; animation-delay: .9s, 1.6s; }
.chip.c2 { top: 300px; right: -10%; animation-delay: 1.1s, 2.2s; }
.chip.c3 { bottom: 40px; left: -2%; animation-delay: 1.3s, 1.2s; }
.t-teal { background: var(--teal-soft); color: var(--teal); }
.t-coral { background: #FFE6DC; color: var(--coral-deep); }
.t-ink { background: var(--ink); color: #fff; }

/* Load stagger */
.load { animation: up .8s cubic-bezier(.2, .8, .2, 1) both; }
.load.d1 { animation-delay: .05s; } .load.d2 { animation-delay: .15s; } .load.d3 { animation-delay: .25s; } .load.d4 { animation-delay: .35s; }

/* ---------- Strip ---------- */
.strip { border-block: 1px solid var(--line); background: #fff; overflow: hidden; }
.marquee { display: flex; gap: 56px; padding: 22px 0; width: max-content; animation: slide 38s linear infinite; font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; color: var(--muted); }
.marquee span { display: inline-flex; align-items: center; gap: 14px; }
.marquee span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }

/* ---------- How it works ---------- */
section { position: relative; }
.how { padding: 140px 0 120px; }
.head { max-width: 760px; margin-bottom: 64px; }
.head p { margin-top: 20px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px 30px; position: relative; transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s; }
.step:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(14, 42, 51, .3); }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--display); font-weight: 800; font-size: 15px; color: var(--teal); background: var(--teal-soft); border-radius: 99px; padding: 4px 12px; display: inline-block; margin-bottom: 40px; }
.step p { color: var(--muted); margin-top: 10px; font-size: 16.5px; }
.step .who { position: absolute; top: 28px; right: 26px; font-size: 13px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }

/* ---------- Colour blocks ---------- */
.block { margin: 0 16px 16px; border-radius: 44px; padding: 110px 0; overflow: hidden; }
.block .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.block.flip .wrap > :first-child { order: 2; }
.block-teal { background: var(--teal); color: #fff; }
.block-coral { background: var(--coral); color: var(--ink); }
.block-ink { background: var(--ink); color: #fff; }
.tag { display: inline-block; font-weight: 800; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; padding: 7px 14px; border-radius: 99px; margin-bottom: 26px; }
.block-teal .tag { background: rgba(255, 255, 255, .14); }
.block-coral .tag { background: rgba(14, 42, 51, .1); }
.block-ink .tag { background: rgba(255, 138, 102, .18); color: var(--coral); }
.block p.big { font-size: 21px; margin: 24px 0 36px; max-width: 32ch; opacity: .88; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; font-weight: 700; font-size: 18px; }
.ticks li::before { content: ""; flex: none; width: 26px; height: 26px; border-radius: 50%; margin-top: 1px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'%3E%3Ccircle cx='13' cy='13' r='13'/%3E%3Cpath d='M7.5 13.5l3.6 3.6 7.4-7.6' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .9; }
.block-teal .ticks li::before { color: var(--coral); }
.block-coral .ticks li::before { color: var(--ink); }
.block-ink .ticks li::before { color: var(--coral); }
.ticks li span { font-weight: 600; opacity: .8; display: block; font-size: 16px; }
.shot { position: relative; height: 600px; }
.shot .phone { left: 50%; top: 0; translate: -50% 0; }
.block-teal .shot .phone { rotate: -4deg; }
.block-coral .shot .phone { rotate: 3deg; }

/* Tenant & trade visuals drawn in HTML, no screenshot needed */
.card-stack { display: grid; gap: 14px; max-width: 420px; margin-inline: auto; }
.mini { background: #fff; color: var(--ink); border-radius: 24px; padding: 20px 22px; box-shadow: 0 24px 50px -28px rgba(14, 42, 51, .5); display: flex; gap: 16px; align-items: center; }
.mini:nth-child(2) { margin-left: 34px; } .mini:nth-child(3) { margin-right: 24px; }
.mini b { display: block; font-family: var(--display); font-size: 19px; letter-spacing: -0.02em; line-height: 1.2; }
.mini small { color: var(--muted); font-weight: 600; font-size: 15px; }
.mini .ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; flex: none; }
.mini .ico svg { width: 26px; height: 26px; }
.count { font-family: var(--display); font-weight: 800; font-size: 44px; letter-spacing: -0.04em; line-height: 1; color: var(--teal); }

.chat { max-width: 400px; margin-inline: auto; background: #0B1F26; border-radius: 30px; padding: 22px; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .6); border: 1px solid rgba(255, 255, 255, .07); }
.chat-top { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid rgba(255, 255, 255, .08); margin-bottom: 16px; }
.chat-top svg { width: 40px; height: 40px; border-radius: 12px; }
.chat-top b { display: block; font-size: 16px; }
.chat-top small { color: #7FB8BF; font-size: 13px; font-weight: 600; }
.bubble { max-width: 86%; padding: 12px 15px; border-radius: 18px; font-size: 15.5px; line-height: 1.45; margin-bottom: 10px; }
.bubble.in { background: #16343D; border-bottom-left-radius: 6px; }
.bubble.out { background: #1E6B5A; margin-left: auto; border-bottom-right-radius: 6px; }
.bubble .ph { margin-top: 8px; height: 90px; border-radius: 12px; background: linear-gradient(135deg, #2b5560, #3d7380 60%, #568d98); position: relative; overflow: hidden; }
.bubble .ph::after { content: "📷 2 photos"; position: absolute; left: 10px; bottom: 8px; font-size: 12px; font-weight: 700; opacity: .85; }
.bubble time { display: block; text-align: right; font-size: 11px; opacity: .55; margin-top: 4px; }

/* ---------- Pricing ---------- */
.price { padding: 130px 0; }
.price-card { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 40px; padding: 64px; position: relative; overflow: hidden; }
.price-card::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; background: var(--teal-soft); z-index: 0; }
.price-card > * { position: relative; z-index: 1; }
.free { font-family: var(--display); font-weight: 800; font-size: clamp(90px, 13vw, 170px); line-height: .85; letter-spacing: -0.06em; color: var(--teal); }
.free sup { font-size: .26em; letter-spacing: -0.02em; vertical-align: top; position: relative; top: .5em; color: var(--coral-deep); margin-left: 6px; }
.price-card p.lede { margin: 20px 0 30px; }

/* ---------- FAQ ---------- */
.faq { padding: 30px 0 140px; }
.faq .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 26px 48px 26px 0; position: relative; font-family: var(--display); font-weight: 700; font-size: 23px; letter-spacing: -0.02em; line-height: 1.25; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%230D7480' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px no-repeat; transition: rotate .3s, background-color .3s; }
details[open] summary::after { rotate: 45deg; background-color: #FFE6DC; }
details p { color: var(--muted); padding: 0 48px 26px 0; }

/* ---------- Closing band & footer ---------- */
.band { margin: 0 16px; border-radius: 44px; background: var(--teal-deep); color: #fff; padding: 110px 0; text-align: center; position: relative; overflow: hidden; }
.band::before, .band::after { content: ""; position: absolute; border-radius: 50%; }
.band::before { width: 520px; height: 520px; left: -200px; top: -260px; background: rgba(255, 255, 255, .06); }
.band::after { width: 360px; height: 360px; right: -120px; bottom: -200px; background: rgba(255, 138, 102, .28); }
.band h2 { max-width: 14ch; margin: 0 auto 26px; }
.band p { opacity: .85; font-size: 21px; margin-bottom: 36px; }
.band .cta-row { justify-content: center; }
.band .btn-ghost { color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .35); }
.band .btn-ghost:hover { box-shadow: inset 0 0 0 2px #fff; }

footer { padding: 80px 0 50px; }
footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
footer h4 { font-family: var(--display); font-size: 16px; margin: 0 0 14px; letter-spacing: -0.01em; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
footer a { text-decoration: none; color: var(--muted); font-weight: 700; font-size: 16px; }
footer a:hover { color: var(--ink); }
.legal-line { color: var(--muted); font-size: 14.5px; margin-top: 18px; max-width: 46ch; line-height: 1.55; }
.copy { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 26px; color: var(--muted); font-size: 14px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Text pages (privacy, terms, support, delete account) ---------- */
.page-hero { padding: 90px 0 50px; }
.page-hero p { margin-top: 18px; }
.doc { max-width: 760px; padding-bottom: 120px; }
.doc h2 { font-size: 30px; letter-spacing: -0.025em; margin: 56px 0 14px; }
.doc p, .doc li { color: #2C4A52; font-size: 18px; }
.doc p + p { margin-top: 14px; }
.doc ul, .doc ol { padding-left: 22px; margin: 10px 0; display: grid; gap: 8px; }
.doc a { color: var(--teal); font-weight: 700; }
.note { background: var(--teal-soft); border-radius: 22px; padding: 22px 26px; color: var(--teal-deep); font-weight: 600; margin: 28px 0; }
.contact-card { display: flex; flex-wrap: wrap; gap: 16px; margin: 28px 0; }
.contact-card a { flex: 1 1 260px; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 24px 26px; transition: transform .3s, box-shadow .3s; }
.contact-card a:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(14, 42, 51, .4); }
.contact-card b { display: block; font-family: var(--display); font-size: 22px; letter-spacing: -0.02em; color: var(--ink); }
.contact-card span { color: var(--muted); font-weight: 600; font-size: 16px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; translate: 0 40px; transition: opacity .9s cubic-bezier(.2, .8, .2, 1), translate .9s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; translate: 0 0; }
.reveal.r2 { transition-delay: .08s; } .reveal.r3 { transition-delay: .16s; } .reveal.r4 { transition-delay: .24s; }
.no-js .reveal { opacity: 1; translate: none; }

@keyframes up { from { opacity: 0; translate: 0 28px; } to { opacity: 1; translate: 0 0; } }
@keyframes rise { from { opacity: 0; translate: -50% 80px; rotate: 10deg; } to { opacity: 1; translate: -50% 0; rotate: 4deg; } }
@keyframes pop { from { opacity: 0; scale: .7; } to { opacity: 1; scale: 1; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes swipe { from { scale: 0 1; } to { scale: 1 1; } }
@keyframes slide { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; translate: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Smaller screens ---------- */
@media (max-width: 980px) {
  .hero .wrap, .block .wrap, .faq .wrap, .price-card { grid-template-columns: 1fr; }
  .block.flip .wrap > :first-child { order: 0; }
  .steps { grid-template-columns: 1fr 1fr; }
  .stage { height: 600px; max-width: 460px; margin-inline: auto; width: 100%; }
  .price-card { padding: 44px 32px; }
  footer .wrap { grid-template-columns: 1fr 1fr; }
  footer .wrap > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .wrap { padding: 0 16px; }
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
  .hero { padding: 40px 0 70px; }
  .steps { grid-template-columns: 1fr; }
  .step::before { margin-bottom: 24px; }
  .block { margin: 0 8px 8px; border-radius: 32px; padding: 72px 0; }
  .band { margin: 0 8px; border-radius: 32px; padding: 80px 0; }
  .phone { width: 250px; border-radius: 42px; }
  .phone img { border-radius: 26px; }
  .phone { padding: 30px 9px 12px; }
  .stage { height: 540px; }
  .shot { height: 520px; }
  .chip { font-size: 13.5px; padding: 10px 13px 10px 10px; }
  .chip .ico { width: 34px; height: 34px; }
  .chip.c1 { left: 0; } .chip.c2 { right: 0; } .chip.c3 { left: 4px; }
  .how, .price { padding: 90px 0; }
  .faq { padding: 10px 0 90px; }
  summary { font-size: 20px; }
  .mini:nth-child(2), .mini:nth-child(3) { margin: 0; }
}
