/* Modeqa Studio landing. Modeqa landing tokens with the Studio burgundy. No gradients, glows, shadows or dashed lines, all lines 1px. */
:root{
  --bg:#08090a; --s1:#0d0e10; --s2:#131416; --s3:#1a1c1f;
  --line:rgba(255,255,255,.07); --line-2:rgba(255,255,255,.13);
  --ink:#e9eaeb; --ink-2:#a2a5ab; --ink-3:#71757c; --ink-4:#4c5057;
  --acc:#7a1626; --acc-hover:#8a1c2e; --acc-press:#68111f; --acc-ink:#c23a50;
  --r-sm:8px; --r:12px; --r-l:16px;
  --h-sm:32px; --h:42px;
  --ease:cubic-bezier(.16,1,.3,1);
  --font:-apple-system,"SF Pro Display","SF Pro Text","Inter",system-ui,sans-serif;
  --wrap:1180px; --gut:32px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;scroll-padding-top:80px;-webkit-text-size-adjust:100%;text-size-adjust:100%;color-scheme:dark}
body{background:var(--bg);color:var(--ink);font:400 15px/1.6 var(--font);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;overflow-x:clip}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%;height:auto}
svg{display:block}
ol,ul{list-style:none}
b,strong{font-weight:400}
:focus-visible{outline:1px solid var(--acc-ink);outline-offset:2px;border-radius:var(--r-sm)}
::selection{background:var(--acc);color:#fff}
.skip{position:absolute;left:-999px;top:8px;z-index:10;background:var(--s3);padding:8px 12px;border-radius:var(--r-sm)}
.skip:focus{left:8px}
.wrap{max-width:calc(var(--wrap) + var(--gut) * 2);margin:0 auto;padding:0 var(--gut)}
p,li,dd{overflow-wrap:break-word}

/* buttons: filled, never outlined */
.btn{display:inline-flex;align-items:center;justify-content:center;height:var(--h);padding:0 20px;border-radius:var(--r-sm);font-size:14.5px;font-weight:500;color:var(--ink);background:var(--s2);white-space:nowrap;transition:background 150ms var(--ease),color 150ms var(--ease)}
.btn:hover{background:var(--s3)}
.btn.pri{background:var(--acc);color:#fff}
.btn.pri:hover{background:var(--acc-hover)}
.btn.pri:active{background:var(--acc-press)}
.btn.sm{height:var(--h-sm);padding:0 14px;font-size:13.5px}
.acts{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.note{font-size:13px;color:var(--ink-3)}

/* logo: the Modeqa mark in burgundy, Modeqa and Studio */
.logo{display:inline-flex;align-items:center;gap:9px;flex:none}
.logo svg{width:24px;height:24px;color:var(--acc-ink)}
.logo b{font-size:16px;font-weight:650;letter-spacing:-.01em}
.logo span{font-size:16px;color:var(--ink-2);letter-spacing:-.01em;margin-left:-4px}

/* navigation */
.nav{position:sticky;top:0;z-index:20;background:rgba(8,9,10,.94);border-bottom:1px solid var(--line)}
.nav-in{display:flex;align-items:center;gap:28px;height:64px}
.links{display:flex;gap:24px;margin-left:auto;font-size:13.5px;color:var(--ink-3)}
.links a,.signin{transition:color 150ms}
.links a:hover,.signin:hover{color:var(--ink)}
.nav-acts{display:flex;align-items:center;gap:18px}
.signin{font-size:13.5px;color:var(--ink-2)}

/* type: bold only in headings */
h1{font-size:clamp(34px,5vw,58px);line-height:1.05;letter-spacing:-.035em;font-weight:650;max-width:16ch}
h2{font-size:clamp(26px,3.2vw,38px);line-height:1.15;letter-spacing:-.025em;font-weight:620;max-width:24ch}
h3{font-size:clamp(20px,2vw,24px);line-height:1.25;letter-spacing:-.02em;font-weight:600}
.lead{font-size:18px;line-height:1.6;color:var(--ink-2);margin-top:22px;max-width:56ch}
.sub{font-size:16px;line-height:1.65;color:var(--ink-2);margin-top:14px;max-width:60ch}

/* hero: text, then the product itself */
.hero{padding:80px 0 104px}
.hero .acts{margin-top:32px}
.hero .note{margin-top:14px}
.shot{margin:0;padding:10px;background:var(--s2);border-radius:var(--r-l)}
.shot img{width:100%;aspect-ratio:16/10;object-fit:cover;object-position:left top;border-radius:var(--r-sm)}
.hero .shot{margin-top:56px}

/* sections */
.sec{padding:104px 0;border-top:1px solid var(--line)}
.sec.alt{background:var(--s1)}
.head{margin-bottom:56px}

/* stylist features: text and a screen, alternating */
.feat{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:56px;align-items:center}
.feat+.feat{margin-top:96px}
.feat.rev .ftx{order:2}
.ftx p{font-size:15.5px;color:var(--ink-2);margin-top:14px;line-height:1.65;max-width:46ch}
.ftx .no{display:block;font-size:13.5px;color:var(--acc-ink);margin-bottom:12px}

/* what the client sees */
.pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.pair figure{margin:0;display:flex;flex-direction:column;gap:14px;min-width:0}
.pair figcaption{font-size:14px;color:var(--ink-2)}
.sec.alt .shot{background:var(--s3)}
.trio{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:40px}
.trio>li{display:flex;flex-direction:column;gap:8px;padding:24px;background:var(--bg);border-radius:var(--r-l);min-width:0}
.trio h3,.steps h3{font-size:17px;letter-spacing:-.01em}
.trio p,.steps p{font-size:14.5px;color:var(--ink-2);line-height:1.6}

/* how it works: three steps of one height joined by a line */
.steps{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.steps>li{position:relative;display:flex;flex-direction:column;gap:8px;padding:28px 24px;background:var(--s1);border-radius:var(--r-l);min-width:0}
.steps .no{display:grid;place-items:center;width:28px;height:28px;margin:4px 0 4px;border-radius:50%;background:var(--s3);font-size:13px;color:var(--acc-ink)}

/* plans: three columns of one height, the price in regular weight */
.plans{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.plans>li{display:flex;flex-direction:column;gap:10px;padding:28px 24px;background:var(--bg);border-radius:var(--r-l);min-width:0}
.plans h3{font-size:17px;letter-spacing:-.01em}
.plans .pr{font-size:14px;color:var(--ink-3)}
.plans .pr .num{font-size:32px;letter-spacing:-.02em;color:var(--ink);font-variant-numeric:tabular-nums;margin-right:4px}
.plans .yr{font-size:13px;color:var(--ink-3);margin-top:-6px}
.plans .ticks{margin-top:10px;padding-top:18px;border-top:1px solid var(--line)}
.pr-acts{margin-top:32px;gap:20px}

/* founding stylists */
.fnd{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:56px;align-items:start}
.fnd .acts{margin-top:28px}
.fnd .note{margin-top:14px}
.terms{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.terms>div{display:flex;flex-direction:column;padding:24px;background:var(--s1);border-radius:var(--r-l);min-width:0}
.terms h3{font-size:17px;letter-spacing:-.01em;margin-bottom:14px}
.ticks{display:flex;flex-direction:column;gap:12px}
.ticks li{position:relative;padding-left:24px;font-size:14.5px;color:var(--ink-2);line-height:1.55}
.ticks li::before{content:"";position:absolute;left:2px;top:.55em;width:10px;height:5px;border-left:1px solid var(--acc-ink);border-bottom:1px solid var(--acc-ink);transform:rotate(-45deg)}

/* FAQ */
.faq{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,8fr);gap:56px;align-items:start}
.faq .head{margin:0}
.qs details{border-top:1px solid var(--line)}
.qs details:last-child{border-bottom:1px solid var(--line)}
.qs summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 0;font-size:16px;cursor:pointer;list-style:none;transition:color 150ms}
.qs summary::-webkit-details-marker{display:none}
.qs summary::after{content:"";flex:none;width:8px;height:8px;border-right:1px solid var(--ink-3);border-bottom:1px solid var(--ink-3);transform:translateY(-3px) rotate(45deg);transition:transform 200ms var(--ease),border-color 150ms}
.qs details[open] summary::after{transform:translateY(2px) rotate(-135deg)}
.qs summary:hover{color:#fff}
.qs summary:hover::after{border-color:var(--ink)}
.qs p{font-size:15px;color:var(--ink-2);padding:0 0 22px;max-width:62ch;line-height:1.65}
.qs a,.doc a{color:var(--ink);text-decoration:underline;text-decoration-color:var(--ink-4);text-underline-offset:3px}

/* closing call */
.cta{text-align:center}
.cta h2{margin:0 auto}
.cta .sub{margin:14px auto 0}
.cta .acts{justify-content:center;margin-top:28px}

/* footer */
.foot{border-top:1px solid var(--line);padding:36px 0 48px}
.foot-in{display:flex;align-items:center;gap:32px;flex-wrap:wrap}
.foot nav{display:flex;gap:24px;margin-left:auto;font-size:13.5px;color:var(--ink-3)}
.foot nav a{transition:color 150ms}
.foot nav a:hover{color:var(--ink)}
.foot small{font-size:13px;color:var(--ink-4)}

/* legal pages */
.lg-body{display:grid;grid-template-columns:220px minmax(0,720px);gap:64px;justify-content:center;padding:56px 0 88px}
.toc{position:sticky;top:96px;align-self:start;display:flex;flex-direction:column;gap:2px}
.toc span{font-size:12.5px;color:var(--ink-4);margin:0 0 8px 10px}
.toc a{padding:5px 10px;border-radius:var(--r-sm);font-size:13px;line-height:1.45;color:var(--ink-3);transition:color 150ms}
.toc a:hover{color:var(--ink)}
.doc h1{font-size:32px;letter-spacing:-.02em;line-height:1.2;max-width:none}
.doc .upd{margin-top:10px;font-size:13px;color:var(--ink-3)}
.doc .lead{font-size:15.5px;margin-top:18px}
.doc section{margin-top:40px;padding-top:32px;border-top:1px solid var(--line)}
.doc h2{font-size:18px;letter-spacing:-.01em;margin-bottom:12px;max-width:none}
.doc p,.doc li{font-size:14.5px;color:var(--ink-2);line-height:1.65}
.doc p+p,.doc p+ul,.doc ul+p{margin-top:12px}
.doc ul{list-style:disc;padding-left:20px;display:flex;flex-direction:column;gap:8px}
.doc li::marker{color:var(--ink-4)}

/* smaller screens */
@media (max-width:1100px){
  .feat,.fnd,.faq{grid-template-columns:minmax(0,1fr);gap:32px}
  .feat.rev .ftx{order:0}
  .links{display:none}
  .nav-acts{margin-left:auto}
}
@media (max-width:760px){
  :root{--gut:16px}
  body{font-size:14.5px}
  .nav-in{height:56px;gap:16px}
  .hero{padding:44px 0 64px}
  .lead{font-size:16px}
  .hero .shot{margin-top:36px}
  .sec{padding:64px 0}
  .head{margin-bottom:32px}
  .feat+.feat{margin-top:56px}
  .pair,.trio,.steps,.terms,.plans{grid-template-columns:minmax(0,1fr);gap:16px}
  .trio{margin-top:24px}
  .shot{padding:6px;border-radius:var(--r)}
  .foot-in{flex-direction:column;align-items:flex-start;gap:16px}
  .foot nav{margin-left:0;flex-wrap:wrap;gap:12px 20px}
  .lg-body{grid-template-columns:minmax(0,1fr);gap:24px;padding:36px 0 64px}
  .toc{display:none}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* live fragments of the product inside text cards: same surfaces and type as the app */
.viz{display:flex;flex-direction:column;justify-content:center;gap:12px;height:176px;margin-bottom:12px;padding:16px;background:var(--s2);border-radius:var(--r);overflow:hidden;transition:background 200ms var(--ease)}
.viz .row{display:flex;align-items:center;gap:10px;min-width:0}
.viz .row.sp{justify-content:space-between}
.viz .row.top{align-items:flex-start}
.viz .tx{display:flex;flex-direction:column;gap:1px;min-width:0;flex:1}
.viz .t1{font-size:13px;line-height:1.35;color:var(--ink)}
.viz .t2{font-size:12px;line-height:1.35;color:var(--ink-3)}
.viz .th{flex:none;width:34px;height:44px;border-radius:6px;object-fit:cover;object-position:center 20%;background:#f2f1ef}
.viz .av{flex:none;width:28px;height:28px;border-radius:50%;object-fit:cover;object-position:center 20%}
.viz .av.lg{width:40px;height:40px}
.viz .mk{display:grid;place-items:center;background:var(--s3);color:var(--acc-ink)}
.viz .mk svg{width:16px;height:16px}
.viz .st{font-size:12px;line-height:1.35;color:var(--ink-2)}
.viz .st.on{color:var(--acc-ink)}
.viz .mb{flex:none;align-self:flex-start;display:inline-flex;align-items:center;height:28px;padding:0 12px;border-radius:var(--r-sm);background:var(--acc);color:#fff;font-size:12.5px;font-weight:500;white-space:nowrap}
.viz .row .mb{align-self:center}
.viz .mb.sec{background:var(--s3);color:var(--ink)}
.viz .bub{flex:1;min-width:0;padding:8px 12px;background:var(--s3);border-radius:10px;font-size:12.5px;line-height:1.45;color:var(--ink-2)}
.viz .link{flex-wrap:wrap;justify-content:space-between;padding:6px 6px 6px 12px;background:var(--bg);border-radius:var(--r-sm)}
.viz .url{flex:1;min-width:0}
.viz .bld{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.viz .bld .th{width:100%;height:auto;aspect-ratio:3/4}
.viz .bld .add{display:grid;place-items:center;aspect-ratio:3/4;border-radius:6px;background:var(--s3);color:var(--ink-3);transition:color 150ms}
.viz .tl{display:flex;flex-direction:column}
.viz .tl li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 0;border-top:1px solid var(--line)}
.viz .tl li:first-child{border-top:0}
.viz .tl li .t1{color:var(--ink-2)}
.viz .tl li.on .t1{color:var(--acc-ink)}
.viz .bar{display:block;height:4px;border-radius:2px;background:var(--s3);overflow:hidden}
.viz .bar i{display:block;height:100%;width:calc(var(--w) * 1%);background:var(--acc-ink);border-radius:2px;transform-origin:left;transition:transform 900ms var(--ease) 300ms}
.js [data-rv]:not(.in) .bar i{transform:scaleX(0)}
.trio>li,.steps>li,.terms>div,.plans>li{transition:background 200ms var(--ease),opacity 500ms var(--ease),transform 500ms var(--ease)}
.trio>li:hover,.plans>li:hover{background:#0b0c0e}
.steps>li:hover,.terms>div:hover{background:var(--s2)}
.steps>li:hover .viz,.terms>div:hover .viz{background:var(--s3)}
.steps>li:hover .viz .bub,.terms>div:hover .viz .bub,.steps>li:hover .viz .add,.steps>li:hover .viz .mb.sec{background:var(--s4,#222428)}
.steps>li:hover .viz .add{color:var(--ink)}

/* reveal once on scroll: fade and a short rise, staggered */
.js [data-rv]{opacity:0;transform:translateY(14px);transition-delay:var(--d,0ms)}
.js [data-rv].in{opacity:1;transform:none}
.js [data-rv].in:hover{transition-delay:0ms}
@media (max-width:760px){.viz{height:184px}}
@media (prefers-reduced-motion:reduce){.js [data-rv]{opacity:1;transform:none}}
.viz>.bub{flex:none}
.viz .tx .st{margin-top:4px}
.viz .url{white-space:nowrap}
@media (max-width:760px){.viz .url{flex-basis:100%;padding:4px 0}.viz .link{padding:8px 12px 10px}}
.viz>.tx{flex:none}
