.betk-app-e {
  --primary: #ff2c2c;
  --secondary: #d9ad58;
  --text: #f5f3f0;
  --muted: #c9ced6;
  --accent: #39c9b6;
  --background: #10131b;
  --surface: #1b202b;
  --border: #343a48;
  box-sizing: border-box;
  background: var(--background);
  color: var(--text);
  font: 16px/1.65 "Segoe UI", Arial, sans-serif;
  overflow-x: clip;
}
.betk-app-e *, .betk-app-e *::before, .betk-app-e *::after { box-sizing: border-box; }
.betk-app-e main, .betk-app-e section, .betk-app-e article, .betk-app-e figure,
.betk-app-e img, .betk-app-e a, .betk-app-e button, .betk-app-e h1,
.betk-app-e h2, .betk-app-e h3, .betk-app-e p, .betk-app-e figcaption { max-width: 100%; }
.betk-app-e h1, .betk-app-e h2, .betk-app-e h3, .betk-app-e p,
.betk-app-e a, .betk-app-e button, .betk-app-e figcaption {
  overflow-wrap: break-word;
  word-wrap: break-word;
}
.betk-app-e h1, .betk-app-e h2, .betk-app-e h3, .betk-app-e p, .betk-app-e figure { margin: 0; }
.betk-app-e h1, .betk-app-e h2, .betk-app-e h3 { line-height: 1.18; letter-spacing: 0; }
.betk-app-e p { color: var(--muted); }
.betk-app-e strong { color: var(--text); }
.betk-app-e a { color: var(--accent); text-underline-offset: .2em; }
.betk-app-e a:hover { color: var(--text); }
.betk-app-e a:focus-visible, .betk-app-e summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.betk-app-e img { display: block; width: 100%; max-width: 100%; height: auto; object-fit: cover; }
.betk-app-e ::selection { background: var(--secondary); color: var(--background); }
.betk-app-e section { padding: clamp(3.5rem, 6vw, 6rem) max(1.25rem, calc((100vw - 1160px) / 2)); }
.betk-app-e section > *, .betk-app-e article > *, .betk-app-e div > * { min-width: 0; }
.betk-app-e p + p { margin-top: 1rem; }
.betk-app-e h2 { font-size: clamp(1.8rem, 3vw, 2.65rem); max-width: 23ch; }
.betk-app-e h3 { font-size: 1.2rem; }
.betk-app-e h2 + p, .betk-app-e h3 + p { margin-top: 1rem; }
.betk-app-e .app-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 3.25rem;
  padding: .78rem 1.25rem;
  border-radius: 4px;
  border: 1px solid transparent;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.betk-app-e .app-button-primary { background: var(--primary); color: var(--background); }
.betk-app-e .app-button-primary:hover { background: #ff5555; color: var(--background); }
.betk-app-e .app-button-quiet { border-color: var(--secondary); color: var(--text); }
.betk-app-e .app-button-quiet:hover { background: var(--secondary); color: var(--background); }
.betk-app-e .app-opening {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  min-height: 610px;
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.betk-app-e .app-opening h1 { font-size: clamp(2.7rem, 5vw, 4.75rem); max-width: 12ch; }
.betk-app-e .app-opening h1 strong { color: var(--primary); }
.betk-app-e .app-opening-copy > p:first-of-type { margin-top: 1.8rem; font-size: 1.08rem; }
.betk-app-e .app-opening-visual { align-self: stretch; overflow: hidden; border-radius: 6px; }
.betk-app-e .app-opening-visual img { height: 100%; aspect-ratio: 16 / 9; }
.betk-app-e .app-opening-actions, .betk-app-e .app-flow-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.75rem;
}
.betk-app-e .app-situations { background: var(--surface); }
.betk-app-e .app-section-heading { display: flex; gap: 2.5rem; justify-content: space-between; align-items: end; }
.betk-app-e .app-section-heading p { max-width: 52ch; }
.betk-app-e .app-situation-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.betk-app-e .app-situation { display: flex; gap: 1rem; padding-top: 1.4rem; border-top: 1px solid var(--border); min-width: 0; }
.betk-app-e .app-situation-mark { flex: 0 0 1.8rem; font-size: 1.25rem; }
.betk-app-e .app-mobile-flow { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(220px, .7fr); gap: clamp(2rem, 7vw, 7rem); align-items: center; }
.betk-app-e .app-flow-copy { max-width: 69ch; }
.betk-app-e .app-flow-copy h2 + p { margin-top: 1.5rem; }
.betk-app-e .app-flow-visual { max-width: 350px; justify-self: center; width: 100%; }
.betk-app-e .app-flow-visual img { aspect-ratio: 9 / 16; border-radius: 6px; }
.betk-app-e .app-device { background: var(--surface); }
.betk-app-e .app-device-top { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.betk-app-e .app-device-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 4rem); margin-top: 2.5rem; }
.betk-app-e .app-device-columns article { border-top: 1px solid var(--secondary); padding-top: 1.5rem; }
.betk-app-e .app-device-note { margin-top: 2rem; max-width: 72ch; }
.betk-app-e .app-scene { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.betk-app-e .app-scene figure img { aspect-ratio: 4 / 3; border-radius: 6px; }
.betk-app-e .app-questions { background: var(--surface); }
.betk-app-e .app-questions-list { max-width: 850px; margin-top: 2rem; }
.betk-app-e .app-questions details { border-bottom: 1px solid var(--border); padding: 1.1rem 0; }
.betk-app-e .app-questions summary { cursor: pointer; font-weight: 700; font-size: 1.08rem; padding-right: 1rem; }
.betk-app-e .app-questions details p { margin-top: .75rem; max-width: 72ch; }
.betk-app-e .app-last-call { display: flex; align-items: center; justify-content: space-between; gap: 2rem; border-top: 1px solid var(--primary); }
.betk-app-e .app-last-call p { max-width: 62ch; }
.betk-app-e .app-last-call .app-button { flex: 0 0 auto; }
@media (max-width: 820px) {
  .betk-app-e .app-opening, .betk-app-e .app-mobile-flow, .betk-app-e .app-scene { grid-template-columns: 1fr; min-height: 0; }
  .betk-app-e .app-opening-visual { order: -1; max-height: 420px; }
  .betk-app-e .app-opening-visual img { aspect-ratio: 16 / 9; }
  .betk-app-e .app-situation-list { grid-template-columns: 1fr; gap: 1.1rem; }
  .betk-app-e .app-section-heading, .betk-app-e .app-last-call { display: block; }
  .betk-app-e .app-section-heading p { margin-top: 1rem; }
  .betk-app-e .app-last-call .app-button { margin-top: 1.5rem; }
}
@media (max-width: 640px) {
  .betk-app-e section { padding: 3rem 1rem; }
  .betk-app-e .app-opening { gap: 1.5rem; padding-top: 1rem; }
  .betk-app-e .app-opening h1 { font-size: 2.4rem; }
  .betk-app-e h2 { font-size: 1.75rem; }
  .betk-app-e .app-opening-actions, .betk-app-e .app-flow-actions { gap: .6rem; }
  .betk-app-e .app-button { width: 100%; max-width: 100%; }
  .betk-app-e .app-device-top, .betk-app-e .app-device-columns { grid-template-columns: 1fr; gap: 1.5rem; }
  .betk-app-e .app-flow-visual { max-width: 260px; }
}
