/* midround.gg. Plain CSS (ADR 0009), ported from the "Midround website" Design canvas boards. */

/* Fonts, the site's own files. Inter from inter-ui 4.1.1, Barlow Condensed from
   @fontsource/barlow-condensed 5.3.0. Both SIL Open Font License 1.1, texts in /fonts. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/InterVariable.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/barlow-condensed-latin-ext-700-italic.woff2") format("woff2");
  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;
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/barlow-condensed-latin-700-italic.woff2") format("woff2");
  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: "Barlow Condensed";
  font-style: italic;
  font-weight: 800;
  font-display: swap;
  src: url("/fonts/barlow-condensed-latin-ext-800-italic.woff2") format("woff2");
  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;
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: italic;
  font-weight: 800;
  font-display: swap;
  src: url("/fonts/barlow-condensed-latin-800-italic.woff2") format("woff2");
  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;
}

/* Shared by every page */
:root{--bg:#0e1115;--surface-1:#171d23;--surface-2:#212831;--surface-raised:#2a333f;--border:rgba(255,255,255,0.06);--text:#e6e9ed;--text-muted:#9aa4af;--ink:#0b0d10;--tab-neutral:#e6e9ed;--tab-neutral-ink:#0b0d10;--accent:#e8a33d;--accent-hover:#f0b65e;--accent-text:#1a1206;--side-ct:#6aa6ff;--side-t:#e9b949;--side-ct-text:#6aa6ff;--side-t-text:#e9b949;color-scheme:dark}
body{margin:0;background:var(--bg)}
/* Optical sizing off keeps Inter at its text design at every size, as the boards' Inter rendered and as the app sets it. */
.site{min-height:100vh;background:var(--bg);color:var(--text);font-family:"Inter","Segoe UI",system-ui,sans-serif;font-size:16px;line-height:1.6;font-optical-sizing:none}
.wrap{max-width:1120px;margin:0 auto;padding:0 24px}
.d{font-family:"Barlow Condensed","Arial Narrow",sans-serif;font-style:italic;font-weight:800;text-transform:uppercase;line-height:1}
.top{display:flex;align-items:center;justify-content:space-between;gap:16px;height:72px}
.name{font-size:24px;letter-spacing:.02em;color:var(--text);text-decoration:none}
.btn{display:inline-flex;align-items:center;height:44px;padding:0 20px;border-radius:4px;background:var(--accent);color:var(--accent-text);font-size:16px;font-weight:600;line-height:1;text-decoration:none;white-space:nowrap;transition:background-color 120ms}
.btn:hover{background:var(--accent-hover);color:var(--accent-text)}
.btn2{background:var(--surface-2);color:var(--text)}
.btn2:hover{background:var(--surface-raised);color:var(--text)}
a:focus-visible{outline:2px solid var(--accent);outline-offset:1px}
footer{display:flex;flex-wrap:wrap;gap:8px 24px;padding:24px 0 48px;border-top:1px solid var(--border);color:var(--text-muted);font-size:12px;line-height:1.3}
footer a{color:var(--text-muted)}
footer a:hover{color:var(--text)}
.mail{user-select:all}
@media (max-width:767px){
.wrap{padding:0 16px}
}
@media (prefers-reduced-motion:reduce){.btn{transition:none}}

/* Home page */
.hero{padding-top:48px}
.hero-h{margin:0;max-width:860px;font-size:64px;line-height:60px;letter-spacing:.01em;text-wrap:balance}
.lede{margin:20px 0 0;max-width:52ch;font-size:18px;line-height:1.5;color:var(--text-muted);text-wrap:balance}
.act{display:flex;flex-wrap:wrap;align-items:center;gap:12px 16px;margin-top:28px}
.act-note{color:var(--text-muted);font-size:14px}
.pic{display:block;width:100%;height:auto;border:1px solid var(--border);border-radius:6px;background:var(--surface-1)}
.hero-pic{margin-top:40px}
.feats{display:flex;flex-direction:column;gap:64px;margin-top:64px}
.feat{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:48px;align-items:center}
.feat h2{margin:0}
.tab{display:inline-block;padding:0 28px 0 14px;background:var(--tab-neutral);color:var(--tab-neutral-ink);clip-path:polygon(0 0,100% 0,calc(100% - 11px) 100%,0 100%);font-size:36px;line-height:44px}
.feat p{margin:16px 0 0;max-width:44ch}
/* A flipped row mirrors the others: the clip keeps the wide column, and the text ends at the page's right edge. */
@media (min-width:1024px){
.feat.flip{grid-template-columns:minmax(0,7fr) minmax(0,5fr)}
.feat.flip .feat-text{order:2;max-width:44ch;margin-left:auto}
}
/* The Roles table is too wide to read in a column, so its picture takes the page's width under the text. */
.feat.wide{grid-template-columns:minmax(0,1fr);gap:20px}
.feat.wide p{max-width:60ch}
.ways{margin-top:64px}
.ways h2{margin:0}
.ways-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:24px}
.way{padding:32px;border-radius:6px;background:var(--surface-1)}
.way-k{display:block;font-size:64px;line-height:56px}
.way h3{margin:16px 0 0;font-size:22px;line-height:1.3;font-weight:600}
.way p{margin:12px 0 0}
.way .note{color:var(--text-muted);font-size:14px}
/* Both pictures are 1344 by 756. */
.way-pic{display:block;width:100%;height:auto;aspect-ratio:16/9;margin-bottom:24px;border:1px solid var(--border);border-radius:4px}
.same{margin-top:40px}
.same h3{margin:0;font-size:22px;line-height:1.3;font-weight:600}
.same p{margin:8px 0 20px}
video.pic{aspect-ratio:1280/672}
/* A clip of the Game View's picture alone has CS2's shape. */
video.pic.game{aspect-ratio:16/9}
/* The Comms clip shows the two Teams' cards alone, so it is nearer square. */
video.pic.cards{aspect-ratio:1080/790}
/* The Team clip shows the Team page's tables and then the radar, so it is nearer square. */
video.pic.team{aspect-ratio:1280/968}
.price{display:flex;flex-wrap:wrap;align-items:center;gap:20px 48px;margin-top:64px;padding:40px 0;border-top:1px solid var(--border)}
.price-num{display:flex;flex-direction:column;gap:10px;min-width:120px}
.price-num b{font-size:40px;line-height:40px}
.bar{height:8px;background:var(--tab-neutral);clip-path:polygon(2px 0,100% 0,calc(100% - 2px) 100%,0 100%)}
.price-text{flex:1 1 360px;max-width:60ch}
.price-text p{margin:0}
.price-text .btn{margin-top:20px}
/* Below 1024 px the text column is too narrow for the longer heading tabs on one line. */
@media (max-width:1023px){
.feat{grid-template-columns:minmax(0,1fr);gap:20px}
}
@media (max-width:767px){
.hero{padding-top:24px}
.hero-h{font-size:40px;line-height:40px}
.hero-pic{margin-top:32px}
.ways-grid{grid-template-columns:minmax(0,1fr);gap:16px}
.way{padding:24px}
.way-k{font-size:48px;line-height:44px}
.tab{font-size:28px;line-height:36px;clip-path:polygon(0 0,100% 0,calc(100% - 9px) 100%,0 100%)}
}

/* Terms, Privacy and Refunds */
.doc{max-width:65ch;padding:48px 0 64px}
.doc h1{margin:0;font-size:36px;line-height:38px;text-wrap:balance}
.updated{margin:12px 0 0;color:var(--text-muted);font-size:14px}
.first{margin-top:32px !important;font-size:18px;line-height:1.5}
.doc h2{margin:40px 0 8px;font-size:18px;line-height:1.4;font-weight:600}
.doc p{margin:0 0 12px}
.doc ul{margin:0 0 12px;padding-left:22px}
.doc li{margin:0 0 6px}
.doc a{color:var(--text);text-decoration:underline}
@media (max-width:767px){.doc{padding-top:24px}.doc h1{font-size:28px;line-height:30px}}
