/* Crimson Sky Labs: taste-skill and unslop passes: one warm neutral ramp, one accent, quiet chrome, Outfit, sunset palette. Fonts are self-hosted so the site makes no third-party requests. */
@font-face{font-family:'Outfit';font-style:normal;font-weight:300 600;font-display:swap;src:url(fonts/outfit-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Outfit';font-style:normal;font-weight:300 600;font-display:swap;src:url(fonts/outfit-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

:root{
  --surface-100:#f5f0e8;--surface-200:#efe7dc;--surface-300:#e6dccd;
  --ink:#2a2423;--ink-muted:#5f524d;--border:#d9c8b4;--border-strong:#85746b;
  --line:#2a24231f;--line-strong:#2a24234d;
  --crimson:#b1123b;--crimson-strong:#8f0e2e;--on-crimson:#ffffff;--ember:#e8870e;
  --night:#1d1615;--night-ink:#f5f0e8;--night-muted:#c9b9a8;--night-accent:#ff6b87;
  --font:'Outfit',system-ui,-apple-system,'Segoe UI',sans-serif;
  /* rhythm: page edge, section padding */
  --gut:80px;--sec:128px;
  /* motion: one UI curve, one entrance curve */
  --ease:cubic-bezier(.2,.8,.2,1);--ease-enter:cubic-bezier(.22,1,.36,1);
  --m-in:150ms;--m-out:120ms;--m-press:90ms;
  color-scheme:light;
}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]){
  --surface-100:#141010;--surface-200:#1f1918;--surface-300:#2b2321;--ink:#f5f0e8;--ink-muted:#c9b9a8;--border:#3a2f2c;--border-strong:#8f8077;
  --line:#f5f0e81f;--line-strong:#f5f0e84d;--crimson:#ff6b87;--crimson-strong:#ff9aae;--on-crimson:#141010;--night:#0b0808;color-scheme:dark}}
:root[data-theme="dark"]{
  --surface-100:#141010;--surface-200:#1f1918;--surface-300:#2b2321;--ink:#f5f0e8;--ink-muted:#c9b9a8;--border:#3a2f2c;--border-strong:#8f8077;
  --line:#f5f0e81f;--line-strong:#f5f0e84d;--crimson:#ff6b87;--crimson-strong:#ff9aae;--on-crimson:#141010;--night:#0b0808;color-scheme:dark}
@media (max-width:1023px){:root{--gut:48px;--sec:96px}}
@media (max-width:639px){:root{--gut:24px;--sec:80px}}
@media (max-width:359px){:root{--gut:16px}}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--surface-100);color:var(--ink);font-family:var(--font);font-size:17px;line-height:26px;display:flex;flex-direction:column;min-height:100svh}
main{flex:1}
h1,h2,h3{margin:0;font-weight:500;letter-spacing:-0.02em;text-wrap:balance}
p{margin:0}
a{color:var(--ink)}
a:focus-visible,button:focus-visible{outline:2px solid var(--crimson);outline-offset:2px;border-radius:4px}
.skip{position:absolute;left:-9999px}
.skip:focus{left:16px;top:16px;background:var(--surface-100);padding:8px 12px;z-index:10}
/* One content edge for every page: the nav, the hero, the text pages and the footer all sit on it. */
.wrap{width:100%;max-width:calc(1280px + 2 * var(--gut));margin:0 auto;padding-left:max(var(--gut),env(safe-area-inset-left,0px));padding-right:max(var(--gut),env(safe-area-inset-right,0px))}

.nav{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center;justify-content:space-between;padding-block:24px}
.brand{white-space:nowrap;font-weight:600;font-size:22px;letter-spacing:-0.01em;color:var(--ink);text-decoration:none;min-height:44px;display:inline-flex;align-items:center;gap:10px}
.brand svg{width:28px;height:28px;flex:none}
.links{display:flex;flex-wrap:wrap;gap:4px;align-items:center;margin-left:-12px}
/* Nav and footer words rest bare, darken on hover and draw a 1px line under the word; the current page carries a 2px bar. */
.links a,.foot nav a{position:relative;color:var(--ink-muted);padding:8px 12px;min-height:44px;display:inline-flex;align-items:center;text-decoration:none;transition:color var(--m-out) var(--ease)}
.links a::after,.foot nav a::after{content:"";position:absolute;left:12px;right:12px;bottom:6px;height:1px;background:currentColor;transform:scaleX(0);transform-origin:right;transition:transform var(--m-out) var(--ease)}
.links a:hover,.foot nav a:hover{color:var(--ink);transition-duration:var(--m-in)}
.links a:hover::after,.foot nav a:hover::after{transform:scaleX(1);transform-origin:left;transition-duration:var(--m-in)}
.links a[aria-current="page"]{color:var(--ink)}
.links a[aria-current="page"]::after{height:2px;transform:none;background:var(--crimson)}

/* Buttons: one pair. Hover steps the box up 1px and the fill toward the ink; press sinks it. */
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 24px;border-radius:12px;font:500 17px/24px var(--font);text-decoration:none;border:2px solid transparent;cursor:pointer;transition:transform var(--m-out) var(--ease),background-color var(--m-out) var(--ease),border-color var(--m-out) var(--ease)}
.btn.p{background:var(--crimson);color:var(--on-crimson)}
.btn.s{background:transparent;color:var(--ink);border-color:var(--border-strong)}
@media (hover:hover) and (pointer:fine){
  .btn:hover{transform:translateY(-1px);transition-duration:var(--m-in)}
  .btn.p:hover{background:var(--crimson-strong);background:color-mix(in srgb,var(--crimson) 86%,var(--ink))}
  .btn.s:hover{background:color-mix(in srgb,var(--ink) 5%,transparent);border-color:var(--ink)}
}
.btn:active{transform:translateY(1px) scale(.985);transition-duration:var(--m-press)}
.row{display:flex;flex-wrap:wrap;gap:12px}

/* Text links rest on a faint line; an ink line draws left to right on hover and leaves to the right. */
.link,.prose a,.lede a,.notice a{color:var(--ink);text-decoration:none;background-image:linear-gradient(currentColor,currentColor),linear-gradient(var(--line-strong),var(--line-strong));background-size:0 1px,100% 1px;background-position:100% 100%,0 100%;background-repeat:no-repeat;padding-bottom:1px;transition:background-size var(--m-out) var(--ease)}
.link:hover,.prose a:hover,.lede a:hover,.notice a:hover{background-size:100% 1px,100% 1px;background-position:0 100%,0 100%;transition-duration:var(--m-in)}
.link{font-weight:500;display:inline-block;padding-block:10px;background-origin:content-box;background-clip:content-box}

/* Home: the sunset sits behind the name, the line and the buttons; its mountains fill the foot of the block. Words on it stay light in both looks. */
.hero{position:relative;isolation:isolate;overflow:hidden;color:#f5f0e8}
.band{position:absolute;inset:0;z-index:-1}
.band svg{display:block;width:100%;height:100%;transform-origin:50% 100%}
.hero-text{padding-block:clamp(56px,6vw,96px) clamp(260px,24vw,360px)}
.hero .lede{color:#f5f0e8}
.hero .btn.p{background:#f5f0e8;color:#2a2423}
.hero .btn.s{color:#f5f0e8;border-color:#f5f0e8b3}
@media (hover:hover) and (pointer:fine){
  .hero .btn.p:hover{background:#ffffff}
  .hero .btn.s:hover{background:#f5f0e81f;border-color:#f5f0e8}
}
.hero a:focus-visible{outline-color:#f5f0e8}
.home-title{white-space:nowrap;font-weight:400;letter-spacing:-0.035em;line-height:1;font-size:min(128px,calc((100vw - 2 * var(--gut)) / 8.4))}
.hero-row{display:flex;flex-wrap:wrap;gap:24px 48px;align-items:center;justify-content:space-between;margin-top:40px}

.page-head{padding-block:48px}
.page-head h1{font-size:clamp(40px,2.4vw + 28px,64px);line-height:1.05;font-weight:400;max-width:18ch}
.eyebrow{font-size:15px;line-height:20px;font-weight:500;color:var(--ink-muted);margin-bottom:16px}
.lede{font-size:20px;line-height:32px;font-weight:400;color:var(--ink-muted);max-width:46ch}
.page-head .lede{margin-top:20px}
.page-head .date{margin-top:16px;color:var(--ink-muted)}
.page-head .row{margin-top:32px}

.sec{padding-block:var(--sec)}
.alt{background:var(--surface-200)}
h2{font-size:clamp(32px,1.2vw + 26px,44px);line-height:1.1;margin-bottom:16px;font-weight:400}
h3{font-size:24px;line-height:30px}

/* Privacy on the home page: the four facts beside what leaves the device. */
.split{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:48px;align-items:start;margin-top:56px}
.points{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:40px 32px}
.points>div{position:relative;border-top:1px solid var(--line);padding-top:20px}
/* The one signature detail: a short ember stroke where each fact meets its line, like the sun on the horizon. */
.points>div::before{content:"";position:absolute;left:0;top:-1px;width:24px;height:2px;background:var(--ember)}
.points h3{font-size:20px;line-height:28px;margin-bottom:8px}
.points p{color:var(--ink-muted)}
.after{margin-top:40px}

/* What we make: the heading beside the one app. A card with a link lifts 2px on hover. */
.split2{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:48px;align-items:start}
.card{position:relative;background:var(--surface-100);border:1px solid var(--line);border-radius:20px;padding:32px;display:flex;flex-direction:column;gap:16px;min-width:0;transition:transform 120ms var(--ease),border-color 120ms var(--ease),box-shadow 120ms var(--ease)}
.card p{color:var(--ink-muted)}
.card .link::after{content:"";position:absolute;inset:0;border-radius:inherit}
@media (hover:hover) and (pointer:fine){.card:hover{transform:translateY(-2px);border-color:var(--line-strong);box-shadow:0 12px 24px #2a24231a;transition-duration:180ms}}
.badge{font-size:15px;line-height:20px;font-weight:500;color:var(--ink-muted)}
.card h3{margin-top:-8px}

.contact{display:flex;flex-wrap:wrap;gap:24px 48px;align-items:center;justify-content:space-between}
.contact>div{display:flex;flex-direction:column;gap:8px;min-width:0}
.contact h2{margin-bottom:0}

/* Text pages: one reading column on the same left edge as the nav. */
.prose{max-width:68ch;padding-bottom:var(--sec)}
.prose h2{font-size:32px;line-height:38px;margin-top:64px;margin-bottom:16px}
.prose h2:first-child{margin-top:0}
.prose p{margin-top:16px}
.prose ul{list-style:none;margin:16px 0 0;padding:0;border-bottom:1px solid var(--line)}
.prose li{border-top:1px solid var(--line);padding-block:16px}
.notice{border:1px solid var(--line);border-radius:20px;padding:24px 28px;margin-top:40px;background:var(--surface-200)}
.split .notice{margin-top:0}
.notice p+p{margin-top:12px}
dl.facts{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:0 32px;margin:0;border-bottom:1px solid var(--line)}
dl.facts dt,dl.facts dd{border-top:1px solid var(--line);padding-block:16px}
dl.facts dt{font-weight:500}
dl.facts dd{margin:0;color:var(--ink-muted);overflow-wrap:anywhere}

/* The footer closes every page on a dark ground. */
.foot{background:var(--night);color:var(--night-muted);font-size:15px;line-height:22px;--ink:var(--night-ink);--ink-muted:var(--night-muted);--crimson:var(--night-accent);--line-strong:#f5f0e84d}
.foot-in{padding-block:48px;display:flex;flex-wrap:wrap;gap:16px 32px;justify-content:space-between;align-items:center}
.foot nav{display:flex;flex-wrap:wrap;gap:4px;margin-right:-12px}

/* The entrance: once on load the heading rises, then the line and the buttons follow. */
@keyframes rise{from{opacity:0;transform:translateY(24px)}}
@keyframes up{from{opacity:0;transform:translateY(12px)}}
@keyframes settle{from{transform:scale(1.05)}}
.hero h1,.page-head h1,.page-head .eyebrow{animation:rise 700ms var(--ease-enter) both}
.hero .lede,.page-head .lede{animation:up 520ms var(--ease-enter) 350ms both}
.hero .btn:nth-child(1),.page-head .btn:nth-child(1),.page-head .date{animation:up 520ms var(--ease-enter) 410ms both}
.hero .btn:nth-child(2),.page-head .btn:nth-child(2){animation:up 520ms var(--ease-enter) 470ms both}
.band svg{animation:settle 1100ms var(--ease-enter) both}

@media (max-width:1023px){
  .split,.split2{grid-template-columns:minmax(0,1fr)}
  .split{margin-top:40px}
}
@media (max-width:639px){
  /* Phone nav: the name and the switch on the first line, the three words on the second. */
  .nav{column-gap:0;row-gap:0}
  .nav::after{content:"";order:3;flex-basis:100%}
  .brand{order:1;flex:1}
  .links{display:contents}
  .look{order:2;margin-left:0}
  .links a{order:4;white-space:nowrap;padding-inline:8px}
  .links a::after{left:8px;right:8px}
  .links a:first-child{margin-left:-8px}
  .hero-text{padding-block:40px 240px}
  .hero-row{margin-top:24px}
  .row{flex-direction:column;align-items:stretch;width:100%}
  .points{grid-template-columns:minmax(0,1fr);gap:24px}
  .card{padding:24px}
  .prose h2{font-size:28px;line-height:34px;margin-top:48px}
  dl.facts{grid-template-columns:minmax(0,1fr)}
  dl.facts dd{border-top:none;padding-top:0}
  .foot nav{margin-left:-12px;margin-right:0}
}
@media (max-width:359px){
  .brand{font-size:18px;gap:8px}
  .brand svg{width:22px;height:22px}
}

/* Reduced motion: nothing travels. Colours still change and every word stands as written. */
@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{animation:none!important}
  .btn,.card,.link,.prose a,.lede a,.notice a,.links a::after,.foot nav a::after{transition-property:color,background-color,border-color,opacity!important}
  .btn:hover,.btn:active,.card:hover{transform:none!important}
}

/* The dark / light switch, matching dosesanddocs.com: moon, a track with a knob, sun. The knob sits by the sun in the light look and by the moon in the dark look. */
.look{display:inline-flex;align-items:center;gap:7px;min-height:44px;padding:0 4px;margin-left:8px;background:none;border:none;color:var(--ink-muted);cursor:pointer;font:inherit}
.look[hidden]{display:none}
.look:hover{color:var(--ink)}
.look:focus-visible{outline:3px solid var(--crimson);outline-offset:2px;border-radius:999px}
.look .track{position:relative;width:46px;height:26px;border-radius:999px;background:var(--surface-300);border:1.5px solid var(--border-strong)}
.look .knob{position:absolute;top:2px;left:22px;width:19px;height:19px;border-radius:50%;background:var(--crimson);transition:left .15s ease}
.look .to-light{display:none}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]) .look .knob{left:2px}
  :root:not([data-theme="light"]) .look .to-dark{display:none}
  :root:not([data-theme="light"]) .look .to-light{display:revert}
}
:root[data-theme="dark"] .look .knob{left:2px}
:root[data-theme="dark"] .look .to-dark{display:none}
:root[data-theme="dark"] .look .to-light{display:revert}
@media (prefers-reduced-motion: reduce){.look .knob{transition:none}}
.visually-hidden:where(:not(:focus-within,:active)){position:absolute!important;clip-path:inset(50%)!important;overflow:hidden!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;border:0!important;white-space:nowrap!important}
