/* reading pages (Privacy, Terms, Security): the hero's header and soft light, a calm reading column, contents on the left */
body.doc-page{overflow:visible;height:auto}
html:has(body.doc-page){height:auto;scroll-behavior:smooth;scroll-padding-top:84px}
.doc-page .tk-aura{position:fixed}
.doc-page .tk-hd{position:fixed}
.doc{position:relative;z-index:1;display:grid;grid-template-columns:250px minmax(0,680px);justify-content:center;gap:clamp(40px,6vw,96px);padding:calc(60px + clamp(56px,7vw,104px)) var(--tk) clamp(96px,9vw,140px)}
.doc-toc{position:sticky;top:96px;align-self:start;font-size:13.5px}
.doc-toc span{display:block;margin-bottom:12px;color:var(--faint)}
.doc-toc ol{list-style:none;margin:0;padding:0;display:grid;gap:2px;border-left:1px solid var(--line-2)}
.doc-toc a{display:block;padding:5px 0 5px 14px;margin-left:-1px;border-left:1px solid transparent;color:var(--muted);transition:color .2s,border-color .2s}
.doc-toc a:hover{color:var(--ink)}
.doc-toc a.on{color:var(--ink);border-left-color:var(--copper)}
.doc-head h1{margin:0;font-weight:300;font-size:clamp(36px,3.6vw,54px);line-height:1.04;letter-spacing:-.03em;color:var(--ink)}
.doc-lead{margin:20px 0 0;font-size:18px;line-height:1.55;color:var(--muted);text-wrap:pretty}
.doc-date{margin:20px 0 0;font-size:13px;color:var(--faint)}
.doc-text{margin-top:48px;padding-top:40px;border-top:1px solid var(--line-2);font-size:16px;line-height:1.7;color:var(--ink-2)}
.doc-text h2{margin:48px 0 14px;font-weight:400;font-size:22px;line-height:1.25;letter-spacing:-.01em;color:var(--ink)}
.doc-text h2:first-child{margin-top:0}
.doc-text p{margin:0 0 16px;text-wrap:pretty}
.doc-text ul{margin:0 0 18px;padding-left:20px;display:grid;gap:8px}
.doc-text li::marker{color:var(--faint)}
.doc-text strong{font-weight:400;color:var(--ink)}
.doc-text a{color:var(--ink);text-decoration:underline;text-decoration-color:rgba(20,18,16,.25);text-underline-offset:3px;transition:text-decoration-color .2s}
.doc-text a:hover{text-decoration-color:var(--copper)}
.doc-page .tk-legal{position:relative;z-index:1;padding:0 0 28px}
@media (max-width:900px){
 .doc{grid-template-columns:minmax(0,1fr);gap:0;padding-top:calc(60px + 48px)}
 .doc-toc{display:none}
 .doc-lead{font-size:17px}
 .doc-text{margin-top:36px;padding-top:32px}
 .doc-page .tk-legal{flex-wrap:wrap;gap:8px 16px;padding:0 16px 24px}}
/* text scrolls under the top bar here, so the bar is solid (it carries the page's own light, so it still has no edge) */
.doc-page .tk-hd.s .tk-hd-bg{opacity:1}
.doc-text ul{list-style:disc}
/* the bottom line stays in place too, like the top bar: a soft frosted strip, so text passing under it never shows through sharply */
.doc-page .tk-legal{position:fixed;left:0;right:0;bottom:0;z-index:50;margin:0;padding:12px var(--tk) calc(12px + env(safe-area-inset-bottom));background:rgba(242,238,232,.82);-webkit-backdrop-filter:saturate(1.4) blur(14px);backdrop-filter:saturate(1.4) blur(14px)}
.doc{padding-bottom:calc(clamp(96px,9vw,140px) + 44px)}
@media (max-width:900px){.doc-page .tk-legal{padding:10px 16px calc(10px + env(safe-area-inset-bottom));gap:6px 14px}}
/* the contents list stays put to the very end: the reading column carries the space at the bottom, so the list's column is as tall as the page */
.doc{padding-bottom:0}
.doc-col{padding-bottom:calc(clamp(96px,9vw,140px) + 44px)}
/* a little less space between the top bar and the title */
.doc{padding-top:calc(60px + clamp(40px,4.6vw,72px))}
@media (max-width:900px){.doc{padding-top:calc(60px + 36px)}}
/* the bottom line sits at the end of the page (not pinned), after a normal gap */
.doc-page .tk-legal{position:relative;left:auto;right:auto;bottom:auto;background:none;-webkit-backdrop-filter:none;backdrop-filter:none;padding:0 var(--tk) 28px}
.doc-col{padding-bottom:clamp(80px,7vw,112px)}
@media (max-width:900px){.doc-page .tk-legal{padding:0 16px 24px}.doc-col{padding-bottom:72px}}
/* the contents list starts exactly where it will stay, so it never shifts up when you scroll or click */
.doc-toc{top:calc(60px + clamp(40px,4.6vw,72px))}
/* no rubber-band bounce at the top or bottom of the page, so the footer line never springs away from the edge */
html:has(body.doc-page),body.doc-page{overscroll-behavior-y:none}
/* page not found: one column, the message and a link home */
.doc-404{grid-template-columns:minmax(0,680px);min-height:calc(100vh - 60px)}
.doc-404 .doc-lead a{color:var(--ink);text-decoration:underline;text-underline-offset:3px}

/* product page: one wide column, each feature a row (name on the left, what it does on the right) */
.doc-wide{grid-template-columns:minmax(0,960px)}
.pr{margin-top:48px}
.pr-list{border-top:1px solid var(--line-2)}
.pr-row{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,7fr);gap:32px;padding:26px 0;border-bottom:1px solid var(--line)}
.pr-row h3{margin:0;display:flex;align-items:center;gap:10px;font-weight:400;font-size:20px;line-height:1.3;letter-spacing:-.01em;color:var(--ink)}
.pr-row p{margin:0;font-size:16px;line-height:1.65;color:var(--ink-2);text-wrap:pretty}
.pr-h{margin:72px 0 0;padding-bottom:18px;font-weight:400;font-size:13.5px;color:var(--muted)}
.pr-tag{display:inline-flex;align-items:center;height:22px;padding:0 9px;border-radius:99px;font-size:11.5px;color:var(--copper-ink,#8a4c2b);background:var(--copper-tint,rgba(168,96,58,.11))}
.pr-cta{margin-top:56px}
@media (max-width:900px){.pr-row{grid-template-columns:minmax(0,1fr);gap:8px;padding:22px 0}.pr{margin-top:36px}.pr-h{margin-top:56px}}

/* company page */
.co{margin-top:48px}
.co .co-big{font-weight:300;font-size:clamp(22px,1.8vw,26px);line-height:1.35;letter-spacing:-.01em;color:var(--ink)}
.co .co-list{margin:8px 0 0}
.co .co-list .pr-row{grid-template-columns:minmax(0,2fr) minmax(0,3fr);padding:20px 0}
.co .co-list h3{font-size:17px}
.co .co-list p{margin:0}
.co .co-end{margin:48px 0 0;font-weight:300;font-size:clamp(22px,1.8vw,26px);letter-spacing:-.01em;color:var(--ink)}
@media (max-width:900px){.co .co-list .pr-row{grid-template-columns:minmax(0,1fr);gap:4px}}
.doc-one{grid-template-columns:minmax(0,760px)}

/* company page: a statement, not a document. Big light heading, a calm column, the three beliefs side by side, a quiet close */
.cx-page{position:relative;z-index:1;padding:calc(60px + clamp(56px,7vw,112px)) var(--tk) clamp(96px,9vw,140px)}
.cx{max-width:1040px;margin:0 auto}
.cx h1{margin:0;font-weight:300;font-size:clamp(38px,4.6vw,68px);line-height:1.04;letter-spacing:-.035em;color:var(--ink)}
.cx h1 span{display:block;text-wrap:balance}
.cx-lead{margin:36px 0 0;max-width:30em;font-weight:300;font-size:clamp(21px,1.7vw,25px);line-height:1.45;letter-spacing:-.01em;color:var(--ink)}
.cx-text{margin-top:28px;max-width:38em}
.cx-text p{margin:0 0 16px;font-size:17px;line-height:1.7;color:var(--ink-2);text-wrap:pretty}
.cx-text a,.cx-touch a{color:var(--ink);text-decoration:underline;text-decoration-color:rgba(20,18,16,.25);text-underline-offset:3px;transition:text-decoration-color .2s}
.cx-text a:hover,.cx-touch a:hover{text-decoration-color:var(--copper)}
.cx-beliefs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px;margin-top:clamp(72px,7vw,104px)}
.cx-beliefs div{padding-top:22px;border-top:1px solid var(--line-2)}
.cx-beliefs h2{margin:0;font-weight:400;font-size:19px;letter-spacing:-.01em;color:var(--ink)}
.cx-beliefs p{margin:10px 0 0;font-size:15.5px;line-height:1.6;color:var(--muted);text-wrap:pretty}
.cx-end{margin-top:clamp(80px,8vw,120px)}
.cx-line{margin:0;font-weight:300;font-size:clamp(28px,2.8vw,40px);line-height:1.1;letter-spacing:-.03em;color:var(--ink)}
.cx-touch{margin:18px 0 0;font-size:16px;color:var(--muted)}
@media (max-width:900px){
 .cx-page{padding-top:calc(60px + 44px);padding-bottom:88px}
 .cx-lead{margin-top:28px}
 .cx-beliefs{grid-template-columns:minmax(0,1fr);gap:28px;margin-top:64px}
 .cx-end{margin-top:72px}}

/* ---------- company page: the statement on the left, Ask Cillian on the right showing each belief ---------- */
body:has(.cy-page){overflow:visible;height:auto}
.cy-page{position:relative;z-index:1;min-height:calc(100vh - 40px);display:flex;align-items:center;padding:calc(60px + clamp(28px,4vw,56px)) var(--tk) clamp(48px,5vw,72px)}
.cy{width:100%;max-width:1280px;margin:0 auto;display:grid;grid-template-columns:minmax(0,6fr) minmax(0,5fr);gap:clamp(40px,6vw,96px);align-items:center}
.cy h1{margin:0;font-weight:300;font-size:clamp(36px,3.9vw,60px);line-height:1.04;letter-spacing:-.035em;color:var(--ink)}
.cy h1 span{display:block;text-wrap:balance}
.cy-lead{margin:24px 0 0;max-width:34em;font-size:17px;line-height:1.65;color:var(--ink-2);text-wrap:pretty}
.cy-tabs{display:grid;margin-top:36px;border-top:1px solid var(--line-2)}
.cy-tab{position:relative;display:block;text-align:left;padding:16px 0 16px 18px;border-bottom:1px solid var(--line);transition:background-color .25s}
.cy-tab::before{content:"";position:absolute;left:0;top:16px;bottom:16px;width:2px;border-radius:2px;background:var(--copper);transform:scaleY(0);transition:transform .35s var(--ease)}
.cy-tab b{display:block;font-weight:400;font-size:17px;color:var(--muted);transition:color .25s}
.cy-tab span{display:block;margin-top:4px;font-size:14.5px;line-height:1.55;color:var(--faint);transition:color .25s}
.cy-tab:hover b{color:var(--ink)}
.cy-tab.on::before{transform:none}
.cy-tab.on b{color:var(--ink)}.cy-tab.on span{color:var(--muted)}
.cy-touch{margin:28px 0 0;font-size:15px;color:var(--muted)}
.cy-touch a{color:var(--ink);text-decoration:underline;text-decoration-color:rgba(20,18,16,.25);text-underline-offset:3px;margin-left:4px}
.cy-touch a:hover{text-decoration-color:var(--copper)}
/* the card: the app's Ask panel */
.cy-card.ask{display:flex;position:relative;inset:auto;width:auto;margin:0;height:460px;flex-direction:column;box-shadow:0 0 0 1px var(--line),0 1px 2px rgba(20,18,16,.04),0 30px 70px -34px rgba(20,18,16,.3);animation:none}
.cy-panes{position:relative;flex:1}
.cy-pane{position:absolute;inset:0;padding:20px 20px;display:flex;flex-direction:column;gap:14px;opacity:0;transform:translateY(10px);transition:opacity .45s var(--ease),transform .45s var(--ease);pointer-events:none;font-size:13.5px}
.cy-pane.on{opacity:1;transform:none;pointer-events:auto}
.cy-say{margin:0;font-size:14px;color:var(--ink-2)}
.cy-chores{list-style:none;margin:0;padding:0;display:grid;gap:2px}
.cy-chores li{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:9px;background:var(--raise);box-shadow:0 0 0 1px var(--line);font-size:13.5px;color:var(--ink-2);transition:opacity .35s,background-color .35s}
.cy-chores li .i{color:var(--line-2);transition:color .3s}
.cy-chores li.done .i{color:var(--sage-ink,#4b6b50)}
.cy-chores li.done span{color:var(--muted)}
.cy-one .acard-h .i{color:var(--copper)}
.cy-note{margin:0;font-size:12.5px;color:var(--faint)}
.cy-facts{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.cy-facts li{display:flex;gap:12px;align-items:flex-start;padding:12px 14px;border-radius:12px;background:var(--raise);box-shadow:0 0 0 1px var(--line);font-size:13.5px;line-height:1.5;color:var(--muted)}
.cy-facts li .i{margin-top:2px;color:var(--copper)}
.cy-facts b{font-weight:400;color:var(--ink)}
.cy-more{font-size:13px;color:var(--ink);text-decoration:underline;text-decoration-color:rgba(20,18,16,.25);text-underline-offset:3px}
.cy-more:hover{text-decoration-color:var(--copper)}
@media (max-width:980px){
 .cy-page{min-height:0;display:block;padding-top:calc(60px + 40px);padding-bottom:72px}
 .cy{grid-template-columns:minmax(0,1fr);gap:36px}
 .cy-card.ask{height:440px}}
@media (prefers-reduced-motion:reduce){.cy-pane,.cy-tab::before{transition:none}}
/* the card is as tall as its fullest view (no empty space at the bottom); the heading keeps to two lines on computers */
.cy{grid-template-columns:minmax(0,7fr) minmax(0,5fr)}
.cy h1{font-size:clamp(34px,3vw,50px)}
.cy-card.ask{height:auto}
.cy-panes{display:grid}
.cy-pane{position:relative;inset:auto;grid-area:1/1}
@media (max-width:980px){.cy-card.ask{height:auto}}
.cy h1{font-size:clamp(34px,3vw,46px)}@media (max-width:600px){.cy h1{font-size:32px}}
.cy{grid-template-columns:minmax(0,1fr) minmax(0,440px)}.cy h1{font-size:clamp(34px,2.9vw,44px)}@media (max-width:980px){.cy{grid-template-columns:minmax(0,1fr)}}@media (max-width:600px){.cy h1{font-size:32px}}
@media (max-width:1100px){.cy{grid-template-columns:minmax(0,1fr)}.cy-page{min-height:0;display:block;padding-top:calc(60px + 40px);padding-bottom:72px}.cy-r{max-width:560px}}
/* tablets and phones: the card comes right after the opening words, then the three beliefs */
@media (max-width:1100px){.cy{gap:0}.cy-l{display:contents}.cy h1{order:1}.cy-lead{order:2}.cy-r{order:3;margin-top:32px}.cy-tabs{order:4}.cy-touch{order:5}}
/* company page: exactly one screen when it fits (the footer line sits at the bottom, nothing to scroll); a taller page scrolls as usual */
body:has(.cy-page){display:flex;flex-direction:column;min-height:100vh;min-height:100dvh}
.cy-page{flex:1 0 auto;min-height:0}
@media (min-width:1101px){.cy-page{padding-top:calc(60px + clamp(24px,5vh,56px));padding-bottom:clamp(24px,4vh,72px)}}
@media (max-width:1100px){.cy-page{padding-bottom:56px}}
/* the heading is the site's one heading size, so the statement gets more room: it always stays on two lines on computers */
@media (min-width:1101px){.cy{max-width:1400px;grid-template-columns:minmax(0,1fr) minmax(0,400px);gap:clamp(40px,4vw,64px)}}
