/* Dealio public site. One family, Archivo, in three roles: wide and heavy for headlines,
   narrow and heavy for prices (like a sale tag), regular for reading. The palette is the
   bot's own: Steam night blue, Steam's link blue for the price line, deal green for the
   moment Dealio sends a DM, and Discord blurple only on the button that adds Dealio. */
@font-face{font-family:Archivo;font-style:normal;font-display:swap;font-weight:100 900;font-stretch:62% 125%;
  src:url(archivo-latin.woff2) format("woff2-variations");
  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}
@font-face{font-family:Archivo;font-style:normal;font-display:swap;font-weight:100 900;font-stretch:62% 125%;
  src:url(archivo-latin-ext.woff2) format("woff2-variations");
  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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}

:root{
  --night:#0a121a;--panel:#0f1b26;--grid:#1c2b38;--line:#24384a;
  --ink:#e8f0f4;--muted:#8fa4b3;--faint:#6a8091;
  --blue:#66c0f4;--green:#8fe07a;--blurple:#5865f2;--blurple-hover:#4752c4;--on-blurple:#fff;
  --wide:118%;--narrow:78%;
  --measure:62ch;
}
/* Theme: follows the system until the visitor picks one with the toggle (data-theme). */
:root{color-scheme:dark}
:root[data-theme=light]{color-scheme:light;
  --night:#f3f6f8;--panel:#fff;--grid:#dde6ec;--line:#cfdbe3;
  --ink:#10222f;--muted:#4c6474;--faint:#687e8c;
  --blue:#1a6d9c;--green:#2f8a3a;
}
@media(prefers-color-scheme:light){:root:not([data-theme=dark]){color-scheme:light;
  --night:#f3f6f8;--panel:#fff;--grid:#dde6ec;--line:#cfdbe3;
  --ink:#10222f;--muted:#4c6474;--faint:#687e8c;
  --blue:#1a6d9c;--green:#2f8a3a;
}}

*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--night);color:var(--ink);font:400 17px/1.6 Archivo,system-ui,sans-serif;font-stretch:100%;font-kerning:normal}
img,svg{display:block;max-width:100%;height:auto}
a{color:var(--blue);text-underline-offset:4px;text-decoration-thickness:1px}
a:hover{color:var(--ink)}
:focus-visible{outline:3px solid var(--blue);outline-offset:4px;border-radius:4px}
.emo{font-stretch:100%;font-weight:400;letter-spacing:0}
h1,h2,h3{font-stretch:var(--wide);font-weight:800;letter-spacing:-.02em;text-wrap:balance;margin:0}
p{margin:0}
.wrap,.topbar,footer{max-width:1180px;margin:0 auto;padding-left:40px;padding-right:40px}

/* Header */
.topbar{display:flex;justify-content:space-between;align-items:center;gap:24px;padding-top:22px;padding-bottom:22px}
.brand{display:flex;align-items:center;gap:10px;color:var(--ink);text-decoration:none;font-weight:800;font-stretch:var(--wide);font-size:20px;letter-spacing:-.02em}
.mark{width:32px;height:32px;border-radius:9px}
.topbar nav{display:flex;align-items:center;gap:24px;font-size:15px}
.topbar nav a{color:var(--muted);text-decoration:none}
.topbar nav a:hover{color:var(--ink)}
.topbar nav .add{color:var(--ink);border:1px solid var(--line);padding:7px 14px;border-radius:8px}
.topbar nav .add:hover{border-color:var(--blurple)}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.langs{display:flex;align-items:center;gap:6px}
.flag{display:inline-grid;place-items:center;padding:5px;border-radius:8px;border:1px solid transparent;opacity:.55;transition:opacity .15s ease}
.flag svg{width:24px;height:16px;border-radius:3px;box-shadow:0 0 0 1px rgb(127 127 127 / .35)}
.flag:hover,.flag:focus-visible{opacity:1}
.flag[aria-current=page]{opacity:1;border-color:var(--line);background:var(--panel)}
.theme{display:inline-grid;place-items:center;width:38px;height:38px;padding:0;border:1px solid var(--faint);border-radius:10px;background:var(--panel);color:var(--ink);cursor:pointer}
.theme[hidden]{display:none}
.theme:hover{border-color:var(--blue);color:var(--blue)}
.theme svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.theme .moon{display:none}
:root[data-theme=light] .theme .sun{display:none}
:root[data-theme=light] .theme .moon{display:block}
@media(prefers-color-scheme:light){:root:not([data-theme=dark]) .theme .sun{display:none}:root:not([data-theme=dark]) .theme .moon{display:block}}

/* Hero */
.hero{padding-top:72px;padding-bottom:28px;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:40px 64px;align-items:end}
.hero h1{font-size:clamp(42px,6.4vw,84px);line-height:.98;letter-spacing:-.035em}
.hero h1 span{display:block}
.lede{font-size:19px;color:var(--muted);max-width:44ch}
.lede strong{color:var(--ink);font-weight:600}
.actions{display:flex;flex-wrap:wrap;align-items:center;gap:14px 22px;margin-top:26px}
.cta{display:inline-flex;align-items:center;gap:10px;background:var(--blurple);color:var(--on-blurple);text-decoration:none;font-weight:700;padding:14px 22px;border-radius:10px;font-size:17px;transition:transform .15s ease,background-color .15s ease}
.cta:hover{color:var(--on-blurple);background:var(--blurple-hover);transform:translateY(-1px)}
.cta svg{width:22px;height:22px;fill:currentColor}
.facts{display:flex;flex-wrap:wrap;gap:6px 18px;margin:18px 0 0;padding:0;list-style:none;font-size:14px;color:var(--faint)}
.facts li::before{content:"✓ ";color:var(--green)}

/* The price chart: Dealio's whole job on one line */
.chart{margin:0;padding-top:12px}
.chart svg{width:100%;overflow:visible}
.chart figcaption{font-size:13px;color:var(--faint);margin-top:6px;margin-bottom:36px}
.c-grid{stroke:var(--grid);stroke-width:1}
.c-axis{fill:var(--faint);font-size:15px;font-variant-numeric:tabular-nums}
.c-target{stroke:var(--ink);stroke-width:2;stroke-dasharray:8 8;opacity:.55}
.c-target-label{fill:var(--ink);font-size:17px;font-weight:600;opacity:.85}
.c-area{fill:var(--blue);opacity:.07}
.c-price{fill:none;stroke:var(--blue);stroke-width:4;stroke-linejoin:round;stroke-linecap:round}
.c-dot{fill:var(--green);stroke:var(--night);stroke-width:3}
.c-ring{fill:none;stroke:var(--green);stroke-width:2;opacity:0;transform-box:fill-box;transform-origin:center}
.c-tag{fill:var(--green);font-weight:800;font-stretch:var(--narrow);font-size:30px;font-variant-numeric:tabular-nums}
.c-tag-sub{fill:var(--ink);font-size:16px;font-weight:600}
.c-low-label{fill:var(--green);font-size:15px}
.c-quiet{fill:var(--muted);font-size:15px}
.c-step{fill:var(--muted);stroke:var(--night);stroke-width:3}
.c-step-n{fill:var(--night);font-size:14px;font-weight:800;text-anchor:middle;dominant-baseline:central}
.c-cover{filter:drop-shadow(0 8px 14px rgb(0 0 0 / .35))}
.c-cover-label{fill:var(--ink);font-size:15px;font-weight:600}
@media(prefers-reduced-motion:no-preference){
  .c-price{stroke-dasharray:1;stroke-dashoffset:1;animation:draw 2.4s cubic-bezier(.5,0,.2,1) .2s forwards}
  .c-area{opacity:0;animation:area .8s ease 2.2s forwards}
  .c-hit{opacity:0;animation:show .35s ease forwards}
  .c-hit.h1{animation-delay:1.55s}
  .c-hit.h2{animation-delay:2.15s}
  .c-ring{animation:ping 1.6s ease-out 2.6s 2}
  @keyframes draw{to{stroke-dashoffset:0}}
  @keyframes area{to{opacity:.07}}
  @keyframes show{to{opacity:1}}
  @keyframes ping{0%{opacity:.9;transform:scale(1)}100%{opacity:0;transform:scale(3.2)}}
}

/* The four events under the chart */
.events{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px;counter-reset:ev}
.events li{counter-increment:ev;border-top:2px solid var(--line);padding-top:16px}
.events li.sent{border-top-color:var(--green)}
.events li::before{content:counter(ev);display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--panel);border:1px solid var(--line);color:var(--muted);font-size:13px;font-weight:700;margin-bottom:10px}
.events li.sent::before{background:var(--green);border-color:var(--green);color:var(--night)}
.events b{display:block;font-stretch:var(--narrow);font-weight:800;font-size:26px;line-height:1.1;font-variant-numeric:tabular-nums}
.events p{color:var(--muted);font-size:15px;margin-top:6px}
.events li.sent p{color:var(--ink)}

/* Generic section */
section{padding-top:112px}
.head{max-width:var(--measure);margin-bottom:40px}
.head h2{font-size:clamp(30px,3.6vw,46px);line-height:1.05}
.head p{color:var(--muted);font-size:18px;margin-top:16px}

/* The real alert next to what it tells you */
.alert{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:64px;align-items:start}
.shot{margin:0;position:sticky;top:24px}
.shot img{border-radius:16px;box-shadow:0 1px 0 var(--line),0 30px 80px -30px #000c}
.shot figcaption{font-size:13px;color:var(--faint);margin-top:12px}
.parts{margin:0;display:grid;gap:28px}
.parts div{display:grid;grid-template-columns:120px 1fr;gap:4px 20px;padding-bottom:28px;border-bottom:1px solid var(--grid)}
.parts div:last-child{border-bottom:0}
.parts dt{font-stretch:var(--narrow);font-weight:800;font-size:22px;line-height:1.15;color:var(--ink)}
.parts dd{margin:0;color:var(--muted)}

/* Rules and rhythm: the lists, then the real Alerts tab (mirrors the alert section) */
.rules{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:64px;align-items:start}
.lists{display:grid;gap:52px}
.lists h3{font-size:22px;margin-bottom:20px}
.lists ul{list-style:none;margin:0;padding:0;display:grid;gap:18px}
.lists li{display:grid;grid-template-columns:76px 1fr;gap:14px;align-items:baseline}
.lists li b{display:block;font-weight:700;color:var(--ink)}
.lists li span{color:var(--muted);font-size:15px}
.lists li i{font-style:normal;font-stretch:var(--narrow);font-weight:800;color:var(--blue);font-size:20px;font-variant-numeric:tabular-nums}

/* Honest limits */
.honest{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:64px}
.honest .head{margin-bottom:0}
.honest ul{list-style:none;margin:0;padding:0}
.honest li{padding:18px 0;border-bottom:1px solid var(--grid);color:var(--muted)}
.honest li:first-child{padding-top:0}
.honest li b{color:var(--ink);font-weight:700}

/* FAQ */
.faq>*{max-width:820px}
details{border-bottom:1px solid var(--grid);padding:20px 0}
summary{cursor:pointer;font-weight:700;font-size:18px;list-style:none;display:flex;justify-content:space-between;gap:20px}
summary::-webkit-details-marker{display:none}
summary::after{content:"+";color:var(--muted);font-weight:400;font-size:22px;line-height:1}
details[open] summary::after{content:"−"}
details p{color:var(--muted);margin-top:12px;max-width:var(--measure)}

/* Closing */
.closing{padding-bottom:40px}
.closing .inner{border-top:1px solid var(--line);padding-top:64px;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:end;gap:28px}
.closing h2{font-size:clamp(30px,4.2vw,56px);line-height:1.02;max-width:16ch}
.mascot{width:72px;height:72px;border-radius:18px;margin-bottom:24px}

/* Article pages: help, privacy, terms, open */
article{max-width:760px;margin:56px auto 96px}
article h1{font-size:clamp(34px,5vw,52px);line-height:1.05;margin-bottom:12px}
article h2{font-size:23px;margin-top:44px;margin-bottom:10px;line-height:1.2}
article p,article li{color:var(--muted);font-size:17px;max-width:var(--measure)}
article p+p{margin-top:14px}
article ul,article ol{padding-left:22px}
.meta{font-size:14px;color:var(--faint)}
code{background:var(--panel);border:1px solid var(--grid);color:var(--ink);border-radius:6px;padding:1px 6px;font-size:.92em}

/* Footer */
footer{padding-top:36px;padding-bottom:48px;border-top:1px solid var(--grid);color:var(--faint);font-size:14px;display:grid;grid-template-columns:1fr auto;gap:10px 32px}
footer>span{color:var(--muted);font-weight:600}
footer nav{display:flex;flex-wrap:wrap;gap:8px 22px}
footer nav a{color:var(--muted);text-decoration:none}
footer nav a:hover{color:var(--ink)}
footer p{grid-column:1/-1;font-size:12px}

@media(max-width:900px){
  .hero,.alert,.honest,.rules{grid-template-columns:1fr}
  .hero{padding-top:44px;gap:24px}
  .events{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 22px}
  .shot{position:static}
  section{padding-top:84px}
  .alert,.honest,.rules{gap:40px}
}
@media(max-width:600px){
  .wrap,.topbar,footer{padding-left:20px;padding-right:20px}
  .topbar nav{gap:16px;font-size:14px}
  .topbar nav .help,.topbar nav .add{display:none}
  .langs{gap:2px}
  .flag{padding:4px}
  .flag svg{width:21px;height:14px}
  .c-minor,.c-tag,.c-tag-sub{display:none}
  .c-step,.c-dot,.c-ring{r:26px}
  .c-step-n{font-size:28px}
  .c-axis{font-size:30px}
  .c-target-label{font-size:34px}
  .c-price{stroke-width:7}
  .c-target{stroke-width:3}
  .events b{font-size:22px}
  .parts div{grid-template-columns:1fr}
  footer{grid-template-columns:1fr}
  body{font-size:16px}
  .lede{font-size:17px}
}
