.dm {
  --dm-line: #e3e9ef;
  --dm-field: #f6f9fb;
  --dm-navy: #071624;
}

.dm [hidden] { display: none !important; }

.dm-form { display: grid; gap: 22px; }
.dm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.dm-field { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.dm-field--full { grid-column: 1 / -1; }
.dm-field label,
.dm-field legend { padding: 0; font-size: 13.5px; font-weight: 600; color: var(--p2-ink); }
.dm-field legend { margin-bottom: 10px; }
.dm-field i { font-style: normal; color: #e0565b; }
.dm-field small { margin-left: 6px; font-size: 12.5px; font-weight: 400; color: var(--p2-muted); }
.dm-field input,
.dm-field select { width: 100%; height: 48px; padding: 0 16px; border: 1px solid var(--dm-line); border-radius: 12px; background-color: var(--dm-field); font: inherit; font-size: 14.5px; color: var(--p2-ink); transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease; }
.dm-field select { padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M12.667 6L8 10.667 3.333 6' fill='none' stroke='%238a99a8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-position: right 16px center; background-repeat: no-repeat; background-size: 16px; appearance: none; cursor: pointer; }
.dm-field input::placeholder { color: #9aa8b5; }
.dm-field input:focus,
.dm-field select:focus { border-color: var(--p2-teal); background-color: #ffffff; outline: none; box-shadow: 0 0 0 4px rgb(49 170 183 / 15%); }
.dm-field.is-invalid input,
.dm-field.is-invalid select { border-color: #e0565b; }
.dm-field.is-invalid legend { color: #c2373c; }

.dm-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dm-chips--size { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.dm-chip { position: relative; cursor: pointer; }
.dm-chip input { position: absolute; opacity: 0; pointer-events: none; }
.dm-chip span { display: inline-flex; gap: 6px; align-items: center; justify-content: center; width: 100%; min-height: 40px; padding: 8px 14px; border: 1px solid var(--dm-line); border-radius: 999px; background-color: #ffffff; font-size: 13.5px; font-weight: 600; color: var(--p2-text); transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease; }
.dm-chip span svg { display: none; flex: none; }
.dm-chip:hover span { border-color: var(--p2-teal); color: var(--p2-ink); }
.dm-chip input:checked + span { border-color: var(--p2-teal-d); background-color: var(--p2-teal-d); color: #ffffff; }
.dm-chip input:checked + span svg { display: block; }
.dm-chips--size .dm-chip span { padding-inline: 8px; white-space: nowrap; }
.dm-chip input:focus-visible + span { box-shadow: 0 0 0 4px rgb(49 170 183 / 25%); }

.dm-error { padding: 12px 16px; border-radius: 12px; background-color: #fdecec; font-size: 13.5px; font-weight: 600; color: #b3262c; }
.dm-submit { justify-content: center; width: 100%; height: 52px; font-size: 15px; }
.dm-note { margin-top: -10px; font-size: 12.5px; text-align: center; color: var(--p2-muted); }
.dm-note a { color: var(--p2-teal-d); }
.dm-g__card > h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; color: var(--p2-ink); }

.dm-g { position: relative; margin-top: calc(var(--header-h) * -1); padding: calc(var(--header-h) + 78px) 0 110px; overflow: hidden; isolation: isolate; }
.dm-g__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.dm-g::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(7 22 36 / 88%) 0%, rgb(7 22 36 / 70%) 40%, rgb(10 70 84 / 35%) 100%); }
.dm-g__wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 64px; align-items: center; }
.dm-g__info { color: #ffffff; }
.dm-g .breadcrumb a,
.dm-g .breadcrumb li,
.dm-g .breadcrumb span { color: rgb(255 255 255 / 75%); }
.dm-g .breadcrumb [aria-current] { color: #ffffff; }
.dm-g__card { container-type: inline-size; padding: 32px; border-radius: 24px; background-color: #ffffff; box-shadow: 0 50px 100px -40px rgb(0 0 0 / 55%); }
.dm-g__card > h2 { margin-bottom: 20px; }

@media (max-width: 1199px) {
  .dm-g__wrap { gap: 40px; }
}

@media (max-width: 991px) {
  .dm-g__wrap { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 767px) {
  .dm-g__card { padding: 22px 18px; }
}

@container (max-width: 400px) {
  .dm-chips--size { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.dm-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

@keyframes dm-spin { to { transform: rotate(360deg); } }

.dm-viz { display: flex; align-items: center; justify-content: center; min-width: 0; container-type: inline-size; }

.dm-core { position: absolute; top: 50%; left: 50%; z-index: 3; display: flex; align-items: center; justify-content: center; width: 124px; height: 124px; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #12324a 0%, var(--dm-navy) 70%); box-shadow: 0 0 0 14px rgb(49 170 183 / 16%), 0 0 0 30px rgb(49 170 183 / 7%), 0 0 70px rgb(49 170 183 / 55%); transform: translate(-50%, -50%); }
.dm-core img { display: block; width: 40px; height: auto; aspect-ratio: 40 / 56; }
.dm-beam .dm-core img { width: clamp(26px, 6.6cqi, 40px); }
.dm-core::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1px solid rgb(127 224 232 / 50%); animation: dm-corepulse 3s ease-out infinite; }
@keyframes dm-corepulse { from { opacity: 0.9; transform: scale(1); } to { opacity: 0; transform: scale(1.45); } }
.dm-beam__n svg { width: clamp(15px, 3.7cqi, 22px); height: clamp(15px, 3.7cqi, 22px); }

.dm-beam { position: relative; width: min(680px, 96cqi); aspect-ratio: 560 / 480; }
.dm-beam__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.dm-beam__svg path { vector-effect: non-scaling-stroke; }
.dm-beam__base path { stroke: rgb(255 255 255 / 16%); stroke-width: 2; }
.dm-beam__flow path { stroke: #7fe0e8; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 16 84; stroke-dashoffset: 100; filter: drop-shadow(0 0 6px rgb(127 224 232 / 80%)); animation: dm-flow 3.2s linear calc(var(--d) * 0.35s) infinite; }
@keyframes dm-flow { to { stroke-dashoffset: 0; } }
.dm-beam__nodes { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; }
.dm-beam__n { position: absolute; top: var(--y); left: 17.143%; z-index: 2; transform: translate(-50%, -50%); }
.dm-beam__n span { display: flex; align-items: center; justify-content: center; width: clamp(36px, 9cqi, 60px); height: clamp(36px, 9cqi, 60px); border-radius: 50%; background-color: #ffffff; color: var(--p2-teal-d); box-shadow: 0 14px 30px -12px rgb(0 0 0 / 55%), 0 0 0 6px rgb(255 255 255 / 8%); }
.dm-beam__n b { position: absolute; top: calc(100% + 6px); left: 50%; font-size: clamp(10.5px, 2.3cqi, 13px); font-weight: 600; line-height: 1.3; text-align: center; color: rgb(255 255 255 / 90%); white-space: nowrap; transform: translateX(-50%); }
.dm-beam__n--r { left: 82.857%; }
.dm-beam__geo--wide { display: none; }
.dm-beam .dm-core { width: clamp(62px, 23.5cqi, 132px); height: clamp(62px, 23.5cqi, 132px); }

@media (prefers-reduced-motion: reduce) {
  .dm-core::after,
  .dm-beam__flow path { animation: none; }
  .dm-beam__flow path { stroke-dasharray: none; stroke-opacity: 0.5; }
}

@container (max-width: 440px) {
  .dm-beam { width: 88cqi; }
}

@container (max-width: 420px) {
  .dm-beam { aspect-ratio: 560 / 660; }
}

@container (max-width: 360px) {
  .dm-beam { aspect-ratio: 560 / 780; }
  .dm-beam__n b { width: 84px; font-size: 10px; white-space: normal; }
  .dm-beam__n b small { font-size: 9.5px; }
}

@container (max-width: 320px) {
  .dm-beam { aspect-ratio: 560 / 900; }
  .dm-beam__n b small { display: none; }
}

@media (min-width: 1500px) {
  .dm-beam { width: 560px; }
  .dm-beam__geo--tight { display: none; }
  .dm-beam__geo--wide { display: inline; }
  .dm-beam__n--l { left: 11.429%; }
  .dm-beam__n--r { left: 88.571%; }
  .dm-beam__n span { width: 54px; height: 54px; }
  .dm-beam__n b { top: 50%; font-size: 13.5px; transform: translateY(-50%); }
  .dm-beam__n--l b { right: calc(100% + 14px); left: auto; text-align: right; }
  .dm-beam__n--r b { left: calc(100% + 14px); text-align: left; }
  .dm-beam .dm-core { width: 132px; height: 132px; }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .dm-g--beam .dm-g__wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 480px); }
}

@media (max-width: 991px) {
  .dm-g__wrap { gap: 56px; }
}

.dm-core::before { content: ""; position: absolute; inset: -9px; border-radius: 50%; background: conic-gradient(from 0deg, rgb(127 224 232 / 0%) 0deg, #7fe0e8 100deg, rgb(127 224 232 / 0%) 180deg, #31aab7 280deg, rgb(49 170 183 / 0%) 360deg); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px)); mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px)); animation: dm-spin 4s linear infinite; }

.dm-beam::before { content: ""; position: absolute; inset: -8%; background-image: radial-gradient(circle, rgb(255 255 255 / 14%) 1px, transparent 1.6px); background-size: 18px 18px; -webkit-mask-image: radial-gradient(ellipse 55% 50% at 50% 50%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 55% 50% at 50% 50%, #000 30%, transparent 75%); pointer-events: none; }
.dm-beam__flow path { stroke-dasharray: 10 40; }
.dm-beam__glow path { stroke: #31aab7; stroke-width: 9; stroke-linecap: round; stroke-dasharray: 10 40; stroke-dashoffset: 100; opacity: 0.4; filter: blur(4px); animation: dm-flow 3.2s linear calc(var(--d) * 0.35s) infinite; }
.dm-beam__n span { animation: dm-nodeping 1.6s ease-out calc(var(--d) * 0.35s) infinite; }
.dm-beam__n--r span { animation-delay: calc(var(--d) * 0.35s + 1.2s); }
@keyframes dm-nodeping { 0% { box-shadow: 0 14px 30px -12px rgb(0 0 0 / 55%), 0 0 0 0 rgb(127 224 232 / 70%); } 70%, 100% { box-shadow: 0 14px 30px -12px rgb(0 0 0 / 55%), 0 0 0 16px rgb(127 224 232 / 0%); } }
.dm-beam__n b small { display: block; margin-top: 2px; font-size: 12px; font-weight: 500; color: #7fe0e8; }

@media (prefers-reduced-motion: reduce) {
  .dm-core::before,
  .dm-beam__glow path,
  .dm-beam__n span { animation: none; }
}
