/* =====================================================================
   SHRESTA HERBALS - Sign in page
   Dark animated stage (navy -> crimson -> ember), falling leaves,
   twisting DNA helix, orbiting emblem, glass shell, white form card
   with floating labels, animated focus lines, shimmer button.
   ===================================================================== */
:root {
    --navy: #405b30; --navy-2: #aa5018; --red: #6eaa28; --red-d: #598b20; --red-dd: #466d19;
    --ember: #e17430; --gold: #ffc53d; --ink: #3f5334; --ink-2: #4b4962; --mute: #6b6982;
    --line: #e4ecdb; --field: #fafef6;
    --ease: cubic-bezier(.2, .8, .2, 1); --spring: cubic-bezier(.34, 1.56, .64, 1);
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body.dl {
    margin: 0; min-height: 100vh; overflow-x: hidden; color: var(--ink);
    font-family: "Lexend", system-ui, sans-serif; -webkit-font-smoothing: antialiased;
    background: #3b572c;
}
body.dl input, body.dl button { font-family: inherit; }

/* ---------- animated backdrop ---------- */
.dl-bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
    background: linear-gradient(125deg, #3b572c 0%, #a74f18 30%, #466d19 62%, #6eaa28 84%, #e17430 100%);
    background-size: 220% 220%; animation: dlShift 18s ease-in-out infinite alternate; }
@keyframes dlShift { 0% { background-position: 0% 30%; } 100% { background-position: 100% 70%; } }
.dl-bg::after { content: ""; position: absolute; inset: 0; opacity: .5;
    background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 34px 34px; -webkit-mask-image: radial-gradient(ellipse at 50% 45%, #000 15%, transparent 72%); mask-image: radial-gradient(ellipse at 50% 45%, #000 15%, transparent 72%); }
.dl-aura { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.dl-aura.a1 { width: 520px; height: 520px; left: -140px; top: -160px; background: #e17430; animation: dlDrift 16s ease-in-out infinite alternate; }
.dl-aura.a2 { width: 460px; height: 460px; right: -120px; bottom: -160px; background: #ffc53d; opacity: .35; animation: dlDrift 20s ease-in-out -6s infinite alternate-reverse; }
.dl-aura.a3 { width: 380px; height: 380px; left: 40%; top: 30%; background: #6eaa28; opacity: .4; animation: dlDrift 24s ease-in-out -10s infinite alternate; }
@keyframes dlDrift { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(80px, 50px) scale(1.15); } }

/* falling leaves */
.dl-cells span { position: absolute; bottom: -120px; left: var(--x); width: var(--s); height: var(--s); border-radius: 50%;
    background: radial-gradient(circle at 34% 30%, rgba(255, 255, 255, .95) 0 7%, rgba(227, 249, 202, .55) 26%, rgba(141, 207, 63, .28) 58%, rgba(141, 207, 63, 0) 72%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25);
    animation: dlRise var(--d) linear var(--w) infinite; }
.dl-cells span::after { content: ""; position: absolute; left: 44%; top: 42%; width: 24%; height: 24%; border-radius: 50%; background: rgba(110, 170, 40, .55); box-shadow: 0 0 8px rgba(143, 214, 60, .6); }
.dl-cells span.g { background: radial-gradient(circle at 34% 30%, rgba(255, 255, 255, .95) 0 7%, rgba(255, 233, 166, .55) 26%, rgba(245, 184, 0, .28) 58%, rgba(245, 184, 0, 0) 72%); }
.dl-cells span.g::after { background: rgba(225, 116, 48, .6); }
@keyframes dlRise {
    0% { transform: translate(0, 0) scale(.8); opacity: 0; }
    10% { opacity: .9; }
    50% { transform: translate(40px, -55vh) scale(1); }
    85% { opacity: .8; }
    100% { transform: translate(-30px, -115vh) scale(1.1); opacity: 0; }
}
.dl-spark i { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #fff; box-shadow: 0 0 8px 2px rgba(255, 213, 107, .8); opacity: .2; animation: dlTw 3.6s ease-in-out infinite; }
.dl-spark i:nth-child(1) { left: 8%; top: 18%; } .dl-spark i:nth-child(2) { left: 22%; top: 70%; animation-delay: -1s; }
.dl-spark i:nth-child(3) { left: 33%; top: 12%; animation-delay: -2s; } .dl-spark i:nth-child(4) { left: 46%; top: 86%; animation-delay: -.5s; }
.dl-spark i:nth-child(5) { left: 58%; top: 8%; animation-delay: -2.8s; } .dl-spark i:nth-child(6) { left: 69%; top: 64%; animation-delay: -1.6s; }
.dl-spark i:nth-child(7) { left: 81%; top: 22%; animation-delay: -3.2s; } .dl-spark i:nth-child(8) { left: 92%; top: 78%; animation-delay: -.9s; }
.dl-spark i:nth-child(9) { left: 4%; top: 52%; animation-delay: -2.4s; } .dl-spark i:nth-child(10) { left: 52%; top: 40%; animation-delay: -1.2s; }
.dl-spark i:nth-child(11) { left: 75%; top: 90%; animation-delay: -3s; } .dl-spark i:nth-child(12) { left: 88%; top: 48%; animation-delay: -.2s; }
.dl-spark i:nth-child(13) { left: 15%; top: 35%; animation-delay: -1.8s; } .dl-spark i:nth-child(14) { left: 64%; top: 28%; animation-delay: -2.6s; }
@keyframes dlTw { 0%, 100% { opacity: .15; transform: scale(.6); } 50% { opacity: 1; transform: scale(1.4); } }

/* ---------- stage & shell ---------- */
.dl-stage { position: relative; z-index: 1; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 32px 20px; }
.dl-shell {
    position: relative; display: grid; grid-template-columns: 1.02fr 1fr; width: 100%; max-width: 1040px; min-height: 600px;
    border-radius: 30px; overflow: hidden;
    background: linear-gradient(150deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .04));
    border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .25);
    transition: transform .25s ease-out; transform-style: preserve-3d;
    opacity: 0; translate: 0 30px; scale: .97;
}
.dl-in-view .dl-shell { opacity: 1; translate: 0 0; scale: 1; transition: opacity .8s var(--ease), translate .9s var(--spring), scale .9s var(--spring), transform .25s ease-out; }
.dl-shell::before { content: ""; position: absolute; inset: -1px; border-radius: 30px; padding: 1px; pointer-events: none;
    background: conic-gradient(from var(--dl-a, 0deg), transparent 0 70%, rgba(255, 197, 61, .9) 80%, transparent 90%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
    animation: dlBorder 6s linear infinite; }
@property --dl-a { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes dlBorder { to { --dl-a: 360deg; } }

/* ---------- brand side ---------- */
.dl-brand { position: relative; padding: 46px 40px 40px; color: #fff; display: flex; flex-direction: column; align-items: center; text-align: center; overflow: hidden; }

/* twisting DNA helix */
.dl-helix { position: absolute; right: 18px; top: 40px; bottom: 40px; width: 56px; opacity: .5; }
.dl-feats { position: relative; z-index: 1; }
.dl-helix i { position: absolute; left: 0; right: 0; top: calc(var(--n) * 5%); height: 2px; background: linear-gradient(90deg, rgba(143, 214, 60, .7), rgba(255, 197, 61, .7));
    animation: dlTwist 4s ease-in-out infinite; animation-delay: calc(var(--n) * -.2s); }
.dl-helix i::before, .dl-helix i::after { content: ""; position: absolute; top: -4px; width: 10px; height: 10px; border-radius: 50%; }
.dl-helix i::before { left: -5px; background: #8fd63c; box-shadow: 0 0 10px #8fd63c; }
.dl-helix i::after { right: -5px; background: #ffc53d; box-shadow: 0 0 10px #ffc53d; }
@keyframes dlTwist { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(-1); } }
.dl-helix + .dl-emblem { margin-top: 6px; }

/* emblem with orbits */
.dl-emblem { position: relative; width: 190px; height: 190px; display: grid; place-items: center; margin-bottom: 18px; transition: translate .3s ease-out;
    opacity: 0; transform: scale(.6) rotate(-20deg); }
.dl-in-view .dl-emblem { opacity: 1; transform: none; transition: opacity .8s .2s, transform 1s var(--spring) .2s, translate .3s ease-out; }
.dl-emblem img { position: relative; z-index: 2; width: 128px; height: 128px; border-radius: 50%; box-shadow: 0 0 0 5px rgba(255, 255, 255, .9), 0 18px 40px -10px rgba(0, 0, 0, .6);
    animation: dlBob 5s ease-in-out infinite; }
@keyframes dlBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.dl-ring { position: absolute; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .22); }
.dl-ring b { position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: #ffc53d; box-shadow: 0 0 14px 3px rgba(255, 197, 61, .9); }
.dl-ring.r1 { inset: 12px; border-color: rgba(255, 197, 61, .45); animation: dlSpin 6s linear infinite; }
.dl-ring.r2 { inset: -6px; border-style: dashed; animation: dlSpin 14s linear infinite reverse; }
.dl-ring.r2 b { background: #fff; box-shadow: 0 0 12px 3px rgba(255, 255, 255, .9); width: 8px; height: 8px; margin-left: -4px; top: -4px; }
.dl-ring.r3 { inset: -26px; border-color: rgba(255, 255, 255, .1); animation: dlSpin 22s linear infinite; }
.dl-ring.r3 b { background: #8fd63c; box-shadow: 0 0 14px 3px rgba(143, 214, 60, .9); }
@keyframes dlSpin { to { transform: rotate(360deg); } }
.dl-pulse { position: absolute; width: 128px; height: 128px; border-radius: 50%; border: 2px solid rgba(255, 197, 61, .7); animation: dlWave 2.6s ease-out infinite; }
@keyframes dlWave { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.9); opacity: 0; } }

.dl-name { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.dl-name__a { font-size: 46px; font-weight: 800; letter-spacing: .14em; background: linear-gradient(90deg, #fff 0%, #ffe3a3 40%, #fff 60%, #fff 100%); background-size: 250% 100%;
    -webkit-background-clip: text; background-clip: text; color: transparent; animation: dlShimmer 5s linear infinite; }
@keyframes dlShimmer { 0% { background-position: 100% 0; } 100% { background-position: -150% 0; } }
.dl-name__b { margin-top: 6px; font-size: 17px; font-weight: 600; letter-spacing: .5em; color: #f6fdef; padding-left: .5em; }
.dl-tag { margin: 12px 0 0; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #ffc53d; }

.dl-head { margin: 26px 0 0; font-size: 22px; font-weight: 600; line-height: 1.35; color: #fff; display: flex; flex-direction: column; align-items: center; }
.dl-words { position: relative; display: inline-block; height: 1.4em; min-width: 9ch; overflow: hidden; }
.dl-words b { position: absolute; left: 0; right: 0; font-weight: 800; color: #ffc53d; opacity: 0; transform: translateY(100%); transition: transform .55s var(--ease), opacity .55s; }
.dl-words b.on { opacity: 1; transform: none; }
.dl-words b.out { opacity: 0; transform: translateY(-100%); }

.dl-feats { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 10px; width: 100%; max-width: 320px; }
.dl-feats li { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 14px; font-size: 13px; text-align: left;
    background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); color: #fff;
    opacity: 0; transform: translateX(-24px); transition: background .25s, transform .3s var(--ease); }
.dl-in-view .dl-feats li { animation: dlSlide .6s var(--spring) forwards; animation-delay: calc(.8s + var(--k) * .14s); }
@keyframes dlSlide { to { opacity: 1; transform: none; } }
.dl-feats li:hover { background: rgba(255, 255, 255, .16); }
.dl-feats li span { flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, #ffc53d, #e17430); color: #405b30; font-size: 13px; }

/* ---------- form panel ---------- */
.dl-panel { position: relative; display: flex; align-items: stretch; padding: 14px; }
.dl-card { position: relative; flex: 1; border-radius: 22px; background: #fff; padding: 44px 40px 28px; display: flex; flex-direction: column;
    box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .55); overflow: hidden;
    opacity: 0; transform: translateX(30px); }
.dl-in-view .dl-card { opacity: 1; transform: none; transition: opacity .7s .35s, transform .9s var(--spring) .35s; }
.dl-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, #6eaa28, #e17430, #ffc53d, #e17430, #6eaa28); background-size: 200% 100%; animation: dlBand 4s linear infinite; }
@keyframes dlBand { to { background-position: -200% 0; } }
.dl-card::after { content: ""; position: absolute; width: 260px; height: 260px; right: -110px; top: -110px; border-radius: 50%; pointer-events: none;
    background: radial-gradient(circle, rgba(225, 116, 48, .14), transparent 70%); }
.dl-mlogo { display: none; height: 54px; width: auto; align-self: center; margin-bottom: 16px; }

.dl-hello { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--red); background: #f6fdee; padding: 6px 12px; border-radius: 20px; }
.dl-hello i { color: var(--ember); animation: dlWave2 2.4s ease-in-out infinite; transform-origin: 70% 80%; }
@keyframes dlWave2 { 0%, 60%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(16deg); } 20%, 40% { transform: rotate(-8deg); } }
.dl-title { margin: 14px 0 6px; font-size: 26px; font-weight: 700; color: var(--navy); letter-spacing: -.01em; }
.dl-sub { margin: 0 0 24px; font-size: 13px; color: var(--mute); line-height: 1.5; }

/* fields with floating labels */
.dl-f { position: relative; margin-bottom: 16px; opacity: 0; transform: translateY(14px); }
.dl-in-view .dl-f { animation: dlUp .6s var(--ease) forwards; animation-delay: calc(.55s + var(--k) * .1s); }
@keyframes dlUp { to { opacity: 1; transform: none; } }
.dl-in-view .dl-f.bad { opacity: 1; transform: none; animation: dlShake .45s ease; }
@keyframes dlShake { 0%, 100% { transform: translateX(0); } 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }
.dl-f .dl-in { width: 100%; height: 58px; padding: 22px 48px 8px 56px; border: 1.5px solid var(--line); border-radius: 16px; background: var(--field);
    font-size: 15px; color: var(--ink); outline: none; transition: border-color .25s, background .25s, box-shadow .25s; }
.dl-f.has-code .dl-in { padding-right: 120px; }
.dl-f label { position: absolute; left: 56px; top: 50%; transform: translateY(-50%); font-size: 14px; color: var(--mute); pointer-events: none;
    transition: top .22s var(--ease), font-size .22s var(--ease), color .22s; }
.dl-f.focus label, .dl-f.filled label, .dl-f .dl-in:not(:placeholder-shown) + label { top: 17px; font-size: 11px; font-weight: 600; letter-spacing: .04em; color: var(--red); }
.dl-ic { position: absolute; left: 10px; top: 50%; width: 36px; height: 36px; margin-top: -18px; border-radius: 12px; display: grid; place-items: center;
    background: #fff; color: var(--red); font-size: 14px; box-shadow: 0 4px 10px -4px rgba(89, 139, 32, .3); transition: background .25s, color .25s, transform .35s var(--spring); }
.dl-f.focus .dl-ic { background: linear-gradient(135deg, #6eaa28, #e17430); color: #fff; transform: scale(1.08) rotate(-6deg); }
.dl-f.focus .dl-in { border-color: transparent; background: #fff; box-shadow: 0 0 0 4px rgba(225, 116, 48, .14); }
.dl-f.bad .dl-in { border-color: #e5484d; background: #fff6f6; }
.dl-line { position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #6eaa28, #e17430, #ffc53d);
    transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.dl-f.focus .dl-line { transform: scaleX(1); }
.dl-eye { position: absolute; right: 10px; top: 50%; width: 36px; height: 36px; margin-top: -18px; border: 0; border-radius: 10px; background: transparent; color: var(--mute); cursor: pointer; font-size: 15px; transition: background .2s, color .2s; }
.dl-eye:hover, .dl-eye.on { background: #f6fdee; color: var(--red); }
.dl-code { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); padding: 8px 12px; border-radius: 10px; font-family: "Courier New", monospace; font-weight: 700; font-size: 15px; letter-spacing: .28em;
    color: var(--navy); background: linear-gradient(110deg, #fff8dc 30%, #fff 50%, #fff8dc 70%); background-size: 250% 100%; box-shadow: inset 0 0 0 1px #f7dc7a; animation: dlCode 3s linear infinite; user-select: none; }
@keyframes dlCode { to { background-position: -250% 0; } }
.dl-caps { display: none; align-items: center; gap: 6px; margin: -8px 0 12px; font-size: 12px; color: #bc591b; }
.dl-caps.is-on { display: flex; animation: dlUp .3s var(--ease); }

.dl-row { display: flex; justify-content: space-between; align-items: center; margin: 4px 0 22px; font-size: 13px; }
.dl-check { display: inline-flex; align-items: center; gap: 9px; color: var(--ink-2); cursor: pointer; user-select: none; }
.dl-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.dl-check .box { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid #e2cfc7; display: grid; place-items: center; background: #fff; transition: .2s; }
.dl-check .box i { font-size: 11px; color: #fff; transform: scale(0); transition: transform .3s var(--spring); }
.dl-check input:checked + .box { background: linear-gradient(135deg, #6eaa28, #e17430); border-color: transparent; }
.dl-check input:checked + .box i { transform: scale(1); }
.dl-check input:focus-visible + .box { box-shadow: 0 0 0 3px rgba(225, 116, 48, .35); }
.dl-link { color: var(--red); font-weight: 600; text-decoration: none; background: linear-gradient(currentColor, currentColor) left bottom / 0 1.5px no-repeat; transition: background-size .3s; }
.dl-link:hover { background-size: 100% 1.5px; }

/* sign-in button */
.dl-btnwrap { position: relative; border-radius: 16px; overflow: hidden; box-shadow: 0 16px 30px -14px rgba(110, 170, 40, .8);
    background: linear-gradient(120deg, #598b20, #6eaa28 35%, #e17430 70%, #6eaa28); background-size: 220% 100%; animation: dlBtn 5s ease-in-out infinite;
    transition: transform .25s var(--ease), box-shadow .25s; opacity: 0; transform: translateY(14px); }
.dl-in-view .dl-btnwrap { animation: dlBtn 5s ease-in-out infinite, dlUp .6s var(--ease) .9s forwards; }
@keyframes dlBtn { 0%, 100% { background-position: 0 0; } 50% { background-position: 100% 0; } }
.dl-btnwrap:hover { box-shadow: 0 20px 36px -14px rgba(110, 170, 40, .95); translate: 0 -2px; }
.dl-btnwrap::before { content: ""; position: absolute; top: 0; bottom: 0; width: 30%; left: -40%; transform: skewX(-20deg); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent); animation: dlGlint 3.2s ease-in-out 1.6s infinite; pointer-events: none; }
@keyframes dlGlint { 0%, 60% { left: -40%; } 100% { left: 130%; } }
.dl-btn { position: relative; z-index: 1; width: 100%; height: 56px; border: 0; background: transparent; color: #fff; font-size: 16px; font-weight: 700; letter-spacing: .04em; cursor: pointer; }
.dl-btn:focus-visible { outline: 3px solid #ffc53d; outline-offset: -3px; border-radius: 16px; }
.dl-arrow { position: absolute; z-index: 1; right: 8px; top: 8px; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .2); color: #fff; pointer-events: none; transition: transform .3s var(--spring), background .3s; }
.dl-btnwrap:hover .dl-arrow { transform: translateX(3px); background: #fff; color: var(--red); }
.dl-spin { position: absolute; z-index: 2; right: 18px; top: 18px; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .35); border-top-color: #fff; opacity: 0; animation: dlSpin .7s linear infinite; pointer-events: none; }
.dl-btnwrap.is-loading .dl-arrow { opacity: 0; }
.dl-btnwrap.is-loading .dl-spin { opacity: 1; }
.dl-btnwrap.is-loading .dl-btn { color: rgba(255, 255, 255, .8); }
.dl-ripple { position: absolute; z-index: 1; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: rgba(255, 255, 255, .55); animation: dlRipple .75s ease-out forwards; pointer-events: none; }
@keyframes dlRipple { to { transform: scale(40); opacity: 0; } }

.dl-or { display: flex; align-items: center; gap: 12px; margin: 24px 0 8px; font-size: 12px; color: var(--mute); }
.dl-or::before, .dl-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.dl-join { margin: 0; font-size: 12.5px; text-align: center; color: var(--ink-2); line-height: 1.5; }
.dl-foot { margin-top: auto; padding-top: 18px; display: flex; justify-content: space-between; font-size: 11.5px; color: var(--mute); border-top: 1px solid #eff4ea; }
.dl-foot i { color: #138a52; margin-right: 4px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
    .dl-shell { grid-template-columns: 1fr; max-width: 480px; min-height: 0; }
    .dl-brand { padding: 30px 24px 10px; }
    .dl-helix, .dl-feats, .dl-head { display: none; }
    .dl-emblem { width: 130px; height: 130px; margin-bottom: 10px; }
    .dl-emblem img { width: 90px; height: 90px; }
    .dl-pulse { width: 90px; height: 90px; }
    .dl-ring.r3 { inset: -14px; }
    .dl-name__a { font-size: 34px; }
    .dl-name__b { font-size: 13px; }
    .dl-panel { padding: 12px; }
    .dl-card { padding: 34px 22px 22px; }
}
@media (max-width: 420px) {
    .dl-stage { padding: 14px 10px; }
    .dl-title { font-size: 22px; }
    .dl-f.has-code .dl-in { padding-right: 104px; }
    .dl-code { font-size: 13px; letter-spacing: .2em; padding: 7px 9px; }
    .dl-row { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
    .dl-cells, .dl-spark { display: none; }
}

/* =====================================================================
   v1.1 - calmer & more compact: no zoom / tilt, ~20% smaller layout
   ===================================================================== */
.dl-shell { max-width: 900px; min-height: 0; border-radius: 24px; transform: none !important; scale: 1 !important; translate: 0 16px; }
.dl-in-view .dl-shell { translate: 0 0; transition: opacity .7s var(--ease), translate .8s var(--ease); }
.dl-shell::before { border-radius: 24px; }
[data-dl-par] { translate: none !important; }

.dl-brand { padding: 30px 28px 28px; }
.dl-helix { top: 28px; bottom: 28px; width: 46px; right: 14px; opacity: .4; }
.dl-emblem { width: 136px; height: 136px; margin-bottom: 12px; transform: translateY(10px); }
.dl-in-view .dl-emblem { transform: none; transition: opacity .7s .15s, transform .8s var(--ease) .15s; }
.dl-emblem img { width: 92px; height: 92px; box-shadow: 0 0 0 4px rgba(255, 255, 255, .9), 0 12px 28px -10px rgba(0, 0, 0, .6); animation-name: dlBob2; }
@keyframes dlBob2 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
.dl-ring.r1 { inset: 10px; } .dl-ring.r2 { inset: -2px; } .dl-ring.r3 { inset: -14px; }
.dl-pulse { width: 92px; height: 92px; animation-name: dlWave3; }
@keyframes dlWave3 { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.35); opacity: 0; } }
.dl-name__a { font-size: 32px; }
.dl-name__b { font-size: 12.5px; margin-top: 4px; }
.dl-tag { font-size: 10.5px; margin-top: 8px; }
.dl-head { font-size: 17px; margin-top: 18px; }
.dl-feats { margin-top: 18px; gap: 8px; max-width: 290px; }
.dl-feats li { padding: 8px 12px; font-size: 12.5px; transform: translateX(-12px); }
.dl-feats li span { width: 28px; height: 28px; font-size: 12px; border-radius: 9px; }

.dl-panel { padding: 12px; }
.dl-card { padding: 30px 30px 20px; border-radius: 18px; transform: translateX(14px); }
.dl-in-view .dl-card { transition: opacity .6s .3s, transform .7s var(--ease) .3s; }
.dl-hello { font-size: 11.5px; padding: 5px 11px; }
.dl-title { font-size: 21px; margin: 10px 0 4px; }
.dl-sub { font-size: 12.5px; margin-bottom: 18px; }
.dl-f { margin-bottom: 12px; transform: translateY(8px); }
.dl-f .dl-in { height: 50px; font-size: 14px; padding: 19px 44px 6px 50px; border-radius: 13px; }
.dl-f.has-code .dl-in { padding-right: 108px; }
.dl-f label { left: 50px; font-size: 13.5px; }
.dl-f.focus label, .dl-f.filled label, .dl-f .dl-in:not(:placeholder-shown) + label { top: 14px; font-size: 10.5px; }
.dl-ic { left: 9px; width: 32px; height: 32px; margin-top: -16px; border-radius: 10px; font-size: 13px; }
.dl-f.focus .dl-ic { transform: none; }
.dl-eye { width: 32px; height: 32px; margin-top: -16px; }
.dl-code { font-size: 13.5px; padding: 6px 10px; }
.dl-row { margin: 2px 0 16px; font-size: 12.5px; }
.dl-btnwrap { border-radius: 13px; transform: translateY(8px); }
.dl-btn { height: 48px; font-size: 15px; }
.dl-btn:focus-visible { border-radius: 13px; }
.dl-arrow { width: 34px; height: 34px; top: 7px; right: 7px; border-radius: 10px; }
.dl-spin { top: 14px; right: 16px; }
.dl-or { margin: 18px 0 6px; }
.dl-join { font-size: 12px; }
.dl-foot { padding-top: 14px; font-size: 11px; justify-content: center; }
.dl-cells span { --s: 40px; }
.dl-cells span:nth-child(odd) { width: calc(var(--s) * .9); height: calc(var(--s) * .9); }

@media (max-width: 900px) {
    .dl-shell { max-width: 440px; }
    .dl-brand { padding: 22px 20px 6px; }
    .dl-emblem { width: 110px; height: 110px; }
    .dl-emblem img { width: 76px; height: 76px; }
    .dl-pulse { width: 76px; height: 76px; }
    .dl-ring.r3 { inset: -10px; }
    .dl-name__a { font-size: 28px; }
    .dl-card { padding: 24px 18px 18px; }
}

/* =====================================================================
   v1.2 - browser autofill: float the label + keep our field colours
   (separate rules: an unknown pseudo-class would void a combined list)
   ===================================================================== */
.dl-f .dl-in:-webkit-autofill + label { top: 14px; font-size: 10.5px; font-weight: 600; letter-spacing: .04em; color: var(--red); }
.dl-f .dl-in:autofill + label { top: 14px; font-size: 10.5px; font-weight: 600; letter-spacing: .04em; color: var(--red); }
.dl-f .dl-in:-webkit-autofill,
.dl-f .dl-in:-webkit-autofill:hover,
.dl-f .dl-in:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 100px var(--field) inset !important; box-shadow: 0 0 0 100px var(--field) inset !important;
    -webkit-text-fill-color: var(--ink) !important; caret-color: var(--ink);
    font-family: "Lexend", system-ui, sans-serif !important; font-size: 14px !important;
    transition: background-color 600000s 0s, color 600000s 0s;
    animation-name: dlAutofill;
}
.dl-f.focus .dl-in:-webkit-autofill { -webkit-box-shadow: 0 0 0 100px #fff inset, 0 0 0 4px rgba(225, 116, 48, .14) !important; }
@keyframes dlAutofill { from { opacity: 1; } to { opacity: 1; } }
