/* ==========================================================================
   The clean look for the public site. Loaded last; markup stays the same
   apart from the brand tile, the banner on the home page and the
   changelog cards.
   ========================================================================== */

/* the old glows, grids and specks behind the page */
html body::before, html body::after, .site-fx { display: none; }
html body { background: hsl(var(--background)); }

.wrap { max-width: 80rem; padding: 0 1rem; }
@media (min-width: 40rem) { .wrap { padding: 0 1.5rem; } }
@media (min-width: 64rem) { .wrap { padding: 0 2rem; } }

section { border-bottom: 0; }
h1, h2, h3 { letter-spacing: -0.025em; }
section h2 { font-weight: 700; }

/* ================================================================ header */
html .topbar {
  background: var(--look-glass); border-bottom: 1px solid hsl(var(--border) / .5); box-shadow: none;
  -webkit-backdrop-filter: saturate(180%) blur(24px); backdrop-filter: saturate(180%) blur(24px);
  transition: background-color .4s ease, border-color .4s ease;
}
html.dark .topbar { border-bottom-color: hsl(var(--border)); }
html body.scrolled .topbar { background: var(--look-glass); box-shadow: none; }
html .topbar .wrap { height: 5rem; gap: 0.5rem; }

.brand { gap: 0.5rem; font-weight: 700; font-size: 1.25rem; letter-spacing: -0.025em; color: hsl(var(--foreground)); }
.brand-tile {
  display: grid; place-items: center; flex: none; width: 2.25rem; height: 2.25rem; border-radius: 0.75rem;
  background: hsl(var(--primary));
  box-shadow: 0 10px 15px -3px rgb(255 107 0 / .3), 0 4px 6px -4px rgb(255 107 0 / .3);
  transition: transform .2s ease;
}
.brand-tile img { width: 1.25rem; height: 1.25rem; display: block; }
.brand:hover .brand-tile { transform: scale(1.05); }
html .brand-ver {
  margin-inline-start: 0; padding: 0.1875rem 0.625rem; border: 0; border-radius: 999px;
  background: hsl(var(--primary-soft)); color: hsl(var(--primary)); font-weight: 700;
}
.dark .brand-ver { background: rgb(255 107 0 / .15); color: hsl(var(--primary-glow)); }

/* the tabs: a grey capsule with a white pill on the page you are on */
html .nav.look-tabs { margin-inline: auto; gap: 4px; padding: 4px; }
html .spacer { display: none; }
html .nav > a, html .nav-trigger {
  display: inline-flex; align-items: center; gap: 0.25rem;
  padding: 0.5rem 1.25rem; border-radius: 999px; border: 0;
  background: transparent; color: hsl(var(--muted-foreground));
  font-size: 0.875rem; font-weight: 600; letter-spacing: 0; text-transform: none; white-space: nowrap;
  transition: color .3s ease, background-color .3s ease, box-shadow .3s ease;
}
html .nav > a:hover, html .nav-trigger:hover,
html .nav-item-drop.open .nav-trigger { color: hsl(var(--foreground)); background: transparent; text-decoration: none; }
html .nav > a.on, html .nav-trigger.on, html .nav-item-drop.open .nav-trigger.on {
  background: hsl(var(--card)); color: hsl(var(--primary)); box-shadow: 0 2px 8px rgb(0 0 0 / .08);
}
html.dark .nav > a.on, html.dark .nav-trigger.on { background: hsl(var(--border)); box-shadow: none; }
html .nav-trigger .chev { width: 0.75rem; height: 0.75rem; opacity: .7; }
@media (max-width: 80rem) { html .nav > a, html .nav-trigger { padding-inline: 0.875rem !important; } }

/* the panels under the tabs */
html .nav-panel {
  top: calc(100% + 0.75rem); padding: 0.5rem; border-radius: 1.25rem;
  background: hsl(var(--popover)); border: 1px solid hsl(var(--border));
  box-shadow: 0 10px 30px -10px rgb(0 0 0 / .15);
}
html.dark .nav-panel { box-shadow: 0 20px 40px -12px rgb(0 0 0 / .7); }
html .nav-card { border-radius: 0.875rem; background: none !important; border: 0 !important; box-shadow: none; }
html .nav-card:hover { background: hsl(var(--secondary)) !important; }
html .nav-card-icon { border: 0; border-radius: 0.75rem; background: hsl(var(--primary-soft)); }
.dark .nav-card-icon { background: hsl(var(--secondary)); }
html .nav-list a { border-radius: 0.75rem; }
html .nav-list a:hover { background: hsl(var(--secondary)); }
html .nav-list a:hover b { color: hsl(var(--primary)); }
html .nav-panel-foot a:hover { color: hsl(var(--primary)); }

/* the round buttons and the language pill */
html .cmdk-btn {
  width: 2.5rem; height: 2.5rem; min-width: 0; padding: 0; justify-content: center; flex: none;
  border: 0; border-radius: 999px; background: hsl(var(--secondary)); color: hsl(var(--muted-foreground));
  transition: color .3s ease, background-color .4s ease;
}
html .cmdk-btn span, html .cmdk-btn kbd { display: none; }
html .cmdk-btn .icon { width: 1.125rem; height: 1.125rem; }
html .cmdk-btn:hover { color: hsl(var(--primary)); border: 0; }
html .topbar .icon-btn {
  width: 2.5rem; height: 2.5rem; border: 0; border-radius: 999px;
  background: hsl(var(--secondary)); color: hsl(var(--muted-foreground)); transition: color .3s ease, background-color .4s ease;
}
html .topbar .icon-btn .icon { width: 1.125rem; height: 1.125rem; }
html .topbar .icon-btn:hover { color: hsl(var(--primary)); background: hsl(var(--secondary)); }
html.dark .cmdk-btn, html.dark .topbar .icon-btn { background: hsl(var(--card)); }

html .lang-btn {
  height: 2.5rem; padding: 0 1rem; gap: 0.5rem; border-radius: 999px;
  background: hsl(var(--secondary)); border: 1px solid hsl(var(--border)); color: hsl(var(--foreground));
  font-size: 0.85rem; font-weight: 600; transition: color .2s ease, border-color .2s ease, background-color .4s ease;
}
html .lang-btn:hover { border-color: hsl(var(--primary)); color: hsl(var(--primary)); background: hsl(var(--secondary)); }
html.dark .lang-btn { background: hsl(var(--card)); }
html .lang-menu {
  top: calc(100% + 0.5rem); min-width: 10rem; padding: 0.5rem; border-radius: 1rem;
  background: hsl(var(--popover)); border: 1px solid hsl(var(--border)); box-shadow: 0 10px 30px -10px rgb(0 0 0 / .15);
}
html .lang-menu a { padding: 0.6rem 1rem; border-radius: 0.5rem; font-size: 0.85rem; font-weight: 500; }
html .lang-menu a:hover { background: hsl(var(--secondary)); color: hsl(var(--primary)); }
html .lang-menu a.on { color: hsl(var(--primary)); }
html .lang-menu .tag { border-radius: 999px; }

/* the bar keeps to tabs, language and theme, like the design */
html .nav-cta { display: none !important; }

html .burger {
  width: 2.5rem; height: 2.5rem; border: 0; border-radius: 0.75rem; background: transparent; color: hsl(var(--foreground));
}
html .burger .icon { width: 1.5rem; height: 1.5rem; }
html .burger:hover { background: hsl(var(--primary-soft)); }
html.dark .burger:hover { background: hsl(var(--card)); }

/* fewer columns sooner: the tabs need the room */
@media (max-width: 64rem) {
  html .nav { display: none; }
  html .burger { display: grid; }
  html .sheet { display: flex; }

  /* on a phone the menu button stands on its own at the right edge,
     away from search, theme and language, which keep to the other side */
  html .topbar .cmdk-btn { margin-inline-start: auto; }
  html[dir="rtl"] .burger { order: -1; margin-inline-end: 0.25rem; }
  html[dir="ltr"] .burger { order: 99; position: relative; margin-inline-start: 0.75rem; }
  html[dir="ltr"] .burger::before {
    content: ""; position: absolute; inset-inline-start: -0.5rem; top: 0.625rem; bottom: 0.625rem;
    width: 1px; background: hsl(var(--border));
  }
  html .burger { background: hsl(var(--secondary)); color: hsl(var(--foreground)); border-radius: 0.875rem; }
  html.dark .burger { background: hsl(var(--card)); }
  html .burger:hover { background: hsl(var(--primary-soft)); color: hsl(var(--primary)); }
}
@media (max-width: 40rem) {
  html .topbar .wrap { height: 4rem; }
  html .lang-btn { width: 2.5rem; padding: 0; justify-content: center; }
  html .lang-btn > span, html .lang-btn > svg:last-child { display: none; }
}

/* ======================================================= the phone menu */
html .sheet-scrim { display: none !important; }
html .sheet {
  inset: 0; width: 100%; height: 100vh; height: 100dvh; max-width: none; padding: 1.5rem 1.5rem 2rem; z-index: 100;
  border: 0; box-shadow: none; background: rgb(255 255 255 / .98);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  transform: translateY(-100%); opacity: 0; visibility: hidden;
  transition: transform .5s var(--look-ease), opacity .5s var(--look-ease), visibility .5s, background-color .4s ease;
}
html[dir="rtl"] .sheet { transform: translateY(-100%); }
html.dark .sheet { background: rgb(0 0 0 / .98); }
html body.sheet-open .sheet { transform: none; opacity: 1; visibility: visible; }
html .sheet-head { padding: 0 0 1.5rem; border: 0; }
html .sheet-head .brand { font-size: 1.25rem; }
html #sheetClose {
  width: 2.5rem; height: 2.5rem; border-radius: 999px; border: 0;
  background: hsl(var(--secondary)); color: hsl(var(--muted-foreground));
}
html #sheetClose:hover { background: hsl(var(--primary-soft)); color: hsl(var(--primary)); }
html.dark #sheetClose { background: hsl(var(--card)); }
html.dark #sheetClose:hover { background: hsl(var(--border)); color: hsl(var(--foreground)); }
html .sheet-nav { padding: 0; gap: 0; }
html .sheet-nav > a:not(.sheet-os) {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem 0; border-radius: 0; border-bottom: 1px solid hsl(var(--secondary));
  font-size: 1.25rem; font-weight: 700; color: hsl(var(--foreground)); background: none;
}
html.dark .sheet-nav > a:not(.sheet-os) { border-bottom-color: hsl(var(--border)); }
html .sheet-nav > a > .icon { display: none; }
html .sheet-nav > a:not(.sheet-os)::after {
  content: ""; width: 1.25rem; height: 1.25rem; flex: none; background: hsl(var(--border));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 19l-7-7 7-7'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 19l-7-7 7-7'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: background-color .2s;
}
html[dir="ltr"] .sheet-nav > a:not(.sheet-os)::after { transform: scaleX(-1); }
html .sheet-nav > a:not(.sheet-os):hover, html .sheet-nav > a.on { color: hsl(var(--primary)); background: none; text-decoration: none; }
html .sheet-nav > a:not(.sheet-os):hover::after { background: hsl(var(--primary)); }
html .sheet-nav .sheet-label {
  padding: 1.75rem 0 0.75rem; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0; text-transform: none;
  color: hsl(var(--muted-foreground));
}
html .sheet-os {
  display: flex; align-items: center; gap: 0.875rem;
  margin-bottom: 0.5rem; padding: 0.75rem 1rem; border-radius: 1rem;
  background: hsl(var(--secondary)); border: 1px solid hsl(var(--border));
}
html.dark .sheet-os { background: hsl(var(--card)); }
html .sheet-os:hover { border-color: hsl(var(--primary)); background: hsl(var(--secondary)); }
html .sheet-os .nav-card-icon { background: hsl(var(--card)); }

/* ============================================================ the hero */
html .h-hero { padding: 2rem 0 4rem; }
.h-banner { height: 7.5rem; margin-bottom: 2rem; }
.h-banner:hover { transform: scale(1.01); }
@media (min-width: 40rem) { .h-banner { height: 11.25rem; margin-bottom: 3rem; } html .h-hero { padding: 3rem 0 5rem; } }
@media (min-width: 64rem) { .h-banner { height: 13.75rem; } }
@media (min-width: 96rem) { .h-banner { height: 16.25rem; } .h-banner .look-banner-logo { width: 6.25rem; height: 6.25rem; } }

html .h-badge {
  margin-bottom: 1.25rem; border: 0; background: hsl(var(--card)); box-shadow: var(--look-card);
  font-weight: 500; color: hsl(var(--muted-foreground));
}
html .h-badge:hover { box-shadow: var(--look-card-hover); color: hsl(var(--foreground)); }
html .h-badge-tag { background: hsl(var(--primary)); font-weight: 700; letter-spacing: 0; text-transform: none; }

html .h-title {
  max-width: 42rem; background: none; -webkit-text-fill-color: currentColor; color: hsl(var(--foreground));
  font-size: clamp(1.5rem, 1rem + 3.2vw, 3rem); font-weight: 700; letter-spacing: -0.025em; line-height: 1.25;
}
html[dir="rtl"] .h-title { line-height: 1.4; letter-spacing: 0; }
html .h-sub { max-width: 36rem; margin-top: 1rem; font-size: clamp(0.9375rem, 0.85rem + .5vw, 1.125rem); color: hsl(var(--muted-foreground)); }
html .h-actions { margin-top: 2rem; }
html .h-meta { color: hsl(var(--muted-foreground)); }

/* the facts sit in one white card, each with an orange tick */
html .h-facts {
  display: inline-flex; gap: 0.75rem 1.5rem; margin-top: 2rem; padding: 1.25rem 1.5rem;
  background: hsl(var(--card)); border-radius: 1.5rem; box-shadow: var(--look-card);
  transition: transform .3s ease, box-shadow .3s ease, background-color .4s ease;
}
html .h-facts:hover { transform: translateY(-4px); box-shadow: var(--look-card-hover); }
html .h-facts li::before {
  content: ""; width: 1rem; height: 1rem; flex: none; border: 0; border-radius: 0; box-shadow: none;
  background: hsl(var(--primary));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ==================================================== section headings */
html .eyebrow {
  display: inline-block; margin-bottom: 1rem; padding: 0.4rem 1rem; border-radius: 999px;
  background: hsl(var(--primary-soft)); color: hsl(var(--primary));
  font-family: inherit; font-size: 0.75rem; font-weight: 700; letter-spacing: 0; text-transform: none; line-height: 1.5;
  transition: background-color .4s ease;
}
html .eyebrow::before { display: none; }
html.dark .eyebrow { background: rgb(255 107 0 / .15); color: hsl(var(--primary-glow)); }
html .h-head h2, html .hb-text h2, html .fw-intro h2, html .showcase-intro h2 {
  margin-top: 0; font-size: clamp(1.25rem, 0.9rem + 2vw, 2.25rem); font-weight: 700; letter-spacing: -0.025em; line-height: 1.25;
}
html .h-head .lead, html .hb-text .lead, html .fw-intro .lead, html .showcase-intro .lead {
  font-size: clamp(0.8125rem, 0.75rem + .4vw, 1rem); color: hsl(var(--muted-foreground));
}
html .h-kicker { color: hsl(var(--foreground)); font-weight: 600; }
html .h-section { padding: 4rem 0; }
@media (min-width: 40rem) { html .h-section { padding: 6rem 0; } }
@media (min-width: 48rem) { html .h-section { padding: 7rem 0; } }
html .h-head { margin-bottom: 2.5rem; }
@media (min-width: 40rem) { html .h-head { margin-bottom: 4rem; } }

/* the white bands between the grey ones */
html #about, html .h-steps-band, html .fw-band, html .hb-section { background: hsl(var(--card)); transition: background-color .4s ease; }
html.dark #about, html.dark .h-steps-band, html.dark .fw-band, html.dark .hb-section { background: hsl(var(--background)); }

/* ============================================================== cards */
html .bento { gap: 1rem; }
@media (min-width: 40rem) { html .bento { gap: 1.5rem; } }
html .bento-card, html .hb-card {
  padding: 1.25rem; border: 0; border-radius: 1.5rem; background: hsl(var(--card));
  box-shadow: var(--look-card); transition: transform .3s ease, box-shadow .3s ease, background-color .4s ease;
}
@media (min-width: 40rem) { html .bento-card, html .hb-card { padding: 2rem; } }
html .bento-card::before { display: none; }
html .bento-card:hover { transform: translateY(-4px); box-shadow: var(--look-card-hover); border: 0; }
html #about .bento-card { box-shadow: 0 4px 24px -8px rgb(0 0 0 / .06), 0 0 0 1px rgb(0 0 0 / .04); }
html.dark #about .bento-card { box-shadow: var(--look-card); }
html .bento-ic {
  width: 3rem; height: 3rem; margin-bottom: 1.5rem; border: 0; border-radius: 1rem;
  background: #ffedd5; color: hsl(var(--primary));
}
html .bento-ic .icon { width: 1.5rem; height: 1.5rem; }
html.dark .bento-ic { background: rgb(255 107 0 / .15); }
html .bento-card h3 { font-size: 1.25rem; font-weight: 700; }
html .bento-card p { font-size: 0.875rem; line-height: 1.65; color: hsl(var(--muted-foreground)); }

/* the small things inside the cards: plain grey wells */
html .stack-tile, html .port-row, html .share-url, html .upd, html .lang-pills a, html .lang-pills span, html .fw-chips span {
  background: hsl(var(--secondary)); border: 1px solid hsl(var(--border)); border-radius: 1rem; box-shadow: none;
}
html .lang-pills a, html .lang-pills span, html .fw-chips span { border-radius: 999px; }
html .lang-pills a.on, html .fw-chips span:first-child { border-color: hsl(var(--primary)); color: hsl(var(--primary)); background: hsl(var(--primary-soft)); }
html.dark .lang-pills a.on, html.dark .fw-chips span:first-child { background: rgb(255 107 0 / .12); }

/* the live numbers: four small white cards */
html .h-stats { padding: 0 0 1rem; }
html .h-stats-grid { gap: 1rem; border: 0; background: none; overflow: visible; border-radius: 0; }
html .h-stat {
  border: 0 !important; border-radius: 1.5rem; background: hsl(var(--card)); box-shadow: var(--look-card);
  transition: transform .3s ease, box-shadow .3s ease, background-color .4s ease;
}
html .h-stat:hover { transform: translateY(-4px); box-shadow: var(--look-card-hover); }
html .h-stat b { font-weight: 800; letter-spacing: -0.03em; }

/* the steps: white cards with an orange number */
html .h-steps { gap: 1rem; }
@media (min-width: 40rem) { html .h-steps { gap: 1.5rem; } }
html .h-steps::before { display: none; }
html .h-steps li {
  padding: 2rem 1.5rem; border-radius: 1.5rem; background: hsl(var(--card)); box-shadow: 0 4px 24px -8px rgb(0 0 0 / .06), 0 0 0 1px rgb(0 0 0 / .04);
  transition: transform .3s ease, box-shadow .3s ease;
}
html .h-steps li:hover { transform: translateY(-4px); box-shadow: var(--look-card-hover); }
html.dark .h-steps li { box-shadow: var(--look-card); }
html .h-step-n {
  width: 3rem; height: 3rem; margin-bottom: 1.25rem; border: 0; border-radius: 1rem; box-shadow: none;
  background: #ffedd5; color: hsl(var(--primary)); font-family: inherit; font-weight: 800;
}
html.dark .h-step-n { background: rgb(255 107 0 / .15); }
html .h-steps h3 { font-weight: 700; }

/* questions */
html .h-faq { gap: 0.75rem; }
html .h-faq details {
  border: 0; border-radius: 1.25rem; background: hsl(var(--card)); box-shadow: var(--look-card);
  transition: box-shadow .3s ease, background-color .4s ease;
}
html .h-faq details:hover { box-shadow: var(--look-card-hover); }
html .h-faq details[open] { box-shadow: 0 20px 40px -12px rgb(0 0 0 / .08), 0 0 0 1px rgb(255 107 0 / .25); }
html .h-faq summary { padding: 1.25rem 1.5rem; font-weight: 700; }
html .h-faq details p { padding: 0 1.5rem 1.5rem; }

/* the last word: the black card from the design */
html .h-final { padding: 1rem 0 6rem; }
html .h-final-card {
  padding: 3.5rem 1.5rem; border: 0; border-radius: 1.5rem; background: #000; color: #fff;
  box-shadow: 0 20px 40px -10px rgb(0 0 0 / .4);
}
@media (min-width: 40rem) { html .h-final-card { padding: 4.5rem 2rem; border-radius: 2rem; } }
html .h-final-card::before { display: none; }
html .h-final-card h2 { color: #fff; font-weight: 700; }
html .h-final-card .lead { color: #9ca3af; }
html .h-final-card .btn:not(.ghost) { background: #fff !important; color: #000 !important; box-shadow: none !important; }
html .h-final-card .btn:not(.ghost):hover { background: #f3f4f6 !important; }
html .h-final-card .btn.ghost { background: #1f2937; color: #fff; border-color: #374151; }
html .h-final-card .btn.ghost:hover { background: #374151; color: #fff; border-color: #4b5563; }
html.dark .h-final-card { background: hsl(var(--card)); box-shadow: 0 0 0 1px hsl(var(--border)), 0 20px 40px -10px rgb(0 0 0 / .6); }

/* the latest release under it, as a changelog card */
html .news {
  border: 0 !important; border-radius: 1.5rem !important; background: hsl(var(--card)) !important;
  box-shadow: var(--look-card); padding: 1.75rem;
  transition: transform .3s ease, box-shadow .3s ease;
}
html .news:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -12px rgb(0 0 0 / .08), 0 0 0 1px rgb(255 107 0 / .2); }
html .news .date { color: hsl(var(--muted-foreground)); }
html .news a { color: hsl(var(--primary)); font-weight: 600; }

/* ============================================================ inner pages */
html .hero { padding: 3rem 0 2rem; border: 0; text-align: center; overflow: visible; }
@media (min-width: 40rem) { html .hero { padding: 4.5rem 0 3rem; } }
html .hero .wrap { display: flex; flex-direction: column; align-items: center; }
html .hero h1 {
  max-width: 42rem; margin: 0 auto; background: none; -webkit-text-fill-color: currentColor; color: hsl(var(--foreground));
  font-size: clamp(1.5rem, 1rem + 3vw, 3rem); font-weight: 700; letter-spacing: -0.025em; line-height: 1.25;
}
html[dir="rtl"] .hero h1 { line-height: 1.4; letter-spacing: 0; }
html .hero h1 small {
  max-width: 36rem; margin: 1rem auto 0; -webkit-text-fill-color: currentColor;
  font-size: clamp(0.875rem, 0.8rem + .5vw, 1.125rem); color: hsl(var(--muted-foreground)); font-weight: 400; letter-spacing: 0;
}
html .hero + section { padding-top: 0.5rem; }
html .hero-badge { border: 0; background: hsl(var(--card)); box-shadow: var(--look-card); }

/* every other card on the site */
html .card, html .panel, html .stack-item, html .subscribe-panel, html .rating-panel, html .update-box, html .verify,
html .member, html .give, html .faq-item, html .tool, html .cta, html .contact-grid > *, html .ds-card {
  border: 0; border-radius: 1.5rem; background: hsl(var(--card)); box-shadow: var(--look-card);
  transition: transform .3s ease, box-shadow .3s ease, background-color .4s ease;
}
html .card.ready:hover, html .update-box:hover, html .give:hover { transform: translateY(-4px); box-shadow: var(--look-card-hover); }
html .stack-item:hover, html .member:hover { box-shadow: var(--look-card-hover); }

/* the content pages: the text sits on one white card */
html .page-prose {
  max-width: 48rem; margin-inline: auto; padding: 1.5rem; border-radius: 1.5rem;
  background: hsl(var(--card)); box-shadow: var(--look-card);
}
@media (min-width: 40rem) { html .page-prose { padding: 2.5rem 3rem; } }
html .prose a { color: hsl(var(--primary)); }
html .page-prose { min-width: 0; overflow-wrap: anywhere; }
html .page-prose table { display: block; max-width: 100%; overflow-x: auto; }
html .team { gap: 1rem; }

/* support: no glow, and the dark card is the black one from the design */
html .give-hero::before { display: none; }
html .give-other-card {
  border: 0; border-radius: 1.5rem; background: #000; color: #fff; box-shadow: 0 20px 40px -10px rgb(0 0 0 / .4);
}
@media (min-width: 40rem) { html .give-other-card { border-radius: 2rem; } }
html .give-other-card h2, html .give-other-card h3 { color: #fff; }
html .give-other-card .lead, html .give-other-list span { color: #9ca3af; }
html .give-other-list span b { color: #fff; }
html .give-other-list a { border-radius: 1rem; background: #1f2937; border: 1px solid #374151; color: #fff; }
html .give-other-list a:hover { background: #374151; }
html.dark .give-other-card { background: hsl(var(--card)); box-shadow: 0 0 0 1px hsl(var(--border)), 0 20px 40px -10px rgb(0 0 0 / .6); }
html.dark .give-other-list a { background: hsl(var(--secondary)); border-color: hsl(var(--border)); }

/* ============================================================ downloads */
html .dl, html .dl-page { background: transparent; }
html .dl-page { padding-top: 0; }
html .dl-page .dl-head { text-align: center; margin-bottom: 2rem; }
html .dl-page .dl-head .eyebrow, html .dl-page .dl-head h2, html .dl-page .dl-head .rule { display: none; }
html .dl-page .dl-head .lead { max-width: 40rem; margin: 0 auto !important; }
html .dl-grid { gap: 1rem; }
@media (min-width: 40rem) { html .dl-grid { gap: 1.5rem; } }
html .dl-grid .card { padding: 1.5rem; gap: 0.75rem; }
@media (min-width: 40rem) { html .dl-grid .card { padding: 2rem; } }
html .os-name { font-weight: 700; }
html .soon { border-radius: 999px; padding: 0.25rem 0.75rem; font-weight: 700; }

/* the card for the visitor's own system is the black one */
html .card.is-yours {
  background: #000 !important; color: #fff; border: 0 !important;
  box-shadow: 0 20px 40px -10px rgb(0 0 0 / .4) !important;
}
html .card.is-yours .os-name, html .card.is-yours b { color: #fff; }
html .card.is-yours .os-ver, html .card.is-yours .meta, html .card.is-yours .req { color: #9ca3af; }
html .card.is-yours .os > svg { filter: brightness(0) invert(1); }
html .card.is-yours .yours-tag {
  padding: 0.4rem 1rem; border-radius: 999px; background: rgb(255 107 0 / .15); color: hsl(var(--primary-glow));
  font-size: 0.75rem; font-weight: 700;
}
html .card.is-yours .btn { background: #fff !important; color: #000 !important; box-shadow: none !important; border-radius: 0.875rem; }
html .card.is-yours .btn:hover { background: #f3f4f6 !important; }
html .card.is-yours .sha { background: #1f2937; border-color: #374151; }
html .card.is-yours .sha code { color: #e5e7eb; }
html .card.is-yours .sha b { color: #9ca3af; }
html .card.is-yours .sha button { background: #374151; border-color: #4b5563; color: #fff; }
html.dark .card.is-yours { background: hsl(var(--card)) !important; box-shadow: 0 0 0 1px hsl(var(--primary) / .5), 0 20px 40px -10px rgb(0 0 0 / .6) !important; }

html .sha { border-radius: 0.875rem; background: hsl(var(--secondary)); border: 1px solid hsl(var(--border)); }
html .sha button { border-radius: 999px; }
html .verify { padding: 1.75rem; }
html .verify pre { border-radius: 1rem; background: hsl(var(--secondary)); }
html .hint { justify-content: center; color: hsl(var(--muted-foreground)); }
html .subscribe-panel { padding: 1.75rem; }
html .subscribe-form input { height: 3rem; }
html .subscribe-form .btn { height: 3rem; }

/* =========================================================== changelog */
html .cl-section { padding: 0 0 5rem; }
html .cl-wrap { max-width: 56rem; }
.cl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 40rem) { .cl-list { gap: 1.5rem; } }
.cl-item { min-width: 0; }
.cl-card {
  position: relative; display: flex; flex-direction: column; width: 100%; padding: 1.25rem; text-align: start;
  border-radius: 1.5rem; background: hsl(var(--card)); box-shadow: var(--look-card);
  transition: transform .3s ease, box-shadow .3s ease, background-color .4s ease;
}
@media (min-width: 40rem) { .cl-card { padding: 1.75rem; } }
.cl-ready .cl-card[data-cl-card] { cursor: pointer; }
.cl-ready .cl-card[data-cl-card]:hover {
  transform: translateY(-3px); box-shadow: 0 20px 40px -12px rgb(0 0 0 / .08), 0 0 0 1px rgb(255 107 0 / .2);
}
html.dark .cl-ready .cl-card[data-cl-card]:hover { box-shadow: 0 20px 40px -12px rgb(0 0 0 / .7), 0 0 0 1px rgb(255 107 0 / .45); }
.cl-go {
  position: absolute; top: 1.25rem; inset-inline-end: 1.25rem; display: grid; place-items: center;
  width: 1.5rem; height: 1.5rem; color: #d1d1d6; transition: color .3s ease, transform .3s ease;
}
@media (min-width: 40rem) { .cl-go { top: 1.5rem; inset-inline-end: 1.5rem; } }
.dark .cl-go { color: #48484a; }
.cl-go svg { width: 0.875rem; height: 0.875rem; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.cl-card:hover .cl-go { color: hsl(var(--primary)); transform: translate(2px, -2px); }
.cl-ready .cl-go { display: grid; }
.cl-list:not(.cl-ready) .cl-go { display: none; }
.cl-head {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem 1rem;
  margin-bottom: 0.75rem; padding-inline-end: 2rem;
}
.cl-title { display: flex; align-items: center; gap: 0.5rem 0.75rem; min-width: 0; flex-wrap: wrap; }
html .cl-title h2 { margin: 0; font-size: 1rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.4; }
@media (min-width: 40rem) { html .cl-title h2 { font-size: 1.25rem; } }
html .cl-ver {
  display: inline-block; padding: 0.25rem 0.75rem; border-radius: 999px;
  background: #e5e5ea; color: #3a3a3c; font-family: var(--font-sans); font-size: 0.75rem; font-weight: 700; line-height: 1.5;
  white-space: nowrap;
}
@media (min-width: 40rem) { html .cl-ver { padding: 0.375rem 1rem; font-size: 0.875rem; } }
html .cl-card.is-new .cl-ver, html .cl-modal .cl-ver:not(.plain) { background: hsl(var(--primary)); color: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / .05); }
html.dark .cl-ver { background: hsl(var(--secondary)); color: #e5e5ea; }
.cl-date { font-size: 0.8125rem; font-weight: 500; color: hsl(var(--muted-foreground)); white-space: nowrap; }
@media (min-width: 40rem) { .cl-date { font-size: 0.875rem; } }
.cl-tags { display: flex; flex-wrap: wrap; gap: 0.375rem; margin: 0 0 0.75rem; }
.cl-tag {
  display: inline-block; padding: 0.1875rem 0.75rem; border-radius: 999px;
  background: hsl(var(--secondary)); color: hsl(var(--muted-foreground)); font-size: 0.75rem; font-weight: 600;
}
.cl-tag.hot { background: hsl(var(--primary-soft)); color: hsl(var(--primary)); }
.dark .cl-tag.hot { background: rgb(255 107 0 / .15); color: hsl(var(--primary-glow)); }
.cl-summary { margin: 0; font-size: 0.8125rem; line-height: 1.65; color: hsl(var(--muted-foreground)); }
@media (min-width: 40rem) { .cl-summary { font-size: 0.875rem; } }
.cl-notes { margin-top: 1rem; font-size: 0.875rem; }
.cl-ready .cl-notes { display: none; }
html .timeline-spot { list-style: none; }
.cl-foot { margin: 2.5rem 0 0; text-align: center; font-size: 0.875rem; color: hsl(var(--muted-foreground)); }
.cl-foot a { color: hsl(var(--primary)); font-weight: 600; }

/* the window */
.cl-modal {
  position: fixed; inset: 0; z-index: 200; display: flex; align-items: flex-end; justify-content: center; padding: 1rem;
  background: rgb(0 0 0 / .4); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease;
}
.cl-modal.open { opacity: 1; visibility: visible; }
.cl-modal-box {
  position: relative; display: flex; flex-direction: column; width: 100%; max-width: 40.625rem; max-height: 90vh;
  background: hsl(var(--card)); border-radius: 2rem 2rem 0 0; box-shadow: 0 -10px 40px rgb(0 0 0 / .1);
  transform: translateY(100%); transition: transform .4s var(--look-ease), background-color .4s ease;
}
.dark .cl-modal-box { box-shadow: 0 0 0 1px hsl(var(--border)), 0 -10px 40px rgb(0 0 0 / .5); }
.cl-modal.open .cl-modal-box { transform: none; }
.cl-modal-handle { display: block; width: 2.5rem; height: 0.3125rem; margin: 0.75rem auto 0; border-radius: 999px; background: #d1d1d6; }
.dark .cl-modal-handle { background: #48484a; }
.cl-modal-head {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 1.5rem; border-bottom: 1px solid hsl(var(--border));
}
.cl-modal-head h3 { margin: 0; font-size: 1.125rem; font-weight: 700; line-height: 1.4; min-width: 0; overflow-wrap: anywhere; }
.cl-modal-x {
  display: grid; place-items: center; flex: none; width: 2.25rem; height: 2.25rem; padding: 0;
  border: 0; border-radius: 999px; background: #f3f4f6; color: #475569; cursor: pointer; transition: background-color .2s, color .2s;
}
.cl-modal-x:hover { background: #ffedd5; color: hsl(var(--primary)); }
.dark .cl-modal-x { background: hsl(var(--secondary)); color: hsl(var(--muted-foreground)); }
.dark .cl-modal-x:hover { background: hsl(var(--border)); color: hsl(var(--foreground)); }
.cl-modal-x svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cl-modal-body { flex: 1; overflow-y: auto; padding: 1.5rem; }
.cl-modal-meta {
  display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; padding-bottom: 1rem;
  border-bottom: 1px solid hsl(var(--border) / .7);
}
.cl-modal-meta .cl-ver { padding: 0.25rem 0.75rem; font-size: 0.75rem; }
.cl-modal-notes { font-size: 0.875rem; color: hsl(var(--muted-foreground)); line-height: 1.65; }
.cl-modal-notes > :first-child { margin-top: 0; }
.cl-modal-notes > :last-child { margin-bottom: 0; }
.cl-modal-notes h1, .cl-modal-notes h2, .cl-modal-notes h3, .cl-modal-notes h4 { color: hsl(var(--foreground)); font-size: 1rem; margin: 1.25rem 0 0.75rem; }
.cl-modal-notes ul, .cl-modal-notes ol { list-style: none; margin: 0 0 0.75rem; padding: 0; display: grid; gap: 0.75rem; }
.cl-modal-notes li {
  position: relative; margin: 0; padding: 1rem; padding-inline-start: 2.5rem;
  background: hsl(var(--secondary)); border: 1px solid hsl(var(--border)); border-radius: 1rem;
}
.cl-modal-notes li::before {
  content: "✓"; position: absolute; inset-inline-start: 1rem; top: 0.95rem;
  color: hsl(var(--primary)); font-weight: 700; font-size: 1rem; line-height: 1.4;
}
.cl-modal-notes li::marker { content: none; }
.cl-modal-notes strong { color: hsl(var(--foreground) / .85); font-weight: 700; }
.cl-modal-notes a { color: hsl(var(--primary)); }
.cl-modal-notes code { padding: 0.0625rem 0.375rem; border-radius: 0.375rem; background: hsl(var(--card)); }
body.cl-locked { overflow: hidden; }
@media (min-width: 40rem) {
  .cl-modal { align-items: center; }
  .cl-modal-box { border-radius: 2rem; transform: scale(.95) translateY(20px); box-shadow: 0 30px 60px -15px rgb(0 0 0 / .3); }
  .cl-modal-handle { display: none; }
  .cl-modal-head { padding: 1.5rem 2rem; }
  .cl-modal-head h3 { font-size: 1.25rem; }
  .cl-modal-body { padding: 2rem; }
}

/* ============================================================== footer */
html footer.foot {
  padding: 3.5rem 0 2rem; background: hsl(var(--card)); border-top: 1px solid hsl(var(--border));
  transition: background-color .4s ease, border-color .4s ease;
}
html.dark footer.foot { background: hsl(var(--background)); }
html footer.foot::before { display: none; }
html .foot-hero {
  border: 0; border-radius: 1.5rem; background: hsl(var(--secondary)); box-shadow: none;
}
html[dir="rtl"] .foot-hero { background: hsl(var(--secondary)); }
html.dark .foot-hero { background: hsl(var(--card)); box-shadow: 0 0 0 1px hsl(var(--border)); }
html .foot-hero b { font-weight: 700; }
html .foot-col b { font-family: inherit; font-size: 0.875rem; font-weight: 700; letter-spacing: 0; text-transform: none; color: hsl(var(--foreground)); }
html .foot-col a { color: hsl(var(--muted-foreground)); }
html .foot-col a:hover { color: hsl(var(--primary)); }
html .foot-bottom { border-top-color: hsl(var(--border)); color: hsl(var(--muted-foreground)); font-size: 0.8125rem; }
html .foot-langs {
  gap: 4px; padding: 4px; border-radius: 999px; background: hsl(var(--secondary)); border: 1px solid hsl(var(--border));
}
html.dark .foot-langs { background: hsl(var(--card)); }
html .foot-langs a { padding: 0.375rem 0.875rem; border: 0; border-radius: 999px; font-weight: 600; font-size: 0.8125rem; }
html .foot-langs a.on { background: hsl(var(--card)); color: hsl(var(--primary)); border: 0; box-shadow: 0 2px 8px rgb(0 0 0 / .08); }
html.dark .foot-langs a.on { background: hsl(var(--border)); box-shadow: none; }
html .sys-pill { border-radius: 999px; }

/* back to top */
html .to-top { border: 0; border-radius: 999px; background: #000; color: #fff; box-shadow: 0 20px 25px -5px rgb(0 0 0 / .2); }
html .to-top:hover { background: hsl(var(--primary)); color: #fff; }
html.dark .to-top { background: hsl(var(--card)); box-shadow: 0 0 0 1px hsl(var(--border)); }

/* ==================================================== very small screens */
@media (max-width: 23.75rem) {
  html .nav > a, html .nav-trigger { font-size: 0.75rem; padding: 6px 12px !important; }
  .h-banner { height: 6.25rem; }
  .h-banner .look-banner-logo { width: 2.5rem; height: 2.5rem; }
  html .bento-card, html .cl-card { padding: 1.25rem; }
}

/* the download cards: only the systems that have a release, so one or two cards sit in the middle */
html .dl-grid.n1 { grid-template-columns: minmax(0, 1fr); max-width: 30rem; margin-inline: auto; }
@media (min-width: 40rem) {
  html .dl-grid.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 52rem; margin-inline: auto; }
}

/* the ports card: a row can hold several ports, and a stopped one is grey */
html .port-row b { display: inline-flex; flex-wrap: wrap; gap: .375rem; justify-content: flex-end; }
html .port-row.off i { background: hsl(var(--muted-foreground) / .5); box-shadow: none; }
html .port-row.off code, html .port-row.off b { opacity: .6; }

/* the phone menu scrolls without the thin scrollbar line */
html .sheet, html .sheet-nav, html .nav-panel { scrollbar-width: none; -ms-overflow-style: none; }
html .sheet::-webkit-scrollbar, html .sheet-nav::-webkit-scrollbar, html .nav-panel::-webkit-scrollbar { display: none; width: 0; height: 0; }

/* =====================================================================
   The Key page: plans, Buy on Facebook, how it works, check a key
   ===================================================================== */
.key-hero { padding: clamp(3rem, 6vw, 5.5rem) 0 2rem; text-align: center; }
.key-hero h1 { margin: .875rem auto .875rem; max-width: 46rem; font-size: clamp(2rem, 1.3rem + 3vw, 3.5rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.1; }
html[dir="rtl"] .key-hero h1 { letter-spacing: 0; line-height: 1.35; }
.key-hero .lead { max-width: 40rem; margin: 0 auto; }
.key-features { list-style: none; margin: 1.75rem auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem .75rem; max-width: 56rem; }
.key-features li {
  display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .875rem; border-radius: 999px;
  background: hsl(var(--card)); box-shadow: var(--look-card); font-size: .875rem; font-weight: 500;
}
.key-features .icon, .key-mini .icon { width: 1rem; height: 1rem; flex: none; color: hsl(var(--primary)); stroke-width: 2.25; }

.key-plans { padding: 1.5rem 0 3rem; }
.key-closed { margin: 0 auto 1.5rem; max-width: 36rem; text-align: center; padding: 1rem 1.25rem; border-radius: 1rem; background: hsl(var(--warning-soft)); color: hsl(var(--warning)); font-weight: 600; }
.key-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; align-items: stretch; }
.key-grid.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 52rem; margin-inline: auto; }
.key-grid.n1 { grid-template-columns: minmax(0, 1fr); max-width: 26rem; margin-inline: auto; }
.key-card {
  position: relative; display: flex; flex-direction: column; padding: 2rem; border-radius: var(--look-r-card);
  background: hsl(var(--card)); box-shadow: var(--look-card); transition: transform .35s var(--look-ease), box-shadow .35s ease;
}
.key-card:hover { transform: translateY(-4px); box-shadow: var(--look-card-hover); }
.key-card.best {
  color: #fff; background: linear-gradient(150deg, #ffa033, #ff6b00 45%, #ff4500); box-shadow: 0 25px 50px -15px rgb(255 107 0 / .45);
}
.key-card.best::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background-image: radial-gradient(rgb(255 255 255 / .25) 1px, transparent 1px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(circle at 80% 0%, #000 0%, transparent 65%); mask-image: radial-gradient(circle at 80% 0%, #000 0%, transparent 65%);
}
.key-card > * { position: relative; }
.key-badge {
  position: absolute; top: 1.25rem; inset-inline-end: 1.25rem; padding: .25rem .75rem; border-radius: 999px;
  background: #fff; color: #ff6b00; font-size: .75rem; font-weight: 700; box-shadow: 0 6px 14px -6px rgb(0 0 0 / .3);
}
.key-card h2 { margin: 0; font-size: 1.25rem; font-weight: 700; }
.key-period { margin: .25rem 0 0; font-size: .875rem; color: hsl(var(--muted-foreground)); }
.key-card.best .key-period, .key-card.best .key-note { color: rgb(255 255 255 / .85); }
.key-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .375rem; margin: 1.5rem 0 .25rem; }
.key-price b { font-size: clamp(2.25rem, 1.8rem + 1.5vw, 3rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.key-price span { font-size: .9375rem; color: hsl(var(--muted-foreground)); font-weight: 500; }
.key-card.best .key-price span { color: rgb(255 255 255 / .8); }
.key-note { margin: .5rem 0 0; font-size: .9375rem; color: hsl(var(--muted-foreground)); }
.key-mini { list-style: none; margin: 1.25rem 0 1.75rem; padding: 1.25rem 0 0; display: grid; gap: .625rem; border-top: 1px solid hsl(var(--border) / .8); font-size: .875rem; }
.key-card.best .key-mini { border-top-color: rgb(255 255 255 / .25); }
.key-card.best .key-mini .icon { color: #fff; }
.key-mini li { display: flex; align-items: flex-start; gap: .5rem; }
html .key-buy { width: 100%; justify-content: center; gap: .625rem; }
html .key-card.best .btn.key-buy:not(.ghost):not(.ghost-line):not(.danger) { background: #fff; color: #ff6b00; box-shadow: 0 10px 22px -8px rgb(0 0 0 / .3); }
html .key-card.best .btn.key-buy:not(.ghost):not(.ghost-line):not(.danger):hover { background: #fff; color: #e55a00; }
.key-fb { width: 1.25rem; height: 1.25rem; fill: currentColor; flex: none; }
.key-buy-h { display: flex; align-items: center; justify-content: center; gap: .5rem; margin: 1.5rem auto 0; max-width: 40rem; text-align: center; font-size: .875rem; color: hsl(var(--muted-foreground)); }
.key-buy-h .key-fb.is-facebook { color: #1877f2; }
.key-buy-h .key-fb.is-telegram { color: #229ed9; }
.key-buy-h .key-fb.is-whatsapp { color: #25d366; }
.key-buy-h span { margin-inline-start: .25rem; }
.key-buys { margin-top: auto; display: flex; flex-wrap: wrap; gap: .5rem; }
.key-buys > .key-buy:first-child { flex: 1 1 100%; }
html .key-buys .btn.key-buy.alt { flex: 1 1 0; width: auto; margin: 0; justify-content: center; gap: .5rem; background: hsl(var(--secondary)); color: hsl(var(--foreground)); border: 1px solid transparent; box-shadow: none; }
html .key-buys .btn.key-buy.alt:hover { transform: translateY(-2px); border-color: hsl(var(--border)); }
html .key-buys .btn.key-buy.alt.is-telegram .key-fb { color: #229ed9; }
html .key-buys .btn.key-buy.alt.is-whatsapp .key-fb { color: #25d366; }
html .key-buys .btn.key-buy.alt.is-facebook .key-fb { color: #1877f2; }
html .key-card.best .key-buys .btn.key-buy.alt { background: rgb(255 255 255 / .18); color: #fff; }
html .key-card.best .key-buys .btn.key-buy.alt .key-fb { color: #fff; }

.key-how, .key-faq { padding: 3rem 0; }
.key-how h2, .key-faq h2 { margin: 0 0 1.75rem; text-align: center; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 800; letter-spacing: -0.02em; }
html[dir="rtl"] .key-how h2, html[dir="rtl"] .key-faq h2 { letter-spacing: 0; }
.key-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; counter-reset: s; }
.key-steps li { padding: 1.5rem; border-radius: 1.25rem; background: hsl(var(--card)); box-shadow: var(--look-card); }
.key-step-n { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; margin-bottom: 1rem; border-radius: .75rem; background: hsl(var(--primary-soft)); color: hsl(var(--primary)); font-weight: 800; }
html.dark .key-step-n { background: rgb(255 107 0 / .15); }
.key-steps b { display: block; font-size: 1rem; }
.key-steps p { margin: .375rem 0 0; font-size: .875rem; color: hsl(var(--muted-foreground)); line-height: 1.6; }

.key-check { padding: 1rem 0 2rem; }
.key-check-card {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 1rem 2rem; align-items: center;
  max-width: 60rem; margin: 0 auto; padding: 2rem; border-radius: var(--look-r-card); background: hsl(var(--card)); box-shadow: var(--look-card);
}
.key-check-card h2 { margin: 0; font-size: 1.25rem; font-weight: 700; }
.key-check-card p { margin: .375rem 0 0; color: hsl(var(--muted-foreground)); font-size: .9375rem; }
.key-check-form { display: flex; gap: .5rem; min-width: 0; }
html .key-check-form input[type=text] { flex: 1; min-width: 0; height: 3rem; font-family: var(--font-mono); font-size: 1rem; letter-spacing: .06em; text-align: center; text-transform: uppercase; }
html .key-check-form .btn { height: 3rem; flex: none; }
.key-result { grid-column: 1 / -1; display: flex; gap: .875rem; align-items: flex-start; padding: 1rem 1.25rem; border-radius: 1rem; background: hsl(var(--secondary)); }
.key-result i { width: .625rem; height: .625rem; margin-top: .375rem; border-radius: 50%; flex: none; background: hsl(var(--muted-foreground)); }
.key-result.ok { background: hsl(var(--success-soft)); } .key-result.ok i { background: #22c55e; }
.key-result.warn { background: hsl(var(--warning-soft)); } .key-result.warn i { background: hsl(var(--warning)); }
.key-result.bad { background: hsl(var(--destructive) / .08); } .key-result.bad i { background: hsl(var(--destructive)); }
.key-result > div { display: grid; gap: .25rem; min-width: 0; flex: 1; }
.key-result b { font-size: .9375rem; }
.key-result span { font-size: .9375rem; }
.key-used { display: block; height: .375rem; margin-top: .375rem; border-radius: 999px; background: hsl(var(--border)); overflow: hidden; }
.key-used em { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #ffa033, #ff6b00); }
html[dir="rtl"] .key-used em { margin-inline-start: 0; }
.key-result [hidden], .key-result[hidden] { display: none !important; }

.key-faq-list { display: grid; gap: .75rem; max-width: 48rem; margin: 0 auto; }
.key-faq details { border-radius: 1.125rem; background: hsl(var(--card)); box-shadow: var(--look-card); }
.key-faq summary { cursor: pointer; list-style: none; padding: 1.125rem 1.375rem; font-weight: 600; display: flex; justify-content: space-between; gap: 1rem; }
.key-faq summary::-webkit-details-marker { display: none; }
.key-faq summary::after { content: "+"; font-size: 1.25rem; line-height: 1; color: hsl(var(--muted-foreground)); transition: transform .25s ease; }
.key-faq details[open] summary::after { transform: rotate(45deg); color: hsl(var(--primary)); }
.key-faq details p { margin: 0; padding: 0 1.375rem 1.25rem; color: hsl(var(--muted-foreground)); line-height: 1.7; }

@media (max-width: 64rem) {
  .key-grid, .key-grid.n2 { grid-template-columns: minmax(0, 1fr); max-width: 30rem; margin-inline: auto; }
  .key-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .key-check-card { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 40rem) {
  .key-steps { grid-template-columns: minmax(0, 1fr); }
  .key-card, .key-check-card { padding: 1.5rem; }
  .key-check-form { flex-direction: column; }
  html .key-check-form input[type=text] { flex: none; width: 100%; }
  html .key-check-form .btn { width: 100%; }
  .key-features li { font-size: .8125rem; }
}
/* the smaller Telegram / WhatsApp buttons under the main one */
html .key-buys .btn.key-buy.alt:not(.ghost):not(.ghost-line):not(.danger):not([disabled]) {
  background: hsl(var(--secondary)); color: hsl(var(--foreground)); border: 1px solid hsl(var(--border)); box-shadow: none;
}
html .key-buys .btn.key-buy.alt:not(.ghost):not(.ghost-line):not(.danger):not([disabled]):hover { background: hsl(var(--card)); border-color: hsl(var(--primary)); color: hsl(var(--primary)); }
html .key-card.best .key-buys .btn.key-buy.alt:not(.ghost):not(.ghost-line):not(.danger):not([disabled]) {
  background: rgb(255 255 255 / .16); color: #fff; border-color: rgb(255 255 255 / .35);
}
html .key-card.best .key-buys .btn.key-buy.alt:not(.ghost):not(.ghost-line):not(.danger):not([disabled]):hover { background: rgb(255 255 255 / .28); color: #fff; }
html .key-card.best .key-buys .btn.key-buy.alt .key-fb { color: #fff; }

/* move a key to another computer */
.key-move .key-check-card { align-items: start; }
.key-move-rule { margin-top: .75rem !important; font-size: .8125rem !important; font-weight: 600; color: hsl(var(--warning)) !important; }
.key-move-form { display: grid; gap: .875rem; min-width: 0; }
.key-move-form label { display: grid; gap: .375rem; font-size: .875rem; font-weight: 600; }
html .key-move-form input[type=text] { height: 2.875rem; font-family: var(--font-mono); font-size: .9375rem; }
.key-move-form small { font-size: .75rem; font-weight: 500; color: hsl(var(--muted-foreground)); }
.key-move-form .key-move-sure { display: flex; align-items: flex-start; gap: .5rem; font-weight: 500; font-size: .8125rem; color: hsl(var(--muted-foreground)); }
.key-move-sure input { margin-top: .2rem; flex: none; }
.key-move-form .btn { justify-self: start; }
@media (max-width: 40rem) { .key-move-form .btn { justify-self: stretch; } }

/* Pricing: Pro and Ultra */
.tier-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; max-width: 60rem; margin: 0 auto; align-items: stretch; }
@media (max-width: 52rem) { .tier-grid { grid-template-columns: minmax(0, 1fr); max-width: 30rem; } }
.tier-card { --tier: #ff6b00; --tier-soft: rgb(255 107 0 / .1); position: relative; display: flex; flex-direction: column; padding: 1.75rem; border-radius: 1.5rem; background: hsl(var(--card)); box-shadow: var(--look-card); border: 1.5px solid transparent; min-width: 0; }
.tier-card.is-ultra { --tier: #7c3aed; --tier-soft: rgb(124 58 237 / .1); border-color: rgb(124 58 237 / .35); }
.tier-card header h2 { margin: .75rem 0 0; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; }
.tier-card header p { margin: .25rem 0 0; color: hsl(var(--muted-foreground)); font-size: .9375rem; }
.tier-badge { display: inline-block; padding: .25rem .625rem; border-radius: 999px; background: var(--tier); color: #fff; font-size: .6875rem; font-weight: 800; letter-spacing: .08em; }
.tier-plans { display: flex; gap: .375rem; margin: 1.25rem 0 0; padding: .3125rem; border: 0; border-radius: .875rem; background: hsl(var(--secondary)); min-width: 0; }
.tier-plan { flex: 1 1 0; min-width: 0; position: relative; }
.tier-plan input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.tier-plan span { display: flex; flex-direction: column; align-items: center; gap: .125rem; padding: .5rem .25rem; border-radius: .625rem; font-size: .8125rem; font-weight: 600; text-align: center; color: hsl(var(--muted-foreground)); transition: background .2s, color .2s; }
.tier-plan em { font-style: normal; font-size: .625rem; font-weight: 700; color: var(--tier); }
.tier-plan input:checked + span { background: hsl(var(--card)); color: hsl(var(--foreground)); box-shadow: 0 1px 3px rgb(0 0 0 / .08); }
.tier-plan input:focus-visible + span { outline: 2px solid var(--tier); outline-offset: 2px; }
.tier-offer { display: none; flex-direction: column; }
.tier-card:has(input[value="monthly"]:checked) .tier-offer[data-plan="monthly"],
.tier-card:has(input[value="yearly"]:checked) .tier-offer[data-plan="yearly"],
.tier-card:has(input[value="two_years"]:checked) .tier-offer[data-plan="two_years"] { display: flex; }
.tier-card .key-price b { color: var(--tier); }
.tier-extra { margin: .375rem 0 0; font-size: .8125rem; font-weight: 600; color: var(--tier); }
.tier-card .key-buys { margin-top: 1.25rem; }
html .tier-card .key-buy.lg:not(.is-telegram):not(.is-whatsapp):not(.is-facebook) { background: var(--tier); }
.tier-card .key-mini { margin-bottom: 0; margin-top: 1.5rem; }
.tier-card .key-mini .icon { color: var(--tier); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
