@font-face {
  font-family: Readex;
  src: url('fonts/readex-latin-600.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Readex;
  src: url('fonts/readex-latin-700.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Readex;
  src: url('fonts/readex-arabic-600.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: Readex;
  src: url('fonts/readex-arabic-700.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: Plex;
  src: url('fonts/plex-latin-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Plex;
  src: url('fonts/plex-latin-500.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: PlexArabic;
  src: url('fonts/plex-arabic-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: PlexArabic;
  src: url('fonts/plex-arabic-600.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}
:root {
  --ink: #121212;
  --lime: #c8f03c;
  --ground: #f1f1ec;
  --white: #fff;
  --muted: #55554f;
  --line: #dadad2;
  --rail: 220px;
  --gutter: clamp(28px, 4.2vw, 76px);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 32px;
}
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font:
    16px/1.6 Plex,
    Arial,
    sans-serif;
}
html[lang='ar'] body {
  font-family: PlexArabic, Plex, Arial, sans-serif;
}
button,
input,
select {
  font: inherit;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #6b8515;
  outline-offset: 5px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: Readex, Arial, sans-serif;
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1.12;
}
h1 {
  font-size: clamp(48px, 5.8vw, 94px);
  font-weight: 700;
  letter-spacing: -0.065em;
}
h2 {
  font-size: clamp(35px, 4.1vw, 62px);
}
h3 {
  font-size: 22px;
  letter-spacing: -0.035em;
}
p {
  color: var(--muted);
}
html[lang='ar'] h1,
html[lang='ar'] h2,
html[lang='ar'] h3 {
  letter-spacing: -0.045em;
  line-height: 1.45;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
.skip {
  position: fixed;
  top: -100px;
  inset-inline-start: 20px;
  background: var(--lime);
  color: var(--ink);
  padding: 12px;
  z-index: 99;
}
.skip:focus {
  top: 10px;
}
.rail {
  position: fixed;
  inset-block: 0;
  inset-inline-start: 0;
  width: var(--rail);
  padding: 32px 26px;
  background: var(--ink);
  color: var(--white);
  display: flex;
  flex-direction: column;
  z-index: 20;
}
.rail-logo {
  width: 162px;
  height: auto;
}
.rail-sub {
  font-size: 13px;
  color: #c0c0b8;
  margin-top: 8px;
}
.nav {
  margin-top: 60px;
  display: grid;
  gap: 5px;
}
.nav a {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 16px;
  padding: 13px 0;
  color: #b9b9b2;
  text-decoration: none;
  font-size: 14px;
}
.nav a span {
  font-size: 12px;
  color: #92928b;
}
.nav a.active {
  color: var(--white);
  font-weight: 500;
}
.nav a.active span {
  color: var(--lime);
}
.rail-bottom {
  margin-top: auto;
  padding-top: 28px;
}
.rail-bottom > a {
  display: block;
  font-size: 14px;
  text-decoration: none;
  padding: 15px 0;
  border-block-start: 1px solid #3a3a35;
}
.rail-foot {
  font-size: 10px;
  color: #92928b;
  letter-spacing: 0.1em;
  margin-top: 14px;
}
.language {
  border: 1px solid #55554f;
  background: transparent;
  color: var(--white);
  border-radius: 4px;
  padding: 5px 11px;
  font-size: 13px;
  margin-top: 16px;
}
.mobile-toggle {
  display: none;
}
.main {
  margin-inline-start: var(--rail);
  padding: 0 var(--gutter);
}
.topbar {
  height: 91px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar > span {
  font-size: 11px;
  letter-spacing: 0.13em;
  color: var(--muted);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--ink);
  border-radius: 5px;
  text-decoration: none;
  color: var(--ink);
  background: transparent;
  font-size: 14px;
  line-height: 1.4;
}
.button.primary {
  background: var(--ink);
  color: var(--lime);
}
.button:hover {
  background: #e2e2db;
}
.button.primary:hover {
  background: #2a2a27;
}
.button.small {
  min-height: 36px;
  padding: 7px 12px;
  font-size: 12px;
}
.hero {
  min-height: 490px;
  padding: 35px 0 74px;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  align-items: center;
  gap: 50px;
}
.hero-copy {
  position: relative;
  z-index: 1;
}
.hero h1 {
  max-width: 780px;
}
.hero .intro {
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.45;
  margin-top: 27px;
  max-width: 580px;
}
.edition {
  font-size: 10px;
  letter-spacing: 0.19em;
  color: var(--muted);
  margin-top: 34px;
}
.hero-art {
  aspect-ratio: 1;
  max-width: 430px;
  position: relative;
  margin-inline-end: 20px;
}
.hero-art:after {
  content: '';
  position: absolute;
  inset: 25% -8% -10% 29%;
  background: var(--ink);
  border-radius: 5px;
  z-index: 0;
}
.hero-tile {
  position: relative;
  z-index: 1;
  aspect-ratio: 1;
  background: var(--lime);
  border-radius: 6px;
  display: grid;
  place-items: center;
  padding: 16%;
}
.hero-tile img {
  width: 100%;
  max-height: 100%;
}
.chapter {
  padding: 65px 0 72px;
  border-block-start: 1px solid var(--line);
  scroll-margin-top: 20px;
}
.chapter-head {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 34px;
}
.chapter-head .text {
  max-width: 450px;
}
.number {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 16px;
  letter-spacing: 0.1em;
}
.chapter-head p {
  margin-top: 18px;
}
.chapter-head .text p + p {
  margin-top: 16px;
}
.chapter-head .button {
  margin-top: 20px;
}
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 58px;
}
.story p {
  margin-top: 23px;
  max-width: 460px;
}
.logo-stage {
  background: var(--ink);
  border-radius: 6px;
  padding: 58px 25%;
  min-height: 340px;
  display: grid;
  place-items: center;
}
.logo-stage img {
  width: 100%;
}
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 44px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
}
.principles h3 {
  margin-bottom: 10px;
}
.principles p {
  font-size: 14px;
}
.logo-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-top: 38px;
}
.segmented {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 5px;
  overflow: hidden;
  direction: ltr;
}
.segmented button {
  border: 0;
  background: transparent;
  padding: 8px 16px;
  color: var(--muted);
  font-size: 13px;
}
.segmented button[aria-pressed='true'] {
  background: var(--ink);
  color: var(--lime);
}
.lockup-stage {
  background: var(--white);
  border: 1px solid var(--line);
  min-height: 230px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  margin-top: 18px;
  padding: 36px;
}
.lockup-stage img {
  width: min(440px, 80%);
}
.lockup-stage[data-tone='dark'] {
  background: var(--ink);
}
.lockup-stage[data-tone='lime'] {
  background: var(--lime);
}
.spec-line {
  display: flex;
  gap: 30px;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.logo-rules {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 32px;
}
.clear-diagram {
  height: 180px;
  background: var(--white);
  display: grid;
  place-items: center;
  border-radius: 4px;
  margin: 15px 0;
}
.clear-inner {
  border: 1px dashed #8c8c80;
  padding: 20px;
  position: relative;
}
.clear-inner img {
  width: 74px;
}
.clear-inner:before {
  content: '¼ X';
  position: absolute;
  inset-block-start: -15px;
  inset-inline-start: 4px;
  background: var(--white);
  font:
    12px Plex,
    sans-serif;
  color: var(--muted);
}
.logo-rules p,
.rule-list {
  font-size: 14px;
}
.rule-list {
  margin: 16px 0 0;
  padding-inline-start: 20px;
  color: var(--muted);
}
.rule-list li {
  margin: 9px 0;
}
.swatches {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-radius: 6px;
  overflow: hidden;
  margin-top: 30px;
}
.swatch {
  padding: 27px 24px;
  min-height: 145px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--swatch);
  color: var(--on);
}
.swatch.large {
  grid-column: span 2;
  min-height: 230px;
}
.swatch strong {
  font:
    600 clamp(34px, 4vw, 66px)/1.1 Readex,
    sans-serif;
  letter-spacing: -0.055em;
  direction: ltr;
  text-align: start;
}
.swatch small {
  font-size: 13px;
}
.swatch .copy {
  align-self: start;
  background: transparent;
  border: 0;
  color: inherit;
  padding: 8px 0 0;
  font: inherit;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.swatch.large strong {
  font-size: clamp(42px, 5.1vw, 80px);
}
.color-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 30px;
}
.color-meta p {
  font-size: 14px;
  margin-top: 12px;
}
.contrast-strip {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.contrast-chip {
  padding: 12px 17px;
  border-radius: 4px;
  font-size: 13px;
}
.contrast-chip.black {
  background: var(--ink);
  color: var(--lime);
}
.contrast-chip.lime {
  background: var(--lime);
  color: var(--ink);
}
.type-specimens {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.type-specimens > div + div {
  border-inline-start: 1px solid var(--line);
  padding-inline-start: 38px;
}
.type-name {
  font-size: 12px;
  color: var(--muted);
}
.big-aa {
  font:
    600 110px/1.3 Readex,
    sans-serif;
  letter-spacing: -0.08em;
}
.arabic-specimen {
  font:
    600 64px/1.7 PlexArabic,
    sans-serif;
  letter-spacing: -0.05em;
  direction: rtl;
  text-align: right;
}
.type-specimens p {
  font-size: 14px;
}
.type-scale {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
  text-align: start;
  font-size: 14px;
}
.type-scale th {
  text-align: start;
  color: var(--muted);
  font-weight: 400;
  font-size: 12px;
}
.type-scale td,
.type-scale th {
  padding: 16px 10px;
  border-bottom: 1px solid var(--line);
}
.type-scale td:first-child,
.type-scale th:first-child {
  padding-inline-start: 0;
}
.type-sample {
  font-family: Readex, sans-serif;
  font-weight: 600;
}
.voice-lead {
  font:
    600 clamp(25px, 3vw, 44px)/1.3 Readex,
    sans-serif;
  letter-spacing: -0.04em;
  padding: 40px 0;
  border-block: 1px solid var(--line);
  max-width: 950px;
  color: var(--ink);
}
.voice-examples {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.voice-example {
  padding: 24px 0;
  border-top: 3px solid var(--ink);
}
.voice-example.good {
  border-color: #6b8515;
}
.voice-example h3 {
  font:
    500 12px Plex,
    PlexArabic,
    sans-serif;
  color: var(--muted);
  margin-bottom: 16px;
}
.voice-example blockquote {
  font:
    600 21px/1.6 Readex,
    sans-serif;
  margin: 0 0 12px;
}
.voice-example p {
  font-size: 14px;
}
.usage {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 28px;
  align-items: stretch;
}
.app-canvas {
  background: #deded5;
  border-radius: 6px;
  min-height: 520px;
  display: grid;
  place-items: center;
  padding: 35px;
}
.phone {
  width: 264px;
  max-width: 100%;
  background: var(--ground);
  border: 7px solid var(--ink);
  border-radius: 32px;
  overflow: hidden;
  padding: 18px 15px 20px;
  box-shadow: 0 18px 35px #12121212;
}
.phone .status {
  font:
    500 10px Plex,
    sans-serif;
  display: flex;
  justify-content: space-between;
  margin-bottom: 21px;
  direction: ltr;
}
.phone img {
  width: 120px;
  margin-bottom: 22px;
}
.phone h3 {
  font-size: 25px;
  line-height: 1.4;
}
.phone p {
  font-size: 12px;
  margin-top: 7px;
}
.fake-search {
  border: 1px solid #7c7c74;
  background: white;
  padding: 10px;
  border-radius: 8px;
  font-size: 12px;
  margin-top: 17px;
}
.phone .sample-property {
  padding: 15px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: 12px;
}
.sample-property .sample-label {
  font-size: 10px;
  color: #55554f;
  margin: 0 0 10px;
}
.sample-property h4 {
  font-size: 15px;
  margin: 0;
}
.sample-property p {
  font-size: 11px;
}
.sample-property .button {
  width: 100%;
  min-height: 36px;
  font-size: 12px;
  margin-top: 14px;
}
.application-note {
  margin-top: 17px;
  font-size: 12px;
}
.social-canvas {
  background: var(--ink);
  color: var(--white);
  padding: 38px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 520px;
  overflow: hidden;
  position: relative;
}
.social-canvas > img {
  width: 155px;
}
.social-canvas h3 {
  font-size: clamp(32px, 4vw, 61px);
  line-height: 1.2;
  position: relative;
  z-index: 2;
  max-width: 410px;
}
.social-canvas h3 em {
  font-style: normal;
  color: var(--lime);
}
.social-canvas p {
  color: #c1c1b8;
  font-size: 13px;
  position: relative;
  z-index: 2;
}
.social-canvas:after {
  content: '';
  width: 180px;
  height: 180px;
  position: absolute;
  inset-inline-end: -42px;
  bottom: 24px;
  border: 32px solid var(--lime);
  transform: rotate(-12deg);
  opacity: 0.13;
}
.usage-controls {
  margin-bottom: 18px;
  display: flex;
  justify-content: flex-end;
}
.usage.dark .phone {
  background: var(--ink);
  color: #f1f1ec;
  border-color: #45453f;
}
.usage.dark .phone img {
  filter: invert(1);
}
.usage.dark .phone p {
  color: #b9b9b0;
}
.usage.dark .fake-search,
.usage.dark .sample-property {
  background: #262622;
  border-color: #55554f;
}
.usage.dark .phone .button.primary {
  background: var(--lime);
  color: var(--ink);
}
.downloads {
  background: var(--ink);
  color: var(--white);
  margin-inline: calc(-1 * var(--gutter));
  padding: 60px var(--gutter);
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 50px;
}
.downloads p {
  color: #b9b9b0;
  margin-top: 20px;
}
.download-links {
  display: grid;
  align-content: center;
  gap: 0;
}
.download-links a {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  text-decoration: none;
  padding: 19px 0;
  border-bottom: 1px solid #45453f;
  font-size: 15px;
}
.download-links a:first-child {
  color: var(--lime);
}
.download-links small {
  font-size: 11px;
  color: #a8a89f;
}
.footer {
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 11px;
  color: var(--muted);
}
.toast {
  position: fixed;
  inset-inline-start: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--lime);
  padding: 12px 22px;
  border-radius: 5px;
  font-size: 14px;
  box-shadow: 0 4px 18px #0002;
  z-index: 50;
}
.toast:empty {
  display: none;
}
.utility-note {
  font-size: 12px;
  margin-top: 22px;
}
.spelling {
  font-weight: 600;
  font-family: Readex, sans-serif;
  direction: ltr;
  unicode-bidi: isolate;
}
.use-rules {
  margin: 28px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
}
.use-rules p {
  font-size: 14px;
  margin-top: 12px;
}
.return-top {
  font-size: 12px;
}
.print-button {
  border: 0;
  background: transparent;
  text-decoration: underline;
  color: inherit;
  padding: 0;
  font: inherit;
  cursor: pointer;
}
@media (min-width: 1600px) {
  .main {
    max-width: 1800px;
  }
  .hero {
    min-height: 590px;
  }
  .hero-art {
    max-width: 460px;
  }
}
@media (max-width: 1180px) {
  :root {
    --rail: 190px;
    --gutter: 32px;
  }
  .rail {
    padding-inline: 22px;
  }
  .rail-logo {
    width: 144px;
  }
  .hero {
    gap: 24px;
    grid-template-columns: 1.2fr 1fr;
  }
  .hero h1 {
    font-size: 62px;
  }
  .chapter-head {
    gap: 30px;
  }
  .logo-stage {
    padding: 50px 20%;
  }
  .swatch {
    padding: 22px 18px;
  }
  .swatch.large strong {
    font-size: 55px;
  }
  .social-canvas {
    padding: 27px;
  }
  .arabic-specimen {
    font-size: 46px;
  }
}
@media (max-width: 900px) {
  :root {
    --rail: 170px;
    --gutter: 25px;
  }
  .rail {
    padding-inline: 17px;
  }
  .rail-logo {
    width: 134px;
  }
  .nav a {
    gap: 7px;
    font-size: 13px;
  }
  .hero {
    min-height: 430px;
  }
  .hero h1 {
    font-size: 49px;
  }
  .hero .intro {
    font-size: 18px;
  }
  .hero-art {
    margin-inline-end: 10px;
  }
  .story {
    gap: 28px;
  }
  .logo-stage {
    min-height: 260px;
  }
  .chapter {
    padding-block: 45px;
  }
  .chapter-head {
    grid-template-columns: 1fr;
  }
  .chapter-head .text {
    max-width: 100%;
  }
  .principles {
    gap: 20px;
  }
  .principles h3 {
    font-size: 18px;
  }
  .swatch.large strong {
    font-size: 42px;
  }
  .swatch strong {
    font-size: 25px;
  }
  .color-meta {
    gap: 25px;
  }
  .type-specimens {
    gap: 23px;
  }
  .type-specimens > div + div {
    padding-inline-start: 23px;
  }
  .big-aa {
    font-size: 85px;
  }
  .arabic-specimen {
    font-size: 37px;
  }
  .usage {
    grid-template-columns: 1fr;
  }
  .social-canvas {
    min-height: 400px;
  }
  .downloads {
    gap: 30px;
  }
}
@media (max-width: 680px) {
  :root {
    --rail: 0px;
    --gutter: 22px;
  }
  html {
    scroll-padding-top: 80px;
  }
  .rail {
    position: sticky;
    top: 0;
    inset: auto;
    width: 100%;
    height: 66px;
    padding: 13px 22px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .rail-logo {
    width: 138px;
    height: auto;
  }
  .rail-sub,
  .rail-bottom {
    display: none;
  }
  .mobile-toggle {
    display: block;
    background: transparent;
    border: 1px solid #55554f;
    border-radius: 4px;
    color: var(--white);
    padding: 5px 10px;
    font-size: 13px;
  }
  .rail .language {
    margin: 0;
    margin-inline-start: auto;
    margin-inline-end: 12px;
  }
  .nav {
    display: none;
    position: absolute;
    top: 66px;
    inset-inline: 0;
    margin: 0;
    background: var(--ink);
    padding: 14px 22px 22px;
    border-top: 1px solid #45453f;
  }
  .nav.open {
    display: grid;
  }
  .nav a {
    font-size: 15px;
  }
  .main {
    margin: 0;
  }
  .topbar {
    height: 75px;
  }
  .topbar > span {
    font-size: 9px;
  }
  .topbar .button {
    font-size: 11px;
    min-height: 36px;
    padding: 8px 12px;
  }
  .hero {
    padding: 18px 0 48px;
    grid-template-columns: 1fr;
    gap: 35px;
    min-height: 0;
  }
  .hero h1 {
    font-size: clamp(40px, 11vw, 63px);
  }
  .hero .intro {
    margin-top: 20px;
    font-size: 20px;
  }
  .edition {
    margin-top: 23px;
    font-size: 9px;
  }
  .hero-art {
    width: 75%;
    max-width: 320px;
    justify-self: center;
    margin: 0 15px 20px 0;
  }
  .hero-art:after {
    inset: 22% -9% -8% 27%;
  }
  .story {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .story p {
    margin-top: 18px;
  }
  .logo-stage {
    padding: 38px 28%;
    min-height: 265px;
  }
  .chapter {
    padding: 38px 0 45px;
    scroll-margin-top: 80px;
  }
  .chapter-head {
    gap: 15px;
    margin-bottom: 26px;
  }
  h2 {
    font-size: 35px;
  }
  .principles {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 28px;
  }
  .principles h3 {
    font-size: 21px;
  }
  .logo-toolbar {
    align-items: start;
  }
  .logo-toolbar .button {
    font-size: 11px;
    padding: 7px;
    min-height: 35px;
  }
  .segmented button {
    padding: 8px 11px;
    font-size: 12px;
  }
  .lockup-stage {
    min-height: 170px;
    padding: 22px;
  }
  .lockup-stage img {
    width: 90%;
  }
  .spec-line {
    gap: 15px;
    flex-wrap: wrap;
    font-size: 11px;
  }
  .logo-rules {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .swatches {
    grid-template-columns: repeat(2, 1fr);
  }
  .swatch.large {
    grid-column: span 1;
    min-height: 190px;
  }
  .swatch {
    padding: 20px 14px;
    min-height: 130px;
  }
  .swatch.large strong {
    font-size: clamp(23px, 7vw, 40px);
  }
  .swatch strong {
    font-size: 24px;
  }
  .swatch small {
    font-size: 11px;
  }
  .color-meta {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .type-specimens {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .type-specimens > div + div {
    border-inline-start: 0;
    border-top: 1px solid var(--line);
    padding-inline-start: 0;
    padding-top: 24px;
  }
  .big-aa {
    font-size: 100px;
  }
  .arabic-specimen {
    font-size: 49px;
  }
  .type-scale {
    font-size: 12px;
  }
  .type-scale td,
  .type-scale th {
    padding-inline: 5px;
  }
  .type-scale th:last-child,
  .type-scale td:last-child {
    display: none;
  }
  .voice-examples {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .voice-lead {
    font-size: 29px;
    padding: 27px 0;
  }
  .voice-example blockquote {
    font-size: 20px;
  }
  .app-canvas {
    min-height: 490px;
    padding: 25px;
  }
  .social-canvas {
    min-height: 410px;
    padding: 30px;
  }
  .social-canvas h3 {
    font-size: 44px;
  }
  .use-rules {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .downloads {
    grid-template-columns: 1fr;
    padding-block: 42px;
    gap: 28px;
  }
  .downloads h2 {
    font-size: 34px;
  }
  .footer {
    font-size: 10px;
    flex-wrap: wrap;
  }
  .toast {
    max-width: 85vw;
    width: max-content;
  }
  html[lang='ar'] .hero h1 {
    font-size: 45px;
    line-height: 1.5;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation: none !important;
    transition: none !important;
  }
}
@media print {
  .rail,
  .topbar,
  .logo-toolbar,
  .usage-controls,
  .toast,
  .footer button {
    display: none;
  }
  .main {
    margin: 0;
    padding: 0;
  }
  .chapter {
    break-before: page;
    border: 0;
    padding: 20px 0;
  }
  .hero {
    min-height: 0;
  }
  .downloads {
    margin: 0;
    padding: 25px;
    break-before: page;
  }
  .chapter-head {
    grid-template-columns: 1.1fr 1fr;
  }
  .usage {
    grid-template-columns: 1fr 1fr;
  }
  body {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .hero h1 {
    font-size: 55px;
  }
  a {
    text-decoration: none;
  }
  @page {
    size: A4;
    margin: 18mm;
  }
}
