.dd-page {
  --dd-ink: var(--ink, #142341);
  --dd-muted: var(--muted, #495b76);
  --dd-paper: var(--paper, #f3f6fb);
  --dd-blue: var(--blue, #2449de);
  --dd-line: var(--line, #d7e0ef);
  --dd-lime: var(--accent, #dbee53);
  background: var(--dd-paper);
  color: var(--dd-ink);
}
.dd-page [hidden] { display: none !important; }
.dd-page :focus-visible { outline: 3px solid #3156e2; outline-offset: 4px; }
.dd-wrap { width: min(1280px, calc(100% - 88px)); margin-inline: auto; }
.dd-page h1, .dd-page h2, .dd-page h3, .dd-page p, .dd-page figure { margin: 0; }
.dd-hero { display: grid; grid-template-columns: .78fr 1fr; align-items: center; gap: clamp(35px, 7vw, 110px); padding-block: clamp(62px, 8vw, 112px); }
.dd-hero-copy, .dd-cover { min-width: 0; }
.dd-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: var(--dd-muted); font-size: .83rem; margin-bottom: clamp(22px, 4vw, 46px); }
.dd-breadcrumb a { color: inherit; text-decoration: none; }
.dd-breadcrumb a:hover { text-decoration: underline; }
.dd-hero h1 { font-size: clamp(4rem, 8.1vw, 8.1rem); line-height: .88; letter-spacing: -.088em; font-weight: 700; }
.dd-hero .dd-hero-line { font-size: clamp(2rem, 3.45vw, 3.8rem); letter-spacing: -.063em; font-weight: 600; line-height: 1.02; margin-top: 22px; }
.dd-hero .dd-lede { margin-top: 23px; max-width: 34ch; font-size: clamp(1rem, 1.55vw, 1.24rem); line-height: 1.57; color: var(--dd-muted); }
.dd-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 23px; margin-top: 30px; }
.dd-button { min-height: 48px; padding: 10px 19px; border: 1px solid transparent; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; text-align: center; text-decoration: none; font: inherit; font-size: .87rem; font-weight: 750; line-height: 1.3; cursor: pointer; transition: background-color 180ms; }
.dd-button-primary { background: var(--dd-blue); color: #fff; }
.dd-button-primary:hover { background: #1738bf; color: #fff; }
.dd-button:disabled { background: #dce4f1; color: #5f6d85; cursor: not-allowed; }
.dd-link { color: var(--dd-ink); font-size: .88rem; font-weight: 750; text-decoration: underline; text-underline-offset: 4px; }
.dd-cover { position: relative; border-radius: 26px; isolation: isolate; aspect-ratio: 1.14; background: #c2c2ab; }
.dd-cover img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 52% 50%; border-radius: inherit; }
.dd-cover-ticket { position: absolute; bottom: 23px; left: 23px; display: flex; align-items: center; gap: 12px; color: #142341; background: #fff; box-shadow: 0 12px 35px #10233c38; padding: 13px 15px; border-radius: 10px; }
.dd-cover-ticket > div { display: grid; gap: 2px; }
.dd-cover-ticket strong { font-size: .92rem; }
.dd-cover-ticket > div span { color: #4b5e7a; font-size: .77rem; }
.dd-ticket-dot { display: block; width: 9px; height: 9px; background: #2c6b3b; border-radius: 50%; }
.dd-cover-tick { margin-left: 4px; background: #e4f5dc; color: #265a31; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-weight: 800; }

.dd-lab { background: #142341; color: #fff; padding: clamp(45px, 6vw, 79px) 0; scroll-margin-top: 90px; }
.dd-lab :focus-visible { outline-color: #88aaff; }
.dd-lab-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: clamp(25px, 3vw, 40px); }
.dd-page .dd-lab h2, .dd-page .dd-scope h2, .dd-page .dd-end h2 { font-size: clamp(2rem, 4.4vw, 4.2rem); letter-spacing: -.07em; line-height: 1.03; font-weight: 650; }
.dd-lab-head p { color: #c5d3ed; font-size: clamp(.92rem, 1.35vw, 1.08rem); margin-top: 12px; line-height: 1.5; }
.dd-simulation { flex: none; border: 1px solid #7087b0; color: #e4ecff; min-height: 34px; padding: 6px 10px; border-radius: 6px; font-size: .77rem; display: inline-flex; align-items: center; gap: 8px; }
.dd-simulation span { display: block; background: var(--dd-lime); width: 6px; height: 6px; border-radius: 50%; }
.dd-demo-shell { overflow: clip; border-radius: 16px; color: var(--dd-ink); background: #fff; }
.dd-demo-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; padding: 15px clamp(15px, 3vw, 34px); border-bottom: 1px solid var(--dd-line); }
.dd-role-picker { display: flex; flex-wrap: wrap; gap: 5px; padding: 4px; background: #edf1fa; border-radius: 9px; }
.dd-role-picker button, .dd-reset { font: inherit; font-size: .82rem; font-weight: 750; min-height: 44px; cursor: pointer; }
.dd-role-picker button { background: transparent; color: var(--dd-ink); border: 1px solid transparent; border-radius: 6px; padding: 0 16px; transition: background-color 180ms; }
.dd-role-picker button:hover { background: #dce5f7; }
.dd-role-picker button[aria-pressed="true"] { background: #fff; border-color: #c9d4e9; color: #1b3dbc; }
.dd-reset { background: none; border: 0; padding: 0 8px; color: #475a7b; text-decoration: underline; text-underline-offset: 3px; }
.dd-reset:hover { color: var(--dd-blue); }
.dd-demo-grid { display: grid; grid-template-columns: 1.28fr 1fr; gap: clamp(18px, 3vw, 42px); padding: clamp(16px, 3vw, 35px); }
.dd-demo-work, .dd-ticket { min-width: 0; }
.dd-view-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 3px 12px; margin-bottom: 10px; }
.dd-view-head h3, .dd-ticket-head h3 { font-size: clamp(1.45rem, 2.4vw, 2.25rem); letter-spacing: -.052em; line-height: 1.1; font-weight: 650; }
.dd-view-head > span { color: var(--dd-muted); font-size: .78rem; }
.dd-menu-list, .dd-ticket-items { list-style: none; padding: 0; margin: 0; }
.dd-menu-list > li, .dd-ticket-items > li { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-bottom: 1px solid var(--dd-line); padding-block: 11px; }
.dd-menu-list strong, .dd-ticket-items strong { display: block; font-size: .95rem; line-height: 1.28; }
.dd-menu-list li > div:first-child span, .dd-ticket-items li > div:first-child span { display: block; font-size: .78rem; color: var(--dd-muted); margin-top: 4px; line-height: 1.3; }
.dd-line-action, .dd-quantity { flex: none; display: flex; gap: 9px; align-items: center; font-size: .85rem; font-weight: 750; font-variant-numeric: tabular-nums; }
.dd-add, .dd-quantity button { border: 1px solid #b9c8e3; background: #f0f4ff; color: #1a3cba; width: 44px; height: 44px; border-radius: 7px; display: grid; place-items: center; cursor: pointer; font: inherit; font-size: 1.35rem; line-height: 1; }
.dd-add:hover, .dd-quantity button:hover { background: #dce7ff; }
.dd-flow-action { margin-top: 16px; }
.dd-role-state { margin-top: 19px; padding: clamp(16px, 3vw, 26px); background: #eef3ff; border-left: 4px solid #5070e7; border-radius: 0 9px 9px 0; }
.dd-role-state > strong { display: block; font-size: 1.13rem; letter-spacing: -.025em; }
.dd-role-state p { margin-top: 6px; margin-bottom: 15px; color: var(--dd-muted); font-size: .92rem; line-height: 1.5; }
.dd-ticket { align-self: start; background: #f2f6fe; border: 1px solid #d5dfef; border-radius: 10px; padding: clamp(14px, 2.3vw, 26px); }
.dd-ticket-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.dd-ticket-head > div > span { color: var(--dd-muted); font-size: .79rem; display: block; margin-bottom: 4px; }
.dd-stage { color: #213667; border: 1px solid #adbfdf; background: #e5edfc; padding: 5px 8px; border-radius: 5px; font-size: .78rem; font-weight: 750; white-space: nowrap; }
.dd-stage[data-dd-phase="ready"], .dd-stage[data-dd-phase="complete"] { background: #e3f1cc; border-color: #91b56e; color: #2f4c20; }
.dd-ticket .dd-empty { color: var(--dd-muted); margin-block: 22px; font-size: .85rem; }
.dd-ticket-items > li { border-bottom-color: #d0dbed; }
.dd-ticket-items > li:first-child { margin-top: 8px; }
.dd-quantity button { background: #fff; }
.dd-total { border-top: 1px dashed #aebed9; margin-top: 14px; padding-top: 13px; display: flex; justify-content: space-between; align-items: center; font-size: .85rem; }
.dd-total strong { font-size: 1.2rem; font-variant-numeric: tabular-nums; }
.dd-progress { margin: 14px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; color: var(--dd-muted); font-size: .72rem; }
.dd-progress li { padding-top: 6px; border-top: 3px solid #cbd7ed; }
.dd-progress li[data-dd-passed] { border-top-color: #7894eb; }
.dd-progress li[aria-current="step"] { border-top-color: var(--dd-blue); color: #203da4; font-weight: 800; }
.dd-lab .dd-demo-disclosure { margin-top: 14px; color: #c5d3ed; font-size: .82rem; line-height: 1.45; }
.dd-noscript { padding: 14px; color: var(--dd-ink); }
.dd-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

.dd-scope { display: grid; grid-template-columns: .8fr 1fr; gap: clamp(25px, 7vw, 105px); padding-block: clamp(48px, 8vw, 108px); }
.dd-scope-intro p, .dd-end p { color: var(--dd-muted); max-width: 44ch; line-height: 1.6; margin-top: 16px; }
.dd-roles { margin: 0; }
.dd-roles > div { border-top: 1px solid #cad6e9; padding-block: 13px; display: grid; grid-template-columns: .74fr 1fr; gap: 8px 16px; }
.dd-roles > div:last-child { border-bottom: 1px solid #cad6e9; }
.dd-roles dt { font-weight: 750; }
.dd-roles dd { margin: 0; font-size: .88rem; color: var(--dd-muted); line-height: 1.5; }
.dd-end { border-top: 1px solid #cbd7e9; padding-block: clamp(40px, 6vw, 67px); display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: end; }
.dd-page .dd-end h2 { font-size: clamp(1.8rem, 3.7vw, 3.3rem); }

@media (max-width: 920px) {
  .dd-wrap { width: calc(100% - 52px); }
  .dd-hero { gap: 27px; }
  .dd-wide-break { display: none; }
}
@media (max-width: 690px) {
  .dd-wrap { width: calc(100% - 32px); }
  .dd-hero, .dd-scope, .dd-demo-grid { grid-template-columns: 1fr; }
  .dd-hero { padding-block: 35px 46px; }
  .dd-hero h1 { font-size: clamp(3.8rem, 14vw, 6rem); }
  .dd-hero .dd-hero-line { margin-top: 13px; }
  .dd-hero .dd-lede { margin-top: 14px; }
  .dd-actions { margin-top: 19px; }
  .dd-cover { aspect-ratio: 1.35; border-radius: 16px; }
  .dd-cover-ticket { left: 12px; bottom: 12px; padding: 9px 10px; }
  .dd-lab-head { flex-wrap: wrap; align-items: start; }
  .dd-role-picker button { padding-inline: 9px; }
  .dd-demo-top { padding-inline: 12px; }
  .dd-demo-grid { padding-inline: 12px; }
}
@media (max-width: 390px) {
  .dd-role-picker { gap: 2px; }
  .dd-role-picker button { padding-inline: 7px; font-size: .76rem; }
  .dd-reset { padding-inline: 3px; font-size: .76rem; }
  .dd-progress { font-size: .65rem; }
  .dd-roles > div { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .dd-page *, .dd-page *::before, .dd-page *::after { transition: none !important; animation: none !important; }
}
