/* Copyright 2026 JJy <jjyruby@gmail.com>
 * SPDX-License-Identifier: Apache-2.0
 *
 * Canban Website — Warm Obsidian Native Craft
 * Dark-only warm charcoal design system aligned with the native Canban app.
 */

:root {
  --bg-canvas: #141413;
  --bg-surface: #1b1b19;
  --bg-elevated: #232320;
  --bg-inset: #0f0f0e;

  --border: rgba(242, 240, 233, 0.09);
  --border-strong: rgba(242, 240, 233, 0.16);
  --border-hover: rgba(242, 240, 233, 0.26);

  --fg: #f2f0e9;
  --fg-sec: #a6a49b;
  --fg-muted: #74726b;

  --accent: #e29a3b;
  --accent-hover: #ebb05c;
  --accent-soft: rgba(226, 154, 59, 0.12);
  --accent-border: rgba(226, 154, 59, 0.36);

  --ok: #98c379;
  --ok-soft: rgba(152, 195, 121, 0.12);
  --ok-border: rgba(152, 195, 121, 0.34);

  --tok-key: #d8a657;
  --tok-str: #a9b665;
  --tok-num: #d3869b;
  --tok-kw: #e78a4e;
  --tok-fn: #7daea3;
  --tok-op: #a6a49b;
  --tok-expr: #e29a3b;

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Hiragino Kaku Gothic ProN", "Apple SD Gothic Neo", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco,
    Consolas, monospace;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --container: 1120px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  background: var(--bg-canvas);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color-scheme: dark;
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg-canvas);
  color: var(--fg);
  overflow-x: clip;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

code, pre {
  font-family: var(--font-mono);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

/* ========================================================================== */
/* Shared Sticky Header & Language Menu                                       */
/* ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(20, 20, 19, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.site-header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.015em;
  color: var(--fg);
  flex-shrink: 0;
}

.brand-mark {
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 5px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.site-nav a {
  padding: 6px 11px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--fg-sec);
  transition: color 140ms ease, background 140ms ease;
  white-space: nowrap;
}

.site-nav a:hover {
  color: var(--fg);
  background: rgba(242, 240, 233, 0.05);
}

.site-nav a[aria-current="page"] {
  color: var(--fg);
  background: var(--bg-elevated);
}

.site-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* <details class="lang-menu"> works natively without JS */
.lang-menu {
  position: relative;
  flex-shrink: 0;
}

.lang-trigger {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 32px;
  padding: 0 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-surface);
  color: var(--fg-sec);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  user-select: none;
  transition: border-color 140ms ease, color 140ms ease, background 140ms ease;
}

.lang-trigger::-webkit-details-marker {
  display: none;
}

.lang-trigger:hover,
.lang-menu[open] .lang-trigger {
  border-color: var(--border-strong);
  color: var(--fg);
  background: var(--bg-elevated);
}

.lang-caret {
  font-size: 10px;
  opacity: 0.7;
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 148px;
  padding: 5px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
  background: var(--bg-surface);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 120;
}

.lang-opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--fg-sec);
  transition: background 120ms ease, color 120ms ease;
}

.lang-opt:hover {
  background: var(--bg-elevated);
  color: var(--fg);
}

.lang-opt.is-active {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
}

.star-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 11px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-surface);
  color: var(--fg);
  font-size: 12.5px;
  font-weight: 550;
  white-space: nowrap;
  transition: border-color 140ms ease, background 140ms ease, color 140ms ease;
}

.star-pill:hover {
  border-color: var(--accent-border);
  background: var(--bg-elevated);
}

.gh-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.star-count {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--fg-sec);
}

.star-count:empty {
  display: none;
}

.star-pill.is-big {
  height: 40px;
  padding: 0 18px;
  font-size: 13.5px;
  border-color: var(--border-strong);
}

/* ========================================================================== */
/* Homepage Layout & Sections                                                 */
/* ========================================================================== */
.home-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Hero */
.hero {
  padding: 68px 0 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}

.hero > * {
  max-width: 100%;
  min-width: 0;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-sec);
  margin-bottom: 22px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
  flex-shrink: 0;
}

.hero-title {
  margin: 0;
  max-width: 860px;
  font-size: clamp(1.95rem, 4.7vw, 3.5rem);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: var(--fg);
  text-wrap: balance;
}

[data-lang="zh"] .hero-title,
[data-lang="zh-tw"] .hero-title,
[data-lang="ko"] .hero-title {
  word-break: keep-all;
  overflow-wrap: break-word;
}

.hero-description {
  margin: 18px 0 0;
  max-width: 650px;
  font-size: clamp(0.95rem, 1.5vw, 1.08rem);
  line-height: 1.65;
  color: var(--fg-sec);
  text-wrap: pretty;
}

/* Install Widget (Hero + Closing) */
.install-widget {
  width: 100%;
  max-width: 660px;
  min-width: 0;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.install-tabs {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-surface);
}

.install-tab {
  padding: 5px 13px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--fg-sec);
  transition: background 140ms ease, color 140ms ease;
}

.install-tab:hover {
  color: var(--fg);
}

.install-tab.is-active {
  background: var(--bg-elevated);
  color: var(--fg);
}

.install-shell {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 8px 10px 8px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
  background: var(--bg-inset);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.install-code-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
}

.install-code-wrap::-webkit-scrollbar {
  display: none;
}

.install-prompt {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  user-select: none;
  flex-shrink: 0;
}

.install-cmd {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--fg);
  white-space: nowrap;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg-surface);
  color: var(--fg);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 550;
  white-space: nowrap;
  flex-shrink: 0;
  transition: border-color 140ms ease, background 140ms ease, color 140ms ease;
}

.copy-btn:hover {
  border-color: var(--accent-border);
  background: var(--bg-elevated);
  color: var(--accent);
}

.copy-btn.is-copied {
  border-color: var(--ok-border);
  background: var(--ok-soft);
  color: var(--ok);
}

.install-shell-android {
  border-color: var(--border-strong);
}

.install-android-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--fg-sec);
  white-space: nowrap;
}

.android-icon {
  width: 15px;
  height: 15px;
  color: var(--ok);
  flex-shrink: 0;
}

.install-android-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.install-action-btn {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg-surface);
  color: var(--fg);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 550;
  white-space: nowrap;
  transition: border-color 140ms ease, background 140ms ease, color 140ms ease;
}

.install-action-btn:hover {
  border-color: var(--border-hover);
  background: var(--bg-elevated);
}

.install-action-btn.is-primary {
  border-color: var(--accent-border);
  background: var(--accent-soft);
  color: var(--accent);
}

.install-action-btn.is-primary:hover {
  border-color: var(--accent);
  color: var(--fg);
}

.install-guide-link {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-sec);
  padding: 4px 2px;
  white-space: nowrap;
  transition: color 140ms ease;
}

.install-guide-link:hover {
  color: var(--fg);
}

.hero-meta-row {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 12.5px;
  color: var(--fg-muted);
}

.hero-meta-row a {
  color: var(--fg-sec);
  transition: color 140ms ease;
}

.hero-meta-row a:hover {
  color: var(--accent);
}

/* ========================================================================== */
/* 6-Tab Unified Product Showcase Stage                                       */
/* ========================================================================== */
.showcase-section {
  padding: 12px 0 72px;
}

.showcase-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.showcase-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  background: transparent;
  color: var(--fg-sec);
  font-size: 13.5px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 140ms ease, background 140ms ease, border-color 140ms ease;
}

.showcase-tab:hover {
  color: var(--fg);
  background: rgba(242, 240, 233, 0.04);
}

.showcase-tab[aria-selected="true"] {
  color: var(--fg);
  background: var(--bg-surface);
  border-color: var(--border-strong);
}

.showcase-tab[aria-selected="true"]::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.showcase-kbd {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-muted);
  padding: 1px 5px;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: var(--bg-inset);
}

.showcase-caption {
  margin: 0 auto 20px;
  max-width: 680px;
  text-align: center;
  font-size: 14px;
  color: var(--fg-sec);
  min-height: 22px;
}

.showcase-stage {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background: var(--bg-inset);
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
}

.showcase-panel {
  margin: 0;
  display: block;
  width: 100%;
  aspect-ratio: 2880 / 1800;
  background: var(--bg-canvas);
}

.showcase-panel img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-panel figcaption {
  display: none;
}

/* ========================================================================== */
/* Mobile Companion Section (Homepage + /install/#mobile)                     */
/* ========================================================================== */
.mobile-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 44px;
  align-items: center;
}

.mobile-copy {
  min-width: 0;
}

.mobile-points {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  border-top: 1px solid var(--border);
}

.mobile-points li {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-points strong {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--fg);
}

.mobile-points span {
  font-size: 13.5px;
  line-height: 1.58;
  color: var(--fg-sec);
}

.mobile-actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.mobile-phones {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
  min-width: 0;
}

.phone-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.phone-card.is-featured {
  transform: translateY(-10px);
}

.phone-frame {
  width: 100%;
  aspect-ratio: 780 / 1688;
  border-radius: 22px;
  border: 1px solid var(--border-strong);
  background: var(--bg-inset);
  overflow: hidden;
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.52);
}

.phone-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--fg-muted);
}

/* ========================================================================== */
/* Flat Hairline Content Sections                                             */
/* ========================================================================== */
.band {
  padding: 64px 0;
  border-top: 1px solid var(--border);
}

.band-head {
  max-width: 660px;
  margin-bottom: 36px;
}

.band-eyebrow {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.band-title {
  margin: 0;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 650;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--fg);
  text-wrap: balance;
}

.band-sub {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--fg-sec);
}

/* 3x2 Capabilities Grid — flat 1px hairline dividers, no nested bordered boxes */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--border);
}

.cap-item {
  padding: 26px 24px 26px 0;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
}

.cap-item:nth-child(3n) {
  border-right: 0;
  padding-right: 0;
}

.cap-item:nth-child(3n + 2),
.cap-item:nth-child(3n) {
  padding-left: 24px;
}

.cap-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.cap-item h3 {
  margin: 0;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: -0.01em;
}

.cap-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-muted);
  flex-shrink: 0;
}

.cap-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--fg-sec);
}

/* Native CLI Ecosystem Strip */
.cli-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
}

.cli-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-surface);
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--fg);
  transition: border-color 140ms ease, background 140ms ease;
}

.cli-chip:hover {
  border-color: var(--border-strong);
  background: var(--bg-elevated);
}

.cli-chip-icon {
  width: 15px;
  height: 15px;
  display: block;
  flex-shrink: 0;
}

.cli-chip-more {
  border-style: dashed;
  color: var(--accent);
  border-color: var(--accent-border);
  background: transparent;
}

.cli-chip-more:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

/* Architecture 4-column hairline row */
.arch-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.arch-item {
  padding: 24px 20px 24px 0;
  border-right: 1px solid var(--border);
}

.arch-item:not(:first-child) {
  padding-left: 20px;
}

.arch-item:last-child {
  border-right: 0;
  padding-right: 0;
}

.arch-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 6px;
}

.arch-desc {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--fg-sec);
}

/* Closing Section */
.closing-section {
  padding: 72px 0 56px;
  border-top: 1px solid var(--border);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}

.closing-section > * {
  max-width: 100%;
  min-width: 0;
}

.closing-title {
  margin: 0;
  max-width: 720px;
  font-size: clamp(1.6rem, 3.2vw, 2.35rem);
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--fg);
  text-wrap: balance;
}

.closing-actions {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.closing-guides {
  width: 100%;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  text-align: left;
}

.guide-link-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-surface);
  transition: border-color 140ms ease, background 140ms ease;
}

.guide-link-item:hover {
  border-color: var(--accent-border);
  background: var(--bg-elevated);
}

.guide-link-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
}

.guide-link-arrow {
  color: var(--accent);
}

.closing-seo-note {
  margin: 36px 0 0;
  max-width: 760px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--fg-muted);
}

/* Footer */
.site-footer {
  max-width: var(--container);
  margin: 0 auto;
  padding: 24px 24px 44px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  font-size: 12.5px;
  color: var(--fg-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
}

.footer-links a {
  color: var(--fg-sec);
  transition: color 140ms ease;
}

.footer-links a:hover {
  color: var(--fg);
}

/* ========================================================================== */
/* Responsive Breakpoints                                                     */
/* ========================================================================== */
@media (max-width: 960px) {
  .mobile-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .phone-card.is-featured {
    transform: none;
  }
  .cap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cap-item:nth-child(3n) {
    border-right: 1px solid var(--border);
    padding-right: 24px;
  }
  .cap-item:nth-child(3n + 2),
  .cap-item:nth-child(3n) {
    padding-left: 0;
  }
  .cap-item:nth-child(2n) {
    border-right: 0;
    padding-left: 24px;
    padding-right: 0;
  }
  .arch-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .arch-item {
    border-bottom: 1px solid var(--border);
  }
  .arch-item:nth-child(2n) {
    border-right: 0;
    padding-right: 0;
  }
  .arch-item:nth-child(2n + 1) {
    padding-left: 0;
  }
  .arch-item:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
}

@media (max-width: 768px) {
  .site-header-inner {
    height: auto;
    padding: 12px 16px;
    flex-wrap: wrap;
    gap: 10px 12px;
  }
  .site-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 2px;
  }
  .site-nav::-webkit-scrollbar {
    display: none;
  }
  .home-main {
    padding: 0 16px;
  }
  .hero {
    padding: 40px 0 28px;
  }
  .install-shell {
    padding: 8px 10px 8px 12px;
  }
  .install-shell-android {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px;
  }
  .install-android-actions {
    width: 100%;
  }
  .showcase-section {
    padding: 8px 0 48px;
  }
  .showcase-bar {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }
  .showcase-bar::-webkit-scrollbar {
    display: none;
  }
  .mobile-phones {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    padding: 4px 2px 8px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .mobile-phones::-webkit-scrollbar {
    display: none;
  }
  .phone-card {
    flex: 0 0 220px;
    scroll-snap-align: start;
  }
  .band {
    padding: 44px 0;
  }
  .cap-grid {
    grid-template-columns: 1fr;
  }
  .cap-item,
  .cap-item:nth-child(2n),
  .cap-item:nth-child(3n),
  .cap-item:nth-child(3n + 2) {
    border-right: 0;
    padding: 20px 0;
  }
  .arch-grid {
    grid-template-columns: 1fr;
  }
  .arch-item,
  .arch-item:not(:first-child),
  .arch-item:nth-child(2n) {
    border-right: 0;
    border-bottom: 1px solid var(--border);
    padding: 18px 0;
  }
  .arch-item:last-child {
    border-bottom: 0;
  }
  .closing-section {
    padding: 48px 0 40px;
  }
  .closing-guides {
    grid-template-columns: 1fr;
  }
  .site-footer {
    padding: 20px 16px 36px;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 400px) {
  .star-label {
    display: none;
  }
  .install-cmd {
    font-size: 12px;
  }
}
