/* Contiducks docs site — shared styles */

:root {
  --color-bg: #f7f8fb;
  --color-bg-warm: #f4eee4;
  --color-ink: #10172b;
  --color-ink-soft: #4b5266;
  --color-muted: #6b7280;
  --color-blue: #3b5cf0;
  --color-blue-dark: #2d49c9;
  --color-blue-darker: #22399f;
  --color-border: #e6e8ee;
  --color-card-bg: #ffffff;
  --color-purple-bg: #efe9fe;
  --color-purple-ic: #7c5cfc;
  --color-green-bg: #e5f4ea;
  --color-green-ic: #22a55a;
  --color-blue-bg: #e4eafd;
  --color-blue-ic: #3b6bf5;
  --color-orange-bg: #fdece0;
  --color-orange-ic: #ef8a3f;
  --max-width: 1120px;
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--color-ink);
  background: var(--color-bg);
  line-height: 1.5;
}

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

img {
  max-width: 100%;
  display: block;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- header / nav ---------- */

site-header {
  display: block;
}

.site-header {
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg);
  position: relative;
  z-index: 10;
}

.site-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 32px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand__icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: block;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand__name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-ink);
}

.brand__tagline {
  font-size: 0.8rem;
  color: var(--color-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-ink);
}

.nav-links a[aria-current="page"] {
  color: var(--color-blue);
}

.nav-links a:hover {
  color: var(--color-blue);
}

.nav-links__cta {
  display: flex;
}

.appstore-badge {
  display: inline-block;
  line-height: 0;
  transition: opacity 0.15s ease;
}

.appstore-badge img {
  display: block;
  height: 40px;
  width: auto;
}

.appstore-badge:hover {
  opacity: 0.85;
}

.nav-links__lang {
  display: flex;
}

.lang-switch {
  position: relative;
}

.lang-switch__button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1px solid var(--color-border);
  color: var(--color-ink);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
}

.lang-switch__button:hover {
  border-color: var(--color-blue);
  color: var(--color-blue);
}

.lang-switch__chevron {
  transition: transform 0.15s ease;
}

.lang-switch.is-open .lang-switch__chevron {
  transform: rotate(180deg);
}

.lang-switch__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  box-shadow: 0 12px 24px -8px rgba(16, 23, 43, 0.18);
  list-style: none;
  margin: 0;
  padding: 6px;
  min-width: 130px;
  display: none;
  z-index: 20;
}

.lang-switch.is-open .lang-switch__menu {
  display: block;
}

.lang-switch__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-ink);
  padding: 8px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
}

.lang-switch__option:hover:not(:disabled) {
  background: var(--color-bg);
}

.lang-switch__option.is-active {
  color: var(--color-blue);
  font-weight: 700;
}

.lang-switch__option:disabled {
  color: var(--color-muted);
  cursor: not-allowed;
}

.lang-switch__soon {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--color-bg);
  color: var(--color-muted);
  padding: 2px 6px;
  border-radius: 999px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-blue-dark);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 18px;
  border-radius: 10px;
  white-space: nowrap;
  transition: background 0.15s ease;
}

.nav-cta:hover {
  background: var(--color-blue-darker);
  color: #fff;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-ink);
  margin: 4px 0;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px 32px 20px;
    display: none;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    padding: 10px 0;
  }

  .nav-links__cta {
    margin-top: 10px;
  }

  .brand__tagline {
    display: none;
  }

  .nav-links__lang {
    margin-top: 6px;
  }

  .lang-switch {
    width: 100%;
  }

  .lang-switch__button {
    display: none;
  }

  .lang-switch__menu {
    position: static;
    display: flex;
    gap: 8px;
    border: none;
    box-shadow: none;
    padding: 0;
    min-width: 0;
    background: none;
  }

  .lang-switch__option {
    border: 1px solid var(--color-border);
    border-radius: 8px;
    justify-content: center;
  }
}

/* ---------- hero ---------- */

.hero {
  padding: 72px 0 96px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
}

.hero__eyebrow {
  color: var(--color-blue);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 18px;
}

.hero h1 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 68px;
  line-height: 1.08;
  font-weight: 700;
  margin: 0 0 24px;
  color: var(--color-ink);
}

.hero p.lede {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--color-muted);
  max-width: 46ch;
  margin: 0 0 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--color-blue-dark);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-blue-darker);
  color: #fff;
}

.btn-secondary {
  background: #fff;
  color: var(--color-ink);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  border-color: var(--color-blue);
  color: var(--color-blue);
}

.apple-mark {
  font-size: 1.15rem;
  line-height: 1;
}

/* ---------- phone mockups ---------- */

.hero__art {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-phone {
  position: relative;
  z-index: 1;
  width: 320px;
  height: auto;
  display: block;
  filter: drop-shadow(0 30px 50px rgba(16, 23, 43, 0.16)) drop-shadow(0 8px 16px rgba(16, 23, 43, 0.1));
}

.phone-frame {
  position: relative;
  width: 280px;
  margin: 0 auto;
  border-radius: 42px;
  border: 10px solid #17181d;
  background: #17181d;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(16, 23, 43, 0.35), 0 10px 20px -10px rgba(16, 23, 43, 0.2);
  transform: rotate(-1.5deg);
}

.tutorial-shot {
  position: relative;
  width: 260px;
  margin: 0;
}

.tutorial-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.phone-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.phone-frame--flat {
  transform: none;
}

/* ---------- tutorial screenshot annotations ---------- */

.mail-mock__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: #fff;
}

.mail-mock__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #9aa5d1, #7b83bb);
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.mail-mock__meta {
  flex: 1;
  min-width: 0;
}

.mail-mock__name {
  font-weight: 700;
  font-size: 0.92rem;
  color: #16171b;
}

.mail-mock__to {
  font-size: 0.8rem;
  color: #8a8f98;
}

.mail-mock__to b {
  color: #16171b;
  font-weight: 600;
}

.mail-mock__time {
  font-size: 0.8rem;
  color: #9a9ea6;
  flex: none;
  align-self: flex-start;
  margin-top: 1px;
}

.mail-mock__bottom {
  position: relative;
}

.tap-hint {
  position: absolute;
  border: 2.5px solid var(--color-blue);
  border-radius: 10px;
  box-shadow: 0 0 0 5px rgba(59, 92, 240, 0.16);
  pointer-events: none;
}

.press-hint {
  position: absolute;
  width: 38px;
  height: 38px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.press-hint__ring {
  position: absolute;
  inset: 0;
}

.press-hint__ring::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2.5px solid var(--color-blue);
  animation: press-ping 1.8s ease-out infinite;
}

@keyframes press-ping {
  0% {
    transform: scale(0.55);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.9);
    opacity: 0;
  }
}

.press-hint__label,
.tap-hint__label {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 10px;
  background: var(--color-ink);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  white-space: nowrap;
  pointer-events: none;
}

/* ---------- spreadsheet mockup ---------- */

.sheet-mock {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 48px -24px rgba(16, 23, 43, 0.3);
}

.sheet-mock__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-ink-soft);
}

.sheet-mock__bar svg {
  flex: none;
  color: var(--color-green-ic);
}

.sheet-mock__scroll {
  overflow-x: auto;
}

.sheet-mock table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.sheet-mock th {
  background: #eef0f5;
  text-align: left;
  font-weight: 700;
  color: var(--color-ink-soft);
  padding: 10px 14px;
  border-bottom: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  white-space: nowrap;
}

.sheet-mock td {
  padding: 9px 14px;
  border-bottom: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  color: var(--color-ink);
  white-space: nowrap;
}

.sheet-mock tr:last-child td {
  border-bottom: none;
}

.sheet-mock th:last-child,
.sheet-mock td:last-child {
  border-right: none;
}

.sheet-mock tbody tr:nth-child(even) {
  background: #fafbfd;
}

/* Fade the last row and column to hint the list continues */
.sheet-mock th:last-child, .sheet-mock td:last-child { -webkit-mask-image: linear-gradient(to right, #000 10%, transparent); mask-image: linear-gradient(to right, #000 10%, transparent); }
.sheet-mock tbody tr:last-child td { -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent); mask-image: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent); }
.sheet-mock tbody tr:last-child td:last-child { -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent), linear-gradient(to right, #000 10%, transparent); mask-image: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent), linear-gradient(to right, #000 10%, transparent); -webkit-mask-composite: source-in; mask-composite: intersect; }
html[dir="rtl"] .sheet-mock th:last-child, html[dir="rtl"] .sheet-mock td:last-child { -webkit-mask-image: linear-gradient(to left, #000 10%, transparent); mask-image: linear-gradient(to left, #000 10%, transparent); }
html[dir="rtl"] .sheet-mock tbody tr:last-child td { -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent); mask-image: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent); }
html[dir="rtl"] .sheet-mock tbody tr:last-child td:last-child { -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent), linear-gradient(to left, #000 10%, transparent); mask-image: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent), linear-gradient(to left, #000 10%, transparent); -webkit-mask-composite: source-in; mask-composite: intersect; }

/* ---------- flat feature rows (in-action page) ---------- */

.feature-section {
  padding: 96px 0;
}

.feature-section__head {
  max-width: 60ch;
  margin: 0 0 40px;
}

.feature-section__head h2 {
  font-size: clamp(1.6rem, 2.6vw, 2rem);
  font-weight: 800;
  margin: 0 0 10px;
}

.feature-section__head p {
  font-size: 1.05rem;
  color: var(--color-ink-soft);
  margin: 0;
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 36px 32px;
}

.feature__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--color-blue-bg);
  color: var(--color-blue-ic);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 14px;
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
}

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

.feature__link {
  display: inline-block;
  margin-top: 10px;
  color: var(--color-blue);
  font-weight: 600;
  font-size: 0.92rem;
}

/* ---------- callout section (warm bg) ---------- */

.callout {
  background: var(--color-bg-warm);
  padding: 96px 0;
}

.callout__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
}

.callout h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.5rem);
  line-height: 1.2;
  font-weight: 800;
  margin: 0 0 20px;
  color: var(--color-ink);
}

.callout p {
  font-size: 1.1rem;
  color: var(--color-ink-soft);
  max-width: 44ch;
}

.callout__grid--reverse .callout__copy {
  order: 2;
}

.callout__grid--reverse .callout__art {
  order: 1;
}

/* ---------- generic content sections (doc pages) ---------- */

.page-hero {
  padding: 64px 0 40px;
  text-align: left;
}

.page-hero h1 {
  font-size: clamp(2.1rem, 4vw, 2.9rem);
  font-weight: 800;
  margin: 0 0 16px;
}

.page-hero p {
  font-size: 1.15rem;
  color: var(--color-muted);
  max-width: 60ch;
}

.content {
  padding: 8px 0 88px;
}

.content h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 48px 0 16px;
}

.content h2:first-child {
  margin-top: 0;
}

.content p {
  color: var(--color-ink-soft);
  font-size: 1.05rem;
  max-width: 72ch;
  margin: 0 0 16px;
}

.content ul, .content ol {
  color: var(--color-ink-soft);
  font-size: 1.05rem;
  max-width: 72ch;
  padding-left: 22px;
}

.content li {
  margin-bottom: 10px;
}

.content ol {
  counter-reset: step;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 24px 0 8px;
}

.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 24px;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  font-weight: 700;
}

.card p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--color-muted);
}

.stepper {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

.step {
  position: relative;
  display: flex;
  gap: 28px;
  padding: 32px 32px 36px;
  border-radius: 20px;
  margin-bottom: 40px;
  background: var(--step-bg, #fff);
  box-shadow: 0 1px 3px rgba(16, 23, 43, 0.06);
}

.step:nth-child(odd) {
  --step-bg: #ffffff;
}

.step:nth-child(even) {
  --step-bg: var(--color-bg-warm);
}

.step:last-child {
  margin-bottom: 0;
}

.step--done {
  --step-bg: #e6f4ea;
  align-items: center;
}

.step__num {
  position: relative;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-blue-dark);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 6px var(--step-bg, #fff);
}

.step--done .step__num {
  background: var(--color-green-ic);
}

.step__body {
  flex: 1;
  min-width: 0;
  padding-top: 9px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
}

.step__body > p {
  flex: 1 1 200px;
  margin: 4px 0 0;
  color: var(--color-ink);
  font-size: 1.05rem;
}

.step__body h3 {
  margin: 4px 0 8px;
  font-size: 1.1rem;
}

.step__body .phone-frame,
.step__body .tutorial-shot {
  width: 260px;
  flex: none;
  margin: 0;
}

.step__note {
  display: block;
  margin-top: 8px;
  font-size: 0.95rem;
  color: var(--color-muted);
}

.tap-hint--round {
  border-radius: 50%;
}

/* ---------- load-a-list source picker ----------
   One entry per place a list can come from (email, Files, ...). The links
   are rendered by <load-sources> in js/components.js. */

.source-switch {
  max-width: 760px;
  margin: 0 auto 40px;
}

.source-switch .source-switch__label {
  margin: 0 0 12px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-muted);
}

.source-switch__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.source-switch__list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--color-border);
  background: #fff;
  font-weight: 600;
  color: var(--color-ink);
}

.source-switch__list a:hover {
  border-color: var(--color-blue-dark);
}

.source-switch__list a[aria-current="page"] {
  border-color: var(--color-blue-dark);
  background: var(--color-blue-bg);
  color: var(--color-blue-dark);
}

.source-switch__list svg {
  flex: none;
}

.content .flow-title {
  max-width: 760px;
  margin: 56px auto 20px;
  font-size: 1.5rem;
  font-weight: 800;
}

.content .flow-title:first-child {
  margin-top: 0;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: 22px 0;
}

.faq-item h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  font-weight: 700;
}

.faq-item p {
  margin: 0;
  color: var(--color-ink-soft);
}

.contact-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  padding: 32px;
  max-width: 480px;
}

.contact-card a.email {
  color: var(--color-blue);
  font-weight: 700;
  font-size: 1.15rem;
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 40px 0;
}

.site-footer__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.site-footer__brand img {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}

.site-footer__links {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__links a {
  font-size: 0.9rem;
  color: var(--color-muted);
}

.site-footer__links a:hover {
  color: var(--color-blue);
}

@media (max-width: 760px) {
  .hero__grid, .callout__grid {
    grid-template-columns: 1fr;
  }

  .callout__grid--reverse .callout__copy,
  .callout__grid--reverse .callout__art {
    order: initial;
  }

  .hero {
    padding: 44px 0 64px;
    text-align: center;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero p.lede {
    font-size: 18px;
    margin-left: auto;
    margin-right: auto;
  }

  .callout {
    padding: 64px 0;
    text-align: center;
  }

  .callout p {
    margin-left: auto;
    margin-right: auto;
  }

  .step {
    gap: 12px;
    padding: 18px 16px 22px;
    margin-bottom: 24px;
  }

  .step__body {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .step__body .phone-frame,
  .step__body .tutorial-shot {
    width: 100%;
    max-width: 230px;
  }

  .phone {
    width: 260px;
    height: 530px;
  }

  .phone-frame {
    width: 220px;
  }

  .hero-phone {
    width: 240px;
  }

  .site-header__row {
    padding: 16px 20px;
  }

  .wrap {
    padding: 0 20px;
  }
}

/* ---------- Hebrew / RTL ----------
   Flexbox and Grid already mirror on their own once <html dir="rtl"> is
   set (row layouts, gaps, justify-content: space-between all flip for
   free). Everything below is the handful of properties that don't —
   absolute-positioned menus, text-align, and list/table paddings that
   were pointed at a physical side rather than a logical one. */

html[dir="rtl"] .lang-switch__menu {
  right: auto;
  left: 0;
}

html[dir="rtl"] .lang-switch__option {
  text-align: right;
}

html[dir="rtl"] .page-hero,
html[dir="rtl"] .hero__copy,
html[dir="rtl"] .callout__copy {
  text-align: right;
}

html[dir="rtl"] .content ul,
html[dir="rtl"] .content ol {
  padding-left: 0;
  padding-right: 22px;
}

html[dir="rtl"] .sheet-mock th,
html[dir="rtl"] .sheet-mock td {
  text-align: right;
  border-right: none;
  border-left: 1px solid var(--color-border);
}

html[dir="rtl"] .sheet-mock th:last-child,
html[dir="rtl"] .sheet-mock td:last-child {
  border-left: none;
}

html[dir="rtl"] .feature__link {
  display: inline-flex;
  flex-direction: row-reverse;
}

@media (max-width: 760px) {
  html[dir="rtl"] .hero,
  html[dir="rtl"] .callout,
  html[dir="rtl"] .page-hero,
  html[dir="rtl"] .hero__copy,
  html[dir="rtl"] .callout__copy {
    text-align: center;
  }
}
