/* ---------- Data democratization philosophy (#philosophy): the How it works page as it was until 2026-10-23, kept as its
   own page (Nick). Its old stylesheet, every rule scoped to #philosophy so it and the redesigned How it works (hiw.css)
   never touch each other; the shared footer CTA rules stay in hiw.css. Made from the old hiw.css by a one-off scoping. */

@font-face{font-family:"Mrs Saint Delafield";src:url(assets/fonts/mrs-saint-delafield-nick.woff2) format("woff2");font-display:swap}
#philosophy.hiw{position:relative;isolation:isolate;overflow-x:clip}
#philosophy .hw{position:relative;display:flex;flex-direction:column;align-items:center;gap:20px;padding:128px var(--gut) 80px}
@media (min-width:768px){#philosophy .hw{padding:176px max(32px,env(safe-area-inset-right,0px)) 120px max(32px,env(safe-area-inset-left,0px))}}   /* a sideways phone: off its notch */
@media (min-width:1024px){#philosophy .hw{padding-left:48px;padding-right:48px}}
@media (min-width:1280px){#philosophy .hw{padding-top:192px;padding-bottom:160px}}
#philosophy .hw-deco{position:absolute;display:none;max-width:none;height:auto;pointer-events:none}
@media (min-width:1280px){#philosophy .hw-deco{display:block}}

#philosophy .hw-head,#philosophy .hw-p,#philosophy .hw-col,#philosophy .hw-sign,#philosophy .hw-h2{width:100%;max-width:640px}
#philosophy .hw-head{display:flex;flex-direction:column;gap:24px;padding-bottom:40px}
#philosophy .hw-eyebrow{font:14.5px/1 var(--pixel);color:var(--fg-60)}
#philosophy .hw h1{margin:0;font:500 var(--h1-sub)/1.2 var(--sans);letter-spacing:-.02em;color:var(--ink);text-wrap:balance;scroll-margin-top:128px}
#philosophy .hw-cover{position:relative;isolation:isolate;width:100%;max-width:960px;aspect-ratio:2088/1000;margin:0 0 32px;overflow:hidden;border-radius:16px}
@media (min-width:768px){#philosophy .hw-cover{margin-bottom:48px}}
#philosophy .hw-cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:bottom}
#philosophy .hw-cover i{position:absolute;inset:0;background-size:256px 256px;opacity:.1}
#philosophy .hw-cover .g1{background-image:url(assets/site/grain-dark.avif);mix-blend-mode:difference}
#philosophy .hw-cover .g2{background-image:url(assets/site/grain-light.avif);mix-blend-mode:plus-lighter}
#philosophy .hw-p{font:400 16px/1.6 var(--sans);color:var(--fg-80);text-wrap:pretty}

/* the opening's closing line on a strip of yellow tape */
#philosophy .hw-tape{position:relative;display:inline-block;margin-left:-16px;padding:8px 16px;transform:rotate(-2deg);font:16px/1.3 var(--pixel);color:var(--ink)}
#philosophy .hw-tape::before{content:"";position:absolute;inset:0;background:rgba(255,213,89,.55);box-shadow:0 1px 2px rgba(0,0,0,.08);-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 8px,#000 calc(100% - 8px),transparent);mask-image:linear-gradient(90deg,transparent 0,#000 8px,#000 calc(100% - 8px),transparent)}
#philosophy .hw-tape span{position:relative}

/* signature */
#philosophy .hw-sign{display:flex;align-items:center;gap:20px;padding-top:24px}
#philosophy .hw-sign>img{flex:none;width:96px;height:96px;border-radius:12px;object-fit:cover}
@media (min-width:768px){#philosophy .hw-sign>img{width:127px;height:127px}}
#philosophy .hw-sign>span{display:flex;flex-direction:column;align-items:flex-start;gap:8px}
#philosophy .hw-script{display:inline-block;transform:rotate(-3deg);font:33.5px/1 "Mrs Saint Delafield",cursive;color:var(--ink)}
#philosophy .hw-who{display:flex;flex-direction:column;gap:4px}
#philosophy .hw-who b{font:500 16px/1.3 var(--sans);color:var(--fg-80)}
#philosophy .hw-who span{font:400 13px/1.4 var(--sans);color:var(--fg-70)}

#philosophy .hw-h2{margin:0;padding:64px 0 32px;font:500 var(--h2)/1.2 var(--sans);letter-spacing:-.02em;color:var(--ink);text-wrap:balance;scroll-margin-top:128px}
@media (min-width:768px){#philosophy .hw-h2{padding-top:112px}}
@media (max-width:767px){
  #philosophy .hw-h2{padding:48px 0 24px}
  /* "We make our money on the platform. The data comes for free.": keep each sentence whole ("…The / data comes for free.") */
  #philosophy .hw-s{display:inline-block}
}

/* ---- three eras, in the FAQ's hand-drawn frame, ruled with crayon lines ---- */
#philosophy .hw-eras{position:relative;width:100%;max-width:960px;margin-bottom:24px;padding:3px}
#philosophy .hw-eras::before{content:"";position:absolute;inset:-9px;pointer-events:none;border-style:solid;border-width:54px;border-image-source:url(assets/site/faq/frame-faq.webp);border-image-slice:108 fill;border-image-width:54px;border-image-repeat:repeat}
#philosophy .hw-era{display:block;font:500 14.5px/1.3 var(--sans);color:var(--ink)}
#philosophy .hw-when{display:block;margin-top:8px;font:11px/1 var(--pixel);color:var(--fg-60)}
#philosophy .hw-eras-list{position:relative}
#philosophy .hw-eras-list li{position:relative;display:flex;flex-direction:column;gap:12px;padding:16px;font:400 13.5px/1.45 var(--sans);color:var(--fg-80)}
#philosophy .hw-eras-list li:last-child{background:rgba(255,239,206,.7)}
#philosophy .hw-eras-list li:not(:last-child)::after,#philosophy .hw-eras-table :is(th,#philosophy td)::before,#philosophy .hw-eras-table :is(th,#philosophy td):not(:last-child)::after{content:"";position:absolute;background:rgba(0,0,0,.6);filter:url(#hw-line);pointer-events:none}
#philosophy .hw-eras-list li:not(:last-child)::after{left:0;right:0;bottom:-1px;height:2px}
#philosophy .hw-eras-table{display:none;position:relative;width:100%;table-layout:fixed;border-collapse:collapse}
#philosophy .hw-eras-table :is(th,#philosophy td){position:relative;padding:16px;vertical-align:top;text-align:left;font:400 13.5px/1.45 var(--sans);color:var(--fg-80)}
#philosophy .hw-eras-table :is(th,#philosophy td):nth-child(3){background:rgba(255,239,206,.7)}
#philosophy .hw-eras-table :is(th,#philosophy td)::before{left:0;right:0;bottom:-1px;height:2px}
#philosophy .hw-eras-table tbody tr:last-child td::before{display:none}
#philosophy .hw-eras-table :is(th,#philosophy td):not(:last-child)::after{top:0;bottom:0;right:-1px;width:2px}
#philosophy .hw-egc{color:var(--fg-60)}
@media (min-width:768px){#philosophy .hw-eras-list{display:none}#philosophy .hw-eras-table{display:table}}
/* phones: the stacked eras read at body size, not as fine print next to the 16px paragraphs */
@media (max-width:767px){
  #philosophy .hw-eras{margin-bottom:8px}
  #philosophy .hw-eras-list li{font-size:15px}
  #philosophy .hw-eras-list .hw-era{font-size:16px}
  #philosophy .hw-eras-list .hw-when{margin-top:-4px;font-size:12px}
}
#philosophy .hw-eg{display:flex;flex-wrap:wrap;align-items:center;gap:4px 6px;color:var(--fg-60)}
#philosophy .hw-eg-i{display:inline-flex;align-items:center;gap:6px}
#philosophy .hw-eg-i img{width:16px;height:16px;border-radius:4px}
#philosophy .hw-eras :is(li:last-child,#philosophy td:nth-child(3)) .hw-eg{font-weight:500;color:var(--ink)}
#philosophy .hw-lp{display:block;width:18px;height:16px;overflow:hidden}
#philosophy .hw-lp img{display:block;width:auto;height:100%;max-width:none;border-radius:0}

/* ---- cards (steps + what you get) in the live crayon-fill frames ---- */
#philosophy .hw-steps{position:relative;display:flex;flex-direction:column;gap:16px;width:100%;max-width:960px;margin-bottom:16px}
#philosophy .hw-cards{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;width:100%;margin:0;padding:0;list-style:none}
@media (min-width:768px){#philosophy .hw-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}
#philosophy .hw-gets{max-width:960px;margin-bottom:16px}
#philosophy .hw-card{position:relative;display:flex;flex-direction:column;gap:20px;padding:24px}
@media (min-width:1024px){#philosophy .hw-card{padding:32px}}
#philosophy .hw-card::before{content:"";position:absolute;inset:-9px;pointer-events:none;border-style:solid;border-width:58px;border-image-source:var(--frame);border-image-slice:116 fill;border-image-width:58px;border-image-repeat:repeat}
#philosophy .hw-card>*{position:relative}
#philosophy .hw-ic{display:block;width:48px;height:48px;color:var(--fg-80)}
#philosophy .hw-card h3{margin:0;font:500 16px/1.4 var(--sans);color:var(--fg-80)}
#philosophy .hw-card p{margin-top:12px;font:400 13.5px/1.45 var(--sans);color:var(--fg-70)}
@media (min-width:768px){#philosophy .hw-n{display:none}}
/* phones: stacked full width, an icon above one short line left each card mostly empty; put the icon beside the text */
@media (max-width:767px){
  /* min-height: the crayon frame (2 x 58px edges drawn 9px outside) needs 98px, or it hangs below a short card */
  #philosophy .hw-card{display:grid;grid-template-columns:36px minmax(0,1fr);align-content:center;align-items:start;gap:0 16px;min-height:98px;padding:20px}
  /* 36px = 1.5x the icons' 2-unit pixel grid: whole device pixels at 2x; the title's first line centres on it */
  #philosophy .hw-ic{width:36px;height:36px}
  #philosophy .hw-card h3{padding-top:7px;text-wrap:balance}
  #philosophy .hw-card p{margin-top:8px;font-size:14.5px;text-wrap:pretty}
}

/* numbered track under the step cards: crayon-filled dots joined by dashed arrows */
#philosophy .hw-track{display:none;position:relative;height:32px;color:var(--fg-60)}
@media (min-width:768px){#philosophy .hw-track{display:block}}
#philosophy .hw-track>div{position:absolute;top:0;bottom:0;left:calc((100% - 32px) / 6 - 16px);right:calc((100% - 32px) / 6 - 16px);display:flex;align-items:center}
#philosophy .hw-dot{position:relative;flex:none;display:grid;place-items:center;width:32px;height:32px}
#philosophy .hw-dot::before,#philosophy .hw-dot i,#philosophy .hw-dot::after{content:"";position:absolute;inset:0;border-radius:50%}
#philosophy .hw-dot::before{background:var(--page)}
#philosophy .hw-dot i{background:#FFD559;filter:url(#hw-fill)}
#philosophy .hw-dot::after{border:2.5px solid rgba(0,0,0,.8);filter:url(#hw-line)}
#philosophy .hw-dot b{position:relative;font:12.5px/1 var(--pixel);font-weight:400;color:var(--ink)}
#philosophy .hw-dash{flex:1;display:flex;align-items:center;gap:6px;padding:0 6px;filter:url(#hw-dash)}
#philosophy .hw-dash i{flex:1;height:1px;background:repeating-linear-gradient(90deg,rgba(0,0,0,.8) 0 6px,transparent 6px 12px)}
#philosophy .hw-dash svg{flex:none;width:8px;height:12px;color:rgba(0,0,0,.8)}

/* "Your own data is never shared": the Unlimited page's card (v2.css .v2-privacy), under How it works */
#philosophy .hw-private{width:100%;max-width:960px;margin:28px 0 12px}
#philosophy .hw-private .v2-privacy{scroll-margin-top:96px}

/* ---- "On this page" rail (wide screens) ---- */
#philosophy .hw-toc{position:fixed;top:50%;left:32px;z-index:10;display:none;transform:translateY(-50%)}
@media (min-width:1360px) and (hover:hover){#philosophy .hw-toc{display:block}}   /* as hiw.css: room for the labels, and a mouse to show them */
#philosophy .hw-toc ul{display:flex;flex-direction:column;gap:12px}
#philosophy .hw-toc a{display:flex;align-items:center;gap:12px;font:400 11.5px/1.2 var(--sans);color:var(--fg-60);text-decoration:none}
#philosophy .hw-toc i{display:block;width:16px;height:1px;background:var(--fg-20);transition:width .2s,background-color .2s}
#philosophy .hw-toc span{opacity:0;transition:opacity .2s}
#philosophy .hw-toc a:hover,#philosophy .hw-toc a:focus-visible{color:#000}
#philosophy .hw-toc a:hover i,#philosophy .hw-toc a:focus-visible i,#philosophy .hw-toc a.is-active i{width:24px;background:var(--fg-80)}
#philosophy .hw-toc a:hover span,#philosophy .hw-toc a:focus-visible span{opacity:1}

/* ---- footer CTA on this page: the live river art and its own copy (styled by hiw.css: the footer is outside #philosophy) ---- */
body[data-view="philosophy"] .foot-cta-main{display:none}
body[data-view="philosophy"] .foot-cta-river{display:flex}
@media (prefers-reduced-motion:reduce){#philosophy .hw-toc i,#philosophy .hw-toc span{transition:none}}

/* the home view folds away while #philosophy is open (as pricing.css does for the other views) */
body[data-view="philosophy"] #home{position:absolute;top:0;left:0;right:0;height:0;overflow:hidden;visibility:hidden}
