:root {
  --bg: #f7f8fb;
  --bg-2: #eef3f8;
  --surface: rgba(255, 255, 255, 0.86);
  --border: rgba(15, 23, 42, 0.1);
  --text: #122033;
  --muted: #526275;
  --muted-2: #6c7c90;
  --accent: #0c5d7f;
  --accent-2: #0a4864;
  --accent-soft: #8dd8d5;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 18px 42px -34px rgba(15, 23, 42, 0.24);
  --radius: 14px;
  --shell: min(1120px, calc(100% - 2.4rem));
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--text);
  line-height: 1.5;
  background:
    radial-gradient(860px 500px at 62% 16%, rgba(141, 216, 213, 0.14) 0%, rgba(255, 255, 255, 0) 66%),
    radial-gradient(980px 640px at 16% 72%, rgba(12, 93, 127, 0.08) 0%, rgba(255, 255, 255, 0) 70%),
    linear-gradient(180deg, #ffffff 0%, var(--bg-2) 54%, var(--bg) 100%);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(15, 23, 42, 0.016), rgba(15, 23, 42, 0.016) 1px, transparent 1px, transparent 24px),
    repeating-linear-gradient(90deg, rgba(15, 23, 42, 0.013), rgba(15, 23, 42, 0.013) 1px, transparent 1px, transparent 30px);
  opacity: 0.28;
  z-index: -1;
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: var(--accent-2);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.14em;
}

a:hover,
a:focus-visible {
  text-decoration-color: rgba(12, 93, 127, 0.4);
}

.shell {
  width: var(--shell);
  margin: 0 auto;
}

.banner {
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  background:
    radial-gradient(740px 220px at 65% 40%, rgba(141, 216, 213, 0.16) 0%, rgba(255, 255, 255, 0) 60%),
    rgba(255, 255, 255, 0.8);
  backdrop-filter: saturate(160%) blur(10px);
}

.banner__inner {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
}

.brand,
.banner-link {
  font-weight: 600;
  letter-spacing: 0;
  font-size: 0.94rem;
  color: inherit;
  text-decoration: none;
}

.banner-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0.36rem 0.68rem;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 12px 24px -20px rgba(15, 23, 42, 0.16);
}

.banner-link--primary {
  border-color: rgba(10, 79, 115, 0.24);
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #fff;
}

.banner-link:hover,
.banner-link:focus-visible {
  box-shadow: 0 16px 28px -22px rgba(15, 23, 42, 0.22);
}

.banner__actions {
  display: flex;
  align-items: center;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0.6rem;
  white-space: nowrap;
}

.banner__actions > * {
  flex: 0 0 auto;
}

.banner__actions .overlay-host {
  display: inline-flex;
  align-items: center;
}

.icon-pill {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
  margin-left: auto;
}

.icon-pill svg {
  width: 18px;
  height: 18px;
  fill: #0f172a;
}

.icon-pill:hover,
.icon-pill:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px -26px rgba(15, 23, 42, 0.24);
}

main {
  padding: 0 0 1.4rem;
}

.hero {
  padding: 2.1rem 0 1.3rem;
}

.hero__copy {
  max-width: 76rem;
}

.hero h1,
.feature-card h2,
.open-source h2 {
  margin: 0;
  font-family: inherit;
}

.hero h1 {
  max-width: none;
  font-size: clamp(1.85rem, 1.35vw + 1rem, 2.55rem);
  line-height: 1.08;
  letter-spacing: -0.018em;
  font-weight: 650;
}

.hero__name {
  color: var(--accent-2);
}

.hero__tagline {
  max-width: 70ch;
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
  letter-spacing: 0;
  font-weight: 400;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.05rem;
}

.preview-notice {
  margin: 1rem 0 0;
  padding: 0.75rem 0.9rem;
  border-left: 3px solid rgba(10, 79, 115, 0.34);
  border-radius: 8px;
  background: rgba(141, 216, 213, 0.1);
  color: #26384e;
  font-size: 0.92rem;
}

.hero__summary {
  max-width: 70ch;
  margin: 0.95rem 0 0;
  font-size: 0.98rem;
  color: var(--muted);
}

.screenshot-block {
  padding: 0 0 1.65rem;
}

.screenshot-frame {
  margin: 0;
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background:
    radial-gradient(120% 100% at 14% 0%, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0) 62%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.92), var(--surface));
  box-shadow: var(--shadow);
}

.screenshot-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(250px, 1fr));
  gap: 1.25rem;
  padding: 0 0 1.6rem;
}

.feature-card,
.open-source {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background:
    radial-gradient(120% 100% at 16% 0%, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0) 64%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.9), var(--surface));
  box-shadow: var(--shadow);
}

.feature-card {
  padding: 1.35rem 1.4rem 1.45rem;
}

.feature-card h2 {
  font-size: 0.98rem;
  line-height: 1.28;
  letter-spacing: -0.006em;
  font-weight: 600;
  color: #233449;
}

.feature-card p {
  margin: 0.95rem 0 0;
  color: var(--muted);
}


.open-source {
  padding: 1.45rem 1.5rem 1.55rem;
  margin-bottom: 1.15rem;
}

.open-source h2 {
  font-size: 0.98rem;
  line-height: 1.28;
  letter-spacing: -0.006em;
  font-weight: 600;
  color: #233449;
}

.open-source p {
  margin: 0.95rem 0 0;
  color: var(--muted);
}

.policy-page ul {
  margin: 0.4rem 0 0.8rem 1.15rem;
  padding: 0;
  color: var(--muted);
}

.policy-page li + li {
  margin-top: 0.35rem;
}

.disclaimer-text {
  padding: 0 0 1rem;
}

.disclaimer-text p {
  margin: 0;
  max-width: 88rem;
  color: var(--muted-2);
  font-size: 0.92rem;
}

.overlay-host {
  position: relative;
  isolation: isolate;
}

.overlay-host.is-open,
.overlay-host:hover,
.overlay-host:focus-within {
  z-index: 200000;
}

.notice__overlay {
  position: absolute;
  top: calc(100% + 0.65rem);
  left: 0;
  width: min(58rem, calc(100vw - 2rem));
  max-height: min(78vh, 42rem);
  overflow: auto;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.16);
  background:
    radial-gradient(180% 140% at 10% 0%, rgba(141, 216, 213, 0.1) 0%, rgba(255, 255, 255, 0) 50%),
    rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
  padding: 0.95rem 1rem;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
  z-index: 300000;
}

.notice__overlay--up {
  top: auto;
  bottom: calc(100% + 0.65rem);
  transform: translateY(-8px);
}

.overlay-host.is-open .notice__overlay {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.notice__overlay p {
  margin: 0 0 0.55rem;
  color: #203149;
  font-size: 0.9rem;
}

.notice__overlay h3 {
  margin: 0.65rem 0 0.3rem;
  font-size: 0.9rem;
  color: #18273c;
}

.notice__overlay ul {
  margin: 0 0 0.55rem;
  padding-left: 1.08rem;
  color: #2b3f5b;
  font-size: 0.88rem;
  display: grid;
  gap: 0.34rem;
}

.notice__code {
  margin: 0.25rem 0 0;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(248, 250, 253, 0.94);
  color: #203149;
  font-size: 0.8rem;
  line-height: 1.45;
  overflow: auto;
  white-space: pre;
}

.btn--copy {
  margin-top: 0.15rem;
  margin-bottom: 0.2rem;
}

.footer {
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  background:
    radial-gradient(740px 220px at 35% 30%, rgba(10, 79, 115, 0.06) 0%, rgba(255, 255, 255, 0) 60%),
    rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(160%) blur(10px);
}

.footer__inner {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.75rem 0;
  color: var(--muted-2);
}

.footer__actions {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.footer__policy {
  position: relative;
  display: inline-flex;
  justify-content: flex-end;
}

.footer__policy .notice__overlay {
  right: 0;
  left: auto;
  width: min(58rem, calc(100vw - 2rem));
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0.38rem 0.72rem;
  border-radius: 10px;
  border: 1px solid rgba(10, 79, 115, 0.26);
  background: linear-gradient(135deg, var(--accent-2) 0%, var(--accent) 100%);
  color: #fff;
  font-weight: 600;
  font-size: 0.86rem;
  text-decoration: none;
  box-shadow: 0 12px 24px -20px rgba(10, 79, 115, 0.48);
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.btn--secondary {
  background: rgba(255, 255, 255, 0.86);
  color: var(--accent-2);
  box-shadow: none;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px -22px rgba(10, 79, 115, 0.56);
}

.manual-landing {
  padding: 0 0 2rem;
}

.manual-index-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(230px, 1fr));
  gap: 1rem;
  padding: 0 0 1.6rem;
}

.manual-index-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.1rem 1.15rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  color: inherit;
  text-decoration: none;
  box-shadow: var(--shadow);
}

.manual-index-card:hover,
.manual-index-card:focus-visible {
  border-color: rgba(10, 79, 115, 0.28);
  box-shadow: 0 24px 52px -38px rgba(10, 79, 115, 0.38);
}

.manual-index-card h2 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.25;
}

.manual-index-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.manual-shell {
  width: min(1360px, calc(100% - 2.4rem));
  margin: 0 auto;
  padding: 1.2rem 0 2.2rem;
}

.manual-layout {
  display: grid;
  grid-template-columns: minmax(170px, 210px) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.manual-nav {
  position: sticky;
  top: 74px;
  max-height: calc(100vh - 92px);
  overflow: auto;
  padding: 0.58rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 40px -36px rgba(15, 23, 42, 0.2);
}

.manual-nav__title {
  display: block;
  margin: 0 0 0.55rem;
  color: var(--muted-2);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.manual-nav a {
  display: block;
  padding: 0.32rem 0.42rem;
  border-radius: 8px;
  color: #203149;
  font-size: 0.86rem;
  line-height: 1.25;
  text-decoration: none;
}

.manual-nav a + a {
  margin-top: 0.12rem;
}

.manual-nav a[aria-current="page"] {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #fff;
  font-weight: 600;
}

.manual-article {
  min-width: 0;
  padding: 1.2rem 1.3rem 1.4rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 40px -36px rgba(15, 23, 42, 0.2);
}

.manual-article--wide {
  max-width: 100%;
}

.manual-article header {
  margin-bottom: 1.25rem;
}

.manual-article h1 {
  margin: 0;
  font-size: clamp(1.36rem, 0.72vw + 1rem, 1.78rem);
  line-height: 1.18;
  letter-spacing: -0.006em;
  font-weight: 640;
}

.manual-article h2 {
  margin: 1.55rem 0 0.55rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(15, 23, 42, 0.09);
  font-size: 1.02rem;
  line-height: 1.25;
  font-weight: 620;
}

.manual-article h3 {
  margin: 1rem 0 0.3rem;
  font-size: 0.96rem;
  line-height: 1.3;
  font-weight: 600;
}

.manual-article p {
  margin: 0.55rem 0 0;
  color: var(--muted);
}

.manual-article ul,
.manual-article ol {
  margin: 0.55rem 0 0;
  padding-left: 1.25rem;
  color: var(--muted);
}

.manual-article li + li {
  margin-top: 0.32rem;
}

.manual-lede {
  max-width: 78ch;
  font-size: 0.98rem;
  color: var(--muted);
}

.manual-function-grid {
  display: block;
  margin-top: 0.9rem;
  border-top: 1px solid rgba(15, 23, 42, 0.1);
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
}

.manual-function {
  display: grid;
  grid-template-columns: minmax(9rem, 0.28fr) minmax(0, 1fr);
  gap: 1rem;
  padding: 0.72rem 0.1rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.manual-function:first-child {
  border-top: 0;
}

.manual-function h3,
.manual-function p {
  margin: 0;
}

.manual-function h3 {
  color: #203149;
  font-size: 0.92rem;
  font-weight: 600;
}

.manual-callout {
  margin-top: 1rem;
  padding: 0.75rem 0.95rem;
  border-left: 4px solid rgba(10, 79, 115, 0.32);
  border-radius: 8px;
  background: rgba(141, 216, 213, 0.1);
  color: #203149;
}

.manual-callout--warning {
  border-color: rgba(180, 107, 0, 0.34);
  border-left-color: rgba(180, 107, 0, 0.78);
  background:
    linear-gradient(180deg, rgba(255, 247, 198, 0.94), rgba(255, 239, 168, 0.66));
  box-shadow: inset 0 0 0 1px rgba(180, 107, 0, 0.08);
}

.manual-install-steps {
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: install-step;
}

.manual-install-steps > li {
  counter-increment: install-step;
  position: relative;
  padding-left: 2.7rem;
}

.manual-install-steps > li + li {
  margin-top: 1.5rem;
}

.manual-install-steps > li::before {
  content: counter(install-step);
  position: absolute;
  left: 0;
  top: 0.78rem;
  display: grid;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 999px;
  background: #0c5d7f;
  color: #fff;
  font-weight: 650;
  font-size: 0.86rem;
  line-height: 1;
}

.manual-install-steps h2 {
  margin-top: 0;
}

.download-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 0.85rem;
  margin-top: 0.95rem;
}

.release-card {
  min-width: 0;
  padding: 0.95rem;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.82);
}

.release-card--wide {
  grid-column: 1 / -1;
}

.release-card h3 {
  margin-top: 0;
}

.release-card__empty {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  color: var(--muted-2);
}

.release-archive {
  padding: 0;
}

.release-archive summary {
  position: relative;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.72rem 0.95rem;
  cursor: pointer;
  color: #203149;
  font-weight: 650;
  list-style: none;
}

.release-archive summary::-webkit-details-marker {
  display: none;
}

.release-archive summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  border: 1px solid rgba(10, 79, 115, 0.24);
  color: var(--accent-2);
  font-weight: 700;
  line-height: 1;
  flex: 0 0 auto;
}

.release-archive[open] summary::after {
  content: "-";
}

.release-archive__hint {
  margin-left: auto;
  color: var(--muted-2);
  font-size: 0.86rem;
  font-weight: 500;
}

.release-archive__body {
  padding: 0 0.95rem 0.82rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.release-archive__link {
  margin-top: 0.62rem;
}

.release-list {
  max-height: 11rem;
  overflow: auto;
  margin: 0.65rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.release-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
  padding: 0.48rem 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.release-list span {
  color: var(--muted-2);
  font-size: 0.86rem;
  white-space: nowrap;
}

.code-block {
  margin-top: 0.8rem;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(248, 250, 253, 0.94);
  overflow: hidden;
}

.code-block__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.52rem 0.7rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  color: #203149;
  font-size: 0.84rem;
  font-weight: 600;
}

.code-block__copy {
  min-height: 28px;
  padding: 0.2rem 0.52rem;
  border-radius: 7px;
  border: 1px solid rgba(10, 79, 115, 0.2);
  background: rgba(255, 255, 255, 0.88);
  color: var(--accent-2);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.prompt-box {
  display: block;
  max-width: 100%;
  max-height: 22rem;
  margin: 0;
  padding: 0.78rem 0.85rem;
  overflow: auto;
  white-space: pre;
  color: #203149;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.78rem;
  line-height: 1.45;
}

.prompt-box code {
  font: inherit;
  white-space: inherit;
}

.manual-callout p {
  color: #203149;
}

.manual-screenshot {
  margin: 1rem 0 0;
  padding: 0.75rem;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(248, 250, 253, 0.9);
}

.manual-screenshot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 9px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
}

.manual-screenshot--small {
  width: fit-content;
  max-width: min(100%, 36rem);
}

.manual-screenshot--small img {
  width: auto;
  max-width: 100%;
}

.manual-screenshot figcaption {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.install-media-step {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(9rem, 16rem);
  align-items: start;
  gap: 1rem;
  margin-top: 0.72rem;
  padding: 0.82rem 0.9rem;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(248, 250, 253, 0.74);
}

.install-media-step--narrow {
  grid-template-columns: minmax(0, 1fr) minmax(7rem, 12rem);
}

.install-media-step__copy p:first-child {
  margin-top: 0;
}

.install-media-step .manual-screenshot {
  justify-self: end;
  margin: 0;
  padding: 0.42rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.76);
}

.manual-screenshot--thumbnail {
  width: auto;
  max-width: 100%;
}

.manual-screenshot--thumbnail img {
  width: auto;
  max-width: 100%;
  max-height: 12rem;
  object-fit: contain;
}

.install-media-step--narrow .manual-screenshot--thumbnail img {
  max-height: 15rem;
}

.manual-screenshot--thumbnail figcaption {
  font-size: 0.78rem;
}

.manual-screenshot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 0.85rem;
  margin-top: 0.85rem;
}

.manual-next {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(15, 23, 42, 0.09);
}

.manual-next a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.42rem 0.76rem;
  border-radius: 10px;
  border: 1px solid rgba(10, 79, 115, 0.22);
  background: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-weight: 600;
}

@media (max-width: 980px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .manual-index-grid,
  .manual-screenshot-grid,
  .download-panel {
    grid-template-columns: 1fr;
  }

  .manual-layout {
    grid-template-columns: 1fr;
  }

  .install-media-step,
  .install-media-step--narrow {
    grid-template-columns: 1fr;
  }

  .install-media-step .manual-screenshot {
    justify-self: start;
  }

  .manual-nav {
    position: static;
    max-height: none;
  }
}

@media (max-width: 820px) {
  .hero {
    padding-top: 2.3rem;
  }

  .hero h1 {
    font-size: clamp(1.65rem, 5vw, 2.2rem);
  }

  .hero__tagline {
    max-width: 100%;
    font-size: 0.96rem;
  }

  .banner__actions {
    flex-wrap: nowrap;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .footer__policy .notice__overlay {
    left: 0;
    right: auto;
    width: min(100vw - 1rem, 58rem);
  }
}

@media (max-width: 560px) {
  :root {
    --shell: min(100% - 1rem, 100%);
  }

  .brand {
    font-size: 1.08rem;
  }

  .screenshot-frame,
  .feature-card,
  .open-source {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero__summary,
  .feature-card p,
  .open-source p,
  .disclaimer-text p,
  .manual-article p,
  .manual-article li {
    font-size: 0.95rem;
  }

  .manual-function {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .manual-shell {
    width: min(100% - 1rem, 100%);
  }

  .manual-article {
    padding: 1rem;
  }

  .release-archive summary {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.18rem;
  }

  .release-archive summary::after {
    position: absolute;
    right: 0.85rem;
    top: 0.75rem;
  }

  .release-archive__hint {
    margin-left: 0;
    padding-right: 2rem;
  }

  .release-list li {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.2rem;
  }

  .release-list span {
    white-space: normal;
  }
}
