/* MUADesk's own site (muadesk.app): the app's palette, type and tiles, not the studio's.
   Colours are ready-by-v3 app/tokens/palette.js; type is the app's Geist. Light only,
   like the app. */
:root{
  --canvas:#F4EEE7; --paper:#FFFBF7; --stone:#E6D5C3; --later:#DCC6AF;
  --ink:#2B1A14; --ink-muted:#6E574B; --link:#8C4633;
  --now:#A95A44; --now-deep:#94503C; --on-now:#FFF7F2;
  --fits:#4D5A36;
  --live:#2B1A14; --live-cell:#3A2820; --on-live:#F3ECE6; --on-live-muted:#BCA99F;
  --r:24px; --r-sm:16px;
  color-scheme:light;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0; background:var(--canvas); color:var(--ink); font:400 17px/1.45 "Geist",system-ui,-apple-system,"Segoe UI",sans-serif; -webkit-font-smoothing:antialiased}
h1,h2,h3,p,ul{margin:0}
img{max-width:100%; display:block}
a{color:var(--link)}
:focus-visible{outline:3px solid var(--ink); outline-offset:3px; border-radius:6px}
.wrap{width:100%; max-width:1120px; margin:0 auto; padding:0 20px}
@media(min-width:720px){.wrap{padding:0 32px}}

.skip{position:absolute; left:-9999px; top:8px; background:var(--ink); color:var(--on-live); padding:10px 14px; border-radius:10px; z-index:100}
.skip:focus{left:12px}
.hp{position:absolute; left:-9999px}

/* The logo files are bone on transparent; used as masks they take the text colour. */
.wordmark,.mark{display:block; background:currentColor; -webkit-mask:var(--src) no-repeat center/contain; mask:var(--src) no-repeat center/contain}
.wordmark{--src:url(/img/muadesk-wordmark.svg); width:112px; aspect-ratio:1600/448}
.mark{--src:url(/img/muadesk-mark.svg); width:64px; aspect-ratio:1}

header{position:sticky; top:0; z-index:50; background:var(--canvas); border-bottom:1px solid var(--stone)}
.nav{display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:68px}
.nav > a:first-child{color:var(--ink); padding:8px 0}

.btn{display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:52px; padding:0 22px; border:0; border-radius:var(--r-sm); background:var(--ink); color:var(--on-live); font:500 17px/1 "Geist",system-ui,sans-serif; text-decoration:none; cursor:pointer; white-space:nowrap}
.btn.sm{min-height:44px; padding:0 18px; font-size:15px}
.btn.alt{background:var(--stone); color:var(--ink)}
.btn.now{background:var(--now); color:var(--on-now)}
.btn:hover{filter:brightness(1.08)}
.btn:disabled{opacity:.6; cursor:default}
.cta{display:flex; flex-wrap:wrap; gap:10px; margin-top:28px}

/* The app's coloured header band. */
.band{background:var(--now); color:var(--on-now)}
.band .mark{color:var(--stone)}
.band :focus-visible{outline-color:var(--on-now)}
.hero{display:grid; gap:40px; padding-block:44px 52px}
@media(min-width:900px){.hero{grid-template-columns:1.05fr 1fr; align-items:center; padding-block:72px 80px}}
.hero h1{font-weight:600; font-size:clamp(2.4rem,6.4vw,4.4rem); line-height:1.02; letter-spacing:-.04em; margin-top:26px; max-width:14ch}
.hero .lede{font-size:clamp(1.06rem,1.6vw,1.2rem); margin-top:20px; max-width:34ch; opacity:.94}
.phones{display:grid; grid-template-columns:1fr 1fr; gap:14px; max-width:520px}
@media(min-width:900px){.phones{margin-left:auto}}
.phones img{width:100%; height:auto; border-radius:var(--r); box-shadow:0 18px 40px -18px rgba(43,26,20,.55)}

section{padding:56px 0}
section[id]{scroll-margin-top:68px} /* clear the sticky header when a link jumps here */
@media(min-width:900px){section{padding:84px 0}}
.label{font-size:13px; line-height:18px; color:var(--ink-muted)}
h2{font-weight:600; font-size:clamp(1.9rem,4.2vw,2.8rem); line-height:1.05; letter-spacing:-.035em; margin-top:8px; max-width:20ch}
.prose{max-width:46ch; margin-top:14px; color:var(--ink-muted)}

/* Tiles: the app's grid of rounded cards with a hairline gap. */
.tiles{display:grid; gap:3px; margin-top:32px; border-radius:var(--r); overflow:hidden}
@media(min-width:900px){.tiles{grid-template-columns:repeat(3,1fr)}}
.tile{background:var(--paper); padding:26px 24px 30px}
.tile .n{font-size:13px; color:var(--now); font-weight:500}
.tile h3{font-weight:500; font-size:1.5rem; line-height:1.15; letter-spacing:-.02em; margin:10px 0 10px}
.tile p{color:var(--ink-muted)}
.facts{display:grid; gap:3px; margin-top:3px; border-radius:var(--r); overflow:hidden}
@media(min-width:900px){.facts{grid-template-columns:1fr 1fr}}
.facts .tile{background:var(--stone)}
.facts .tile p{color:var(--ink)}

/* The waiting list sits on the app's dark Live colour. */
.live{background:var(--live); color:var(--on-live)}
.live .label{color:var(--on-live-muted)}
.live .prose{color:var(--on-live-muted)}
.live a{color:var(--on-live)}
.live :focus-visible{outline-color:var(--on-live)}
.form{display:grid; gap:10px; margin-top:26px; max-width:540px}
@media(min-width:620px){.form{grid-template-columns:1fr auto; align-items:end}}
.form label{display:grid; gap:6px; font-size:13px; color:var(--on-live-muted)}
.form input{width:100%; min-height:52px; padding:0 16px; border:0; border-radius:var(--r-sm); background:var(--paper); color:var(--ink); font:400 17px "Geist",system-ui,sans-serif}
.earlybird{max-width:40ch; margin-top:18px; background:var(--now-deep); border-radius:var(--r-sm); padding:14px 16px; font-size:15px; line-height:1.45}
.earlybird b{font-weight:600}
.earlybird a{color:inherit}
.offer{max-width:46ch; margin-top:18px; background:var(--now); color:var(--on-now); border-radius:var(--r-sm); padding:16px 18px}
.offer b{font-weight:600}
.formnote{grid-column:1/-1; min-height:1.4em; font-size:15px}
.small{font-size:13px; line-height:18px; margin-top:16px}

footer{padding:36px 0 44px; font-size:13px; line-height:20px; color:var(--ink-muted)}
.fgrid{display:flex; flex-wrap:wrap; justify-content:space-between; gap:18px 32px}
.fgrid ul{list-style:none; padding:0; display:flex; flex-wrap:wrap; gap:6px 18px}
footer a{color:var(--ink)}
.made{max-width:60ch}

/* Privacy and terms. */
.legal{padding:48px 20px 24px; max-width:calc(70ch + 40px)}
.legal h1{font-weight:600; font-size:clamp(2rem,5vw,3rem); letter-spacing:-.035em; line-height:1.05; margin:6px 0 8px}
.legal h2{font-size:1.3rem; letter-spacing:-.02em; margin:36px 0 10px; max-width:none}
.legal p,.legal li{color:var(--ink); line-height:1.55}
.legal p + p{margin-top:12px}
.legal ul{padding-left:20px; display:flex; flex-direction:column; gap:7px; margin-top:10px}

/* Four apps or one: the Enquiry Race as a picture. */
.compare{display:grid; gap:3px; margin-top:32px; border-radius:var(--r); overflow:hidden}
@media(min-width:900px){.compare{grid-template-columns:2fr 1fr}}
.old{list-style:none; margin:0; padding:0; display:grid; gap:3px}
@media(min-width:620px){.old{grid-template-columns:1fr 1fr}}
.old li{background:var(--stone); padding:22px 24px 24px}
.old b{display:block; font-weight:500; font-size:1.2rem; letter-spacing:-.01em; margin-bottom:6px}
.old span{color:var(--ink-muted)}
.one{background:var(--now); color:var(--on-now); padding:26px 24px 30px; display:flex; flex-direction:column; justify-content:center; gap:12px}
.one .mark{width:44px; color:var(--stone)}
.one b{font-weight:600; font-size:1.6rem; letter-spacing:-.02em}

/* The whole day: one route, home to the last client, with the new enquiry in it. */
.day{background:var(--paper)}
.daygrid{display:grid; gap:44px}
@media(min-width:900px){.daygrid{grid-template-columns:1.2fr 1fr; align-items:center}}
.chain{list-style:none; margin:28px 0 0; padding:0; max-width:460px}
.chain .stop{display:grid; grid-template-columns:1fr auto; column-gap:12px; background:var(--stone); border-radius:var(--r-sm); padding:15px 18px}
.chain .stop b{grid-column:1; font-weight:500; font-size:1.15rem}
.chain .stop .where{grid-column:1; font-size:15px; color:var(--ink-muted)}
.chain .stop .when{grid-column:2; grid-row:1 / span 2; align-self:center; font-weight:500; font-variant-numeric:tabular-nums}
.chain .new{background:var(--now); color:var(--on-now)}
.chain .new .where{color:var(--on-now); opacity:.88}
.chain .booked{background:var(--live); color:var(--on-live)}
.chain .booked .where{color:var(--on-live-muted)}
.chain .drive{margin-left:24px; padding:9px 0 9px 18px; border-left:2px dashed var(--later); font-size:15px; color:var(--ink-muted)}
.answer{max-width:460px; margin-top:14px; background:var(--now-deep); color:var(--on-now); border-radius:var(--r-sm); padding:16px 18px}
.answer b{font-weight:600}
.daygrid .shot{width:100%; max-width:320px; height:auto; justify-self:center; border-radius:var(--r); box-shadow:0 18px 40px -18px rgba(43,26,20,.45)}
