/* Self-hosted fonts (SIL Open Font License, see fonts/site/OFL-*.txt), so no font request goes to Google. */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-display: swap; font-weight: 200 800; src: url(../fonts/site/bricolage-grotesque-latin-ext-opsz-normal.woff2) format("woff2-variations"), url(../fonts/site/bricolage-grotesque-latin-ext-opsz-normal.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: "Bricolage Grotesque"; font-style: normal; font-display: swap; font-weight: 200 800; src: url(../fonts/site/bricolage-grotesque-latin-opsz-normal.woff2) format("woff2-variations"), url(../fonts/site/bricolage-grotesque-latin-opsz-normal.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: "Hanken Grotesk"; font-style: normal; font-display: swap; font-weight: 400; src: url(../fonts/site/hanken-grotesk-latin-ext-400-normal.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: "Hanken Grotesk"; font-style: normal; font-display: swap; font-weight: 400; src: url(../fonts/site/hanken-grotesk-latin-400-normal.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: "Hanken Grotesk"; font-style: normal; font-display: swap; font-weight: 500; src: url(../fonts/site/hanken-grotesk-latin-ext-500-normal.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: "Hanken Grotesk"; font-style: normal; font-display: swap; font-weight: 500; src: url(../fonts/site/hanken-grotesk-latin-500-normal.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: "Hanken Grotesk"; font-style: normal; font-display: swap; font-weight: 600; src: url(../fonts/site/hanken-grotesk-latin-ext-600-normal.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: "Hanken Grotesk"; font-style: normal; font-display: swap; font-weight: 600; src: url(../fonts/site/hanken-grotesk-latin-600-normal.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: "Hanken Grotesk"; font-style: normal; font-display: swap; font-weight: 700; src: url(../fonts/site/hanken-grotesk-latin-ext-700-normal.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: "Hanken Grotesk"; font-style: normal; font-display: swap; font-weight: 700; src: url(../fonts/site/hanken-grotesk-latin-700-normal.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 }

/* Homepage: a friendly take on the "command bar" product page. A search box is the hero,
   features sit in a bento of spotlight-bordered cards, one soft rule grid ties it together. */
:root {
    --bg: #f6fafc; --bg2: #edf5f9; --card: #ffffff; --ink: #142430; --muted: #5a6975; --faint: #95a3ad;
    --line: rgba(20, 70, 100, .09); --line2: rgba(20, 70, 100, .15);
    --hyper: #4ec4e7; --blue: #42a9ff; --gold: #ffaf3a; --green: #35b673; --pink: #ee5f8f; --purple: #8a6cf0;
    --shadow: 0 30px 70px -36px rgba(30, 110, 150, .45);
    --display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
    --body: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
    color-scheme: light;
}
* { box-sizing: border-box }
html { scroll-behavior: smooth }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--body); -webkit-font-smoothing: antialiased }
a { color: inherit; text-decoration: none }
img { max-width: 100% }
.wrap { width: min(1160px, 100%); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)) }
kbd { font: 600 11px/1 var(--body); padding: 4px 6px; border-radius: 6px; border: 1px solid var(--line2); background: var(--bg2); color: var(--muted) }
:focus-visible { outline: 2px solid var(--hyper); outline-offset: 2px }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 12px; font: 600 15px/1 var(--body); border: 1px solid var(--line2); background: var(--card); color: var(--ink); cursor: pointer; transition: background .2s, box-shadow .2s, transform .2s; white-space: nowrap }
.btn:hover { background: var(--bg2) }
.btn.primary { background: var(--hyper); border-color: transparent; color: #fff; box-shadow: 0 10px 24px -12px var(--hyper) }
.btn.primary:hover { background: var(--blue); box-shadow: 0 12px 28px -10px var(--blue); transform: translateY(-1px) }
.btn.big { height: 52px; padding: 0 24px; font-size: 16px; border-radius: 14px }

/* nav */
nav { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); background: color-mix(in srgb, var(--bg) 75%, transparent); border-bottom: 1px solid var(--line) }
nav .wrap { display: flex; align-items: center; gap: 26px; height: 66px; font-size: 15px }
nav .brand { font: 700 21px/1 var(--display); letter-spacing: -.02em; margin-right: auto; display: flex; align-items: center; gap: 10px }
nav .brand img { width: 30px; height: 30px }
nav a.l { color: var(--muted); transition: color .2s }
nav a.l:hover, nav a.l.on { color: var(--ink) }
nav .acts { display: flex; gap: 10px }
nav .btn { height: 38px; padding: 0 14px; font-size: 14px }

/* hero */
.hero { position: relative; z-index: 2; padding-block: 96px 84px; text-align: center; border-bottom: 1px solid var(--line); background: linear-gradient(169deg, #d3efff, #eef8fd 60%, var(--bg)) }
.hero .deco { position: absolute; inset: 0; overflow: hidden; pointer-events: none }
.hero .grid { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 65% at 50% 40%, #000 30%, transparent 78%); -webkit-mask-image: radial-gradient(ellipse 70% 65% at 50% 40%, #000 30%, transparent 78%) }
.hero .beam { position: absolute; height: 2px; width: 150px; top: var(--y); left: -170px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--c), transparent); animation: beam var(--d) linear infinite; animation-delay: var(--dl); opacity: .7 }
.hero .beam.v { width: 2px; height: 150px; left: var(--x); top: -170px; background: linear-gradient(180deg, transparent, var(--c), transparent); animation-name: beamv }
@keyframes beam { to { transform: translateX(calc(100vw + 340px)) } }
@keyframes beamv { to { transform: translateY(900px) } }
.hero .blob { position: absolute; width: 380px; height: 380px; border-radius: 50%; filter: blur(70px); opacity: .35; background: var(--c); top: var(--t); left: var(--l) }
.hero .inner { position: relative }
h1 { font: 700 clamp(46px, 8vw, 104px)/.95 var(--display); letter-spacing: -.04em; margin: 0 0 20px }
h1 span { color: var(--hyper) }
.lede { font-size: clamp(17px, 1.7vw, 20px); color: var(--muted); margin: 0 auto; max-width: 46ch }
.lede strong { color: var(--ink); font-weight: 600 }

/* the search box */
.search { position: relative; margin: 44px auto 0; width: min(600px, 100%); text-align: left; z-index: 5 }
.searchbar { position: relative; height: 62px; border-radius: 18px; display: flex; align-items: center; gap: 12px; padding: 0 14px 0 20px; background: var(--card); border: 1px solid var(--line2); box-shadow: var(--shadow); color: var(--muted) }
.searchbar::before { content: ""; position: absolute; inset: -2px; border-radius: 20px; padding: 2px; background: conic-gradient(from var(--a, 0deg), var(--hyper), var(--green), var(--gold), var(--pink), var(--purple), var(--hyper)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .55; animation: spin 9s linear infinite; pointer-events: none }
.searchbar::after { content: ""; position: absolute; inset: 14px 50px -26px; z-index: -1; border-radius: 50%; filter: blur(38px); background: conic-gradient(from var(--a, 0deg), var(--hyper), var(--green), var(--gold), var(--pink), var(--purple), var(--hyper)); opacity: .22; animation: spin 9s linear infinite }
.search.open .searchbar::before { opacity: .9 }
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg }
@keyframes spin { to { --a: 360deg } }
.searchbar svg { width: 20px; height: 20px; flex: none; color: var(--hyper) }
.searchbar input { flex: 1; min-width: 0; height: 100%; border: 0; outline: none; background: transparent; font: 400 18px var(--body); color: var(--ink) }
.searchbar input::placeholder { color: var(--faint) }
.searchbar .hint { position: absolute; left: 52px; right: 90px; pointer-events: none; font-size: 18px; color: var(--faint); white-space: nowrap; overflow: hidden }
.searchbar .hint::after { content: ""; display: inline-block; width: 1.5px; height: 19px; background: var(--hyper); vertical-align: -3px; margin-left: 2px; animation: caret 1s steps(1) infinite }
.search.typing .hint, .search.open .hint { display: none }
@keyframes caret { 50% { opacity: 0 } }
.searchbar .keys { display: flex; gap: 4px }

.results { position: absolute; left: 0; right: 0; top: calc(100% + 10px); background: var(--card); border: 1px solid var(--line2); border-radius: 18px; box-shadow: 0 40px 100px -30px rgba(20, 80, 120, .45); overflow: hidden; display: none; animation: pop .22s cubic-bezier(.16, 1, .3, 1) }
.search.open .results { display: block }
@keyframes pop { from { transform: scale(.98) translateY(6px); opacity: 0 } }
.results ul { list-style: none; margin: 0; padding: 8px; max-height: min(52vh, 440px); overflow: auto }
.results li.h { font: 700 11px/1 var(--body); color: var(--faint); padding: 12px 12px 6px; letter-spacing: .08em; text-transform: uppercase }
.results li.i { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; cursor: pointer; color: var(--muted); font-size: 15px; line-height: 1.3 }
.results li.i .d { width: 26px; height: 26px; border-radius: 8px; background: color-mix(in srgb, var(--c, var(--hyper)) 18%, transparent); color: var(--c, var(--hyper)); flex: none; display: grid; place-items: center; font: 700 13px/1 var(--display) }
.results li.i span.t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.results li.i small { margin-left: auto; font-size: 12px; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 45% }
.results li.i.on { background: var(--bg2); color: var(--ink) }
.results li.empty { padding: 14px 12px; color: var(--faint); font-size: 15px }
.results .foot { display: flex; gap: 16px; padding: 10px 16px; border-top: 1px solid var(--line); font-size: 12px; color: var(--faint) }

.chips { display: flex; justify-content: center; gap: 10px; margin-top: 24px; flex-wrap: wrap; font-size: 15px }
.chips a { color: var(--muted); display: inline-flex; gap: 8px; align-items: center; padding: 7px 14px; border-radius: 999px; background: color-mix(in srgb, var(--card) 70%, transparent); border: 1px solid var(--line); transition: color .2s, background .2s }
.chips a:hover { color: var(--ink); background: var(--card) }
.chips a i { width: 8px; height: 8px; border-radius: 50%; background: var(--c) }

/* sections */
section { padding-block: 92px; border-bottom: 1px solid var(--line) }
.sh { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 40px }
.sh h2 { font: 700 clamp(32px, 4.4vw, 54px)/1.02 var(--display); letter-spacing: -.035em; margin: 0; max-width: 18ch }
.sh p { margin: 0; color: var(--muted); max-width: 42ch }

/* bento with spotlight borders */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px }
.card { --c: var(--hyper); position: relative; grid-column: span 6; border-radius: 24px; background: var(--card); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; min-width: 0; isolation: isolate; box-shadow: 0 20px 50px -40px rgba(20, 80, 120, .5); transition: transform .5s cubic-bezier(.16, 1, .3, 1) }
a.card:hover { transform: translateY(-3px) }
.card::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; background: radial-gradient(420px circle at var(--mx, -999px) var(--my, -999px), var(--c), transparent 45%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; z-index: 3; pointer-events: none }
.card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(520px circle at var(--mx, -999px) var(--my, -999px), color-mix(in srgb, var(--c) 9%, transparent), transparent 45%); z-index: 0; pointer-events: none }
.card.w7 { grid-column: span 7 } .card.w5 { grid-column: span 5 } .card.w12 { grid-column: span 12 }
.card .txt { position: relative; z-index: 2; padding: 30px 32px 0; display: flex; flex-direction: column; gap: 10px }
.card .row { display: flex; align-items: center; gap: 14px }
.ico { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 16%, #fff); color: var(--c); flex: none }
.ico svg { width: 21px; height: 21px }
.card h3 { font: 700 25px/1.1 var(--display); letter-spacing: -.02em; margin: 0 }
.card .kind { font-size: 13px; color: var(--faint); font-weight: 500 }
.card p { margin: 0; color: var(--muted); font-size: 16px; max-width: 52ch }
.card .go { margin-left: auto; font-size: 14px; font-weight: 600; color: var(--muted); transition: color .2s; white-space: nowrap }
.card:hover .go { color: var(--c) }
.stage { position: relative; z-index: 1; flex: 1; min-height: 240px; margin-top: 24px }

/* materials stage */
.tiles { position: absolute; inset: 0 32px 30px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; align-content: center }
.tiles div { border: 1px solid var(--line2); border-radius: 16px; padding: 16px; background: var(--bg); display: flex; align-items: center; gap: 12px; min-width: 0; transition: transform .5s cubic-bezier(.16, 1, .3, 1), box-shadow .5s }
.tiles div:nth-child(2) { transform: translateY(14px) } .tiles div:nth-child(4) { transform: translateY(14px) }
.card:hover .tiles div { transform: none; box-shadow: 0 14px 30px -22px rgba(20, 80, 120, .6) }
.tiles b { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: none; background: color-mix(in srgb, var(--k) 16%, #fff); color: var(--k); font: 700 16px/1 var(--display) }
.tiles strong { display: block; font: 600 16px/1.2 var(--display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.tiles em span { font-size: 13px; color: var(--faint) }
.tiles em { font-style: normal; min-width: 0; display: block }

/* leaderboard stage */
.board { position: absolute; inset: 0 32px 30px; display: flex; flex-direction: column; gap: 10px; justify-content: center }
.board div { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line) }
.board div:first-child { background: #fff6e4; border-color: #ffe0a6 }
.board img { width: 36px; height: 36px; border-radius: 50%; background: var(--bg2); flex: none }
.board i { display: block; height: 9px; border-radius: 9px; background: var(--line2); width: var(--w) }
.board i + i { margin-top: 6px; height: 7px; opacity: .6; width: calc(var(--w) * .6) }
.board .who { flex: 1; min-width: 0 }
.board .pts { font: 700 16px/1 var(--display); display: flex; align-items: center; gap: 6px }
.board .pts::after { content: "★"; color: var(--gold) }
.board .tr { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 14px; flex: none }

/* duel stage */
.duel { position: absolute; inset: 0 32px 30px; display: flex; align-items: center; justify-content: center; gap: 22px }
.duel .p { display: flex; flex-direction: column; align-items: center; gap: 10px }
.duel img { width: 72px; height: 72px; border-radius: 50%; border: 3px solid var(--card); box-shadow: 0 10px 30px -10px var(--c); background: var(--bg2) }
.duel .p i { display: block; height: 8px; width: 64px; border-radius: 8px; background: var(--line2) }
.duel .vs { font: 700 34px/1 var(--display); color: var(--c); letter-spacing: -.03em; text-align: center }
.duel .vs small { display: block; margin-top: 8px; font: 600 12px/1 var(--body); color: var(--faint); letter-spacing: .06em; text-transform: uppercase }

/* study plan stage */
.plan { position: absolute; inset: 0 32px 30px; display: flex; flex-direction: column; justify-content: center; gap: 10px }
.plan .step { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); font-weight: 500 }
.plan .step b { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; flex: none; border: 2px solid var(--line2); color: #fff; font-size: 13px }
.plan .step.done b { background: var(--c); border-color: var(--c) }
.plan .step.done { color: var(--muted) }
.plan .step.test { border-style: dashed; border-color: color-mix(in srgb, var(--c) 50%, transparent) }
.plan .step small { margin-left: auto; color: var(--faint); font-size: 13px }
.plan .bar { height: 8px; border-radius: 8px; background: var(--bg2); overflow: hidden; margin-top: 4px }
.plan .bar i { display: block; height: 100%; width: 50%; background: var(--c); border-radius: 8px; transition: width 1.2s cubic-bezier(.16, 1, .3, 1) }
.card:hover .plan .bar i { width: 75% }

/* daily challenge */
.daily { display: grid; grid-template-columns: 1.3fr 1fr; align-items: center }
.daily .txt { padding-bottom: 32px }
.daily .chest { position: relative; z-index: 1; display: grid; place-items: center; padding: 24px; min-height: 230px }
.daily .chest img { width: 190px; position: absolute; transition: opacity .4s, transform .6s cubic-bezier(.16, 1, .3, 1) }
.daily .chest img.open { opacity: 0; transform: scale(.92) }
.daily:hover .chest img.open { opacity: 1; transform: scale(1.04) rotate(-2deg) }
.daily:hover .chest img.shut { opacity: 0 }
.daily .streak { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap }
.daily .streak span { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font: 600 12px/1 var(--body); color: var(--faint); border: 1px solid var(--line2) }
.daily .streak span.on { background: color-mix(in srgb, var(--c) 16%, #fff); color: var(--c); border-color: transparent }

/* how it works */
.path { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: var(--card) }
.path div { padding: 28px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; min-width: 0 }
.path div:last-child { border-right: 0 }
.path .n { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; font: 700 16px/1 var(--display); background: color-mix(in srgb, var(--c) 16%, #fff); color: var(--c); margin-bottom: 6px }
.path b { font: 700 19px/1.2 var(--display); letter-spacing: -.01em }
.path span { color: var(--muted); font-size: 15px }

/* about + hyperbola canvas */
.about { display: grid; grid-template-columns: 1fr 1.1fr }
.about .txt { padding: 36px }
.about h3 { font-size: 32px; line-height: 1.08; text-wrap: balance }
.about .cv { position: relative; border-left: 1px solid var(--line); background: var(--bg) }
.about canvas { display: block; width: 100%; height: 100%; min-height: 360px }
.about .cap { position: absolute; left: 18px; bottom: 16px; right: 18px; font-size: 13px; color: var(--faint) }
.about .cap b { color: var(--ink); font-weight: 600 }
.about .acts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px }

/* call to action */
.cta { text-align: center; padding-block: 112px; position: relative; overflow: hidden }
.cta h2 { font: 700 clamp(40px, 6vw, 76px)/1 var(--display); letter-spacing: -.04em; margin: 0 0 18px }
.cta p { color: var(--muted); max-width: 46ch; margin: 0 auto 32px }
.cta .acts { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap }

/* footer */
footer { padding-block: 48px calc(32px + env(safe-area-inset-bottom, 0px)); font-size: 15px; color: var(--muted) }
footer .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.6fr; gap: 32px }
footer .brand { display: flex; align-items: center; gap: 10px; font: 700 20px/1 var(--display); color: var(--ink) }
footer .brand img { width: 28px }
footer h4 { font: 700 12px/1 var(--body); text-transform: uppercase; letter-spacing: .08em; color: var(--faint); margin: 4px 0 14px }
footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px }
footer a { transition: color .2s }
footer a:hover { color: var(--hyper) }
footer p { margin: 0 }
footer p a { color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--line2) }
footer .copy { margin-top: 12px; font-size: 14px; color: var(--faint) }

@media (max-width: 900px) {
    .card, .card.w7, .card.w5 { grid-column: span 12 }
    .about, .daily { grid-template-columns: 1fr }
    .about .cv { border-left: 0; border-top: 1px solid var(--line) }
    .path { grid-template-columns: 1fr 1fr }
    .path div:nth-child(2) { border-right: 0 }
    .path div:nth-child(-n+2) { border-bottom: 1px solid var(--line) }
    nav a.l { display: none }
    footer .cols { grid-template-columns: 1fr 1fr }
}
@media (max-width: 560px) {
    nav .acts .btn:not(.primary) { display: none }
    .card .go { display: none }
    .path { grid-template-columns: 1fr }
    .path div { border-right: 0; border-bottom: 1px solid var(--line) }
    .path div:last-child { border-bottom: 0 }
    .card .txt { padding: 24px 22px 0 }
    .tiles, .board, .duel, .plan { inset: 0 22px 24px }
    .tiles { grid-template-columns: 1fr }
    .tiles div:nth-child(n+3) { display: none }
    .tiles div:nth-child(2) { transform: none }
    .searchbar .keys { display: none }
    .searchbar .hint { right: 20px }
    .about .txt { padding: 26px 22px }
    footer .cols { grid-template-columns: 1fr }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important } html { scroll-behavior: auto } }

/* about page */
.hero.sub { padding-block: 84px 72px }
.hero .kicker { display: inline-block; font: 700 13px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--hyper); background: color-mix(in srgb, var(--card) 80%, transparent); border: 1px solid var(--line2); border-radius: 999px; padding: 8px 14px }
.hero.sub h1 { margin-top: 22px }
.card .photo { position: relative; z-index: 1; flex: 1; min-height: 240px; margin: 24px 32px 32px; border-radius: 18px; background: var(--bg2) center / cover no-repeat; border: 1px solid var(--line) }
.card.side { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch }
.card.side .txt { padding-bottom: 32px; justify-content: center }
.card.side .stage { margin: 24px 0; min-height: 230px }
.feats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px }
.feats span { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--ink); padding: 7px 12px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line) }
.feats span i { width: 8px; height: 8px; border-radius: 50%; background: var(--c) }
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px }
.people .card { grid-column: auto }
.person { display: flex; flex-direction: column; gap: 6px; padding: 28px }
.person .av { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; font: 700 22px/1 var(--display); color: #fff; background: var(--c); margin-bottom: 10px; box-shadow: 0 14px 30px -14px var(--c) }
.person b { font: 700 21px/1.2 var(--display); letter-spacing: -.01em }
.person span { color: var(--muted); font-size: 15px }
.person .go { margin: 8px 0 0; font-size: 14px; font-weight: 600; color: var(--muted) }
@media (max-width: 900px) {
    .card.side { grid-template-columns: 1fr }
    .card.side .stage { margin-top: 0 }
    .people { grid-template-columns: 1fr }
}

/* privacy policy */
.legal .card { grid-column: auto }
.legal { display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: start }
nav.toc { position: sticky; top: 90px; z-index: 1; display: flex; flex-direction: column; gap: 4px; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; border: 0; font-size: 15px }
nav.toc span { font: 700 12px/1 var(--body); text-transform: uppercase; letter-spacing: .08em; color: var(--faint); margin-bottom: 10px }
nav.toc a { color: var(--muted); padding: 7px 12px; border-radius: 10px; border-left: 2px solid var(--line2); transition: color .2s, background .2s }
nav.toc a:hover { color: var(--ink); background: var(--card); border-left-color: var(--hyper) }
.doc .txt { padding: 40px 44px; gap: 0 }
.doc h2 { font: 700 26px/1.15 var(--display); letter-spacing: -.02em; margin: 40px 0 12px; scroll-margin-top: 90px }
.doc p, .doc li { color: var(--muted); font-size: 16px; max-width: 72ch }
.doc p { margin: 0 0 12px }
.doc ol { margin: 4px 0 12px; padding-left: 26px; display: flex; flex-direction: column; gap: 10px }
.doc li::marker { color: var(--hyper); font-weight: 700 }
.doc a { color: var(--hyper); font-weight: 600 }
.doc .contact { margin-top: 36px; padding: 18px 20px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); color: var(--ink) }
.doc .updated { font-size: 14px; color: var(--faint) }
@media (max-width: 900px) {
    .legal { grid-template-columns: 1fr }
    nav.toc { position: static; flex-direction: row; flex-wrap: wrap; gap: 8px }
    nav.toc span { width: 100%; margin-bottom: 2px }
    nav.toc a { border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; background: var(--card) }
}
@media (max-width: 560px) { .doc .txt { padding: 26px 22px } }
.doc strong { color: var(--ink); font-weight: 600 }
