:root {
  color-scheme: light;
  --bg: #ffffff;
  --sidebar: #f7f8f7;
  --surface: #ffffff;
  --surface-subtle: #f7f8f7;
  --text: #1d2420;
  --muted: #69736d;
  --faint: #8d9690;
  --line: #e1e5e2;
  --line-strong: #cfd5d1;
  --brand: #079447;
  --brand-soft: #e9f7ef;
  --warning-bg: #fff9e8;
  --warning-line: #ead28a;
  --code-bg: #f2f4f3;
  --header-height: 58px;
  --sidebar-width: 264px;
  --toc-width: 220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "BIZ UDPGothic", "Yu Gothic UI", "Yu Gothic", "Hiragino Sans", sans-serif;
  font-size: 15px;
  line-height: 1.72;
  overflow-x: hidden;
}

a {
  color: var(--brand);
}

button,
input {
  font: inherit;
}

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-height);
  display: grid;
  grid-template-columns: var(--sidebar-width) minmax(200px, 520px) auto auto;
  align-items: center;
  gap: 18px;
  padding: 0 24px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: var(--text);
  font-weight: 750;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand img {
  border-radius: 7px;
}

.menu-button {
  display: none;
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  border-radius: 6px;
  cursor: pointer;
}

.search-wrap {
  position: relative;
  min-width: 0;
}

.search-box {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 10px;
  background: var(--surface-subtle);
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--faint);
}

.search-box:focus-within {
  background: var(--surface);
  border-color: #a9cbb8;
  box-shadow: 0 0 0 3px var(--brand-soft);
}

.search-box input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
}

.search-box kbd {
  padding: 0 6px;
  border: 1px solid var(--line-strong);
  border-bottom-width: 2px;
  border-radius: 5px;
  background: var(--surface);
  color: var(--faint);
  font-size: 11px;
  line-height: 20px;
}

.search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  max-height: min(520px, calc(100vh - 88px));
  overflow: auto;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 9px;
  box-shadow: 0 16px 40px rgba(30, 43, 35, 0.12);
}

.search-result {
  display: grid;
  gap: 2px;
  padding: 9px 10px;
  border-radius: 6px;
  color: var(--text);
  text-decoration: none;
}

.search-result:hover,
.search-result:focus-visible {
  background: var(--surface-subtle);
  outline: none;
}

.search-result small {
  color: var(--muted);
}

.search-empty {
  margin: 0;
  padding: 14px;
  color: var(--muted);
}

.lang-switch {
  position: relative;
  width: fit-content;
  justify-self: end;
}

.lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface-subtle);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.lang-trigger:hover {
  border-color: var(--line-strong);
}

.lang-trigger:focus-visible {
  outline: none;
  border-color: #a9cbb8;
  box-shadow: 0 0 0 3px var(--brand-soft);
}

.lang-trigger[aria-expanded="true"] {
  border-color: var(--line-strong);
  background: var(--surface);
}

.lang-trigger-chevron {
  width: 7px;
  height: 7px;
  margin-top: -3px;
  border-right: 1.5px solid var(--faint);
  border-bottom: 1.5px solid var(--faint);
  transform: rotate(45deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 60;
  min-width: 128px;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 9px;
  box-shadow: 0 16px 40px rgba(30, 43, 35, 0.12);
}

.lang-option {
  display: block;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.lang-option:hover,
.lang-option:focus-visible {
  background: var(--surface-subtle);
  outline: none;
}

.lang-option.active {
  background: var(--brand-soft);
  color: var(--brand);
}

.top-links {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
}

.top-links a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.top-links a:hover {
  color: var(--text);
}

.docs-layout {
  display: grid;
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr) var(--toc-width);
  min-height: 100vh;
  padding-top: var(--header-height);
}

.sidebar {
  position: fixed;
  top: var(--header-height);
  bottom: 0;
  left: 0;
  z-index: 30;
  width: var(--sidebar-width);
  display: flex;
  flex-direction: column;
  background: var(--sidebar);
  border-right: 1px solid var(--line);
}

.sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: 22px 18px 28px;
}

.nav-label {
  margin: 22px 10px 7px;
  color: var(--faint);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-label:first-child {
  margin-top: 0;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
  margin: 1px 0;
  padding: 6px 10px;
  border-radius: 6px;
  color: #4d5751;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.sidebar-nav a:hover {
  background: #eef1ef;
  color: var(--text);
}

.sidebar-nav a.active {
  background: var(--brand-soft);
  color: #076d37;
}

.nav-count {
  color: var(--faint);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.sidebar-footer {
  display: grid;
  gap: 2px;
  padding: 14px 20px 18px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 11px;
}

.sidebar-backdrop {
  display: none;
}

.content {
  grid-column: 2;
  min-width: 0;
  width: min(860px, calc(100% - 64px));
  margin: 0 auto;
  padding: 54px 0 96px;
  outline: none;
}

.doc-article {
  min-width: 0;
  width: 100%;
}

.doc-article p,
.doc-article li,
.doc-article td,
.category-intro,
.feature-body {
  overflow-wrap: anywhere;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

h1,
h2,
h3 {
  color: var(--text);
  line-height: 1.3;
  letter-spacing: -0.025em;
}

h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 790;
}

h2 {
  margin: 48px 0 12px;
  padding-top: 6px;
  font-size: 22px;
  font-weight: 760;
}

h3 {
  margin: 30px 0 8px;
  font-size: 17px;
  font-weight: 720;
}

.lead {
  max-width: 720px;
  margin: 14px 0 0;
  color: #4f5b54;
  font-size: 17px;
}

.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.doc-article p,
.doc-article li {
  max-width: 760px;
}

.doc-article ul,
.doc-article ol {
  padding-left: 22px;
}

.doc-article li + li {
  margin-top: 5px;
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 8px;
}

.quick-link {
  min-height: 118px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
}

.quick-link:hover {
  border-color: #b8c7be;
  background: #fbfcfb;
}

.quick-link strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
}

.quick-link span {
  color: var(--muted);
  font-size: 13px;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0 8px;
}

.pricing-card {
  display: block;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
}

.pricing-card:hover {
  border-color: var(--brand);
  background: var(--brand-soft);
}

.pricing-card-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.pricing-card-price {
  font-size: 24px;
  font-weight: 800;
  color: var(--brand);
}

.callout {
  margin: 24px 0;
  padding: 14px 16px;
  border: 1px solid #cfe5d8;
  border-radius: 7px;
  background: #f4fbf7;
}

.callout.warning {
  border-color: var(--warning-line);
  background: var(--warning-bg);
}

.callout strong {
  display: block;
  margin-bottom: 3px;
}

.callout p {
  margin: 0;
  color: #4f5b54;
}

.screenshot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 290px);
  gap: 26px;
  align-items: start;
  margin: 28px 0;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.screenshot img {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.screenshot figcaption {
  color: var(--muted);
  font-size: 13px;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 18px 0 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

th,
td {
  padding: 11px 13px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--surface-subtle);
  color: #465149;
  font-weight: 750;
}

tr:last-child td {
  border-bottom: 0;
}

code {
  padding: 2px 5px;
  border-radius: 4px;
  background: var(--code-bg);
  color: #364039;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.9em;
}

.category-intro {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
  margin-top: 14px;
  color: var(--muted);
}

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

.feature-list {
  border-top: 1px solid var(--line);
}

.feature-item {
  border-bottom: 1px solid var(--line);
}

.feature-item summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 14px 4px;
  cursor: pointer;
  list-style: none;
}

.feature-item summary::-webkit-details-marker {
  display: none;
}

.feature-item summary::before {
  content: "›";
  grid-column: 1;
  grid-row: 1;
  width: 16px;
  margin-left: -20px;
  color: var(--faint);
  transform-origin: 50% 50%;
  transition: transform 140ms ease;
}

.feature-item[open] summary::before {
  transform: rotate(90deg);
}

.feature-title {
  grid-column: 1;
  grid-row: 1;
  font-weight: 700;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  padding: 2px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-subtle);
  color: #59645d;
  font-size: 10px;
  font-weight: 750;
  white-space: nowrap;
}

.badge.free {
  border-color: #c7e4d2;
  background: #eff9f3;
  color: #176c3d;
}

.badge.unlock {
  border-color: #d8d2e7;
  background: #f7f4fb;
  color: #675581;
}

.feature-body {
  padding: 0 4px 18px;
  color: #4f5a53;
}

.feature-body p {
  margin: 0 0 12px;
}

.feature-meta {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 12px;
  margin: 0;
  font-size: 12px;
}

.feature-meta dt {
  color: var(--faint);
}

.feature-meta dd {
  margin: 0;
}

.feature-item.targeted {
  margin-inline: -12px;
  padding-inline: 12px;
  background: #fbfdfb;
}

.toc {
  position: fixed;
  top: calc(var(--header-height) + 50px);
  right: 0;
  width: var(--toc-width);
  max-height: calc(100vh - var(--header-height) - 80px);
  overflow: auto;
  padding: 0 24px 20px 14px;
  color: var(--muted);
  font-size: 12px;
}

.toc-title {
  margin: 0 0 8px;
  color: var(--text);
  font-weight: 750;
}

.toc a {
  display: block;
  padding: 4px 0;
  color: var(--muted);
  text-decoration: none;
}

.toc a:hover {
  color: var(--text);
}

.toc a.toc-h3 {
  padding-left: 10px;
}

.external-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}

.external-actions a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 7px 14px 7px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: var(--text);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.external-actions a svg {
  flex-shrink: 0;
}

.external-actions a:hover {
  background: var(--surface-subtle);
}

.noscript {
  position: fixed;
  inset: 70px 16px auto;
  z-index: 100;
  padding: 14px;
  background: var(--warning-bg);
  border: 1px solid var(--warning-line);
}

/* The root page is intentionally a compact LP. Hash routes keep the existing docs/wiki shell. */
body.landing-mode {
  background: #f5faf7;
}

body.landing-mode .topbar,
body.landing-mode .sidebar,
body.landing-mode .sidebar-backdrop,
body.landing-mode .toc {
  display: none;
}

body.landing-mode .docs-layout {
  display: block;
  min-height: 100vh;
  padding-top: 0;
}

body.landing-mode .content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.landing-page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 0 clamp(24px, 5vw, 72px);
  background: #f5faf7;
}

.landing-page::before {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: min(36vw, 560px);
  background: #eaf7ef;
  border-left: 1px solid #d9eee1;
}

.landing-header,
.landing-hero,
.landing-footer {
  position: relative;
  z-index: 1;
  width: min(1280px, 100%);
  margin-inline: auto;
}

.landing-header {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.landing-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #17231b;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.landing-brand img {
  border-radius: 9px;
}

.landing-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.landing-nav a {
  color: #425048;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.landing-nav .landing-nav-docs {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid #b9d5c4;
  border-radius: 7px;
  color: #116c3b;
  background: rgba(255, 255, 255, 0.72);
}

.landing-hero {
  min-height: calc(100vh - 170px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 450px);
  align-items: center;
  gap: clamp(48px, 8vw, 120px);
  padding: clamp(44px, 7vh, 84px) 0 80px;
}

.landing-copy {
  max-width: 710px;
}

.landing-kicker {
  margin: 0 0 18px;
  color: #08753b;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.landing-page h1 {
  max-width: 10ch;
  margin: 0;
  color: #142019;
  font-size: clamp(52px, 7vw, 92px);
  font-weight: 860;
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.landing-lead {
  max-width: 650px;
  margin: 28px 0 0;
  color: #49574f;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.75;
}

.landing-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 34px;
}

.landing-actions a {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 760;
  text-decoration: none;
}

.landing-primary {
  background: #079447;
  color: #f6fff9;
}

.landing-primary:hover {
  background: #077a3e;
}

.landing-secondary {
  border: 1px solid #cedbd3;
  color: #2f3c34;
  background: rgba(255, 255, 255, 0.68);
}

.landing-meta {
  margin: 18px 0 0;
  color: #728078;
  font-size: 12px;
}

.landing-showcase {
  position: absolute;
  top: 50%;
  right: calc((100% - 100vw) / 2);
  width: min(36vw, 560px);
  margin: 0;
  transform: translateY(-50%);
}

.landing-icon-wrap {
  width: min(300px, 72%);
  aspect-ratio: 1;
  margin-inline: auto;
  overflow: hidden;
  border-radius: 28%;
  background: #06c755;
  box-shadow: 0 32px 80px rgba(7, 122, 62, 0.22);
}

.landing-icon-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.landing-footer {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid #dce9e1;
  color: #758178;
  font-size: 11px;
}

.landing-footer > span {
  color: #405047;
  font-weight: 800;
}

.landing-footer p {
  margin: 0;
  text-align: right;
}

.source-url-box {
  display: grid;
  gap: 7px;
  margin: 20px 0 24px;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-subtle);
}

.source-url-box > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

.source-url-box code {
  width: fit-content;
  max-width: 100%;
  overflow-wrap: anywhere;
  background: transparent;
  padding: 0;
}

.bulk-filter-list,
.regex-list {
  margin: 18px 0 28px;
}

.bulk-filter-list .regex-block + .regex-block {
  margin-top: 12px;
}

.regex-block {
  min-width: 0;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfb;
}

.regex-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 9px;
}

.regex-block-head strong {
  min-width: 0;
  font-size: 13px;
}

.copy-regex {
  flex-shrink: 0;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--surface);
  color: #465149;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.copy-regex:hover {
  border-color: #9eb9a8;
  color: #126b3c;
}

.regex-block pre {
  max-width: 100%;
  margin: 0;
  padding: 12px 13px;
  overflow-x: auto;
  border-radius: 6px;
  background: #f0f3f1;
  line-height: 1.55;
}

.regex-block pre code {
  padding: 0;
  background: transparent;
  white-space: pre;
}

.regex-example {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
}

.regex-example span {
  font-weight: 700;
}

.regex-example code {
  overflow-wrap: anywhere;
}

.regex-list {
  border-top: 1px solid var(--line);
}

.regex-item {
  border-bottom: 1px solid var(--line);
}

.regex-item > summary {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 9px 4px;
  cursor: pointer;
  list-style: none;
}

.regex-item > summary::-webkit-details-marker {
  display: none;
}

.regex-item > summary > span {
  color: var(--faint);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.regex-item > summary > strong {
  font-size: 13px;
}

.regex-item[open] > summary > strong {
  color: #126b3c;
}

.regex-item-body {
  padding: 0 0 16px 36px;
}

.asset-spelling-note {
  margin: 20px 0;
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 1100px) {
  :root {
    --toc-width: 0px;
  }

  .docs-layout {
    grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
  }

  .toc {
    display: none;
  }
}

@media (max-width: 900px) {
  .landing-page::before {
    width: 34vw;
  }

  .landing-showcase {
    width: 34vw;
  }

  .landing-hero {
    grid-template-columns: minmax(0, 1fr) minmax(250px, 340px);
    gap: 40px;
  }

  .landing-page h1 {
    font-size: clamp(50px, 8vw, 72px);
  }
}

@media (max-width: 780px) {
  .topbar {
    grid-template-columns: auto auto minmax(0, 1fr) auto;
    gap: 10px;
    padding: 0 12px;
  }

  .lang-trigger {
    padding: 0 6px;
    font-size: 12px;
  }

  .lang-trigger-label {
    max-width: 44px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .menu-button {
    display: inline-grid;
    place-items: center;
  }

  .brand span,
  .top-links {
    display: none;
  }

  .search-box kbd {
    display: none;
  }

  .docs-layout {
    display: block;
  }

  .sidebar {
    transform: translateX(-100%);
    transition: transform 180ms ease;
  }

  body.nav-open .sidebar {
    transform: translateX(0);
  }

  .sidebar-backdrop {
    position: fixed;
    inset: var(--header-height) 0 0 0;
    z-index: 20;
    width: 100%;
    height: calc(100vh - var(--header-height));
    border: 0;
    background: rgba(22, 30, 25, 0.32);
  }

  body.nav-open .sidebar-backdrop {
    display: block;
  }

  .content {
    width: min(calc(100% - 32px), 760px);
    padding-top: 36px;
  }

  .quick-links {
    grid-template-columns: 1fr;
  }

  .pricing-cards {
    grid-template-columns: 1fr;
  }

  .screenshot {
    grid-template-columns: 1fr;
  }

  .screenshot img {
    max-width: 320px;
  }

  .feature-item summary {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .badges {
    grid-column: 1;
    justify-content: flex-start;
  }

  .landing-page {
    padding-inline: 20px;
  }

  .landing-page::before {
    inset: auto 0 0;
    width: 100%;
    height: 42%;
    border-top: 1px solid #d9eee1;
    border-left: 0;
  }

  .landing-header {
    min-height: 76px;
  }

  .landing-nav {
    gap: 14px;
  }

  .landing-nav > a:first-child {
    display: none;
  }

  .landing-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 54px 0 64px;
  }

  .landing-showcase {
    position: static;
    width: 100%;
    transform: none;
  }

  .landing-page h1 {
    max-width: 9ch;
    font-size: clamp(48px, 15vw, 68px);
  }

  .landing-lead {
    margin-top: 22px;
  }

  .landing-icon-wrap {
    margin-inline: auto;
  }

  .landing-icon-wrap {
    width: min(240px, 64vw);
  }

  .landing-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 18px 0;
  }

  .landing-footer p {
    text-align: left;
  }

  .regex-item-body {
    padding-left: 0;
  }

  .regex-block-head {
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
