@font-face {
  font-family: "Inter";
  src: url("../Inter-VariableFont_opsz,wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --bg-strong: #ffffff;
  --surface: #ffffff;
  --surface-strong: #ffffff;
  --line: #000000;
  --line-strong: #000000;
  --text: #000000;
  --muted: #000000;
  --accent: #000000;
  --accent-soft: #ffffff;
  --highlight: #000000;
  --shadow: none;
  --radius: 0;
  --content-width: min(1480px, calc(100vw - (var(--shell-padding-x) * 2)));
  --shell-padding-x: 48px;
  --shell-padding-top: 24px;
  --shell-padding-bottom: 32px;
  --header-logo-width: 54px;
  --header-brand-width: 440px;
  --header-brand-gap: 16px;
  --header-title-size: 15px;
  --header-title-line-height: 1.32;
  --header-group-gap: 24px;
  --header-links-gap: 18px;
  --header-search-width: 480px;
  --header-links-width: 184px;
  --header-search-height: 50px;
  --header-height: 82px;
  --header-link-size: 16px;
  --footer-copy-size: 16px;
  --footer-min-height: 44px;
  --font-main: "Inter", "Segoe UI", sans-serif;
  --display-letter-spacing: 0.012em;
  --ui-uppercase-letter-spacing: 0.014em;
}

[data-theme="dark"] {
  --bg: #000000;
  --bg-strong: #000000;
  --surface: #000000;
  --surface-strong: #000000;
  --line: rgba(255, 255, 255, 0.76);
  --line-strong: #ffffff;
  --text: #f3f3f3;
  --muted: rgba(255, 255, 255, 0.62);
  --accent: #ffffff;
  --accent-soft: #000000;
  --highlight: #ffffff;
  --shadow: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  color-scheme: light;
}

html[data-theme="dark"] {
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  font-size: 16px;
  font-family: var(--font-main);
  font-kerning: normal;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
  color: var(--text);
  background: var(--bg);
}

body::before {
  content: none;
}

.page-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: var(--shell-padding-top) var(--shell-padding-x) var(--shell-padding-bottom);
}

.ambient {
  display: none;
}

.ambient-left {
  background: none;
}

.ambient-right {
  background: none;
}

.hero-block,
.future-grid,
.about-strip,
.dictionary-toolbar,
.dictionary-layout {
  width: var(--content-width);
  margin: 0 auto;
}

.site-header {
  display: grid;
  grid-template-columns: max-content 1fr;
  align-items: center;
  width: 100%;
  gap: var(--header-group-gap);
  min-height: var(--header-height);
  margin: 0;
  padding: 8px 0 20px;
  font-size: 16px;
}

.site-header-compact {
  padding-bottom: 18px;
}

.header-brand-group {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  max-width: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--header-brand-gap);
  width: var(--header-brand-width);
  flex: 0 0 auto;
  color: inherit;
  text-decoration: none;
}

.brand-logo {
  display: block;
  flex: 0 0 auto;
  width: var(--header-logo-width);
  height: auto;
}

.brand-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: calc(var(--header-brand-width) - var(--header-logo-width) - var(--header-brand-gap));
  min-height: var(--header-logo-width);
  font-size: var(--header-title-size);
  font-weight: 600;
  line-height: var(--header-title-line-height);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  gap: 0.24em;
}

.header-tools {
  display: grid;
  grid-template-columns: minmax(280px, var(--header-search-width)) max-content;
  align-items: center;
  justify-content: end;
  gap: var(--header-group-gap);
  margin-left: auto;
  min-width: 0;
  max-width: 100%;
}

.header-support-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--header-search-height);
  min-height: var(--header-search-height);
  margin-top: 0;
  padding: 0 18px;
  border: 1px solid var(--text);
  background: var(--surface);
  color: var(--text);
  text-decoration: none !important;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.header-support-button:hover,
.header-support-button:focus-visible {
  transform: translateY(-1px);
  background: var(--text);
  color: var(--bg);
  text-decoration: none !important;
}

.header-links {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--header-links-gap);
  min-width: var(--header-links-width);
}

.header-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  width: 100%;
  max-width: var(--header-search-width);
  min-width: 0;
  height: var(--header-search-height);
  min-height: var(--header-search-height);
  padding: 0 16px;
  border: 1px solid var(--line);
  background: #ffffff;
}

.header-search-icon {
  flex: 0 0 auto;
  font-size: 1.25rem;
  line-height: 1;
}

.header-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  padding: 0;
  outline: 0;
  background: transparent;
  color: #000000;
  font: inherit;
  font-size: var(--header-link-size);
}

.header-search input::placeholder {
  color: #000000;
  opacity: 0.46;
}

.header-search input:disabled {
  -webkit-text-fill-color: #000000;
  opacity: 1;
}

.header-search-shortcut {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 46px;
  height: 24px;
  padding: 0 8px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: rgba(0, 0, 0, 0.58);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.header-search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: -1px;
  right: -1px;
  border: 1px solid var(--line);
  background: #ffffff;
  z-index: 20;
}

.header-search-results[hidden] {
  display: none;
}

.header-search-result {
  width: 100%;
  border: 0;
  border-top: 1px solid var(--line);
  background: #ffffff;
  color: #000000;
  padding: 12px 16px;
  display: grid;
  gap: 4px;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.header-search-result:first-child {
  border-top: 0;
}

.header-search-result:hover,
.header-search-result:focus-visible {
  background: #000000;
  color: #ffffff;
  outline: 0;
}

.header-search-result-term {
  font-size: var(--header-link-size);
  line-height: 1.2;
}

.header-search-result-section {
  font-size: 0.78rem;
  line-height: 1.2;
  text-transform: uppercase;
  opacity: 0.52;
}

.header-search-result:hover .header-search-result-section,
.header-search-result:focus-visible .header-search-result-section {
  opacity: 0.72;
}

.header-search-empty {
  padding: 12px 16px;
  font-size: var(--header-link-size);
  line-height: 1.25;
}

.header-link {
  flex: 0 0 auto;
  color: #000000;
  text-decoration: none;
  font-size: var(--header-link-size);
  line-height: 1;
  white-space: nowrap;
}

.site-main {
  width: var(--content-width);
  margin: 0 auto;
  flex: 1 0 auto;
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  padding-top: 10px;
}

.top-nav a,
.footer-link {
  color: inherit;
  text-decoration: none;
  font-size: 1rem;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.top-nav a:hover,
.top-nav a[aria-current="page"],
.footer-link:hover {
  color: var(--accent);
  border-color: currentColor;
  transform: translateY(-1px);
}

.home-main {
  display: grid;
  gap: 28px;
}

.text-page {
  width: 100%;
  margin: 0;
  padding: 32px 36px 40px;
  border: 0;
  background: #ffffff;
}

.text-page h1 {
  margin: 0 0 28px;
  font-size: clamp(1.2rem, 2.5vw, 2.4rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: var(--display-letter-spacing);
}

.text-content {
  display: grid;
  gap: 20px;
  max-width: 980px;
}

.text-content p {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.7;
}

.future-dictionary {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 0;
}

.future-link {
  display: inline-block;
  color: #000000;
  text-decoration: underline;
  text-underline-offset: 6px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  text-transform: uppercase;
  border-bottom: 0;
  cursor: pointer;
}

.future-note {
  margin: 10px 0 0;
  font-size: 0.98rem;
  line-height: 1.5;
}

.home-stage {
  padding: 24px;
}

.home-stage--map {
  padding-top: 12px;
}

.home-boat-layout {
  display: grid;
  grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  width: 100%;
  padding-top: 24px;
}

.home-boat-index {
  display: grid;
  gap: 26px;
  align-content: start;
}

.home-boat-group {
  display: grid;
  gap: 6px;
}

.home-boat-link {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #000000;
  text-decoration: none;
  font-size: 1.02rem;
  line-height: 1.04;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.home-boat-link:hover {
  text-decoration: underline;
}

.home-boat-link-number {
  flex: 0 0 1.8em;
}

.home-boat-link-label {
  flex: 1 1 auto;
}

.home-boat-visual {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-right: clamp(18px, 2.4vw, 44px);
}

.home-boat-visual img {
  display: block;
  width: auto;
  max-width: min(100%, 624px);
  max-height: min(800px, calc(100vh - 250px));
  max-height: min(800px, calc(100dvh - 250px));
  height: auto;
  margin: 0 auto;
}

.home-stage-copy {
  max-width: 1160px;
  padding-top: 44px;
}

.articles-stage {
  padding: 22px 0 clamp(56px, 8vh, 104px);
}

.articles-layout {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
  width: 100%;
}

.articles-sidebar {
  align-self: start;
  padding-top: 12px;
  position: sticky;
  top: 18px;
}

.articles-nav {
  display: grid;
  gap: 18px;
  align-content: start;
}

.articles-nav-list,
.articles-subnav {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.articles-nav-item {
  display: grid;
  gap: 12px;
}

.articles-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: rgba(0, 0, 0, 0.56);
  text-decoration: none;
  font-size: 1.02rem;
  font-weight: 400;
  line-height: 1.2;
}

.articles-nav-link:hover,
.articles-nav-link:focus-visible {
  text-decoration: underline;
}

.articles-nav-link::after {
  content: "";
  width: 6px;
  height: 6px;
  background: #000000;
  opacity: 0;
  flex: 0 0 auto;
}

.articles-nav-item.is-active > .articles-nav-link,
.articles-nav-link.is-active {
  color: #000000;
  font-weight: 600;
  text-decoration: none;
}

.articles-nav-item.is-active > .articles-nav-link::after,
.articles-nav-link.is-active::after {
  opacity: 1;
}

.articles-subnav {
  display: none;
  gap: 10px;
  padding-left: 24px;
}

.articles-nav-item.is-active > .articles-subnav {
  display: grid;
}

.articles-subnav-link {
  color: rgba(0, 0, 0, 0.56);
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 400;
  line-height: 1.34;
}

.articles-subnav-link:hover,
.articles-subnav-link:focus-visible {
  text-decoration: underline;
}

.articles-subnav-link.is-active {
  color: #000000;
}

.articles-content {
  min-width: 0;
  padding-top: 12px;
  display: grid;
  gap: 72px;
}

.articles-scroll-spacer {
  height: 0;
  pointer-events: none;
}

.article-section {
  max-width: 760px;
  display: grid;
  gap: 24px;
  scroll-margin-top: 24px;
}

.article-section[hidden] {
  display: none;
}

.article-section-header {
  display: grid;
  gap: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.article-section > h2,
.article-section-header h2 {
  margin: 0;
  font-size: clamp(1.18rem, 2.1vw, 1.56rem);
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: 0;
}

.article-intro,
.article-subsection {
  display: grid;
  gap: 16px;
  scroll-margin-top: 24px;
}

.article-subsection h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.68;
  letter-spacing: 0;
}

.article-section p,
.article-components-list,
.article-bullet-list,
.article-number-list {
  margin: 0;
  font-size: 1rem;
  line-height: 1.68;
}

.article-subsection p + p,
.article-components-list,
.article-bullet-list,
.article-number-list,
.article-quote,
.article-signature,
.article-authors {
  margin-top: 14px;
}

.article-components-list,
.article-bullet-list,
.article-number-list {
  padding-left: 1.4em;
}

.article-components-list li + li,
.article-bullet-list li + li,
.article-number-list li + li {
  margin-top: 14px;
}

.article-components-list strong {
  font-weight: 600;
}

.article-quote {
  margin-left: 0;
  padding-left: 18px;
  border-left: 1px solid rgba(0, 0, 0, 0.24);
  color: rgba(0, 0, 0, 0.78);
}

.article-signature {
  color: rgba(0, 0, 0, 0.62);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.article-authors {
  display: grid;
  gap: 0;
}

.about-page-stage {
  padding: 22px 0 0;
}

.about-page-stage--minimal {
  width: min(50vw, 720px);
  max-width: 100%;
}

.about-page-column {
  display: block;
}

.about-page-hero {
  display: grid;
  grid-template-columns: minmax(340px, 440px) minmax(0, 1fr);
  gap: 52px;
  align-items: start;
}

.about-page-photo {
  margin: 0;
}

.about-page-photo img {
  display: block;
  width: 100%;
  max-width: 440px;
  height: auto;
}

.about-page-copy {
  max-width: 760px;
}

.about-page-note-title,
.about-page-note h2 {
  margin: 0 0 12px;
  font-size: 1.04rem;
  font-weight: 600;
  line-height: 1.2;
}

.about-page-note-title {
  font-family: inherit;
  font-size: clamp(1.18rem, 2.1vw, 1.56rem);
  font-weight: 600;
  line-height: 1.24;
}

.about-page-note p {
  margin: 0;
  max-width: 42rem;
  font-size: 0.95rem;
  line-height: 1.62;
}

.about-page-note p + p {
  margin-top: 16px;
}

.about-inline-link {
  color: inherit;
}

.about-page-note--compact p + p {
  margin-top: 0;
}

.about-page-notes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

.about-page-contact a {
  color: inherit;
  text-decoration: none;
}

.about-page-contact a:hover,
.about-page-contact a:focus-visible {
  text-decoration: underline;
}

.about-page-contact {
  margin-bottom: 18px;
}

.home-stage-copy h1 {
  margin: 0 0 28px;
  font-size: clamp(1.2rem, 2.5vw, 2.4rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: var(--display-letter-spacing);
}

.home-stage-link {
  margin-top: 36px;
}

.hero-block,
.future-grid,
.about-strip,
.dictionary-toolbar,
.card-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-block {
  display: grid;
  gap: 22px;
  padding: clamp(28px, 4vw, 54px);
}

.eyebrow,
.copy-label,
.gesture-note-label,
.footer-label,
.toolbar-title,
.panel-header .eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-block h1,
.future-grid h2,
.about-strip h2,
.detail-header h1 {
  margin: 0;
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: var(--display-letter-spacing);
}

.hero-block h1 {
  max-width: 15ch;
  font-size: clamp(3rem, 7vw, 7rem);
}

.hero-copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 960px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.6;
}

.hero-copy p,
.about-strip p,
.placeholder-card p,
.copy-block p,
.visual-note p,
.toolbar-caption,
.section-item small,
.gesture-meta p,
.footer-label + p {
  margin: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button,
.nav-button {
  appearance: none;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 26px;
  font-size: 1rem;
  font-weight: 600;
}

.button:hover,
.nav-button:hover,
.section-button:hover,
.term-tab:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--text);
  color: #ffffff;
  border-color: var(--text);
}

.button-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.button-secondary:hover {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
}

.future-grid {
  padding: 30px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}

.future-grid h2,
.about-strip h2 {
  font-size: clamp(2rem, 4.2vw, 4rem);
}

.placeholder-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 18px;
}

.placeholder-card {
  display: grid;
  gap: 16px;
  min-height: 240px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #ffffff;
}

.placeholder-card-wide {
  grid-row: span 2;
}

.placeholder-card h3 {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 600;
}

.placeholder-media {
  min-height: 180px;
  border-radius: 0;
  border: 1px dashed #000000;
  background: #ffffff;
}

.placeholder-card-accent {
  background: #ffffff;
}

.placeholder-lines {
  display: grid;
  gap: 10px;
  padding-top: 10px;
}

.placeholder-lines span {
  display: block;
  height: 12px;
  border-radius: 0;
  background: #000000;
}

.placeholder-lines span:nth-child(1) {
  width: 88%;
}

.placeholder-lines span:nth-child(2) {
  width: 70%;
}

.placeholder-lines span:nth-child(3) {
  width: 94%;
}

.about-strip {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
  align-items: start;
  padding: 30px;
}

.about-strip p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.7;
}

.services-main {
  display: flex;
  flex: 1 1 auto;
  align-items: stretch;
}

.services-stage {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  width: 100%;
  padding: clamp(52px, 8vh, 112px) 0 clamp(48px, 7vh, 96px);
}

.services-title {
  margin: 0 0 clamp(28px, 4vw, 56px);
  font-size: clamp(1.18rem, 2.1vw, 1.56rem);
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: clamp(260px, 30vw, 460px);
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(24px, 3vw, 48px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
}

.service-card-content {
  display: grid;
  gap: 14px;
  margin-top: auto;
}

.service-card h2 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(1.7rem, 3.2vw, 4rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.service-card-description {
  max-width: 32ch;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.48;
}

.service-card-price {
  margin: 4px 0 0;
  padding-top: 14px;
  border-top: 1px solid currentColor;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
}

.service-card-media {
  width: 100%;
  height: clamp(150px, 14vw, 230px);
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
}

.service-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card-number {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1;
  letter-spacing: 0.08em;
}

.service-card-arrow {
  position: absolute;
  top: clamp(20px, 2.5vw, 36px);
  right: clamp(20px, 2.5vw, 36px);
  font-size: clamp(1.8rem, 3vw, 3.4rem);
  font-weight: 300;
  line-height: 1;
  transition: transform 180ms ease;
}

.service-card--link {
  transition: background-color 180ms ease, color 180ms ease;
}

.service-card--link:hover,
.service-card--link:focus-visible {
  background: var(--text);
  color: var(--bg);
  text-decoration: none;
}

.service-card--link:hover .service-card-number,
.service-card--link:focus-visible .service-card-number {
  color: inherit;
}

.service-card--link:hover .service-card-arrow,
.service-card--link:focus-visible .service-card-arrow {
  transform: translate(4px, -4px);
}

.services-legal {
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) minmax(0, 1fr);
  gap: 24px clamp(32px, 6vw, 96px);
  margin-top: clamp(52px, 7vw, 96px);
  padding-top: clamp(24px, 3vw, 40px);
  border-top: 1px solid var(--line);
}

.services-legal-title {
  margin: 0;
  font-size: clamp(1.18rem, 2.1vw, 1.56rem);
  font-weight: 600;
  line-height: 1.24;
}

.services-legal-list {
  display: grid;
  margin: 0;
}

.services-legal-row {
  display: grid;
  grid-template-columns: minmax(180px, 0.42fr) minmax(0, 1fr);
  gap: 16px 32px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.services-legal-row dt,
.services-legal-row dd {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.services-legal-row dt {
  color: var(--muted);
}

.services-legal-row a,
.services-legal-notice a {
  color: inherit;
  text-underline-offset: 0.15em;
}

.services-legal-row--contact {
  margin-top: 18px;
  border-top: 1px solid var(--line);
}

.services-legal-notice {
  grid-column: 2;
  max-width: 54rem;
  margin: 8px 0 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.order-main {
  display: flex;
  flex: 1 1 auto;
}

.order-stage {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
  width: 100%;
  padding: clamp(52px, 8vh, 112px) 0 clamp(56px, 8vh, 104px);
}

.order-stage--result {
  grid-template-columns: minmax(0, 720px);
}

.order-header {
  display: grid;
  gap: 18px;
}

.order-back-link {
  width: fit-content;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.2;
  text-decoration: none;
}

.order-back-link:hover,
.order-back-link:focus-visible {
  color: var(--text);
  text-decoration: none;
}

.order-title {
  margin: 0;
  font-size: clamp(1.18rem, 2.1vw, 1.56rem);
  font-weight: 600;
  line-height: 1.24;
}

.order-lead {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.order-price {
  width: fit-content;
  margin: 8px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
}

.order-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  min-width: 0;
}

.order-field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.order-form-note,
.order-field--wide,
.order-consents,
.order-submit {
  grid-column: 1 / -1;
}

.order-form-note {
  margin: 0 0 2px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.order-field--honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.order-field span,
.order-checkbox span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.order-field input,
.order-field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  line-height: 1.35;
}

.order-field input {
  min-height: 48px;
  padding: 0 14px;
}

.order-field textarea {
  resize: vertical;
  padding: 12px 14px;
}

.order-field input:focus,
.order-field textarea:focus {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}

.order-consents {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}

.order-checkbox {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.order-checkbox input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--text);
}

.order-submit {
  display: inline-flex;
  width: fit-content;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 0 22px;
  border: 1px solid var(--line);
  background: var(--text);
  color: var(--bg);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    color 180ms ease;
}

.order-submit:hover,
.order-submit:focus-visible {
  background: var(--bg);
  color: var(--text);
  text-decoration: none;
}

.site-footer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px 24px;
  width: 100%;
  min-height: var(--footer-min-height);
  margin: auto 0 0;
  margin-top: auto;
  padding: 40px 0 8px;
  border: 0;
  font-size: 16px;
}

.site-footer-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 14px;
  min-width: 0;
}

.site-footer-languages {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  transform: translateY(-1px);
}

.theme-toggle-icon {
  font-size: 0.92rem;
  line-height: 1;
}

.site-footer-language,
.site-footer-language-separator {
  color: #000000;
  font-size: var(--footer-copy-size);
  line-height: 1.2;
  text-decoration: none;
}

.site-footer-language:hover {
  text-decoration: underline;
}

.site-footer-copy {
  margin: 0;
  width: auto;
  min-width: 0;
  font-size: var(--footer-copy-size);
  line-height: 1.2;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
}

.site-footer-credit {
  margin: 0;
  justify-self: end;
  min-width: 0;
  max-width: none;
  text-align: right;
  font-size: var(--footer-copy-size);
  line-height: 1.2;
  white-space: nowrap;
  overflow-wrap: normal;
}

.site-footer-credit a {
  color: inherit;
  text-decoration: none;
}

.site-footer-credit a:hover,
.site-footer-credit a:focus-visible {
  text-decoration: underline;
}

.dictionary-main {
  display: grid;
  gap: 18px;
}

.dictionary-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
}

.search-field {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1 1 460px;
  min-height: 68px;
  padding: 0 20px 0 56px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #ffffff;
}

.search-icon {
  position: absolute;
  left: 22px;
  font-size: 1.25rem;
  color: var(--muted);
}

.search-field input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 1.02rem;
}

.toolbar-meta {
  display: grid;
  gap: 6px;
  justify-items: end;
  text-align: right;
}

.toolbar-title {
  color: var(--text);
}

.toolbar-caption {
  color: var(--muted);
  font-size: 0.95rem;
}

.dictionary-layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1.4fr) minmax(260px, 360px);
  gap: 18px;
}

.card-frame {
  position: relative;
  overflow: hidden;
  padding: 22px;
}

.card-frame::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 0;
  border: 1px solid #000000;
  pointer-events: none;
}

.panel-header {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.panel-header h2,
.detail-header h1 {
  font-size: clamp(2.3rem, 4vw, 4.4rem);
}

.section-list {
  display: grid;
  gap: 8px;
}

.section-button,
.term-tab {
  appearance: none;
  width: 100%;
  text-align: left;
  border: 1px solid transparent;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.section-button {
  display: grid;
  gap: 6px;
  padding: 14px 14px 14px 16px;
  border-radius: 0;
}

.section-button strong,
.term-tab {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
}

.section-button small {
  color: var(--muted);
  font-size: 0.9rem;
}

.section-button.is-active {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
}

.section-button.is-active small {
  color: #ffffff;
}

.section-button:not(.is-active):hover,
.term-tab:not(.is-active):hover {
  border-color: #000000;
  background: #ffffff;
}

.detail-panel {
  display: grid;
  gap: 24px;
}

.detail-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.detail-navigation {
  display: flex;
  gap: 10px;
  padding-top: 8px;
}

.nav-button {
  width: 48px;
  height: 48px;
  font-size: 1.35rem;
}

.term-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.term-tab {
  width: auto;
  padding: 12px 16px;
  border-radius: 0;
}

.term-tab.is-active {
  background: #000000;
  border-color: #000000;
  color: #ffffff;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(240px, 320px);
  gap: 18px;
}

.gesture-card,
.term-copy,
.visual-note {
  display: grid;
  gap: 14px;
}

.gesture-stage {
  position: relative;
  min-height: 360px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 0;
  overflow: hidden;
  background: #ffffff;
}

.gesture-stage::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px dashed #000000;
  border-radius: 0;
}

.gesture-placeholder-badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid #000000;
  border-radius: 0;
  background: #ffffff;
  font-size: 0.88rem;
}

.gesture-placeholder-mark {
  display: none;
}

.gesture-stage p {
  position: relative;
  z-index: 1;
  max-width: 26ch;
  margin: auto 0 0;
  font-size: 1.35rem;
  line-height: 1.2;
}

.gesture-meta,
.copy-block {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #ffffff;
}

.gesture-meta p:last-child,
.copy-block p:last-child,
.visual-note p:last-child {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.55;
}

.visual-panel {
  display: grid;
  gap: 18px;
  align-content: start;
}

.boat-visual {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #ffffff;
}

.boat-visual svg {
  display: block;
  width: 100%;
  height: auto;
}

.diagram-label {
  fill: #000000;
  font-family: var(--font-main);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.shape-outline {
  fill: #ffffff;
  stroke: #000000;
  stroke-width: 2.6;
}

.diagram-part {
  fill: #ffffff;
  stroke: #000000;
  stroke-width: 1.8;
  transition: fill 180ms ease, stroke 180ms ease;
}

.diagram-part.is-active {
  fill: #000000;
  stroke: #000000;
}

.diagram-part.is-dimmed {
  opacity: 1;
}

.diagram-node {
  fill: #000000;
}

.waterline {
  fill: none;
  stroke: #000000;
  stroke-width: 2.2;
  stroke-dasharray: 10 8;
}

.visual-note {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #ffffff;
}

.empty-state {
  display: grid;
  gap: 14px;
  align-content: center;
  min-height: 460px;
}

.empty-state p {
  margin: 0;
  max-width: 38ch;
  color: var(--muted);
  line-height: 1.6;
}

.empty-state-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.empty-state-list span {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #ffffff;
  font-size: 0.95rem;
}

@media (max-width: 1180px) {
  .dictionary-layout {
    grid-template-columns: 1fr;
  }

  .section-panel,
  .visual-panel {
    order: 2;
  }

  .detail-panel {
    order: 1;
  }

  .section-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1380px) and (min-width: 1261px) {
  :root {
    --header-brand-width: auto;
    --header-group-gap: 18px;
    --header-links-gap: 14px;
  }

  .site-header {
    grid-template-columns: minmax(0, 1fr) max-content minmax(320px, 420px) max-content;
    grid-template-areas:
      "brand brand brand brand"
      ". support search links";
    align-items: center;
    justify-content: stretch;
    gap: 18px 18px;
  }

  .header-brand-group,
  .header-tools {
    display: contents;
  }

  .brand {
    grid-area: brand;
    justify-self: start;
    width: auto;
    min-width: 0;
    max-width: 100%;
  }

  .header-support-button {
    grid-area: support;
    justify-self: end;
    align-self: center;
  }

  .brand-title {
    width: auto;
    min-width: 0;
  }

  .header-links {
    grid-area: links;
    justify-self: end;
    min-width: 0;
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 12px 14px;
  }

  .header-search {
    grid-area: search;
    justify-self: end;
    align-self: center;
    width: 100%;
    max-width: 420px;
    min-width: 320px;
  }

  .header-search-shortcut {
    display: none;
  }
}

@media (max-width: 1260px) and (min-width: 1041px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) max-content minmax(320px, 480px);
    grid-template-areas:
      "brand brand brand"
      ". support search"
      ". links links";
    align-items: center;
    justify-content: stretch;
    gap: 18px 18px;
  }

  .header-brand-group,
  .header-tools {
    display: contents;
  }

  .brand {
    grid-area: brand;
    justify-self: start;
    width: auto;
    min-width: 0;
    max-width: 100%;
  }

  .brand-title {
    width: auto;
    min-width: 0;
  }

  .header-support-button {
    grid-area: support;
    justify-self: end;
    align-self: center;
  }

  .header-links {
    grid-area: links;
    justify-self: end;
    justify-content: flex-end;
    flex-wrap: nowrap;
  }

  .header-search {
    grid-area: search;
    justify-self: end;
    align-self: center;
    width: min(100%, 480px);
    max-width: none;
    min-width: 320px;
    min-height: var(--header-search-height);
    padding: 0 16px;
    justify-content: flex-start;
    overflow: visible;
  }

  .header-search input {
    width: 100%;
    opacity: 1;
    pointer-events: auto;
  }

  .header-search-shortcut {
    display: none;
  }
}

@media (max-width: 1040px) and (min-width: 921px) {
  :root {
    --header-brand-width: auto;
    --header-group-gap: 18px;
    --header-links-gap: 14px;
  }

  .site-header {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 18px;
  }

  .header-brand-group {
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
  }

  .brand {
    width: auto;
    min-width: 0;
    max-width: 100%;
  }

  .brand-title {
    width: auto;
    min-width: 0;
  }

  .header-tools {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
    width: 100%;
    margin-left: 0;
  }

  .header-search {
    width: min(100%, var(--header-search-width));
    max-width: 100%;
    min-width: 0;
    padding: 0 16px;
    justify-content: flex-start;
    overflow: visible;
  }

  .header-search input {
    width: 100%;
    opacity: 1;
    pointer-events: auto;
  }

  .header-search-shortcut {
    display: inline-flex;
  }

  .header-links {
    width: 100%;
    min-width: 0;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

@media (max-width: 920px) {
  .page-shell {
    --shell-padding-x: 28px;
    --shell-padding-top: 18px;
    --shell-padding-bottom: 24px;
  }

  .site-header,
  .dictionary-toolbar,
  .section-heading,
  .about-strip,
  .detail-header,
  .hero-copy,
  .detail-grid {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .site-header,
  .dictionary-toolbar,
  .detail-header,
  .section-heading {
    display: flex;
  }

  .header-brand-group {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }

  .top-nav,
  .toolbar-meta {
    justify-content: flex-start;
    text-align: left;
  }

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

  .placeholder-card-wide {
    grid-row: auto;
  }

  .section-list {
    grid-template-columns: 1fr;
  }

  .articles-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .articles-nav {
    position: static;
  }

  .articles-sidebar {
    position: static;
    top: auto;
  }

  .articles-content {
    gap: 44px;
  }

  .articles-subnav {
    display: grid;
    padding-left: 18px;
  }

  .about-page-column,
  .about-page-stage--minimal {
    width: 100%;
  }

  .services-stage {
    padding-top: 48px;
  }

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

  .service-card {
    min-height: 230px;
  }

  .service-card h2 {
    max-width: 18ch;
  }

  .services-legal {
    grid-template-columns: 1fr;
  }

  .order-stage {
    grid-template-columns: 1fr;
  }

  .services-legal-row {
    grid-template-columns: minmax(150px, 0.4fr) minmax(0, 1fr);
  }

  .services-legal-notice {
    grid-column: 1;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 12px;
    text-align: center;
  }

  .site-footer-languages {
    justify-content: center;
  }

  .site-footer-actions {
    justify-content: center;
    flex-wrap: wrap;
  }

  .site-footer-copy {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .site-footer-credit {
    justify-self: center;
    max-width: 100%;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 640px) {
  .services-legal-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .page-shell {
    --shell-padding-x: 20px;
  }

  :root {
    --header-brand-width: auto;
    --header-links-width: auto;
  }

  .brand-logo {
    width: 36px;
  }

  .brand {
    gap: 10px;
    max-width: calc(100% - 154px);
  }

  .header-brand-group {
    width: 100%;
    gap: 10px 12px;
    justify-content: space-between;
    align-items: center;
  }

  .brand-title {
    width: auto;
    min-height: 36px;
    font-size: 0.58rem;
  }

  .header-support-button {
    height: 36px;
    min-height: 36px;
    margin-left: auto;
    max-width: 144px;
    padding: 0 10px;
    font-size: 0.56rem;
    letter-spacing: 0.04em;
  }

  .site-header {
    align-items: stretch;
    flex-direction: column;
    display: flex;
  }

  .header-tools {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .header-links {
    gap: 14px;
  }

  .header-search {
    flex: 1 1 auto;
    width: min(100%, var(--header-search-width));
    min-height: 46px;
  }

  .header-search-shortcut {
    display: none;
  }
  .hero-block,
  .future-grid,
  .about-strip,
  .dictionary-toolbar,
  .card-frame,
  .text-page {
    padding: 18px;
  }

  .text-content p,
  .future-note,
  .future-link {
    font-size: 1rem;
  }

  .hero-block h1,
  .panel-header h2,
  .detail-header h1,
  .future-grid h2,
  .about-strip h2 {
    font-size: clamp(2rem, 12vw, 3rem);
  }

  .search-field {
    min-height: 58px;
  }

  .order-stage {
    padding-top: 40px;
  }

  .order-form {
    grid-template-columns: 1fr;
  }

  .order-submit {
    width: 100%;
  }

  .detail-navigation {
    width: 100%;
    justify-content: flex-end;
  }

  .gesture-stage {
    min-height: 280px;
  }

  .term-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }

  .term-tab {
    flex: 0 0 auto;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.dictionary-page-main {
  width: 100%;
  margin: 0;
}

.dictionary-stage {
  --dictionary-sidebar-width: 308px;
  --dictionary-slide-offset: 332px;
  position: relative;
  min-height: 640px;
  padding: 24px 0 24px 24px;
  border: 0;
  overflow: visible;
}

.dictionary-sidebar {
  position: absolute;
  top: 44px;
  left: 0;
  z-index: 3;
  isolation: isolate;
  width: var(--dictionary-sidebar-width);
  padding: 16px 16px 16px 0;
  border: 0;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dictionary-sidebar-sections {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.dictionary-section-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dictionary-nav-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dictionary-nav-list[hidden] {
  display: none;
}

.dictionary-nav-button {
  appearance: none;
  display: inline-block;
  padding: 0;
  border: 0;
  background: transparent;
  color: #000000;
  text-align: left;
  text-decoration: none;
  font: inherit;
  font-size: 1.05rem;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.dictionary-nav-list .dictionary-nav-button {
  color: rgba(0, 0, 0, 0.56);
}

.dictionary-nav-list .dictionary-nav-button:hover,
.dictionary-nav-list .dictionary-nav-button:focus-visible {
  text-decoration: underline;
}

.dictionary-section-button {
  display: inline-flex;
  align-items: center;
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: var(--ui-uppercase-letter-spacing);
  text-transform: uppercase;
  white-space: nowrap;
}

.dictionary-section-button::after {
  content: "";
  display: inline-block;
  flex: 0 0 7px;
  margin-left: 12px;
  width: 7px;
  height: 7px;
  background: #000000;
  opacity: 0;
}

.dictionary-nav-button.is-active {
  color: #000000;
  font-weight: 600;
}

.dictionary-section-button.is-current-section::after {
  opacity: 1;
}

.dictionary-section-button.is-active {
  font-weight: 400;
}

.dictionary-section-view {
  display: none;
  padding-left: var(--dictionary-slide-offset);
  margin-right: calc(var(--shell-padding-x) * -1);
}

.dictionary-section-view.is-active {
  display: block;
}

.dictionary-slider-shell {
  overflow-x: hidden;
  overflow-y: hidden;
  scrollbar-width: none;
  scroll-behavior: auto;
  scroll-snap-type: none;
  overscroll-behavior-x: none;
  contain: paint;
}

.dictionary-slider-shell::-webkit-scrollbar {
  display: none;
}

.dictionary-track {
  --dictionary-card-gap: 24px;
  --dictionary-card-peek: clamp(64px, 6vw, 96px);
  --dictionary-card-width: calc(
    (100% - var(--dictionary-card-gap) - var(--dictionary-card-peek)) / 2
  );
  display: flex;
  gap: var(--dictionary-card-gap);
  min-height: 590px;
  padding-right: 0;
  padding-top: 44px;
  transform: translateZ(0);
}

.dictionary-card {
  flex: 0 0 var(--dictionary-card-width);
  min-height: 590px;
  padding: 18px 20px;
  border: 0;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  contain: paint;
  isolation: isolate;
  transform: translateZ(0);
}

.dictionary-card-label {
  margin: 0 0 12px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dictionary-card h2 {
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: var(--display-letter-spacing);
  text-transform: uppercase;
}

.dictionary-card-overview {
  flex-basis: calc((var(--dictionary-card-width) * 2) + var(--dictionary-card-gap));
  justify-content: space-between;
}

.dictionary-card-overview h2 {
  max-width: 11ch;
  font-size: clamp(1.5rem, 3.2vw, 2.6rem);
  font-weight: 400;
}

.dictionary-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.dictionary-card-head h2 {
  text-align: right;
}

.dictionary-illustration {
  width: 100%;
  max-width: 360px;
  margin: 26px auto 0;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.dictionary-illustration svg {
  display: block;
  width: 100%;
  height: auto;
}

.dictionary-illustration img {
  display: block;
  width: 100%;
  height: auto;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.dictionary-card-term {
  border: 1px solid var(--line);
  justify-content: flex-start;
  align-items: flex-start;
}

.dictionary-card-term--wide {
  flex-basis: calc((var(--dictionary-card-width) * 2) + var(--dictionary-card-gap));
}

.dictionary-card-term h2 {
  width: 100%;
  max-width: none;
  font-size: clamp(1.3rem, 3vw, 2.4rem);
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: 0.01em;
  min-height: 2em;
  display: block;
  padding-top: 0.16em;
  margin: 0;
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

.stress-char {
  position: relative;
  display: inline-block;
  vertical-align: baseline;
  line-height: inherit;
}

.stress-word {
  display: inline-block;
  white-space: nowrap;
}

.stress-mark {
  position: absolute;
  left: 50%;
  top: -0.18em;
  transform: translateX(-50%);
  display: block;
  font-size: 0.72em;
  line-height: 1;
  font-weight: inherit;
  pointer-events: none;
}

.stress-letter {
  display: inline-block;
  line-height: inherit;
}

.dictionary-card h2 .stress-mark {
  top: -0.14em;
  font-size: 0.74em;
}

.dictionary-term-image {
  width: 100%;
  margin-top: 16px;
  flex: 0 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.dictionary-term-image--pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
  justify-items: center;
}

.dictionary-term-image:empty {
  display: none;
  margin-top: 0;
}

.dictionary-term-image img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: clamp(220px, 28vw, 390px);
  object-fit: contain;
  object-position: center top;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.dictionary-term-image--pair img {
  width: 100%;
  max-width: 100%;
  max-height: clamp(220px, 24vw, 340px);
}

.dictionary-term-image--pero-rulya img {
  max-height: clamp(190px, 24vw, 300px);
}

.dictionary-card-copy {
  width: 100%;
  margin-top: 16px;
  display: grid;
  gap: 14px;
  font-size: 0.92rem;
  line-height: 1.45;
  flex: 0 0 auto;
}

.dictionary-card-copy-block {
  display: grid;
  gap: 8px;
}

.dictionary-card-copy-block h3 {
  margin: 0;
  font-size: inherit;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  display: block;
  line-height: 1.45;
  color: rgba(0, 0, 0, 0.48);
}

.dictionary-card-copy-block h3::before {
  content: none;
}

.dictionary-card-copy-block p {
  margin: 0;
}

.dictionary-card-section {
  flex-basis: calc((var(--dictionary-card-width) * 2) + var(--dictionary-card-gap));
  border: 0;
  justify-content: flex-start;
  align-items: flex-start;
}

.dictionary-card-section--compact {
  flex-basis: var(--dictionary-card-width);
}

.dictionary-card-section-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(0, 1.32fr);
  gap: clamp(24px, 4vw, 52px);
  width: 100%;
  align-items: start;
}

.dictionary-card-section-copy {
  display: grid;
  align-content: start;
  gap: 20px;
  min-width: 0;
}

.dictionary-card-section .dictionary-card-copy {
  margin-top: 0;
  max-width: 34rem;
}

.dictionary-card-section .dictionary-illustration {
  max-width: none;
  margin: 0;
  justify-self: end;
}

.dictionary-card-section .dictionary-illustration img {
  width: 100%;
  max-width: 920px;
  max-height: min(clamp(520px, 60vw, 1040px), calc(100vh - 290px));
  max-height: min(clamp(520px, 60vw, 1040px), calc(100dvh - 290px));
  aspect-ratio: 5697 / 7173;
  object-fit: contain;
  object-position: center top;
}

.dictionary-card-section h2 {
  width: 100%;
  max-width: none;
  font-size: clamp(1.5rem, 3.2vw, 2.6rem);
  font-weight: 400;
  line-height: 1.16;
  min-height: 2em;
  display: block;
  padding-top: 0.16em;
  margin: 0;
}

.dictionary-future-panel {
  flex: 0 0 var(--dictionary-card-width);
  min-height: 590px;
  padding: 18px 20px 18px clamp(70px, 7vw, 140px);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.dictionary-future-panel p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.4;
}

.dictionary-controls {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 18px;
  padding-left: 18px;
  background: var(--bg);
}

.dictionary-controls::after {
  content: "";
  position: absolute;
  top: 0;
  right: calc(var(--shell-padding-x) * -1);
  bottom: 0;
  left: 0;
  z-index: -1;
  background: var(--bg);
  pointer-events: none;
}

.dictionary-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  width: 48px;
  min-height: 48px;
  padding: 0;
  border: 0;
  background: #ffffff;
  color: #000000;
  font: inherit;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.dictionary-arrow:disabled {
  opacity: 0.3;
  cursor: default;
}

.dictionary-back-to-nav {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 40;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  font: inherit;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition:
    opacity 160ms ease,
    transform 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease;
}

.dictionary-back-to-nav.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.dictionary-back-to-nav:hover,
.dictionary-back-to-nav:focus-visible {
  background: var(--surface);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
}

html[data-theme="dark"] .dictionary-back-to-nav {
  background: rgba(0, 0, 0, 0.92);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.32);
}

[data-dictionary-app].is-fallback-layout {
  display: grid;
  gap: 18px;
  min-height: 0;
}

[data-dictionary-app].is-fallback-layout .dictionary-sidebar {
  position: relative;
  top: auto;
  left: auto;
  bottom: auto;
  z-index: 8;
  width: 100%;
  padding-right: 0;
  pointer-events: auto;
}

[data-dictionary-app].is-fallback-layout .dictionary-sidebar-sections {
  gap: 18px;
}

[data-dictionary-app].is-fallback-layout .dictionary-section-view {
  display: block;
  padding-left: 0;
  margin-right: 0;
  overflow-anchor: none;
}

[data-dictionary-app].is-fallback-layout .dictionary-slider-shell {
  overflow: visible;
  overflow-x: visible;
  overflow-y: visible;
  scroll-snap-type: none;
  height: auto;
}

[data-dictionary-app].is-fallback-layout .dictionary-track {
  --dictionary-card-width: 100%;
  --dictionary-card-gap: 18px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
  min-height: 0;
  padding-top: 0;
  padding-right: 0;
}

[data-dictionary-app].is-fallback-layout .dictionary-card {
  width: 100%;
  flex: 0 0 auto;
  min-height: 0;
}

[data-dictionary-app].is-fallback-layout .dictionary-card-overview,
[data-dictionary-app].is-fallback-layout .dictionary-card-section,
[data-dictionary-app].is-fallback-layout .dictionary-card-section--compact,
[data-dictionary-app].is-fallback-layout .dictionary-card-term--wide {
  flex-basis: auto;
}

[data-dictionary-app].is-fallback-layout .dictionary-card-section-layout {
  grid-template-columns: 1fr;
  gap: 22px;
}

[data-dictionary-app].is-fallback-layout .dictionary-card-section .dictionary-card-copy {
  max-width: none;
}

[data-dictionary-app].is-fallback-layout .dictionary-card-section .dictionary-illustration {
  justify-self: center;
  width: min(100%, 360px);
}

[data-dictionary-app].is-fallback-layout .dictionary-card-section .dictionary-illustration img {
  max-height: 420px;
}

[data-dictionary-app].is-fallback-layout .dictionary-future-panel,
[data-dictionary-app].is-fallback-layout .dictionary-controls {
  display: none;
}

@media (max-width: 1180px) {
  .dictionary-stage {
    --dictionary-sidebar-width: 272px;
    --dictionary-slide-offset: 290px;
    padding: 18px 0 18px 18px;
  }

  .dictionary-sidebar {
    left: 0;
    top: 40px;
    padding: 16px 16px 16px 0;
  }

  .dictionary-track {
    padding-right: 0;
    padding-top: 40px;
  }

  .dictionary-future-panel {
    flex-basis: var(--dictionary-card-width);
    min-height: 590px;
    padding-left: clamp(55px, 6vw, 110px);
  }
}

@media (max-width: 920px) {
  .home-boat-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .home-boat-index {
    gap: 20px;
  }

  .home-boat-link {
    font-size: 0.96rem;
  }

  .home-boat-visual img {
    width: 100%;
    max-width: none;
    max-height: none;
    margin-left: 0;
  }

  .dictionary-stage {
    display: grid;
    gap: 18px;
    min-height: 0;
    padding: 18px;
    overflow-anchor: none;
  }

  .dictionary-sidebar {
    position: relative;
    top: auto;
    left: auto;
    bottom: auto;
    width: 100%;
    z-index: 8;
    pointer-events: auto;
    overflow-anchor: none;
  }

  .dictionary-sidebar-sections,
  .dictionary-section-group,
  .dictionary-nav-list {
    position: relative;
    z-index: 1;
    pointer-events: auto;
  }

  .dictionary-nav-button {
    display: block;
    width: 100%;
    padding: 4px 0;
    pointer-events: auto;
    -webkit-user-select: none;
    user-select: none;
  }

  .dictionary-section-button {
    display: inline-flex;
    width: auto;
    max-width: 100%;
  }

  .dictionary-track {
    --dictionary-card-width: min(72vw, 420px);
    min-height: 0;
    padding-right: 0;
  }

  .dictionary-section-view {
    padding-left: 0;
    margin-right: 0;
    overflow-anchor: none;
  }

  .dictionary-slider-shell {
    overflow: visible;
    overflow-x: visible;
    overflow-y: visible;
    scroll-snap-type: none;
    height: auto;
  }

  .dictionary-card {
    width: 100%;
    flex: 0 0 auto;
    min-height: 0;
  }

  .dictionary-track {
    --dictionary-card-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    min-height: 0;
    padding-top: 0;
  }

  .dictionary-card-overview,
  .dictionary-card-section,
  .dictionary-card-section--compact,
  .dictionary-card-term--wide {
    flex-basis: auto;
  }

  .dictionary-card-section {
    width: 100%;
  }

  .dictionary-card-section-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .dictionary-card-section .dictionary-card-copy {
    max-width: none;
  }

  .dictionary-card-section .dictionary-illustration {
    justify-self: center;
    width: min(100%, 360px);
  }

  .dictionary-card-section .dictionary-illustration img {
    max-height: 420px;
  }

  .dictionary-future-panel {
    display: none;
  }

  .dictionary-controls {
    display: none;
  }

}

@media (min-width: 921px) and (max-height: 860px) {
  .page-shell {
    --shell-padding-top: 16px;
    --shell-padding-bottom: 20px;
  }

  .site-header {
    min-height: 72px;
    padding: 4px 0 14px;
  }

  .home-stage {
    padding: 8px 0 0;
  }

  .home-stage--map {
    padding-top: 0;
  }

  .home-boat-layout {
    gap: 28px;
    padding-top: 8px;
  }

  .home-boat-index {
    gap: 12px;
    max-height: calc(100vh - 230px);
    max-height: calc(100dvh - 230px);
    overflow-y: auto;
    scrollbar-width: none;
  }

  .home-boat-index::-webkit-scrollbar {
    display: none;
  }

  .home-boat-group {
    gap: 3px;
  }

  .home-boat-link {
    font-size: 0.9rem;
    line-height: 1.02;
  }

  .site-footer {
    padding-top: 24px;
  }

  .dictionary-stage {
    min-height: 0;
    padding: 12px 0 0;
  }

  .dictionary-sidebar {
    top: 20px;
    padding-top: 8px;
    max-height: calc(100vh - 190px);
    max-height: calc(100dvh - 190px);
    overflow-y: auto;
    scrollbar-width: none;
  }

  .dictionary-sidebar::-webkit-scrollbar {
    display: none;
  }

  .dictionary-sidebar-sections {
    gap: 16px;
  }

  .dictionary-section-group {
    gap: 10px;
  }

  .dictionary-nav-list {
    gap: 8px;
  }

  .dictionary-nav-button {
    font-size: 0.98rem;
  }

  .dictionary-section-button {
    font-size: 1.35rem;
  }

  .dictionary-track {
    --dictionary-card-gap: 20px;
    padding-top: 20px;
    min-height: 0;
  }

  .dictionary-card,
  .dictionary-future-panel {
    min-height: 0;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .dictionary-card h2 {
    font-size: clamp(1.7rem, 3.5vw, 3rem);
  }

  .dictionary-card-section h2 {
    font-size: clamp(1.35rem, 2.8vw, 2.2rem);
  }

  .dictionary-card-term h2 {
    font-size: clamp(1.15rem, 2.5vw, 2rem);
    min-height: 1.8em;
  }

  .dictionary-term-image {
    margin-top: 12px;
  }

  .dictionary-card-copy {
    margin-top: 12px;
    gap: 10px;
    font-size: 0.88rem;
    line-height: 1.38;
  }

  .dictionary-card-copy-block {
    gap: 6px;
  }

  .dictionary-card-section-layout {
    gap: clamp(20px, 3vw, 34px);
  }
}


[data-dictionary-app].is-mobile-layout .dictionary-stage {
  display: grid;
  gap: 18px;
  min-height: 0;
  overflow-anchor: none;
}

[data-dictionary-app].is-mobile-layout .dictionary-sidebar {
  position: relative;
  top: auto;
  left: auto;
  bottom: auto;
  width: 100%;
  z-index: 8;
  pointer-events: auto;
  overflow-anchor: none;
}

[data-dictionary-app].is-mobile-layout .dictionary-sidebar-sections,
[data-dictionary-app].is-mobile-layout .dictionary-section-group,
[data-dictionary-app].is-mobile-layout .dictionary-nav-list {
  position: relative;
  z-index: 1;
  pointer-events: auto;
}

[data-dictionary-app].is-mobile-layout .dictionary-nav-button {
  display: block;
  width: 100%;
  padding: 4px 0;
  pointer-events: auto;
  -webkit-user-select: none;
  user-select: none;
}

[data-dictionary-app].is-mobile-layout .dictionary-section-button {
  display: inline-flex;
  width: auto;
  max-width: 100%;
}

[data-dictionary-app].is-mobile-layout .dictionary-section-view {
  padding-left: 0;
  margin-right: 0;
  overflow-anchor: none;
}

[data-dictionary-app].is-mobile-layout .dictionary-slider-shell {
  overflow: visible;
  overflow-x: visible;
  overflow-y: visible;
  scroll-snap-type: none;
  height: auto;
}

[data-dictionary-app].is-mobile-layout .dictionary-track {
  --dictionary-card-width: 100%;
  --dictionary-card-gap: 18px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
  min-height: 0;
  padding-top: 0;
  padding-right: 0;
}

[data-dictionary-app].is-mobile-layout .dictionary-card {
  width: 100%;
  flex: 0 0 auto;
  min-height: 0;
}

[data-dictionary-app].is-mobile-layout .dictionary-future-panel,
[data-dictionary-app].is-mobile-layout .dictionary-controls {
  display: none;
}

[data-dictionary-app].is-mobile-layout .dictionary-back-to-nav {
  display: inline-flex;
}

@media (max-width: 640px) {
  .dictionary-nav-list {
    gap: 8px;
  }

  .dictionary-sidebar-sections {
    gap: 18px;
  }

  .dictionary-section-button {
    font-size: 1.32rem;
  }

  .dictionary-nav-button {
    font-size: 0.98rem;
  }

  .dictionary-track {
    --dictionary-card-gap: 16px;
    --dictionary-card-width: 100%;
  }

  .dictionary-card {
    padding: 16px;
  }

  .dictionary-card-section-layout {
    gap: 18px;
  }

  .dictionary-card h2 {
    font-size: clamp(1.6rem, 8vw, 2.4rem);
  }

  .dictionary-card-section .dictionary-illustration {
    width: min(100%, 300px);
  }

  .dictionary-card-section .dictionary-illustration img {
    max-height: 340px;
  }

  .dictionary-future-panel p {
    font-size: 0.95rem;
  }

  .dictionary-back-to-nav {
    right: max(12px, env(safe-area-inset-right));
    bottom: calc(12px + env(safe-area-inset-bottom));
    width: 48px;
    height: 48px;
    font-size: 1.6rem;
  }
}

html[data-theme="dark"] body {
  background: var(--bg);
  color: var(--text);
}

html[data-theme="dark"] .brand-logo,
html[data-theme="dark"] .home-boat-visual img,
html[data-theme="dark"] .about-page-photo img,
html[data-theme="dark"] .dictionary-illustration img {
  filter: invert(1) brightness(0.94) contrast(0.92);
}

html[data-theme="dark"] .header-search,
html[data-theme="dark"] .header-search-results,
html[data-theme="dark"] .header-search-result,
html[data-theme="dark"] .text-page,
html[data-theme="dark"] .dictionary-sidebar,
html[data-theme="dark"] .dictionary-arrow,
html[data-theme="dark"] .theme-toggle {
  background: var(--surface);
  color: var(--text);
}

html[data-theme="dark"] .dictionary-controls,
html[data-theme="dark"] .dictionary-controls::after {
  background: var(--bg);
}

html[data-theme="dark"] .dictionary-card {
  background: var(--bg);
}

html[data-theme="dark"] .service-card {
  background: var(--surface);
}

html[data-theme="dark"] .service-card--link:hover,
html[data-theme="dark"] .service-card--link:focus-visible {
  background: var(--text);
  color: var(--bg);
}

html[data-theme="dark"] .header-search,
html[data-theme="dark"] .header-search-results,
html[data-theme="dark"] .header-search-result,
html[data-theme="dark"] .header-search-shortcut,
html[data-theme="dark"] .dictionary-card-term,
html[data-theme="dark"] .dictionary-arrow,
html[data-theme="dark"] .theme-toggle {
  border-color: var(--line);
}

html[data-theme="dark"] .header-search input,
html[data-theme="dark"] .header-link,
html[data-theme="dark"] .home-boat-link,
html[data-theme="dark"] .future-link,
html[data-theme="dark"] .site-footer-language,
html[data-theme="dark"] .site-footer-language-separator,
html[data-theme="dark"] .site-footer-copy,
html[data-theme="dark"] .site-footer-credit,
html[data-theme="dark"] .dictionary-nav-button,
html[data-theme="dark"] .dictionary-arrow,
html[data-theme="dark"] .article-section h2,
html[data-theme="dark"] .about-page-note-title,
html[data-theme="dark"] .about-page-note h2 {
  color: var(--text);
}

html[data-theme="dark"] .header-search input::placeholder {
  color: var(--text);
  opacity: 0.46;
}

html[data-theme="dark"] .header-search input:disabled {
  -webkit-text-fill-color: var(--text);
}

html[data-theme="dark"] .header-search-shortcut {
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
}

html[data-theme="dark"] .header-search-result {
  border-top-color: rgba(255, 255, 255, 0.18);
}

html[data-theme="dark"] .header-search-result:hover,
html[data-theme="dark"] .header-search-result:focus-visible {
  background: #f3f3f3;
  color: #090909;
}

html[data-theme="dark"] .header-search-result:hover .header-search-result-section,
html[data-theme="dark"] .header-search-result:focus-visible .header-search-result-section {
  color: rgba(9, 9, 9, 0.72);
}

html[data-theme="dark"] .header-search-result-section,
html[data-theme="dark"] .articles-nav-link,
html[data-theme="dark"] .articles-subnav-link,
html[data-theme="dark"] .dictionary-nav-list .dictionary-nav-button,
html[data-theme="dark"] .dictionary-card-copy-block h3,
html[data-theme="dark"] .dictionary-future-panel p {
  color: rgba(255, 255, 255, 0.58);
  opacity: 1;
}

html[data-theme="dark"] .articles-nav-link.is-active,
html[data-theme="dark"] .dictionary-nav-button.is-active {
  color: var(--text);
}

html[data-theme="dark"] .articles-subnav-link.is-active,
html[data-theme="dark"] .article-section-label,
html[data-theme="dark"] .article-signature,
html[data-theme="dark"] .article-quote {
  color: var(--text);
}

html[data-theme="dark"] .articles-nav-link::after,
html[data-theme="dark"] .dictionary-section-button::after {
  background: var(--text);
}

html[data-theme="dark"] .articles-nav-link:hover,
html[data-theme="dark"] .articles-nav-link:focus-visible,
html[data-theme="dark"] .articles-subnav-link:hover,
html[data-theme="dark"] .articles-subnav-link:focus-visible,
html[data-theme="dark"] .dictionary-nav-list .dictionary-nav-button:hover,
html[data-theme="dark"] .dictionary-nav-list .dictionary-nav-button:focus-visible,
html[data-theme="dark"] .site-footer-language:hover,
html[data-theme="dark"] .home-boat-link:hover,
html[data-theme="dark"] .future-link:hover {
  color: var(--text);
}

html[data-theme="dark"] .dictionary-sidebar {
  background: var(--bg);
}

html[data-theme="dark"] .dictionary-card-copy-block p,
html[data-theme="dark"] .article-section p,
html[data-theme="dark"] .article-components-list,
html[data-theme="dark"] .article-bullet-list,
html[data-theme="dark"] .about-page-note p,
html[data-theme="dark"] .text-content p {
  color: var(--text);
}

html[data-theme="dark"] .article-section-header {
  border-bottom-color: rgba(255, 255, 255, 0.16);
}

html[data-theme="dark"] .article-quote {
  border-left-color: rgba(255, 255, 255, 0.28);
}

html[data-theme="dark"] .theme-toggle[aria-pressed="true"] {
  background: #f3f3f3;
  color: #090909;
  border-color: #f3f3f3;
}

html[data-theme="dark"] .theme-image-fallback {
  filter: invert(1) brightness(0.96) contrast(0.94);
}
