@font-face {
  font-family: 'by-Inter';
  src: url('/assets/fonts/inter-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'by-Space';
  src: url('/assets/fonts/space-grotesk-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}
.page-beraya {
  --head: 'by-Space', 'Segoe UI', sans-serif;
  --body: 'by-Inter', 'Segoe UI', sans-serif;
  --accent: #f1bd91;
  --accent-ink: #25160b;
  --accent-soft: rgba(241, 189, 145, .10);
  --bg: #0a0d14;
  --surface: #121726;
  --bar: rgba(10, 13, 20, .96);
  --hair: rgba(255, 255, 255, .09);
  --hair-2: rgba(255, 255, 255, .19);
  --text: #eef1f7;
  --text-2: #c0c6d1;
  --muted: #a5adbb;
  --live: #58dba8;
}
.page-beraya main .wrap { max-width: 840px; }
.page-beraya main > .wrap:first-child { padding-top: 40px; }
.page-beraya .crumb { margin: 0 0 26px; font-size: 14px; }
.page-beraya .crumb a { color: var(--muted); text-decoration: none; }
.page-beraya .crumb a:before { content: '\2190'; margin-right: 8px; }
.page-beraya .crumb a:hover { color: var(--accent); }
.page-beraya .story-app { margin-bottom: 36px; }
.by-hero { border-bottom: 1px solid var(--hair-2); padding-bottom: 28px; }
.by-hero h1 { max-width: 19em; font-size: 36px; line-height: 1.1; letter-spacing: -.045em; }
.by-hero p { margin-top: 18px; max-width: 66ch; color: var(--text-2); font-size: 18px; line-height: 1.6; }
.by-section { margin-top: 40px; color: var(--text-2); }
.by-section h2 { margin: 0 0 18px; color: var(--text); font-size: 25px; line-height: 1.2; }
.by-section p + p { margin-top: 18px; }
.by-section a, .by-end a:not(.btn) {
  color: var(--text);
  text-decoration: underline;
  -webkit-text-decoration-color: var(--accent);
  text-decoration-color: var(--accent);
  text-underline-offset: 4px;
}
.by-section a:hover, .by-end a:not(.btn):hover { color: var(--accent); }
.by-steps { list-style: none; padding: 0; counter-reset: by-step; }
.by-steps li {
  position: relative;
  counter-increment: by-step;
  padding: 16px 0 16px 44px;
  border-top: 1px solid var(--hair);
}
.by-steps li:last-child { padding-bottom: 0; }
.by-steps li:before {
  position: absolute;
  left: 0;
  top: 16px;
  content: counter(by-step, decimal-leading-zero);
  font: 600 18px/1.5 var(--head);
  color: var(--accent);
}
.by-steps strong { color: var(--text); }
.by-table { width: 100%; border-collapse: collapse; margin: 24px 0 18px; background: var(--surface); font-size: 16px; }
.by-table caption { padding: 0 0 9px; color: var(--muted); font-size: 14px; text-align: left; }
.by-table th, .by-table td { padding: 12px 14px; text-align: left; line-height: 1.45; border-bottom: 1px solid var(--hair-2); }
.by-table thead th { background: var(--accent-soft); color: var(--accent); font-size: 14px; }
.by-table tbody th, .by-table td:last-child { color: var(--text); font-weight: 600; }
.by-photos { display: grid; grid-template-columns: 1fr; grid-gap: 28px; justify-content: center; margin-top: 28px; }
.by-photos figure { width: 100%; max-width: 264px; margin: 0 auto; }
.by-photos img { width: 100%; height: auto; border: 1px solid var(--hair-2); border-radius: 12px; }
.by-photos figcaption { margin-top: 12px; color: var(--text-2); font-size: 14px; line-height: 1.55; }
.by-limits { background: var(--surface); border-left: 3px solid var(--accent); padding: 22px 24px; }
.by-limits h2 { font-size: 22px; }
.by-end { margin: 36px 0 40px; }
.by-end .btn { margin-right: 20px; }
.by-end a { display: inline-block; vertical-align: middle; margin-bottom: 8px; }
@media (max-width: 600px) {
  .by-table { min-width: 0; font-size: 14px; }
  .by-table th, .by-table td { padding: 9px 6px; }
  .by-table thead th { font-size: 13px; }
  .by-table th:first-child { white-space: nowrap; }
}
@media (min-width: 640px) {
  .by-photos { grid-template-columns: 264px 264px; grid-gap: 32px; }
}
@media (min-width: 900px) {
  .page-beraya main > .wrap:first-child { padding-top: 64px; }
  .by-hero h1 { font-size: 52px; }
  .by-hero p { font-size: 20px; }
  .by-section { margin-top: 56px; }
  .by-section h2 { font-size: 30px; }
  .by-limits h2 { font-size: 24px; }
}
