/* TabLauncher site styles: every page under /tablauncher/ except the update feeds */

:root {
  --bg: #0f0b12;
  --bg-2: #141018;
  --surface: #19131e;
  --surface-2: #211a27;
  --line: #30263a;
  --line-2: #47394f;
  --text: #f7f1f8;
  --muted: #bcb0c6;
  --dim: #85798f;
  --tl: #f2542d;
  --tl-2: #ff9a3c;
  --tl-grad: linear-gradient(120deg, #f2542d, #ff9a3c);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.2, .9, .3, 1.25);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid #fff; outline-offset: 3px; border-radius: 8px; }
main { overflow-x: clip; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 860px; }

/* Header */
.top { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; transition: background-color .3s, border-color .3s; }
.top.scrolled { background: rgba(15, 11, 18, .78); border-bottom-color: rgba(255, 255, 255, .07);
                -webkit-backdrop-filter: saturate(1.5) blur(18px); backdrop-filter: saturate(1.5) blur(18px); }
.nav { display: flex; align-items: center; gap: 28px; height: 70px; }
/* Oktoid / TabLauncher: the way back to all the apps */
.crumbs { display: inline-flex; align-items: center; gap: 12px; }
.parent { display: inline-flex; align-items: center; gap: 8px; color: var(--dim); font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-decoration: none; transition: color .2s; }
.parent img { width: 22px; height: 22px; }
.parent:hover { color: var(--text); }
.crumb { color: var(--line-2); font-size: 1.3rem; font-weight: 300; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.08rem; font-weight: 800; letter-spacing: -.01em; text-decoration: none; }
.brand img { width: 34px; height: 34px; transition: transform .7s var(--spring); }
.brand:hover img { transform: rotate(-8deg) scale(1.06); }
.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a { color: var(--muted); font-size: .95rem; font-weight: 600; text-decoration: none; white-space: nowrap; transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--tl); text-decoration-thickness: 2px; text-underline-offset: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: .62em 1.1em; border: 1px solid var(--line-2); border-radius: 999px;
       color: var(--text); font: inherit; font-size: .94rem; font-weight: 700; line-height: 1.2; text-decoration: none; white-space: nowrap; cursor: pointer;
       background: transparent; transition: background-color .2s, border-color .2s, box-shadow .3s, transform .25s var(--ease); }
.btn:hover { background: rgba(255, 255, 255, .07); border-color: #6b5a78; }
.btn:active { transform: scale(.97); }
.btn.big { padding: .9em 1.5em; font-size: 1.02rem; }
.btn.small { padding: .5em .95em; font-size: .88rem; }
.btn.solid { background: #fff; border-color: #fff; color: #120d16; }
.btn.solid:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -12px rgba(242, 84, 45, .8); }
.btn.hot { background: var(--tl-grad); border-color: transparent; color: #fff; }
.btn.hot:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -12px rgba(242, 84, 45, .9); }
.btn .arr { transition: transform .35s var(--spring); }
.btn:hover .arr { transform: translateX(3px); }

/* Type */
.eyebrow { margin: 0 0 14px; color: var(--dim); font-size: .78rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(2.8rem, 6.4vw, 5.4rem); line-height: .96; font-weight: 900; letter-spacing: -.035em; }
h2 { margin: 0; font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.04; font-weight: 900; letter-spacing: -.03em; }
h3 { margin: 0; font-size: 1.3rem; line-height: 1.25; font-weight: 800; letter-spacing: -.01em; }
.lead { margin: 22px 0 0; max-width: 34em; color: var(--muted); font-size: clamp(1.08rem, 1.6vw, 1.22rem); }
.hot-text { background: var(--tl-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section { position: relative; padding: 110px 0; }
.section-head { max-width: 40em; margin-bottom: 48px; }
.section-head .lead { margin-top: 16px; }
.muted { color: var(--muted); }
.fine { color: var(--dim); font-size: .9rem; }

/* Home hero */
.hero { position: relative; isolation: isolate; padding: 40px 0 90px; }
.hero::before { content: ""; position: absolute; inset: -70px 0 0; z-index: -2; pointer-events: none;
                background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.5px); background-size: 28px 28px;
                -webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 35%, #000 20%, transparent 75%);
                        mask-image: radial-gradient(ellipse 70% 70% at 70% 35%, #000 20%, transparent 75%); }
.glow { position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; animation: drift 18s ease-in-out infinite alternate;
        -webkit-mask-image: radial-gradient(closest-side, #000, transparent); mask-image: radial-gradient(closest-side, #000, transparent); }
.glow.a { top: -300px; right: -240px; width: 900px; height: 900px; background: var(--tl); opacity: .2; }
.glow.b { bottom: -360px; left: -300px; width: 760px; height: 760px; background: #4a86f0; opacity: .12; animation-duration: 24s; }
@keyframes drift { to { transform: translate(-50px, 40px) scale(1.1); } }
.hero-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 48px; min-height: min(720px, calc(100svh - 70px)); }
.hero-icon { width: 92px; height: 92px; margin-bottom: 26px; filter: drop-shadow(0 18px 30px rgba(242, 84, 45, .35)); animation: rise 1s var(--ease) backwards; }
.intro > * { animation: rise 1s var(--ease) backwards; }
.intro > :nth-child(2) { animation-delay: .08s; }
.intro > :nth-child(3) { animation-delay: .16s; }
.intro > :nth-child(4) { animation-delay: .24s; }
.intro > :nth-child(5) { animation-delay: .32s; }
.intro > :nth-child(6) { animation-delay: .4s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; }
.cta-note { margin: 18px 0 0; color: var(--dim); font-size: .92rem; }
.cta-note a { color: var(--muted); text-underline-offset: 3px; }

/* The live demo: a desktop with a TabLauncher launcher docked on its right edge */
.demo { container-type: inline-size; animation: rise 1.1s var(--ease) .2s backwards; }
.desk { position: relative; aspect-ratio: 16 / 10.4; overflow: hidden; border-radius: 3.2cqw; isolation: isolate;
        background: radial-gradient(120% 90% at 15% 10%, #3f7bd8 0%, transparent 55%), radial-gradient(90% 80% at 90% 100%, #1d3c9e 0%, transparent 60%),
                    linear-gradient(160deg, #2f5fc4, #142a72);
        box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 50px 100px -40px rgba(0, 0, 0, .9), 0 30px 60px -30px rgba(242, 84, 45, .35); }
.menubar { position: absolute; inset: 0 0 auto; height: 4.4cqw; display: flex; align-items: center; gap: 2.6cqw; padding: 0 2.6cqw;
           background: rgba(10, 20, 50, .35); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.menubar i { display: block; height: 1.2cqw; border-radius: 1cqw; background: rgba(255, 255, 255, .7); }
.menubar i:nth-child(1) { width: 1.6cqw; height: 1.6cqw; border-radius: 50%; }
.menubar i:nth-child(2) { width: 6cqw; } .menubar i:nth-child(3) { width: 3.6cqw; opacity: .7; } .menubar i:nth-child(4) { width: 4.4cqw; opacity: .7; }
.menubar i:last-child { width: 9cqw; margin-left: auto; opacity: .7; }
.win { position: absolute; left: 7cqw; top: 13cqw; width: 46cqw; height: 31cqw; border-radius: 1.8cqw; background: rgba(20, 22, 34, .55);
       box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 3cqw 6cqw -2cqw rgba(0, 0, 0, .5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.win::before { content: ""; position: absolute; left: 2cqw; top: 2cqw; width: 1.3cqw; height: 1.3cqw; border-radius: 50%; background: #ff5f57;
               box-shadow: 2.1cqw 0 #febc2e, 4.2cqw 0 #28c840; }
.win::after { content: ""; position: absolute; left: 4cqw; right: 4cqw; top: 7cqw; height: 18cqw; border-radius: 1cqw;
              background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .13) 0 1.1cqw, transparent 1.1cqw 3.2cqw); }

.launcher { --body: 31cqw; position: absolute; top: 6cqw; right: 0; display: flex; align-items: stretch;
            transform: translateX(var(--body)); transition: transform .7s var(--spring); }
.launcher.open { transform: none; }
/* tl.js draws the outline with the app's shape presets; these boxes only place the labels and the icons */
.launcher .shape { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none;
                   filter: drop-shadow(-1cqw 1.4cqw 2.4cqw rgba(0, 0, 0, .45)); }
.launcher .shape .main { transition: opacity .3s; }
.launcher:not(.open) .shape .main { opacity: 0; }
/* The end padding leaves room for the widest tab shoulders (Sculpted) before the body's corners */
.tabs { display: flex; flex-direction: column; align-items: flex-end; gap: 1.2cqw; padding: 5.5cqw 0; }
/* Rotated 180° so the label reads bottom-up */
.tab { position: relative; z-index: 1; width: 4.6cqw; padding: 2cqw 0; border: 0; background: none; color: rgba(255, 255, 255, .86); cursor: pointer;
       font: 700 1.95cqw/1 var(--font); letter-spacing: .02em; writing-mode: vertical-rl; transform: rotate(180deg);
       text-shadow: 0 1px 2px rgba(0, 0, 0, .3); transition: width .5s var(--spring), color .3s; }
.tab:hover { width: 5.2cqw; color: #fff; }
.tab.on { z-index: 3; width: 6.6cqw; color: #fff; }
.body { position: relative; z-index: 2; width: var(--body); min-height: 52cqw; padding: 3cqw 2.6cqw; color: var(--muted); }
.page { position: absolute; inset: 3cqw 2.6cqw; display: grid; grid-template-columns: repeat(3, 1fr); align-content: start; gap: 2.4cqw 1.4cqw;
        opacity: 0; transform: translateX(2cqw); transition: opacity .35s ease, transform .5s var(--spring); pointer-events: none; }
.page.on { opacity: 1; transform: none; }
.page figure { margin: 0; display: grid; justify-items: center; gap: .6cqw; text-align: center; }
.page img, .page .ic { width: 6.8cqw; height: 6.8cqw; border-radius: 22.5%; object-fit: contain; }
.page img.mac { border-radius: 0; }
.page .ic { display: grid; place-items: center; font-size: 3.7cqw; background: var(--g); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.page figcaption { max-width: 8.4cqw; overflow: hidden; color: rgba(255, 255, 255, .8); font-size: 1.45cqw; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }

.shapes { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.shapes button { padding: .45em .95em; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; color: var(--muted);
                 font: 600 .86rem var(--font); cursor: pointer; transition: color .2s, background-color .2s, border-color .2s; }
.shapes button:hover { color: var(--text); border-color: #6b5a78; }
.shapes button[aria-pressed="true"] { background: #fff; border-color: #fff; color: #120d16; }
.demo-note { margin: 12px 0 0; color: var(--dim); font-size: .86rem; text-align: center; }

/* Moving strip */
.band { position: relative; left: -3%; width: 106%; padding: 18px 0; overflow: hidden; transform: rotate(-2deg);
        background: var(--tl-grad); color: #fff; }
.band-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.band:hover .band-track { animation-play-state: paused; }
.band-track span { display: inline-flex; align-items: center; gap: .6em; padding-right: .6em; font-size: clamp(1.6rem, 3.8vw, 2.8rem); font-weight: 900; letter-spacing: -.02em; line-height: 1.15; white-space: nowrap; }
.band-track span::after { content: "✦"; font-size: .5em; opacity: .75; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Feature groups and the V3 screenshot */
.shot { position: relative; margin: 0; }
.shot img { width: 100%; border-radius: 18px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 40px 90px -40px rgba(0, 0, 0, .9), 0 30px 70px -40px rgba(242, 84, 45, .35); }
.shot figcaption { margin-top: 14px; color: var(--dim); font-size: .9rem; text-align: center; }
.groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; }
.card { position: relative; padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(180deg, var(--surface-2), var(--surface)); }
.card .ico { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px; border-radius: 14px; background: var(--tl-grad); font-size: 1.4rem; }
.card ul { margin: 14px 0 0; padding: 0; list-style: none; }
.card li { position: relative; margin-top: 10px; padding-left: 22px; color: var(--muted); }
.card li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 3px; background: var(--tl); transform: rotate(45deg); }
.card p { margin: 10px 0 0; color: var(--muted); }

/* Editions */
.editions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.edition { display: flex; flex-direction: column; padding: 30px 28px 28px; border: 1px solid var(--line); border-radius: 26px;
           background: linear-gradient(180deg, var(--surface-2), var(--surface)); transition: transform .45s var(--ease), border-color .3s, box-shadow .45s; }
.edition:hover { transform: translateY(-6px); border-color: #5a4566; box-shadow: 0 34px 70px -34px rgba(242, 84, 45, .45); }
.edition.featured { border-color: color-mix(in srgb, var(--tl) 55%, var(--line)); background: linear-gradient(180deg, #2a1a22, var(--surface)); }
.edition-icon { position: relative; width: 72px; height: 72px; margin-bottom: 20px; }
.edition-icon img { width: 100%; height: 100%; object-fit: contain; }
.edition-icon .badge { position: absolute; right: -10px; bottom: 2px; padding: 3px 7px; border-radius: 7px; background: var(--tl-grad); color: #fff;
                       font-size: .62rem; font-weight: 900; letter-spacing: .08em; box-shadow: 0 4px 12px rgba(0, 0, 0, .4); }
.edition .price { margin: 6px 0 0; color: var(--tl-2); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.edition p { margin: 14px 0 0; color: var(--muted); }
.edition ul { flex: 1; margin: 16px 0 0; padding: 0; list-style: none; }
.edition li { position: relative; margin-top: 8px; padding-left: 22px; color: var(--muted); font-size: .96rem; }
.edition li::before { content: "✓"; position: absolute; left: 0; color: var(--tl-2); font-weight: 900; }
.edition .btn { margin-top: 26px; align-self: flex-start; }
.req { margin-top: 26px; color: var(--dim); font-size: .92rem; text-align: center; }

/* Pro */
.pro { border-block: 1px solid var(--line); background: radial-gradient(80% 120% at 100% 0%, rgba(242, 84, 45, .14), transparent 60%), var(--bg-2); }
.pro-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pro-grid .card { background: rgba(255, 255, 255, .03); }
.pro-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 40px; }
.pro-foot p { flex: 1 1 360px; margin: 0; color: var(--muted); }

/* Latest from the blog */
.news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.news a { display: block; height: 100%; padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); text-decoration: none;
          transition: border-color .3s, transform .45s var(--ease); }
.news a:hover { border-color: var(--line-2); transform: translateY(-4px); }
.news time { color: var(--tl-2); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.news h3 { margin-top: 8px; font-size: 1.15rem; }
.news p { margin: 8px 0 0; color: var(--muted); font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Press strip */
.press { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 30px; }
.press a { color: var(--dim); font-size: 1.15rem; font-weight: 800; letter-spacing: -.01em; text-decoration: none; transition: color .2s; }
.press a:hover { color: var(--text); }

/* Inner pages */
.page-head { position: relative; isolation: isolate; padding: 70px 0 20px; }
.page-head .glow.a { top: -460px; right: -300px; opacity: .16; }
.page-head h1 { font-size: clamp(2.6rem, 5.6vw, 4.4rem); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chips a { padding: .45em .95em; border: 1px solid var(--line-2); border-radius: 999px; color: var(--muted); font-size: .9rem; font-weight: 600; text-decoration: none; transition: color .2s, border-color .2s; }
.chips a:hover { color: var(--text); border-color: #6b5a78; }
.prose { color: var(--muted); font-size: 1.06rem; }
.prose h2 { margin: 2.2em 0 .5em; color: var(--text); font-size: clamp(1.6rem, 3vw, 2.1rem); }
.prose h3 { margin: 1.6em 0 .4em; color: var(--text); }
.prose p, .prose ul, .prose ol { margin: .8em 0 0; }
.prose li { margin-top: .35em; }
.prose a { color: var(--text); text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 3px; }
.prose strong { color: var(--text); }
.prose img { margin: 18px 0 6px; border-radius: 12px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 20px 50px -30px rgba(0, 0, 0, .9); }
.prose kbd { padding: 1px 6px; border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 6px; color: var(--text); font: .86em var(--mono); }
.tip { margin-top: 26px; padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); }
.tip > h2:first-child, .tip > h3:first-child { margin-top: 0; }
.figs { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; align-items: start; margin-top: 18px; }
.figs img { margin: 0; }
.videos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.video { margin: 0; }
.video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 16px; background: #000; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1); }
.video figcaption { margin-top: 12px; color: var(--text); font-weight: 700; }
.video figcaption span { display: block; color: var(--dim); font-size: .92rem; font-weight: 400; }

/* FAQ */
.search { position: relative; max-width: 520px; margin-top: 28px; }
.search input { width: 100%; padding: .85em 1.1em .85em 2.8em; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface);
                color: var(--text); font: inherit; font-size: 1rem; outline: none; transition: border-color .2s, box-shadow .2s; }
.search input:focus { border-color: var(--tl); box-shadow: 0 0 0 4px rgba(242, 84, 45, .2); }
.search::before { content: ""; position: absolute; left: 1.1em; top: 50%; width: .8em; height: .8em; border: 2px solid var(--dim); border-radius: 50%; translate: 0 -60%; }
.search::after { content: ""; position: absolute; left: 1.95em; top: 58%; width: 2px; height: .45em; background: var(--dim); rotate: -45deg; }
.faq { margin-top: 30px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 22px 44px 22px 0; color: var(--text); font-size: 1.15rem; font-weight: 700; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; border-right: 2.5px solid var(--tl-2); border-bottom: 2.5px solid var(--tl-2);
                      transform: translateY(-70%) rotate(45deg); transition: transform .35s var(--spring); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq summary:hover { color: #fff; }
.faq .answer { padding: 0 0 26px; }
.faq .answer > :first-child { margin-top: 0; }
.faq-empty { display: none; margin-top: 30px; color: var(--dim); }

/* Add-ons */
.script { margin-top: 22px; padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); }
.script > p { margin: 8px 0 0; color: var(--muted); }
.code { position: relative; margin-top: 18px; }
.code pre { margin: 0; padding: 20px 22px; overflow-x: auto; border-radius: 14px; background: #0b0810; box-shadow: inset 0 0 0 1px var(--line);
            color: #e9e2ef; font: .9rem/1.6 var(--mono); tab-size: 4; }
.code .copy { position: absolute; top: 10px; right: 10px; padding: .35em .8em; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface-2);
              color: var(--muted); font: 700 .78rem var(--font); cursor: pointer; transition: color .2s, border-color .2s; }
.code .copy:hover { color: var(--text); border-color: #6b5a78; }
.code .copy.done { color: #7fd13b; border-color: #7fd13b; }
.note { margin-top: 14px; padding: 12px 16px; border-left: 3px solid var(--tl-2); border-radius: 0 10px 10px 0; background: rgba(255, 154, 60, .08); color: var(--muted); font-size: .95rem; }
.kw { color: #ff8fb1; } .str { color: #ffd479; } .cmt { color: #7d7088; font-style: italic; }

/* Press page */
.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; margin-top: 10px; }
.review { display: flex; flex-direction: column; gap: 14px; padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface);
          text-decoration: none; transition: border-color .3s, transform .45s var(--ease); }
.review:hover { border-color: var(--line-2); transform: translateY(-4px); }
.review .logo { display: grid; place-items: center; height: 74px; padding: 10px; border-radius: 14px; background: #fff; }
.review .logo img { max-height: 54px; width: auto; }
.review h3 { font-size: 1.12rem; }
.review p { margin: 0; color: var(--dim); font-size: .9rem; }

/* Blog */
.blog-grid { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 56px; align-items: start; }
.post { padding: 34px 0 40px; border-bottom: 1px solid var(--line); }
.post:first-child { padding-top: 0; }
.post time { color: var(--tl-2); font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.post h2 { margin-top: 8px; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.post h2 a { text-decoration: none; }
.post h2 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.post .prose { margin-top: 6px; }
.post .prose ul { padding-left: 1.2em; }
.post .prose li::marker { color: var(--tl-2); }
.post .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.post .tags a { padding: .25em .75em; border: 1px solid var(--line-2); border-radius: 999px; color: var(--dim); font-size: .8rem; font-weight: 700; text-decoration: none; }
.post .tags a:hover { color: var(--text); }
.side { position: sticky; top: 100px; display: grid; gap: 28px; }
.side h3 { margin-bottom: 10px; color: var(--dim); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.side a { color: var(--muted); text-decoration: none; }
.side a:hover, .side a[aria-current="page"] { color: var(--text); }
.years { display: grid; gap: 12px; }
.years div { display: grid; grid-template-columns: 52px 1fr; gap: 8px; }
.years b { color: var(--text); font-size: .92rem; }
.years span { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: .9rem; }
.pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 34px; }
.pager a { max-width: 48%; color: var(--muted); text-decoration: none; }
.pager a:hover { color: var(--text); }
.pager small { display: block; color: var(--dim); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

/* Footer */
.foot { margin-top: 60px; padding: 50px 0 60px; border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px 48px; align-items: start; }
.foot-grid > p { grid-column: 1 / -1; margin: 0; }
.foot .brand { margin-bottom: 12px; }
.foot-about { margin: 0; max-width: 28em; color: var(--dim); }
.foot-about a { color: var(--muted); }
.foot-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px 24px; }
.foot-links a { color: var(--muted); font-weight: 600; text-decoration: none; }
.foot-links a:hover { color: var(--text); }
.foot .fine a { color: var(--muted); }

/* Scroll reveals; without JavaScript everything is simply visible */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; min-height: 0; }
  .groups, .editions, .pro-grid, .news { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .side { position: static; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 20px; }
  .nav { flex-wrap: wrap; gap: 0 16px; height: auto; padding-top: 12px; }
  .nav .btn { margin-left: auto; }
  .parent span { display: none; }
  .nav-links { order: 3; width: calc(100% + 40px); margin: 6px -20px 0; padding: 4px 20px 12px; overflow-x: auto; gap: 20px; scrollbar-width: none; }
  .nav-links::-webkit-scrollbar { display: none; }
  .section { padding: 80px 0; }
  .videos { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-links { justify-content: flex-start; }
  .tip, .script { padding: 22px; }
  .code pre { padding-top: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important;
                           transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
}
