/* LeGroupe: the site's one stylesheet, on the kit's tokens and parts (/assets/look.css, linked first). */
:root {
  --accent: #ff5a36; --on-accent: #111111;
  --link: #c23d1f; --tint: #fff0eb;
  --mono: 'Manrope', system-ui, sans-serif; /* the product's figures are Manrope's tabular numerals, not a code face */
}
::selection { background: #ffd2c7; color: #11151c; }
.dark ::selection { background: var(--accent); color: #111; }
html { scrollbar-color: #c9cfd8 transparent; }
body { caret-color: var(--accent); }
.tnum, .num { font-family: var(--text); font-variant-numeric: tabular-nums; }

/* the top bar */
.site-top { background: var(--bg-2); color: #e9edf3; position: sticky; top: 0; z-index: 20; }
.site-top .top { padding-block: .7rem; }
.site-top .brand { color: #fff; font-weight: 800; }
.site-top .links { display: flex; align-items: center; gap: .4rem; }
.site-top .login { color: #c9d1dc; text-decoration: none; font-weight: 600; padding: .6rem .8rem; border-radius: var(--r-btn); }
.site-top .login:hover { color: #fff; background: #1c222d; }
.site-top .btn { min-height: 40px; padding: 0 1rem; font-size: .95rem; }
.top.is-scrolled { background: var(--bg-2); }

/* the hero: the product's window first, the headline under it */
.hero { background: var(--bg-2); color: #e9edf3; padding: .6rem 0 2.6rem; }
.hero .wrap { display: grid; gap: 1.4rem; }
.hero h1 { color: #fff; font-weight: 800; font-size: clamp(2rem, 4.6vw, 3.5rem); margin: 0; max-width: 16ch; }
.hero .lede { display: grid; gap: 1.1rem; align-items: end; }
.hero .sub { color: #c3cbd6; font-size: 1.05rem; margin: 0; max-width: 56ch; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; }
.cta-row .note { color: #9aa4b2; font-size: .92rem; font-weight: 600; }
@media (min-width: 900px) {
  .hero { padding-bottom: 2.4rem; }
  .hero .lede { grid-template-columns: 1.1fr 1fr; gap: 2.5rem; }
}

/* the product's window */
.win { background: #fff; color: var(--ink); border-radius: 10px; overflow: hidden; box-shadow: 0 30px 70px -30px rgb(0 0 0 / .7); }
.win .bar { display: flex; align-items: center; gap: .6rem; padding: .7rem 1rem; background: #f1f3f6; border-bottom: 1px solid var(--line-c); font: 700 .92rem/1.2 var(--text); color: var(--ink); }
.win .bar::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #e5484d; box-shadow: 15px 0 0 #f5a623, 30px 0 0 #30a46c; margin-right: 34px; flex: none; }
.win .bar .q { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.win .bar .badge { margin-left: auto; flex: none; }
.win-body { display: grid; gap: 0; max-height: 540px; overflow: hidden; }
.win-body.fade { -webkit-mask-image: linear-gradient(#000 72%, transparent); mask-image: linear-gradient(#000 72%, transparent); }
.run { list-style: none; margin: 0; padding: .9rem 1rem .4rem; display: grid; gap: .45rem; font-size: .92rem; }
.run li { display: flex; gap: .55rem; align-items: baseline; color: var(--ink-2); }
.run li .i { color: var(--good); vertical-align: -.2em; }
.run b { color: var(--ink); font-weight: 700; }
.res { padding: .4rem 1rem 1rem; display: grid; gap: .8rem; }
.res table { font-size: .9rem; }
.res td, .res th { padding: .5rem .6rem; }
.res td.n, .res th.n { text-align: right; }
.bars { display: inline-block; height: 6px; border-radius: 3px; background: var(--accent); vertical-align: middle; margin-right: .4rem; }
.award { border: 1px solid var(--line-c); border-radius: 8px; padding: .85rem 1rem; display: grid; gap: .4rem; background: #fff; }
.award .head { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.award .title { font-weight: 800; font-size: 1.08rem; letter-spacing: -.01em; }
.award .who { font-weight: 700; color: var(--ink-2); }
.award p { margin: 0; font-size: .95rem; }
.award .proof { display: flex; flex-wrap: wrap; gap: .4rem; }
.award blockquote { margin: 0; padding: .5rem .7rem; background: var(--bg); border-radius: 6px; font-size: .92rem; color: var(--ink); }
.award blockquote small { color: var(--ink-2); font-weight: 600; margin-left: .3rem; }
.badge.ok { background: #e6f4ec; color: #0f5c37; border-color: #cbe7d7; }
.badge.no { background: #fdecea; color: #8a1c12; border-color: #f6cfc9; }
@media (min-width: 900px) {
  .win-body { grid-template-columns: 1fr 1.15fr; max-height: 430px; }
  .win-body .col + .col { border-left: 1px solid var(--line-c); }
  .run { padding-top: 1rem; }
}
@media (max-width: 899px) { .win-body { max-height: 470px; } .res .hide-s { display: none; } }

/* sections */
.sec-head { display: grid; gap: .5rem; margin-bottom: 1.8rem; }
.sec-head h2 { margin: 0; }
.sec-head p { margin: 0; color: var(--ink-2); font-size: 1.05rem; }
#how { background: var(--bg); }
.steps { display: grid; gap: 1rem; list-style: none; padding: 0; margin: 0; }
.steps > li { background: var(--surface); border-radius: var(--r); padding: 1.2rem; display: grid; gap: .7rem; align-content: start; box-shadow: var(--card-shadow); }
.steps h3 { margin: 0; font-size: 1.15rem; }
.steps p { margin: 0; color: var(--ink); }
.steps .chip { display: flex; gap: .5rem; align-items: center; font-size: .88rem; font-weight: 600; color: var(--ink-2); background: var(--bg); border-radius: 6px; padding: .5rem .65rem; }
.steps .chip .i { color: var(--accent); }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }

#what { background: #fff; }
.what-grid { display: grid; gap: 1.6rem; align-items: start; }
.rules { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.rules li { display: grid; grid-template-columns: auto 1fr; gap: .8rem; align-items: start; }
.rules h3 { margin: 0 0 .15rem; font-size: 1.02rem; }
.rules p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.slide .award { height: 100%; box-shadow: var(--card-shadow); }
@media (min-width: 900px) { .what-grid { grid-template-columns: 1fr 1.25fr; gap: 3rem; } .carousel .slide { --slide: min(100%, 420px); } }

#price { background: var(--bg); }
.price-grid { display: grid; gap: 1.5rem; align-items: start; }
.plan { background: var(--bg-2); color: #e9edf3; border-radius: 10px; padding: 1.5rem; display: grid; gap: 1rem; }
.plan h3 { color: #fff; margin: 0; font-size: 1.1rem; }
.plan .amount { font-weight: 800; font-size: 3rem; letter-spacing: -.03em; color: #fff; line-height: 1; }
.plan .amount small { font-size: 1rem; font-weight: 600; color: #9aa4b2; letter-spacing: 0; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.plan li { display: flex; gap: .55rem; align-items: baseline; }
.plan li .i { color: var(--accent); vertical-align: -.2em; }
.plan .fine { color: #9aa4b2; font-size: .9rem; margin: 0; }
.faq { display: grid; gap: .5rem; }
.faq h3 { margin: 0 0 .4rem; font-size: 1.15rem; }
.faq details { background: var(--surface); border-radius: var(--r); padding: .2rem 1rem; box-shadow: var(--card-shadow); }
.faq summary { cursor: pointer; font-weight: 700; padding: .75rem 0; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { transition: transform .2s; color: var(--ink-2); }
.faq details[open] summary .i { transform: rotate(180deg); }
.faq details p { margin: 0 0 .9rem; }
.faq .more { margin-top: .4rem; font-weight: 700; }
@media (min-width: 900px) { .price-grid { grid-template-columns: 1fr 1.3fr; gap: 3rem; } }

.band { background: var(--accent); color: #111; padding-block: clamp(2.2rem, 5vw, 3.4rem); }
.band .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }
.band p { margin: 0; font-weight: 800; font-size: clamp(1.35rem, 3vw, 2rem); letter-spacing: -.02em; line-height: 1.15; max-width: 30ch; }
.band .btn { background: #11151c; color: #fff; }

.site-foot { background: var(--bg-2); color: #9aa4b2; border: 0; padding-block: 2rem; }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }
.site-foot a { color: #d5dbe3; }
.site-foot .brand { color: #fff; font-weight: 800; text-decoration: none; display: flex; align-items: center; gap: .5rem; }
.site-foot .brand img { width: 28px; height: 28px; border-radius: 4px; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: .4rem 1rem; align-items: center; }

/* the pages people work in: accounts, the app, the account */
.page-dark { background: var(--bg-2); color: #e9edf3; padding: 2rem 0 2.2rem; }
.page-dark h1 { color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin: 0 0 .4rem; }
.page-dark p { color: #c3cbd6; margin: 0; }
.form-card { background: #fff; border-radius: 10px; padding: 1.4rem; box-shadow: var(--card-shadow); margin-top: -1.2rem; position: relative; }
.form-card h2 { font-size: 1.25rem; }
.form-card .btn { width: 100%; }
.form-card .alt { margin: 1rem 0 0; font-size: .95rem; color: var(--ink-2); }
.msg { margin: .8rem 0 0; font-weight: 600; }
.msg.error { color: var(--bad); }
.msg.ok { color: var(--good); }
.check { display: flex; gap: .6rem; align-items: flex-start; font-weight: 600; }
.check input { width: 20px; height: 20px; min-height: 0; margin: .15rem 0 0; flex: none; accent-color: var(--accent); }

.drop { border: 2px dashed #3a4456; border-radius: 10px; padding: 2rem 1.2rem; text-align: center; display: grid; gap: .8rem; justify-items: center; background: #151a23; color: #e9edf3; cursor: pointer; transition: border-color .2s, background .2s; }
.drop:hover, .drop.over { border-color: var(--accent); background: #1a202b; }
.drop .i.big { color: var(--accent); }
.drop strong { font-size: 1.15rem; }
.drop small { color: #9aa4b2; }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.howto { color: #c3cbd6; font-size: .95rem; }
.howto summary { cursor: pointer; font-weight: 700; color: #fff; }
.howto ol { margin: .6rem 0 0; padding-left: 1.2rem; display: grid; gap: .3rem; }

.app-grid { display: grid; gap: 1.2rem; align-items: start; }
@media (min-width: 980px) { .app-grid { grid-template-columns: 1.15fr 1fr; } }
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; }
.kpi { background: var(--bg); border-radius: 8px; padding: .75rem .85rem; }
.kpi span { display: block; color: var(--ink-2); font-size: .82rem; font-weight: 600; }
.kpi strong { display: block; font-size: 1.15rem; font-weight: 800; letter-spacing: -.01em; overflow-wrap: anywhere; }
.kpi strong.big { font-size: 1.9rem; color: var(--accent); }
@media (min-width: 640px) { .kpis { grid-template-columns: repeat(3, 1fr); } }
.toolbar { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.toolbar .btn { min-height: 40px; padding: 0 .9rem; font-size: .92rem; }
.btn.small { min-height: 34px; padding: 0 .7rem; font-size: .85rem; }
.btn.dark { background: #11151c; color: #fff; }
.field-row { display: grid; gap: .8rem; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.panel-sec { background: #fff; border-radius: 10px; box-shadow: var(--card-shadow); overflow: hidden; }
.panel-sec > header { display: flex; gap: .6rem; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: .8rem 1rem; border-bottom: 1px solid var(--line-c); }
.panel-sec > header h2 { font-size: 1.1rem; margin: 0; letter-spacing: -.01em; }
.panel-sec > .in { padding: 1rem; display: grid; gap: .9rem; }
.awards-list { display: grid; gap: .8rem; }
.award.hidden-a { opacity: .55; }
.award .actions { display: flex; flex-wrap: wrap; gap: .4rem; }
.award .rename { display: flex; gap: .4rem; }
.award .rename input { min-height: 36px; }
.progress { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.progress li { display: flex; gap: .55rem; align-items: center; }
.progress li .i { color: var(--ink-2); }
.progress li.done .i { color: var(--good); }
.progress li.now { font-weight: 700; }
.poster-wrap canvas { width: 100%; max-width: 320px; height: auto; border-radius: 8px; display: block; }
.poster-wrap { display: grid; gap: .8rem; justify-items: start; }
.share-box { display: flex; gap: .5rem; }
.share-box input { min-height: 40px; font-size: .9rem; }
.list-rows { list-style: none; margin: 0; padding: 0; }
.list-rows li { display: flex; gap: .8rem; justify-content: space-between; align-items: center; padding: .7rem 1rem; border-top: 1px solid var(--line-c); }
.list-rows li:first-child { border-top: 0; }
.list-rows .meta { color: var(--ink-2); font-size: .88rem; }
.empty { text-align: center; color: var(--ink-2); padding: 1.4rem 1rem; display: grid; gap: .4rem; justify-items: center; }
.notice { background: var(--tint); border-radius: 8px; padding: .7rem .9rem; font-size: .93rem; }
.notice.dark-n { background: #1a202b; color: #c3cbd6; }
.jokes { display: grid; gap: .6rem; }
.joke { background: var(--bg); border-radius: 8px; padding: .75rem .9rem; display: grid; gap: .3rem; }
.joke .phrase { font-weight: 800; }
.stack { display: grid; gap: 1.2rem; }

/* fixes from the page check */
p, dd, li { text-wrap: pretty; }
.site-top .login, .site-top .btn { white-space: nowrap; }
.short { display: none; }
@media (max-width: 520px) {
  .long { display: none; } .short { display: inline; }
  .site-top .login { padding: .6rem .5rem; }
  .site-top .links { gap: .1rem; }
  section { padding-block: 3.25rem; }
  .win-body { max-height: 560px; }
}
.what-grid > *, .price-grid > *, .app-grid > * { min-width: 0; }
.carousel-dots { gap: 0; }
.carousel-dots button, .carousel-dots button[aria-current="true"] { width: 44px; height: 44px; background: none; display: grid; place-items: center; }
.carousel-dots button::after { content: ""; width: 8px; height: 8px; border-radius: 99px; background: var(--line-c); transition: width .3s cubic-bezier(.22, 1, .36, 1), background .3s; }
.carousel-dots button[aria-current="true"]::after { width: 24px; background: var(--accent); }
.win .award { border: 0; border-radius: 0; padding: .8rem 0; border-bottom: 1px solid var(--line-c); }
.win .award:last-child { border-bottom: 0; }
.steps .step-h { display: flex; align-items: center; gap: .8rem; }
.panel-sec { padding: 0; }
.howto summary { min-height: 44px; display: flex; align-items: center; }
.drop input { display: none; }
.empty a { display: inline-flex; align-items: center; min-height: 44px; }
.form-card .btn { white-space: normal; text-align: center; line-height: 1.2; padding-block: .6rem; }
.list-rows li.empty { display: grid; justify-content: center; justify-items: center; text-align: center; }
.site-foot a { display: inline-flex; align-items: center; min-height: 44px; }
.top .brand { min-height: 44px; }
.faq .more { display: inline-flex; align-items: center; min-height: 44px; }

/* results arriving in the app: one after another (the kit's reduced-motion rule turns it off) */
.arrive > * { animation: lg-in .45s cubic-bezier(.22, 1, .36, 1) both; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes lg-in { from { opacity: 0; transform: translateY(8px); } }
.plan-h { font-size: 1.6rem; color: #fff; margin: 0; }

/* the questions page */
.qa { display: grid; gap: 2rem; }
.qa section { padding: 0; }
.qa h2 { font-size: 1.4rem; }
.qa dl { margin: 0; display: grid; gap: 1rem; }
.qa dt { font-weight: 800; }
.qa dd { margin: .25rem 0 0; }
@media (min-width: 900px) { .qa { grid-template-columns: 1fr 1fr; gap: 2rem 3rem; } }
